chore: record tokens and EUR cost per ticket in the dev log
The agent cannot read /usage, and time leaves out the developer's own work. Tokens come from Claude Code's transcripts, priced at API list rates.
This commit is contained in:
1 parent
9993d70eb2
commit
d070b19f03
3 files changed
+149
-3
No files matched your search
@@ -88,4 +88,6 @@ The same permissions apply in every phase: nothing is pushed to `main`, and real
|
||||
|
||||
## Metrics
|
||||
|
||||
Recorded in the [dev log](devlog.md) for each ticket: time, cost, agent mistakes and what caught them (test, types, lint, agent review, human review, real run), number of rework rounds, and one thing learned.
|
||||
Recorded in the [dev log](devlog.md) for each ticket: tokens and cost, agent mistakes and what caught them (test, types, lint, agent review, human review, real run), number of rework rounds, and one thing learned.
|
||||
|
||||
Tokens and cost come from `.claude/scripts/ticket-cost.py`, which sums the Claude Code transcripts from the start of work on the ticket to the merge. Cost is in EUR at API list prices (ECB rate of the day). On a subscription that is not the amount paid; it is a comparable measure between tickets. Time is not recorded: the agent cannot see the developer's time for writing, research and review, and wall-clock time from branch to merge mostly measures waiting.
|
||||
Reference in new issue
Block a user