Closed
Labels
ready-for-agentFully specified, ready for an AFK agent
Description
Parent
What to build
Each Harness's decoder gives, beside the progress lines it gives today, one normalized event type that says what happened in terms that don't depend on the Harness:
- a model call starting and ending, with its Model, token usage (input, output, cache read and cache write) and cost where the Harness reports one;
- a tool call starting and ending, with its tool, input, result and whether it failed or was denied;
- a message, with its role and text;
- an error, including usage-limit and rate-limit events;
- killed or interrupted work, and a sub-agent starting and ending.
This Ticket covers Claude Code and Grok Build, which share one stream decoder, and Codex. Ticket #984 covers the other three. Today's consumers keep their behavior: progress lines, Model evidence, usage-limit diagnostics, Resume detection and the final message.
Acceptance criteria
- For recorded streams of each of the three Harnesses, the normalized events list every model call and tool call with its start and end, in order, and with usage where the Harness reports it.
- Errors, usage-limit events, killed work and sub-agents appear as normalized events.
- Progress lines, Model evidence, usage-limit diagnostics, Resume detection and final messages are unchanged, and their existing tests pass as they are.
- Each Harness's stream quirks have a decoder test of their own.
Metadata
Metadata
Assignees
Labels
ready-for-agentFully specified, ready for an AFK agent
Activity
JacobStephens2 commentedon Oct 22, 2026
Closed by #1046, merged into issue-700 by a thirdshift Merge run.