fluffychat/test/pangea
wcjord 75a237b90c
fix: prioritize bot DM in updateBotOptions, handle DM outside _targetBotChats (#5698)
Closes #5697

- Extract buildUpdatedBotOptions (pure) and applyBotOptionUpdatesInOrder
  (async orchestration) as top-level @visibleForTesting functions
- Handle bot DM independently of _targetBotChats filter — the DM may
  lack a botOptions state event or have a stale activityPlan, but it's
  the most important room to keep current
- Update remaining rooms sequentially (not Future.wait) to avoid rate-limiting
- DM errors propagate; other room errors are logged and isolated
- Add 17 unit tests covering both extracted functions
- Add profile.instructions.md design doc for profile settings architecture
2026-02-14 14:47:05 -05:00
..
choreo_record_test.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
igc_response_model_test.dart Writing assistance (#5598) 2026-02-09 15:55:18 -05:00
pangea_match_model_test.dart Writing assistance (#5598) 2026-02-09 15:55:18 -05:00
span_data_model_test.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
text_normalization_test.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
update_bot_options_test.dart fix: prioritize bot DM in updateBotOptions, handle DM outside _targetBotChats (#5698) 2026-02-14 14:47:05 -05:00