You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Codex requests: inferences rows built from SessionEvidence.requests (one per request; request_id_source = "codex_token_count"), turns still one per task_started/task_complete; burn compare/summary --quality per-turn metrics gain --per request|turn (default request for Codex, documented in README.md); close Codex turn accounting collapses many API requests into one turn #504 and either land the request-level parts of PR Fix Codex request-level turn accounting (#504) #512 or close it superseded.
Project rollups: summary, hotspots, findings gain --group-by project keyed by project_key; delegated children attribute to the parent's project_key (relayhistory method = Inherited) and --by-relationship still shows them separately; --bucket output gains a harness dimension (SourceKind).
sessions list: add tokens (total) and cost columns from the ledger (no relayhistory call; keep the verb offline).
Tests on the corpus: nested-subagent rolls up to the parent project; Codex multi-turn yields N inferences for M token_count events; golden CLI snapshots updated with a documented diff.
Part of #553 (group 3 — depends on burn #562 cutover; relayhistory #172 usage records, #175 project identity, #170 relationships; parallel with #560).
Problem
Two open accounting defects are cheaper to fix on top of relayhistory's evidence than in burn's readers, and the reader fix path closes at cutover:
session_requestsrow per Codextoken_countdelta (per API request) and cli: foldlimitsandplansunder oneburn budgetverb with nestedplanssubcommand #164 stampsturn_id, so burn can materialiseinferencesat request granularity and keepturnsat task granularity — both denominators become available.chiefundercounted 290M vs 462M tokens); no--group-by project; no harness split in--bucket; no token column insessions list. relayhistory Add WasteFinding/WasteAction structured envelope (closes #56) #175 gives every session aproject_keywithmethod = Inheritedfor delegated children, and Fold burn by-tool into burn summary --by-tool (closes #156) #170 adds continuity edges, so the rollup is a join, not a heuristic.Scope
inferencesrows built fromSessionEvidence.requests(one per request;request_id_source = "codex_token_count"),turnsstill one pertask_started/task_complete;burn compare/summary --qualityper-turn metrics gain--per request|turn(defaultrequestfor Codex, documented inREADME.md); close Codex turn accounting collapses many API requests into one turn #504 and either land the request-level parts of PR Fix Codex request-level turn accounting (#504) #512 or close it superseded.summary,hotspots,findingsgain--group-by projectkeyed byproject_key; delegated children attribute to the parent'sproject_key(relayhistorymethod = Inherited) and--by-relationshipstill shows them separately;--bucketoutput gains aharnessdimension (SourceKind).sessions list: addtokens(total) andcostcolumns from the ledger (no relayhistory call; keep the verb offline).nested-subagentrolls up to the parent project; Codexmulti-turnyields Ninferencesfor Mtoken_countevents; golden CLI snapshots updated with a documented diff.CHANGELOG.md.Acceptance
burn summary --session <codex fixture> --jsonreportsturnsandrequestsseparately andcost_per_requestuses the request count.burn summary --group-by projectonnested-subagentshows one project row whose tokens equal parent + children.burn sessions listshows a tokens column;--jsonincludestotal_tokens.Out of scope
New harness support (#560).