T02: ADR-0003 — transcript as instrument, commit intervals as attribution
Instrument: session transcript JSONL, deduped by requestId, priced per model and per cache TTL. Hub rejected as a source (no cache fields, ~100% error on the same work), kept as sink. Status bar and billing API rejected on availability. Attribution: (prev_commit, this_commit] ending-at-commit, scoped by sessionId. Explicit session markers rejected because they depend on an agent remembering a step — the exact failure this workplan exists to fix. Hub status transitions rejected as an after-the-fact time index. Stated honestly: we buy accuracy with specification complexity, and D1 gets worse. That trade is only right because the alternative on offer was not a simpler correct number but one wrong by two orders of magnitude. Seven failure modes recorded up front, each becoming a T04 test — most importantly that dedup fails in the under-reporting direction, so the invariant is asserted at runtime rather than trusted. Gate satisfied: T04 may now write collector code. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
ac3ac2a8ce
commit
c3e6e72ab2
2 changed files with 119 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ accuracy and the hub to lead on durability.
|
|||
|
||||
```task
|
||||
id: CB-WP-0002-T02
|
||||
status: todo
|
||||
status: done
|
||||
priority: high
|
||||
state_hub_task_id: "eae248ab-f29f-4f11-9d20-e8145b0d822d"
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue