storkit: accept 458_story_matrix_bot_ignores_messages_addressed_to_other_bots_in_ambient_mode

This commit is contained in:
dave
2026-04-02 21:06:38 +00:00
parent d37fdf8e10
commit 8ff1de73d4
2 changed files with 0 additions and 0 deletions
@@ -1,21 +0,0 @@
---
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
@@ -1,27 +0,0 @@
---
name: "matrix_history.json and timers.json missing from scaffold .storkit/.gitignore"
---
# Bug 459: matrix_history.json and timers.json missing from scaffold .storkit/.gitignore
## Description
The scaffold's write_story_kit_gitignore function in scaffold.rs does not include matrix_history.json or timers.json in the .storkit/.gitignore entries. Both files are runtime state that should not be committed to git. matrix_device_id and matrix_store/ are already covered, but matrix_history.json (conversation history) and timers.json (timer store) are missing.
## How to Reproduce
1. Run storkit scaffold on a new project. 2. Start the Matrix bot. 3. Observe that matrix_history.json and timers.json are created inside .storkit/ but are not gitignored.
## Actual Result
matrix_history.json and timers.json appear as untracked files in git status.
## Expected Result
Both files are listed in .storkit/.gitignore and do not appear in git status.
## Acceptance Criteria
- [ ] matrix_history.json added to the entries array in write_story_kit_gitignore in scaffold.rs
- [ ] timers.json added to the entries array in write_story_kit_gitignore in scaffold.rs
- [ ] scaffold test in scaffold_creates_story_kit_gitignore_with_relative_entries asserts both entries are present