testsAndMisc/python_pkg/token_audit
Krzysztof kuhy Rudnicki c287f59621 token_audit: label every subagent; Bash metric per day + big-result share
- Subagents that outlived /clear land in a new session's subagents/ dir with
  no meta: borrow the spawning session's agent-<id>.meta.json, else the first
  prompt line. Clears the $35.93 '?' row; no launch lacked a description.
- bash_tokens_per_call rose 41% with Bash tokens/day flat (cheap calls fell
  28%). Compare bash_tokens_per_day and bash_big_result_share (results >2k)
  instead; the Large-Bash lever keys on the share. Tool counters grouped in
  ToolPayloads.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TjyHmRrjZssaxXDWcGuCeQ
2026-10-10 12:43:28 +02:00
..
tests token_audit: label every subagent; Bash metric per day + big-result share 2026-10-10 12:43:28 +02:00
__init__.py Add token_audit package: per-session token attribution and reporting 2026-08-14 22:20:44 +02:00
__main__.py token_audit: label every subagent; Bash metric per day + big-result share 2026-10-10 12:43:28 +02:00
attribute.py token_audit: label every subagent; Bash metric per day + big-result share 2026-10-10 12:43:28 +02:00
breakdown.py token_audit v2: dedup, subagents, per-model USD, snapshots+ledger; repo contract; dep bumps (fixes red freshness CI) 2026-10-04 16:39:42 +02:00
checkup.py Land the token_audit standing-cost checkup (116 tests, 100% branch coverage) 2026-08-22 14:33:03 +02:00
discover.py token_audit: label every subagent; Bash metric per day + big-result share 2026-10-10 12:43:28 +02:00
history.py token_audit v2: dedup, subagents, per-model USD, snapshots+ledger; repo contract; dep bumps (fixes red freshness CI) 2026-10-04 16:39:42 +02:00
imagecost.py Add token_audit package: per-session token attribution and reporting 2026-08-14 22:20:44 +02:00
model.py token_audit v2: dedup, subagents, per-model USD, snapshots+ledger; repo contract; dep bumps (fixes red freshness CI) 2026-10-04 16:39:42 +02:00
parse.py token_audit: label every subagent; Bash metric per day + big-result share 2026-10-10 12:43:28 +02:00
prices.json Prettier-format AGENTS.md and token_audit prices.json 2026-10-04 16:40:36 +02:00
pricing.py token_audit v2: dedup, subagents, per-model USD, snapshots+ledger; repo contract; dep bumps (fixes red freshness CI) 2026-10-04 16:39:42 +02:00
probe.py Land the token_audit standing-cost checkup (116 tests, 100% branch coverage) 2026-08-22 14:33:03 +02:00
recommend.py token_audit: label every subagent; Bash metric per day + big-result share 2026-10-10 12:43:28 +02:00
records.py token_audit v2: dedup, subagents, per-model USD, snapshots+ledger; repo contract; dep bumps (fixes red freshness CI) 2026-10-04 16:39:42 +02:00
report.py token_audit: label every subagent; Bash metric per day + big-result share 2026-10-10 12:43:28 +02:00
review.py token_audit: label every subagent; Bash metric per day + big-result share 2026-10-10 12:43:28 +02:00
surfaces.py Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
turns.py token_audit v2: dedup, subagents, per-model USD, snapshots+ledger; repo contract; dep bumps (fixes red freshness CI) 2026-10-04 16:39:42 +02:00
unused.py Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00