story-kit: done 324_story_slack_bot_integration_for_bot_commands
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
---
|
||||
name: "Bot overview command shows implementation summary for a story"
|
||||
---
|
||||
|
||||
# Story 327: Bot overview command shows implementation summary for a story
|
||||
|
||||
## User Story
|
||||
|
||||
As a project owner in a Matrix room, I want to type "{bot_name} overview {story_number}" and see a summary of what was implemented for that story, so that I can understand the scope of changes without reading code or asking the bot to investigate.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] '{bot_name} overview {number}' finds the story's merge commit or feature branch on master
|
||||
- [ ] Shows git diff --stat (files changed with line counts)
|
||||
- [ ] Extracts key function/struct/type names added or modified from the diff
|
||||
- [ ] Shows a compact summary formatted for Matrix chat
|
||||
- [ ] Returns a friendly message if no implementation found (story still in backlog or ghost)
|
||||
- [ ] Registered in the command registry so it appears in help output
|
||||
- [ ] Handled at bot level without LLM invocation — uses git commands only
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- TBD
|
||||
@@ -0,0 +1,24 @@
|
||||
---
|
||||
name: "Slack bot integration for bot commands"
|
||||
---
|
||||
|
||||
# Story 324: Slack bot integration for bot commands
|
||||
|
||||
## User Story
|
||||
|
||||
As a project owner, I want to interact with the bot via Slack using the Slack Events API, so that I can manage the pipeline from Slack alongside Matrix and WhatsApp.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] Implement SlackTransport using the ChatTransport trait from refactor 316
|
||||
- [ ] Webhook endpoint at /webhook/slack receives incoming messages via Slack Events API
|
||||
- [ ] URL verification handshake (challenge response) implemented
|
||||
- [ ] Outbound replies sent via chat.postMessage using Bot token
|
||||
- [ ] Message editing supported via chat.update (htop works natively)
|
||||
- [ ] Slack config in bot.toml: slack_bot_token, slack_signing_secret, slack_channel_ids, enabled flag
|
||||
- [ ] bot.toml.example documents the Slack fields
|
||||
- [ ] All bot commands work (help, status, cost, git, show, delete, ambient, htop with native editing)
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- TBD
|
||||
Reference in New Issue
Block a user