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