SurfSense/surfsense_backend/tests/unit/agents/new_chat
CREDO23 d59bb2b5aa refactor(agents): evict mac-only tools/middleware from shared kernel
These were never shared with anonymous_chat (nor podcaster/video_presentation)
-- only multi_agent_chat (subagents/main agent) and the boundary use them:

  shared/tools/mcp/             -> multi_agent_chat/shared/tools/mcp/
  shared/tools/hitl.py          -> multi_agent_chat/shared/tools/hitl.py
  shared/tools/catalog.py       -> multi_agent_chat/shared/tools/catalog.py
  shared/middleware/dedup_tool_calls.py
                                -> multi_agent_chat/shared/middleware/dedup_tool_calls.py

app/agents/shared/ now holds only the genuine anon<->mac kernel:
context, middleware/{compaction,retry_after}, tools/web_search.
2026-06-05 12:50:46 +02:00
..
middleware refactor(agents): move MAC middleware impls out of shared kernel 2026-06-05 12:04:31 +02:00
prompts refactor(agents): relocate boundary-only infra out of shared/ 2026-06-05 12:36:44 +02:00
tools refactor(agents): evict mac-only tools/middleware from shared kernel 2026-06-05 12:50:46 +02:00
__init__.py feat: updated agent harness 2026-04-28 09:22:19 -07:00
test_action_log.py refactor(agents): move mac-only modules out of the cross-agent shared kernel 2026-06-05 12:30:15 +02:00
test_agent_cache.py refactor(agents): colocate main_agent-only kernel into main_agent/ 2026-06-04 21:25:39 +02:00
test_busy_mutex.py refactor(agents): move mac-only modules out of the cross-agent shared kernel 2026-06-05 12:30:15 +02:00
test_compaction.py refactor(agents): move middleware package to app/agents/shared (slice 5c) 2026-06-04 13:00:41 +02:00
test_context_editing.py refactor(agents): colocate 8 main-agent-only middleware as per-concept folders 2026-06-05 11:42:58 +02:00
test_dedup_tool_calls.py refactor(agents): evict mac-only tools/middleware from shared kernel 2026-06-05 12:50:46 +02:00
test_default_permissions_layering.py refactor(agents): evict mac-only tools/middleware from shared kernel 2026-06-05 12:50:46 +02:00
test_desktop_safety_rules.py refactor(agents): delete dead PermissionMiddleware twin in shared kernel 2026-06-05 12:10:08 +02:00
test_doom_loop.py refactor(agents): colocate 8 main-agent-only middleware as per-concept folders 2026-06-05 11:42:58 +02:00
test_feature_flags.py refactor(agents): move mac-only modules out of the cross-agent shared kernel 2026-06-05 12:30:15 +02:00
test_hitl_auto_approve.py refactor(agents): evict mac-only tools/middleware from shared kernel 2026-06-05 12:50:46 +02:00
test_memory_response_content.py feat: refine private and team memory protocols 2026-05-20 02:02:10 +05:30
test_mention_resolver.py refactor(agents): move mac-only modules out of the cross-agent shared kernel 2026-06-05 12:30:15 +02:00
test_noop_injection.py refactor(agents): colocate 8 main-agent-only middleware as per-concept folders 2026-06-05 11:42:58 +02:00
test_otel_span.py refactor(agents): colocate 8 main-agent-only middleware as per-concept folders 2026-06-05 11:42:58 +02:00
test_path_resolver.py refactor(agents): move mac-only modules out of the cross-agent shared kernel 2026-06-05 12:30:15 +02:00
test_permissions.py refactor(agents): relocate remaining MAC-only kernel (permissions, deliverable_wait) 2026-06-05 10:58:49 +02:00
test_plugin_loader.py refactor(agents): colocate main_agent-only kernel into main_agent/ 2026-06-04 21:25:39 +02:00
test_prompt_caching.py refactor(agents): move mac-only modules out of the cross-agent shared kernel 2026-06-05 12:30:15 +02:00
test_retry_after.py refactor(agents): move middleware package to app/agents/shared (slice 5c) 2026-06-04 13:00:41 +02:00
test_skills_backends.py refactor(agents): colocate main_agent-only kernel into main_agent/ 2026-06-04 21:25:39 +02:00
test_state_reducers.py refactor(agents): move MAC graph-state schema into multi_agent_chat/shared/state/ 2026-06-05 10:54:15 +02:00
test_tool_call_repair.py refactor(agents): colocate 8 main-agent-only middleware as per-concept folders 2026-06-05 11:42:58 +02:00