fluffychat/lib/pangea/chat_settings/utils
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
..
bot_client_extension.dart fix: prioritize bot DM in updateBotOptions, handle DM outside _targetBotChats (#5698) 2026-02-14 14:47:05 -05:00
delete_room.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00
room_summary_extension.dart Fluffychat merge 2 (#5590) 2026-02-10 08:01:12 -05:00