surfaces/tests/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
..
__init__.py feat(matrix): add adapter baseline and platform-aware command hints 2026-04-01 01:04:54 +03:00
test_agent_handler.py feat: add !agent command and durable user agent selection 2026-04-24 13:54:25 +03:00
test_agent_registry.py Require string agent registry fields 2026-04-24 13:11:02 +03:00
test_chat_space.py feat: finalize matrix platform audit and docs 2026-04-21 15:35:03 +03:00
test_confirm.py test(01-05): cover matrix confirm flow round trip 2026-04-03 12:27:42 +03:00
test_context_commands.py feat: finalize matrix platform audit and docs 2026-04-21 15:35:03 +03:00
test_converter.py feat: support shared-workspace file flow for matrix 2026-04-21 00:26:21 +03:00
test_dispatcher.py feat: add !agent command and durable user agent selection 2026-04-24 13:54:25 +03:00
test_files.py feat: support shared-workspace file flow for matrix 2026-04-21 00:26:21 +03:00
test_invite_space.py feat: finalize matrix platform audit and docs 2026-04-21 15:35:03 +03:00
test_reactions.py test(01-06): add failing matrix command-only regressions 2026-04-03 12:32:21 +03:00
test_restart_persistence.py feat: enforce agent routing and persist restart state 2026-04-24 14:01:49 +03:00
test_routed_platform.py fix: require matrix agent registry in real mode 2026-04-24 13:24:56 +03:00
test_routing_enforcement.py feat: enforce agent routing and persist restart state 2026-04-24 14:01:49 +03:00
test_send_outgoing.py feat: support shared-workspace file flow for matrix 2026-04-21 00:26:21 +03:00
test_store.py feat: finalize matrix platform audit and docs 2026-04-21 15:35:03 +03:00