Skip to content

Attribution report on a pain session (CL-5167) - #311

Merged
TheGreatAxios merged 3 commits into
mainfrom
stack/w5-cl-5167-attribution
Aug 4, 2026
Merged

Attribution report on a pain session (CL-5167)#311
TheGreatAxios merged 3 commits into
mainfrom
stack/w5-cl-5167-attribution

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Stack

PerfTrace stack 5/8 (project exit) — base: stack/w4b-cl-5174-eval-harness (#309 pending)

Linear

https://linear.app/abklabs/issue/CL-5167/attribution-report-on-a-pain-session-project-exit

Summary

Offline attribution report from local dump alone:

  • Exclusive shares: inference / tools / permission.wait / subagent / other
  • CLI: bun scripts/perf-report.ts <dump.json> and --fixture
  • Open-turn (mid-stall) wall estimated as max completed-descendant end − turn start so shares still sum to ~1
  • Methodology guide + transport prioritization decision template

Test evidence

  • 10/10 attribution-report tests pass (including open/mixed stall dumps)
  • typecheck clean
  • Review PASS after open-turn fix (commit 1f55d03)

Merge note

Merge last in the dump→eval→attribution chain, after eval harness PR.
Do not merge to main until full stack reviewed.

@linear-code

linear-code Bot commented Aug 4, 2026

Copy link
Copy Markdown

CL-5167

CL-5257

@TheGreatAxios
TheGreatAxios force-pushed the stack/w4b-cl-5174-eval-harness branch from 0bb506c to f14089e Compare August 4, 2026 16:28
@TheGreatAxios
TheGreatAxios force-pushed the stack/w5-cl-5167-attribution branch from 381f8c1 to 96e3fe7 Compare August 4, 2026 16:28
@TheGreatAxios
TheGreatAxios force-pushed the stack/w4b-cl-5174-eval-harness branch 2 times, most recently from 67f312e to 2bf37e9 Compare August 4, 2026 18:11
@TheGreatAxios
TheGreatAxios force-pushed the stack/w5-cl-5167-attribution branch from 6f378c4 to 9fe7de0 Compare August 4, 2026 18:11
@TheGreatAxios
TheGreatAxios force-pushed the stack/w4b-cl-5174-eval-harness branch from 2bf37e9 to a72f16a Compare August 4, 2026 22:49
Pure attribution over dump JSON or live spans: exclusive shares for
inference, tools, permission.wait, subagent, and other, plus TTFT/stream
and adapter.transport diagnostics. CLI, methodology guide, and golden
multi-tool fixture coverage.
Nested tool/inference under subagent no longer double-count toward turn
wall; open phase names surface mid-stall incompleteness; dump version
mismatch is rejected with a clear error.
@TheGreatAxios
TheGreatAxios force-pushed the stack/w5-cl-5167-attribution branch from 7571e12 to a892cf3 Compare August 4, 2026 23:03
@TheGreatAxios
TheGreatAxios changed the base branch from stack/w4b-cl-5174-eval-harness to main August 4, 2026 23:03
@TheGreatAxios
TheGreatAxios merged commit a24eb9e into main Aug 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant