Module turn
Expand description
Shared turn execution. Single source of truth for spawn-drain-cancel.
Structs§
- Turn
Attribution - Attribution fields attached to the tracing span for the duration of a turn.
All fields appear on every
record!()emitted inside the turn. - Turn
Refusal - Why a turn’s caller may not run it, as the JSON-RPC error it receives.
Enums§
Functions§
Type Aliases§
- Turn
Admission - Judges a turn’s caller on the Agent guard the turn runs under, after the last wait before the turn, and applies the caller’s tool posture to that Agent. A refusal stops the turn before it touches the Agent.