surfaces/adapter/matrix
Mikhail Putilovskij e733119d1e feat: enforce agent routing and persist restart state
Task 4: stale room blocking + agent_id binding
- MatrixBot._check_agent_routing: blocks normal messages when user has no
  selected agent or room is bound to a different agent
- agent_routing_enabled flag on MatrixRuntime activates the check only
  in real multi-agent mode (RoutedPlatformClient)
- make_handle_new_chat now writes agent_id into new room metadata when
  user already has a selected agent

Task 5: durable restart state tests
- test_restart_persistence.py proves selected_agent_id, room agent_id,
  platform_chat_id, and the sequence counter all survive SQLiteStore
  close/reopen; also covers clean startup with no prior state
2026-04-24 14:01:49 +03:00
..
handlers feat: enforce agent routing and persist restart state 2026-04-24 14:01:49 +03:00
__init__.py feat(matrix): add adapter baseline and platform-aware command hints 2026-04-01 01:04:54 +03:00
agent_registry.py Require string agent registry fields 2026-04-24 13:11:02 +03:00
bot.py feat: enforce agent routing and persist restart state 2026-04-24 14:01:49 +03:00
converter.py feat: support shared-workspace file flow for matrix 2026-04-21 00:26:21 +03:00
files.py feat: finalize matrix platform audit and docs 2026-04-21 15:35:03 +03:00
reactions.py feat(01-06): remove matrix reaction-era adapter UX 2026-04-03 12:33:15 +03:00
room_router.py fix(01-01): stop auto-registering unknown matrix rooms 2026-04-02 22:50:28 +03:00
routed_platform.py feat: add matrix routed platform facade 2026-04-24 13:22:05 +03:00
store.py feat: add !agent command and durable user agent selection 2026-04-24 13:54:25 +03:00