story-kit: create 314_story_show_token_cost_per_story_in_bot_status_command_output
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: "Show token cost per story in bot status command output"
|
||||
---
|
||||
|
||||
# Story 314: Show token cost per story in bot status command output
|
||||
|
||||
## User Story
|
||||
|
||||
As a project owner reading the bot's status output in Matrix, I want to see the token cost next to each active story, so that I can monitor spend at a glance without running a separate cost command.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] Status command output shows cost in USD next to each story that has token usage data (e.g. '293 — Register bot commands — $0.29')
|
||||
- [ ] Stories with no recorded usage show no cost (not $0.00)
|
||||
- [ ] Cost data is read from token_usage.jsonl via the existing read_all function
|
||||
- [ ] Minimal performance impact — token usage file is read once per status call, not per story
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- TBD
|
||||
Reference in New Issue
Block a user