story-kit: create 282_story_matrix_bot_ambient_mode_toggle_via_chat_command

This commit is contained in:
Dave
2026-03-18 11:47:51 +00:00
parent a5e64ded83
commit bad680cf24

View File

@@ -0,0 +1,23 @@
---
name: "Matrix bot ambient mode toggle via chat command"
---
# Story 282: Matrix bot ambient mode toggle via chat command
## User Story
As a user chatting with Timmy in a Matrix room, I want to toggle between "addressed mode" (bot only responds when mentioned by name) and "ambient mode" (bot responds to all messages) via a chat command, so that I don't have to @-mention the bot on every message when I'm the only one around.
## Acceptance Criteria
- [ ] Matrix bot defaults to addressed mode — only forwards messages containing the bot's name to Claude
- [ ] Chat command "timmy ambient on" switches to ambient mode — bot forwards all room messages to Claude
- [ ] Chat command "timmy ambient off" switches back to addressed mode
- [ ] Mode persists until explicitly toggled (not across bot restarts)
- [ ] Bot confirms the mode switch with a short response in chat
- [ ] When other users join or are active, user can flip back to addressed mode to avoid noise
- [ ] Ambient mode applies per-room (not globally across all rooms)
## Out of Scope
- TBD