surfaces/adapter/matrix/handlers
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
..
__init__.py feat: add !agent command and durable user agent selection 2026-04-24 13:54:25 +03:00
agent.py feat: add !agent command and durable user agent selection 2026-04-24 13:54:25 +03:00
auth.py feat: finalize matrix platform audit and docs 2026-04-21 15:35:03 +03:00
chat.py feat: enforce agent routing and persist restart state 2026-04-24 14:01:49 +03:00
confirm.py fix(01-05): align matrix confirmation scope with user and room 2026-04-03 12:26:32 +03:00
context_commands.py feat: finalize matrix platform audit and docs 2026-04-21 15:35:03 +03:00
settings.py feat: add !agent command and durable user agent selection 2026-04-24 13:54:25 +03:00