diff --git a/.storkit/work/1_backlog/394_story_whatsapp_and_slack_permission_prompt_forwarding.md b/.storkit/work/1_backlog/394_story_whatsapp_and_slack_permission_prompt_forwarding.md new file mode 100644 index 00000000..7fac8bd7 --- /dev/null +++ b/.storkit/work/1_backlog/394_story_whatsapp_and_slack_permission_prompt_forwarding.md @@ -0,0 +1,23 @@ +--- +name: "WhatsApp and Slack permission prompt forwarding" +--- + +# Story 394: WhatsApp and Slack permission prompt forwarding + +## User Story + +As a WhatsApp or Slack user, I want permission requests from Claude Code to be forwarded to my chat so I can approve or deny them, rather than having them silently fail. + +## Acceptance Criteria + +- [ ] Permission requests are sent as messages to the WhatsApp sender with tool name and input details +- [ ] User can reply yes/y/approve or no/n/deny to approve or deny the permission +- [ ] Permission requests time out and auto-deny (fail-closed) if not answered within the configured timeout +- [ ] Slack receives the same permission forwarding treatment +- [ ] Reuses the existing permission channel infrastructure (perm_rx, PermissionForward, PermissionDecision) +- [ ] Matrix permission handling is completely unaffected +- [ ] handle_llm_message uses a tokio::select! loop (like Matrix bot.rs) to listen for both LLM output and permission requests concurrently + +## Out of Scope + +- TBD