storkit: done 362_story_bot_whatsup_command_shows_in_progress_work_summary

This commit is contained in:
dave
2026-03-22 17:43:01 +00:00
parent c504738949
commit 628b60ad15
2 changed files with 28 additions and 25 deletions

View File

@@ -1,25 +0,0 @@
---
name: "MCP tool for whatsup story triage"
---
# Story 363: MCP tool for whatsup story triage
## User Story
As an LLM assistant, I want to call a single MCP tool to get a full triage dump for an in-progress story, so that I can answer status questions quickly without making 8+ separate calls to piece together the picture myself.
## Acceptance Criteria
- [ ] 'whatsup' MCP tool accepts a story_id parameter
- [ ] Returns story front matter fields (name, blocked, agent, and any other non-empty fields)
- [ ] Returns AC checklist with checked/unchecked status
- [ ] Returns active branch and worktree path if one exists
- [ ] Returns git diff --stat of changes on the feature branch since branching from master
- [ ] Returns last 5 commit messages on the feature branch
- [ ] Returns last 20 lines of the most recent agent log for the story
- [ ] Returns a clear error if the story is not found or not in work/2_current/
- [ ] Registered and discoverable via the MCP tools/list endpoint
## Out of Scope
- TBD

View File

@@ -0,0 +1,28 @@
---
name: "Bot whatsup command shows in-progress work summary"
---
# Story 362: Bot whatsup command shows in-progress work summary
## User Story
As a project owner in a Matrix room, I want to type "{bot_name} whatsup {story_number}" and see a full triage dump for that story, so that when something goes wrong I can immediately understand its state — blocked status, agent activity, git changes, and log tail — without hunting across multiple places or asking the bot to investigate.
## Acceptance Criteria
- [ ] '{bot_name} whatsup {number}' finds the story in work/2_current/ by story number
- [ ] Shows the story number, name, and current pipeline stage
- [ ] Shows relevant front matter fields: blocked, agent, and any other non-empty fields
- [ ] Shows which Acceptance Criteria are checked vs unchecked
- [ ] Shows active branch and worktree path if one exists
- [ ] Shows git diff --stat of changes on the branch since branching from master
- [ ] Shows last 5 commit messages on the feature branch (not master)
- [ ] Shows the last 20 lines of the agent log for this story (if a log exists)
- [ ] Returns a friendly message if the story is not found or not currently in progress
- [ ] Registered in the command registry so it appears in help output
- [ ] Handled at bot level without LLM invocation — uses git, filesystem, and log files only
## Out of Scope
- Interpreting or summarising log output with an LLM
- Showing logs from previous agent runs (only the current/most recent)