Skip to content

docs: plan auxiliary token usage accounting - #1793

Merged
jbeda merged 3 commits into
mainfrom
plan/auxiliary-token-usage-accounting
Sep 23, 2026
Merged

jbeda merged 3 commits into
mainfrom
plan/auxiliary-token-usage-accounting

Conversation

@jbeda

@jbeda jbeda commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Plan / Interface

Tracking: #1216

Defines the Architectural contract for purpose-attributed durable accounting of every reachable, session-associated auxiliary LLM call.

  • Adds ADR 0350 and the proposed acceptance plan.
  • Defines recognized auxiliary usage purposes, actual provider/model attribution, and opaque forward-compatible preservation of unrecognized kinds.
  • Keeps normal main usage, Session.Usage, and client-visible run usage separate.
  • Preserves the model router's internal spend safeguard from its separate router bucket.
  • Documents best-effort partial/retry accounting, forward-only compatibility, and the accepted mixed-version-writer tradeoff.
  • Defers source-less dream/consolidation accounting to feat(usage): account for dream and consolidation planner token usage #1791.

Validation:

  • bash .claude/skills/to-acceptance-plan/scripts/check-acceptance-plan.sh docs/acceptance/auxiliary-token-usage.md
  • bash .claude/skills/to-acceptance-plan/scripts/check-acceptance-plan-test.sh
  • task docs

This PR deliberately contains no implementation. Merging it is the human contract-approval checkpoint for /plan-orchestrate.

@jbeda
jbeda merged commit 03662c8 into main Sep 23, 2026
33 checks passed
@jbeda
jbeda deleted the plan/auxiliary-token-usage-accounting branch September 23, 2026 00:58
kantord added a commit that referenced this pull request Sep 23, 2026
0350 was taken by "purpose-attributed auxiliary token usage" (#1793),
merged to main after this ADR was drafted. Renumbering to the next
free slot; also drops the now-stale "draft ADR 0351" label for PR
#1730 (0351 itself collided with an unrelated, already-merged Studio
ADR, so PR #1730 will need its own renumber before it merges).

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant