From 0eac4ca966bf8ffa7b1f7c5dc7b4b513d35ad2da Mon Sep 17 00:00:00 2001 From: Dave Date: Thu, 19 Mar 2026 11:40:57 +0000 Subject: [PATCH] story-kit: done 303_story_bot_cost_command_with_story_filter_for_detailed_breakdown --- ...ith_story_filter_for_detailed_breakdown.md | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .story_kit/work/5_done/303_story_bot_cost_command_with_story_filter_for_detailed_breakdown.md diff --git a/.story_kit/work/5_done/303_story_bot_cost_command_with_story_filter_for_detailed_breakdown.md b/.story_kit/work/5_done/303_story_bot_cost_command_with_story_filter_for_detailed_breakdown.md new file mode 100644 index 0000000..a0614ad --- /dev/null +++ b/.story_kit/work/5_done/303_story_bot_cost_command_with_story_filter_for_detailed_breakdown.md @@ -0,0 +1,21 @@ +--- +name: "Bot cost command with story filter for detailed breakdown" +--- + +# Story 303: Bot cost command with story filter for detailed breakdown + +## User Story + +As a project owner in a Matrix room, I want to type "{bot_name} cost 293" to see a detailed token breakdown for a specific story, so that I can understand where the tokens went on an expensive item. + +## Acceptance Criteria + +- [ ] '{bot_name} cost {story_number}' shows all agent sessions for that story +- [ ] Each session shows agent name, model, input/output/cache tokens, and cost in USD +- [ ] Shows total cost for the story at the bottom +- [ ] Registered in the command registry (can share the 'cost' command with args parsing) +- [ ] Returns a friendly message if no usage data exists for the story + +## Out of Scope + +- TBD