From abc30c93d175ebc23ab38a9a7f664995fddaee7b Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 26 Mar 2026 20:04:41 +0000 Subject: [PATCH] storkit: create 401_bug_whatsapp_and_slack_missing_start_command_handler --- ...and_slack_missing_start_command_handler.md | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .storkit/work/1_backlog/401_bug_whatsapp_and_slack_missing_start_command_handler.md diff --git a/.storkit/work/1_backlog/401_bug_whatsapp_and_slack_missing_start_command_handler.md b/.storkit/work/1_backlog/401_bug_whatsapp_and_slack_missing_start_command_handler.md new file mode 100644 index 00000000..983e6579 --- /dev/null +++ b/.storkit/work/1_backlog/401_bug_whatsapp_and_slack_missing_start_command_handler.md @@ -0,0 +1,30 @@ +--- +name: "WhatsApp and Slack missing start command handler" +--- + +# Bug 401: WhatsApp and Slack missing start command handler + +## Description + +The start command has a fallback handler in chat/commands/mod.rs that returns None. Only Matrix has pre-dispatch handling for this command. On WhatsApp and Slack, the command falls through to the LLM path. + +## Implementation Note + +The fix must be in the shared command dispatch layer (chat/commands/mod.rs), NOT by adding transport-specific handlers. Study how commands like "rebuild" and "status" already work through the shared dispatch — the start handler should return a concrete result from try_handle_command so all transports get it for free. We do not want separate mechanisms per transport per command. + +## How to Reproduce + +1. Configure bot with transport = "whatsapp" or "slack"\n2. Send "start " to the bot\n3. Check server logs + +## Actual Result + +Command falls through to LLM instead of starting an agent. + +## Expected Result + +The bot starts an agent for the specified story and replies with confirmation. + +## Acceptance Criteria + +- [ ] WhatsApp transport handles start command: starts agent and replies with confirmation +- [ ] Slack transport handles start command: starts agent and replies with confirmation