005-reference-backends
Deterministic rules backend
Lifecycle approvedImplementation completeVerification unknownQualification unknown
Increment 2: `rustev-backend-rules`, a deterministic, in-process backend that implements the backend seam of spec 003 by evaluating a bounded, versioned rules program (`rustev.rules/1`): typed field access into the canonical projection, ordered rules with explicit precedence and no-match behavior, constant, linear and lookup contributions to authored logits in exact fixed-point arithmetic, and a descriptor derived from the program so the program's digest is the artifact identity plans bind. Metered logical cost units, bounded work, local cancellation observed at declared points. Narrowed by owner decision R-13; the semantic backend is spec 011.
Read the full pinned specification ↗Relationships
depends on
Claimed units
- establishes
{ "kind": "directory", "path": "backends/rustev-backend-rules/" } - extends
{ "nature": "additive", "spec": "001-boundaries-and-authority", "unit": { "kind": "file", "path": "Cargo.toml" } } - extends
{ "nature": "additive", "spec": "001-boundaries-and-authority", "unit": { "kind": "file", "path": "Cargo.lock" } } - extends
{ "nature": "additive", "spec": "001-boundaries-and-authority", "unit": { "kind": "file", "path": "Makefile" } }
Source headings
- 005: Deterministic rules backend
- 1. Purpose
- 2. Territory
- 3. Behavior
- 3.1 Scope
- 3.2 The rules program, `rustev.rules/1`
- 3.3 Validation and limits
- 3.4 Field access and validation
- 3.5 Choosing the task
- 3.6 Numbers
- 3.7 Evaluation
- 3.8 Interpretation
- 3.9 Disclosure: the derived descriptor
- 3.10 Identity
- 3.11 Setup responsibilities
- 3.12 Cost
- 3.13 Cancellation
- 3.14 Provenance
- 3.15 Dependencies and partial adoption
- 3.16 Reference programs
- 4. Out of scope
- 5. Observable negative cases
- Acceptance
- Verification
- Implementation record
- Clarifications of the approved text
- Limitations
- Decision history
- Engineering choices
- Tooling compatibility record (2026-10-02)
Frozen anchors
No frozen anchors declared.