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