story-kit: accept 314_story_show_token_cost_per_story_in_bot_status_command_output

This commit is contained in:
Dave
2026-03-19 23:50:42 +00:00
parent 09a47ac224
commit c84c33a1a7
4 changed files with 0 additions and 63 deletions

View File

@@ -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