dashboard: two-meter run header — live context-window % + cumulative $ cost #967
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Blocks
Depends on
#969 dashboard: per-tool token attribution chart in run header tooltip
charles/claude-hooks
#952 agents: live token meter — accumulate per-task usage across both providers
charles/claude-hooks
Reference
charles/claude-hooks#967
Loading…
Add table
Add a link
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?
User story
As an operator under a hard monthly budget, I want every run to show a live context-window % bar (per turn) and a cumulative $ cost counter (per run) at the top-right of the run header, so I can interrupt runaway tasks before they burn budget or hit context limits.
Context
Token meter (#952) ships per-task usage. Cost rate table (#953) ships per-task USD. This ticket binds both into the run header chrome and adds the context-window bar (which neither prior ticket covered explicitly).
Acceptance criteria
<RunHeaderMeters>component, mounted in: planner drawer header, monitor detail header, agent timeline header.tokens_in_current_context / model_context_window. Color tiers: <50% neutral, 50–90% warn, >90% error. Tooltip lists per-tool token attribution (Read X / Bash Y / system Z) — see follow-up ticket.usage_deltaandresultevents; coalesced ≤4 Hz.Out of scope
Dependencies
References
phuryn/claude-usagedashboard reference: https://github.com/phuryn/claude-usage🤖 Auto-assigned to dev (heuristic: area:dashboard + body 1769 bytes (≤ 2 KB) — code role). Reply
/unassignto reroute.🦵 @charles kicked the queue — re-running implement on @dev.