story-kit: create 324_story_slack_bot_integration_for_bot_commands

This commit is contained in:
Dave
2026-03-20 00:54:26 +00:00
parent 48edf6a94b
commit cc403e7736

View File

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