SurfSense/surfsense_backend/app/agents/multi_agent_chat/shared
CREDO23 714c5ffea9 refactor(agents): group tool-outcome receipts into multi_agent_chat/shared/receipts/
receipt.py (Receipt model + make_receipt) and receipt_command.py
(with_receipt Command helper) are a tight pair used only by MAC subagent
tools, the graph state, and the kb_persistence middleware -- no external
code imports them (the streaming tool_end handler only references them in a
docstring). Move both into a dedicated receipts/ package
(receipts/receipt.py + receipts/command.py) and repoint importers.

No behavior change; import-all + receipt/deliverable unit tests stay green.
2026-06-05 10:56:37 +02:00
..
middleware refactor(agents): move MAC graph-state schema into multi_agent_chat/shared/state/ 2026-06-05 10:54:15 +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