Expand description
Bounded, content-addressed evidence for governed Tool requests, model-visible run capabilities, and provider-neutral model input.
The snapshots in this module deliberately retain only counters, stable capability facts, and domain-separated digests. They never retain Tool arguments, prompt text, Tool output, source text, vectors, credentials, or provider endpoints.
Structs§
- Model
Input Snapshot V1 - Immutable, bounded evidence for the arguments submitted to one provider-neutral model call.
- Model
Presentation Snapshot V1 - Per-call evidence binding a frozen presentation-profile identity to both its canonical source definitions and the definitions actually submitted to the provider-neutral LLM boundary.
- Model
Usage Snapshot V1 - Immutable per-call correlation between Code’s prompt estimate and the
normalized usage report returned by an
crate::llm::LlmClient. - RunCapability
Snapshot V1 - Immutable description of the exact capability surface exposed for a model call. The digest excludes itself and remains stable while the surface and retrieval readiness generation remain unchanged.
- RunPolicy
Ceiling Snapshot V1 - Run-owned governance bindings, serializable policy identities, and execution ceilings observed for the same run as the model call.
- Tool
Request Snapshot V1 - Immutable, bounded evidence for one validated Tool request.
- Tool
Result Context Usage V1 - Bounded measurements of Tool-result content visible to one model call.
- Workspace
Capability Snapshot V1 - Non-sensitive workspace service surface visible to one model call.
- Workspace
Retrieval Capability Snapshot V1 - Exact semantic readiness and generation identities observed immediately before a model call. Model identity is represented only by a digest of the non-sensitive provider descriptor.
Enums§
- Harness
Evidence Error - Model
Input Kind V1 - Model-call shape used by one provider-neutral
crate::llm::LlmClientinvocation. - Model
Presentation Application V1 - Whether a provider-neutral call used the Session’s Tool-presentation profile or a host-owned auxiliary protocol such as structured validation.
- Tool
Request Origin V1 - Runtime path that submitted a governed Tool request.