Records tokens and cost per ticket in the dev log, taken from Claude Code's transcripts, instead of time and cost from /usage.
.claude/scripts/ticket-cost.py --since <start> [--until <merge>]: sums token usage of all responses in the window (each response once; Claude Code writes one response over several lines), prices them at API list rates, converts to EUR with the ECB rate of the day
docs/devlog.md: template field "Tokens / cost" replaces "Time" and "Cost"; #1 entry filled in (12.3M tokens, ~€9.21)
docs/agentic-workflow.md: Metrics section says where the numbers come from and why time is not recorded
Checked: ruff check and strict pyright pass on the script; the #1 total matches a hand calculation. No CI yet.
Records tokens and cost per ticket in the dev log, taken from Claude Code's transcripts, instead of time and cost from `/usage`.
- `.claude/scripts/ticket-cost.py --since <start> [--until <merge>]`: sums token usage of all responses in the window (each response once; Claude Code writes one response over several lines), prices them at API list rates, converts to EUR with the ECB rate of the day
- `docs/devlog.md`: template field "Tokens / cost" replaces "Time" and "Cost"; #1 entry filled in (12.3M tokens, ~€9.21)
- `docs/agentic-workflow.md`: Metrics section says where the numbers come from and why time is not recorded
Checked: `ruff check` and strict `pyright` pass on the script; the #1 total matches a hand calculation. No CI yet.
Closes #4
claude-botBot
added this to the MVP milestone 2026-11-15 14:55:11 +01:00
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.
Records tokens and cost per ticket in the dev log, taken from Claude Code's transcripts, instead of time and cost from
/usage..claude/scripts/ticket-cost.py --since <start> [--until <merge>]: sums token usage of all responses in the window (each response once; Claude Code writes one response over several lines), prices them at API list rates, converts to EUR with the ECB rate of the daydocs/devlog.md: template field "Tokens / cost" replaces "Time" and "Cost"; #1 entry filled in (12.3M tokens, ~€9.21)docs/agentic-workflow.md: Metrics section says where the numbers come from and why time is not recordedChecked:
ruff checkand strictpyrightpass on the script; the #1 total matches a hand calculation. No CI yet.Closes #4