storkit: create 404_bug_whatsapp_and_slack_missing_assign_command_handler

This commit is contained in:
Timmy
2026-03-26 11:12:18 +00:00
parent 96b1ce373b
commit 1a7f419ecf
@@ -12,10 +12,6 @@ The assign command has a fallback handler in chat/commands/mod.rs that returns N
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 assign 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.
## Implementation Note
Follow the existing code patterns used by commands that already work on WhatsApp and Slack (e.g. "rebuild", "status"). Study how those commands are dispatched and handled, and implement the assign handler in the same way.
## How to Reproduce
1. Configure bot with transport = "whatsapp" or "slack"\n2. Send "assign <story_id> <agent>" to the bot\n3. Check server logs