Expand description
Memory candidate acceptance rules.
The store layer owns durable writes; this module owns the memory-domain gate before those writes are attempted.
Structs§
- Accept
Candidate Request - Request to accept a candidate already materialized by the caller.
Enums§
- Lifecycle
Error - Errors raised by memory lifecycle domain logic.
Constants§
- LIFECYCLE_
ACCEPT_ PROOF_ CLOSURE_ INVARIANT - Stable invariant key surfaced when the lifecycle layer refuses an accept
because the supplied
ProofClosureReportis not fully verified.
Functions§
- accept
- Accept a previously persisted candidate by id after validating stored lineage and composing the ADR 0026 acceptance policy.
- accept_
candidate - Accept a candidate after validating lineage before any store write.
- validate_
candidate_ lineage - Validate the minimum lineage invariant for a memory candidate.
Type Aliases§
- Lifecycle
Result - Result type for memory lifecycle operations.