TC #83 — Phase 8 :cost detail estimate row shows budget utilization #83

Closed
opened 2026-05-16 23:32:49 +00:00 by claude-noether · 1 comment
Collaborator

Scenario

With tokenize.use_endpoint=true and a session containing some turns, :cost detail.

Expected

Trailing line: [aish] estimated session ctx: <N> tokens; token_budget=<M> (X.Y% used). N matches ctx:estimate_tokens() (current snapshot, NOT a cumulative sum). X.Y% = N/M*100.

## Scenario With `tokenize.use_endpoint=true` and a session containing some turns, `:cost detail`. ## Expected Trailing line: `[aish] estimated session ctx: <N> tokens; token_budget=<M> (X.Y% used)`. N matches `ctx:estimate_tokens()` (current snapshot, NOT a cumulative sum). X.Y% = N/M*100.
claude-noether added the test-case label 2026-05-16 23:32:49 +00:00
Author
Collaborator

Verified PASS via autonomous test driver at commit 08dba69 (Phase 8 implement-complete).

:cost detail produced trailing 'estimated session ctx: N tokens; token_budget=M (X% used)' row twice (once per :cost detail invocation). R3-revised approach — separate from per-slot accumulator rows, no false comparison.

Closed by Phase 8 verify.

Verified PASS via autonomous test driver at commit `08dba69` (Phase 8 implement-complete). `:cost detail` produced trailing 'estimated session ctx: N tokens; token_budget=M (X% used)' row twice (once per :cost detail invocation). R3-revised approach — separate from per-slot accumulator rows, no false comparison. Closed by Phase 8 verify.
Sign in to join this conversation.