Skip to main content

Module store

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§

ClaimToken
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.
InMemoryRunStore
Process-local, non-durable store. Mirrors today’s in-memory run maps; lost on restart. The compatibility default until SqliteRunStore lands.
PersistedRun
ProposalRecord
A captured-and-distilled SOP refinement awaiting approval + write-back.
RetentionPolicy
Retention bound for terminal runs + their events.
SopEventRecord
SqliteRunStore
Durable run store. Selected by build_run_store when persist_runs = true with the default "sqlite" backend.

Enums§

ProposalKind
Whether a proposal creates a new SOP or updates an existing one.
ProposalStatus
Lifecycle of a procedural-memory proposal (EPIC F, strictly-last consumer).
StoreError
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§

SopRunStore

Functions§

build_run_store
Build the configured run store.