Module store
Expand description
Durable SOP run-state store (EPIC B) — the keystone contract.
Modules§
- model
- Durable run-state store — versioned wire shapes (EPIC B).
- sqlite
- Durable SQLite-backed
SopRunStore(EPIC B).
Structs§
- Claim
Token - CAS claim handle. Opaque to the engine; the store validates it. The single admission primitive A1’s concurrency tick and C’s out-of-band approver share.
- InMemory
RunStore - Process-local, non-durable store. Mirrors today’s in-memory run maps; lost on
restart. The compatibility default until
SqliteRunStorelands. - Persisted
Run - Proposal
Record - A captured-and-distilled SOP refinement awaiting approval + write-back.
- Retention
Policy - Retention bound for terminal runs + their events.
- SopEvent
Record - Sqlite
RunStore - Durable run store. Selected by
build_run_storewhenpersist_runs = truewith the default"sqlite"backend.
Enums§
- Proposal
Kind - Whether a proposal creates a new SOP or updates an existing one.
- Proposal
Status - Lifecycle of a procedural-memory proposal (EPIC F, strictly-last consumer).
- Store
Error - Errors a store may surface. Never swallowed by callers.
Constants§
- SOP_
STORE_ VERSION - Bump when the persisted envelope layout changes incompatibly. Rehydrate skips + logs unknown major versions rather than panicking on boot.
Traits§
Functions§
- build_
run_ store - Build the configured run store.