implementation-report records 0 tokens for some implementations (impl 2 and 3 of the #568 batch) #569
Labels
No labels
P0
P1
P2
P3
bug
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#569
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Per-ticket stats for the responsibility-refactor batch #568, read from .sdlc/pipeline.db on 2026-09-14:
Implementations 2 and 3 have zero in every token column while 1 and 4 recorded fine. The
agents.model_id+ token columns landed in schema 23 (#553, ADR-0175).Expected
Every dispatch row carries in/out/cache_read/cache_creation tokens once its agent stops.
Reproduce
sqlite3 .sdlc/pipeline.db "select implementation_id, sum(tokens_in), sum(tokens_out) from dispatches group by implementation_id"(adjust column names to the schema).Suspects
Usage stamping happens at implementation-report time (#553: "stamp usage on the session's latest implementation"). If the stamp ran only for the session's latest implementation, sessions that ran two tickets back-to-back would leave the earlier one unstamped. Check whether 565 and 566 shared a session with a later ticket.
Origin
Verdict: keep. Root, not symptom: the stats are the whole point of #553 and two of four batch tickets have none; a user asked for per-ticket stats today and could not get them.
Session: fedf1982-c8e2-4f03-9f41-bc1d84fdd823