story-kit: create 299_story_bot_git_status_command_shows_working_tree_and_branch_info

This commit is contained in:
Dave
2026-03-19 09:58:06 +00:00
parent db2f8fcfc5
commit 501d6d31ff

View File

@@ -0,0 +1,22 @@
---
name: "Bot git status command shows working tree and branch info"
---
# Story 299: Bot git status command shows working tree and branch info
## User Story
As a project owner in a Matrix room, I want to type "{bot_name} git" and see the current git status (branch, uncommitted changes, how far ahead/behind remote), so that I can check the repo state without terminal access.
## Acceptance Criteria
- [ ] '{bot_name} git' displays current branch name
- [ ] Shows count of uncommitted changes (staged and unstaged) with filenames
- [ ] Shows how many commits ahead/behind the remote branch
- [ ] Output is formatted compactly for Matrix chat
- [ ] Registered in the command registry in commands.rs so it appears in help output
- [ ] Handled at bot level without LLM invocation
## Out of Scope
- TBD