Expand description
Causal completion and mutation observation for the coding loop.
A mutating run cannot succeed on assistant prose. Verification reports and host waivers must bind the same effect digest. Diagnostics after a write are an observation, never a pass.
Structs§
- Completion
Waiver V1 - Host- or user-confirmed waiver. The model cannot mint this from prose.
- Mutation
Ledger - Mutation
Observation V1 - Model-visible observation attached after a mutation. Never a verification pass.
- Mutation
Record - Plan
RunAdmission - Whether this run is an ordinary execution or the admitted exit from plan mode.
Enums§
- Completion
Gate - Completion
Terminal - How a successful run closed.
Constants§
Functions§
- absorb_
open_ workspace_ children - Fold settled background writers into this ledger before the gate runs. A child that is still running is waited on. Cancellation leaves it open so narrative success cannot hide the write.
- attach_
observation - decide_
completion - decide_
with_ observations - fold_
step_ completions - Fold step closures into the session terminal. A bound closure is not rewritten as narrative. Different digests are not hashed together.
- model_
visible_ observation - Tool-result text the next model call sees. This is the observation
attachment; it is not a
code_diagnosticstool invocation. - observation_
from_ diagnostics - Build the observation attached to a mutation. A stale snapshot drops diagnostic items so a previous revision cannot be presented as current.