claude -presult.usage sums every internal API request of a run; each re-reads the cached context, so hx showed N x the real context (700%) and compacted too early. Now Done.usage = usage of the last assistant event. Test: done_usage_is_last_request_not_the_sum.
Known: cost/stats for claude_cli count only the last request. tests/tui_smoke.py fails on main too (model switch, picker).
`claude -p` `result.usage` sums every internal API request of a run; each re-reads the cached context, so hx showed N x the real context (700%) and compacted too early. Now `Done.usage` = usage of the last `assistant` event. Test: done_usage_is_last_request_not_the_sum.
Known: cost/stats for claude_cli count only the last request. tests/tui_smoke.py fails on main too (model switch, picker).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
claude -presult.usagesums every internal API request of a run; each re-reads the cached context, so hx showed N x the real context (700%) and compacted too early. NowDone.usage= usage of the lastassistantevent. Test: done_usage_is_last_request_not_the_sum.Known: cost/stats for claude_cli count only the last request. tests/tui_smoke.py fails on main too (model switch, picker).