storkit: done 458_story_matrix_bot_ignores_messages_addressed_to_other_bots_in_ambient_mode

This commit is contained in:
dave
2026-04-02 15:51:25 +00:00
parent ce4a0cb7f9
commit f43b84a7ef
@@ -0,0 +1,21 @@
---
name: "Matrix bot ignores messages addressed to other bots in ambient mode"
---
# Story 458: Matrix bot ignores messages addressed to other bots in ambient mode
## User Story
As a user with multiple bots in the same Matrix room, I want each bot to only respond to messages addressed to it in ambient mode, so that bots don't step on each other's responses.
## Acceptance Criteria
- [ ] In ambient mode, the bot ignores messages that begin with another bot's name or mention another bot's display name (e.g. 'sally: do X' or '@sally do X' is ignored by stu)
- [ ] In ambient mode, the bot still responds to messages with no explicit addressee
- [ ] In ambient mode, the bot still responds to messages explicitly addressed to itself (e.g. 'stu: do X' or '@stu do X')
- [ ] Direct @mention of the bot's Matrix user ID always triggers a response regardless of ambient mode
- [ ] The bot's own display_name from bot.toml is used to detect when it is being addressed
## Out of Scope
- TBD