storkit: done 394_story_whatsapp_and_slack_permission_prompt_forwarding

This commit is contained in:
dave
2026-03-25 15:34:54 +00:00
parent 6521c83eec
commit f5024b2648
@@ -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