Skip to main content

Module storage

Module storage 

Source
Expand description

Persistence contracts expressed in Agent consistency semantics.

Structs§

Checkpoint
Opaque control-state checkpoint bytes owned and versioned by Runtime.
QueueSnapshot
Versioned process-local execution queue kept separate from both the durable user waiting queue and the Runtime checkpoint.
Revision
Monotonic revision used for optimistic concurrency control.
RunLease
Lease proving exclusive ownership of a thread run.
RuntimeSnapshot
Materialized Runtime state used when seeding or exporting one thread generation.
ThreadCommit
One atomic state transition requested by Runtime.
ThreadKey
Fully scoped key for one durable Agent thread.
ThreadRecord
Current durable state of one thread.

Enums§

ClaimNextOutcome
Outcome of claiming the next queued request without destructively removing it.
CommitOutcome
Outcome of an optimistic thread commit.
HistoryMutation
Prompt-history mutation committed atomically with Runtime control state.
StoreError
Stable persistence failure independent of File, SQLite, S3, or DynamoDB details.

Traits§

QueueStore
Process-local execution admission queue for one thread.
RunControl
Process-local cooperative cancellation signal for a live execution attempt.
RunCoordinator
Coordinates exclusive execution of one thread inside one live process.
ThreadStore
Atomic thread state repository.