story-kit: done 300_story_show_token_cost_badge_on_pipeline_board_work_items
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
---
|
||||
name: "Show token cost badge on pipeline board work items"
|
||||
---
|
||||
|
||||
# Story 300: Show token cost badge on pipeline board work items
|
||||
|
||||
## User Story
|
||||
|
||||
As a project owner viewing the pipeline board, I want to see the total token cost for each work item displayed as a badge, so that I can quickly spot expensive stories at a glance.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] Each work item on the pipeline board shows its total cost in USD as a small badge
|
||||
- [ ] Cost is fetched from the token_usage.jsonl data via a new API endpoint
|
||||
- [ ] Items with no recorded usage show no badge (not $0.00)
|
||||
- [ ] Cost updates when the pipeline refreshes (e.g. after an agent completes)
|
||||
- [ ] Expanded work item detail panel shows per-agent cost breakdown (coder, QA, mergemaster) with token counts
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- TBD
|
||||
Reference in New Issue
Block a user