Expand description
Shared validation for the three host-owned agent-thread stores. Storage revisions cover every status write; history revisions do not.
Structs§
- Canonical
RawSegment - One named byte stream retained exactly as represented by the trusted host. A receipt’s secret_projection metadata distinguishes a projected view.
- Canonical
Secret Projection - Finite host projection applied before canonical acquisition. This describes a projected view, not a claim that arbitrary secret encodings were removed.
- Canonical
Tool Receipt - Immutable pre-format tool result retained by the trusted host. Complete describes this represented view; secret_projection may report omitted raw streams, so completeness does not imply lossless original acquisition.
- Persisted
Agent Thread - A thread plus its optimistic-concurrency token. Revisions start at zero.
Enums§
- Agent
Thread Store Error - Portable store failures. Database transport/transaction errors remain errors too, and never imply that an interrupted write did not commit.
- Canonical
Receipt Completeness - Why a canonical payload is unavailable. Missing bytes are never fabricated.
- Canonical
Receipt Source - Trusted-host execution path that produced a canonical receipt.
- Canonical
Receipt Store Error
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.
Functions§
- has_
ambiguous_ legacy_ tool_ outcomes - Historical MCP/graph responses have no reliable execution certainty. A legacy boolean failure is definite only when trusted native-only admission ownership identifies that exact invocation. Tool names are not correlation. This reads history without migrating it or granting replay authority.