SurfSense/surfsense_backend/tests/unit/agents
CREDO23 a7a642fedc refactor(agents): move busy_mutex middleware into main_agent (owner)
The busy-mutex impl (BusyMutexMiddleware + cancel/turn-lifecycle primitives)
lived in shared/middleware/ but no subagent uses it -- consumers are the
main_agent builder and the boundary (turn lifecycle). Colocate with its owner
using the folder-per-middleware shape; __init__ re-exports the public surface so
boundary import sites only change package path:

  main_agent/middleware/busy_mutex.py    -> busy_mutex/builder.py
  shared/middleware/busy_mutex.py        -> busy_mutex/middleware.py
2026-06-05 14:08:45 +02:00
..
multi_agent_chat refactor(agents): unify permissions into one vertical-slice package 2026-06-05 13:29:48 +02:00
new_chat refactor(agents): move busy_mutex middleware into main_agent (owner) 2026-06-05 14:08:45 +02:00
__init__.py feat: updated agent harness 2026-04-28 09:22:19 -07:00
test_import_all.py test: add agent refactor guardrail suite 2026-06-04 11:44:23 +02:00