Skip to main content

Module agent_threads

Module agent_threads 

Source
Expand description

Shared validation for the three host-owned agent-thread stores. Storage revisions cover every status write; history revisions do not.

Structs§

CanonicalRawSegment
One named byte stream retained exactly as supplied by the trusted host.
CanonicalToolReceipt
Immutable pre-format tool result retained by the trusted host.
PersistedAgentThread
A thread plus its optimistic-concurrency token. Revisions start at zero.

Enums§

AgentThreadStoreError
Portable store failures. Database transport/transaction errors remain errors too, and never imply that an interrupted write did not commit.
CanonicalReceiptCompleteness
Why a canonical payload is unavailable. Missing bytes are never fabricated.
CanonicalReceiptSource
Trusted-host execution path that produced a canonical receipt.
CanonicalReceiptStoreError

Constants§

MAX_CANONICAL_RECEIPT_BYTES
Maximum retained payload for one canonical tool receipt.
MAX_CANONICAL_RUN_BYTES
Maximum retained canonical tool payload across one run.