story-kit: create 302_story_bot_cost_command_shows_total_and_per_story_token_spend
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
name: "Bot cost command shows total and per-story token spend"
|
||||||
|
---
|
||||||
|
|
||||||
|
# Story 302: Bot cost command shows total and per-story token spend
|
||||||
|
|
||||||
|
## User Story
|
||||||
|
|
||||||
|
As a project owner in a Matrix room, I want to type "{bot_name} cost" to see total token spend and the top most expensive stories, so that I can check burn rate from my phone.
|
||||||
|
|
||||||
|
## Acceptance Criteria
|
||||||
|
|
||||||
|
- [ ] '{bot_name} cost' shows total spend across all stories
|
||||||
|
- [ ] Shows top 5 most expensive stories with their costs
|
||||||
|
- [ ] Shows cost breakdown by agent type (coder, QA, mergemaster)
|
||||||
|
- [ ] Registered in the command registry so it appears in help output
|
||||||
|
- [ ] Handled at bot level without LLM invocation
|
||||||
|
|
||||||
|
## Out of Scope
|
||||||
|
|
||||||
|
- TBD
|
||||||
Reference in New Issue
Block a user