os-sdlc v2: agent-budget subcommand — peak-context report from subagent transcript JSONL #219

Closed
opened 2026-08-01 16:52:45 +00:00 by jared · 2 comments
Owner

Parent

#195 (PRD: os-sdlc:implement v2)

What to build

A monitoring subcommand that reads a subagent transcript JSONL and reports peak context/token usage, with a threshold exit code. A backstop against policy regression toward oversized contexts — not a resume gate (there are no resumes).

Acceptance criteria

  • Fixture JSONL transcripts with known usage lines: reported peak matches
  • Threshold exit codes correct
  • Tested at the CLI subprocess boundary

Blocked by

None — can start immediately.

## Parent #195 (PRD: os-sdlc:implement v2) ## What to build A monitoring subcommand that reads a subagent transcript JSONL and reports peak context/token usage, with a threshold exit code. A backstop against policy regression toward oversized contexts — not a resume gate (there are no resumes). ## Acceptance criteria - [ ] Fixture JSONL transcripts with known usage lines: reported peak matches - [ ] Threshold exit codes correct - [ ] Tested at the CLI subprocess boundary ## Blocked by None — can start immediately.
Author
Owner

Work started in worktree spec-195-impl (session 2026-08-01).

Work started in worktree spec-195-impl (session 2026-08-01).
Author
Owner

Implemented on branch worktree-spec-195-impl (commits 12d76a2, 9e3fece, f5a4961). Suite 498 runs / 0 failures; opus critique + corrections applied; aidd-lint clean of blocking offenses.

Implemented on branch worktree-spec-195-impl (commits 12d76a2, 9e3fece, f5a4961). Suite 498 runs / 0 failures; opus critique + corrections applied; aidd-lint clean of blocking offenses.
jared 2026-08-01 18:54:44 +00:00
  • closed this issue
  • added the
    review
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#219
No description provided.