5 people reported
All time, since Sep 28.
Subagent transcripts omit final usage
“The final stop_reason and the final usage are never written for that turn.”
Is this your bug? What gets counted gets fixed. Pile on.
Paste this into your agent. It files your report, with your error and version.
I hit this bug: rapsheet.dev/sheets/claude-code/issues/456/file Follow it to file my report. Show me the text before you send.
No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends
Subagent transcripts omit final usage and stop_reason entries. Only the streaming-start entry is written, so output_tokens stays at a few tokens; main-session transcripts are not affected.
Is this your bug?
File my report- Where
- Subagent transcripts
- Versions
- 2.1.280 to 2.1.293
- Platforms
- Linux, macOS, Windows
- How bad
- Breaks a normal workflow. Some reports say it used to work.
Not quite your bug?
- Subagent stuck thinking, no output2 people
- Background agent summary requests12 people
Original reports5, newest first
- Subagent transcripts missing final assistant entry (stop_reason / final usage) since 2.1.280, undercounting output tokens#100830
- Subagent transcripts record usage before responses finish (output_tokens too low, stop_reason null) in 2.1.293#100381
- Subagent transcripts record streaming-start usage: output_tokens under-reported ~30x, stop_reason null on every chunk#100154
- Subagent/workflow transcripts never write the final usage entry for tool-use responses#98696
- Subagent transcripts record start-of-stream
output_tokensand nostop_reasonfor most turns#97763