story-kit: create 302_story_bot_cost_command_shows_total_and_per_story_token_spend

This commit is contained in:
Dave
2026-03-19 10:14:01 +00:00
parent c2cda92337
commit 9ed80384d5

View File

@@ -10,9 +10,10 @@ As a project owner in a Matrix room, I want to type "{bot_name} cost" to see tot
## Acceptance Criteria ## Acceptance Criteria
- [ ] '{bot_name} cost' shows total spend across all stories - [ ] '{bot_name} cost' shows total spend for the last 24 hours
- [ ] Shows top 5 most expensive stories with their costs - [ ] Shows top 5 most expensive stories from the last 24 hours with their costs
- [ ] Shows cost breakdown by agent type (coder, QA, mergemaster) - [ ] Shows cost breakdown by agent type (coder, QA, mergemaster) for the last 24 hours
- [ ] Also shows an all-time total for context
- [ ] Registered in the command registry so it appears in help output - [ ] Registered in the command registry so it appears in help output
- [ ] Handled at bot level without LLM invocation - [ ] Handled at bot level without LLM invocation