SurfSense/surfsense_backend/tests/unit/agents
CREDO23 88fe213176 refactor(agents): extract subagent-invocation contract to subagents/shared
The knowledge_base subagent imported subagent_invoke_config + EXCLUDED_STATE_KEYS
from main_agent's checkpointed_subagent_middleware -- a subagent reaching into
main-agent internals. Both symbols (plus the recursion-limit constant they need)
are a subagent-invocation contract shared by the orchestrator's task middleware
and any nested-invoking subagent. Move them to subagents/shared/invocation.py;
config.py keeps the HITL resume side-channel and constants.py keeps the
main-agent tuning knobs. All consumers (task_tool, kb tool, tests) repointed.
2026-06-05 14:18:44 +02:00
..
multi_agent_chat refactor(agents): extract subagent-invocation contract to subagents/shared 2026-06-05 14:18:44 +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