pub enum Event<'e> {
FirstOutput {
at: Instant,
},
Turn {
n: u32,
text: &'e str,
usage: Usage,
timing: TurnTiming,
},
ToolStart {
name: &'e str,
input: String,
},
Tool {
name: &'e str,
input: String,
summary: String,
is_error: bool,
},
Retry {
attempt: u32,
max: u32,
wait_ms: u64,
reason: String,
},
GateStart {
attempt: u32,
},
GateSlotWait {
ms: u64,
},
Gate {
attempt: u32,
passed: bool,
output: &'e str,
},
RolledBack {
to: &'e str,
},
}Expand description
What happened on one turn, emitted as it happens.
A harness whose selling point is observability printed nothing until the run finished, so a
working run and one stuck on find / looked identical for three and a half minutes. Progress
is reported as it occurs, not summarised at the end.
Variants§
FirstOutput
Emitted when a streaming model call produced its first output delta (text, thinking, or tool call).
Turn
ToolStart
Emitted immediately before a tool call executes, with the same abbreviated input as Tool.
Tool
input is the call’s arguments, abbreviated. Logging only the RESULT made a run
undiagnosable: twenty bash calls that changed nothing, with no record of what was run.
Retry
Emitted before sleeping to retry a transient model call error.
GateStart
A gate attempt is starting (the check runs next). Emitted so a watcher can tell a run
that is waiting on its gate from one that is thinking (blyte dashboard, 2026-09-30).
GateSlotWait
A gate waited for a machine-wide slot before running.