From 9daaae2d432c82998592b23bc964305ee7c799f2 Mon Sep 17 00:00:00 2001 From: Dave Date: Wed, 18 Mar 2026 14:37:16 +0000 Subject: [PATCH] story-kit: create 288_bug_ambient_mode_state_lost_on_server_restart --- ...bient_mode_state_lost_on_server_restart.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .story_kit/work/1_upcoming/288_bug_ambient_mode_state_lost_on_server_restart.md diff --git a/.story_kit/work/1_upcoming/288_bug_ambient_mode_state_lost_on_server_restart.md b/.story_kit/work/1_upcoming/288_bug_ambient_mode_state_lost_on_server_restart.md new file mode 100644 index 0000000..a6d67e8 --- /dev/null +++ b/.story_kit/work/1_upcoming/288_bug_ambient_mode_state_lost_on_server_restart.md @@ -0,0 +1,29 @@ +--- +name: "Ambient mode state lost on server restart" +--- + +# Bug 288: Ambient mode state lost on server restart + +## Description + +Story 282 implemented ambient mode toggle but only in-memory. The acceptance criterion requiring persistence in bot.toml was not implemented. Every server restart (including rebuild_and_restart) clears ambient mode for all rooms. + +## How to Reproduce + +1. Type "timmy ambient on" — get confirmation +2. Restart server (or rebuild_and_restart) +3. Send unaddressed message — bot ignores it, ambient mode is gone + +## Actual Result + +Ambient mode state is lost on server restart. + +## Expected Result + +Ambient mode per-room state is persisted in bot.toml and restored on startup. + +## Acceptance Criteria + +- [ ] Ambient mode per-room state is saved to bot.toml when toggled +- [ ] Ambient mode state is restored from bot.toml on server startup +- [ ] bot.toml.example includes the ambient_rooms setting with a comment