SurfSense/surfsense_backend/app/agents/multi_agent_chat/shared
CREDO23 f615d6b530 refactor(agents): relocate remaining MAC-only kernel (permissions, deliverable_wait)
permissions.py (authorization Rule/Ruleset model) is consumed across all
MAC subagents + the permissions middleware, with a single external
consumer (user_tool_allowlist service) -> move to
multi_agent_chat/shared/permissions.py and repoint all 42 sites.

deliverable_wait.py (wait_for_deliverable) is used only by the podcast and
video_presentation deliverable tools -> colocate into
subagents/builtins/deliverables/.

No behavior change; import-all + permission/allowlist/deliverable unit
tests stay green.
2026-06-05 10:58:49 +02:00
..
middleware refactor(agents): relocate remaining MAC-only kernel (permissions, deliverable_wait) 2026-06-05 10:58:49 +02:00
receipts refactor(agents): group tool-outcome receipts into multi_agent_chat/shared/receipts/ 2026-06-05 10:56:37 +02:00
state refactor(agents): group tool-outcome receipts into multi_agent_chat/shared/receipts/ 2026-06-05 10:56:37 +02:00
__init__.py refactor(agents): colocate middleware into vertical slices 2026-06-04 18:13:47 +02:00
date_filters.py refactor(agents): colocate KB-search tool with its sole consumer; fix report ImportError 2026-06-05 10:28:56 +02:00
permissions.py refactor(agents): relocate remaining MAC-only kernel (permissions, deliverable_wait) 2026-06-05 10:58:49 +02:00