SurfSense/surfsense_backend/tests/unit/middleware
CREDO23 1d2519730e refactor(agents): move MAC graph-state schema into multi_agent_chat/shared/state/
filesystem_state.py (the multi-agent graph state) and state_reducers.py
(its merge reducers) are consumed only by multi_agent_chat (filesystem
tools/middleware, kb projection, and the MAC-only shared middleware) plus
two unit tests -- no external app code. Relocate them into a dedicated
multi_agent_chat/shared/state/ package (filesystem_state.py + reducers.py)
and repoint every importer.

No behavior change; import-all + the full unit/middleware + unit/agents
suites (1066 tests) stay green.
2026-06-05 10:54:15 +02:00
..
__init__.py feat: add unit tests for DedupHITLToolCallsMiddleware 2026-03-21 13:19:58 +05:30
test_b_filesystem_path_resolution.py refactor(agents): colocate middleware into vertical slices 2026-06-04 18:13:47 +02:00
test_b_filesystem_rm_rmdir_cloud.py refactor(agents): move MAC graph-state schema into multi_agent_chat/shared/state/ 2026-06-05 10:54:15 +02:00
test_b_filesystem_system_prompt.py refactor(agents): colocate middleware into vertical slices 2026-06-04 18:13:47 +02:00
test_dedup_hitl_tool_calls.py refactor(agents): move middleware package to app/agents/shared (slice 5c) 2026-06-04 13:00:41 +02:00
test_file_intent_middleware.py refactor(agents): move middleware package to app/agents/shared (slice 5c) 2026-06-04 13:00:41 +02:00
test_filesystem_backends.py refactor(agents): move filesystem_backends to app/agents/shared (slice 5d) 2026-06-04 13:03:15 +02:00
test_kb_persistence_filesystem_parity.py refactor(agents): move middleware package to app/agents/shared (slice 5c) 2026-06-04 13:00:41 +02:00
test_kb_persistence_revisions.py refactor(agents): move middleware package to app/agents/shared (slice 5c) 2026-06-04 13:00:41 +02:00
test_knowledge_search.py refactor(agents): move middleware package to app/agents/shared (slice 5c) 2026-06-04 13:00:41 +02:00
test_knowledge_tree.py refactor(agents): move middleware package to app/agents/shared (slice 5c) 2026-06-04 13:00:41 +02:00
test_local_folder_backend.py refactor(agents): move middleware package to app/agents/shared (slice 5c) 2026-06-04 13:00:41 +02:00
test_multi_root_local_folder_backend.py refactor(agents): move middleware package to app/agents/shared (slice 5c) 2026-06-04 13:00:41 +02:00