SurfSense/surfsense_backend/tests/unit/agents/new_chat
CREDO23 1b536b8aee refactor(agents): move filesystem_selection to app/agents/shared (slice 3a)
Promote the filesystem mode contracts (FilesystemMode, FilesystemSelection,
ClientPlatform, LocalFilesystemMount) out of `new_chat` into the cross-agent
`app/agents/shared` kernel.

Pure leaf consumed across the whole multi-agent filesystem middleware/tool tree,
the chat flows/monolith, routes and tests. git mv (content unchanged) + flipped
all ~48 importers. A re-export shim remains at new_chat/filesystem_selection.py
only for the not-yet-retired single-agent (chat_deepagent).

Also updated the stream parity test's annotation normalizer to strip the new
app.agents.shared.filesystem_selection. prefix (the dataclasses' __module__
changed with the move), keeping monolith<->flows signature parity intact.

Behavior-preserving: only import paths change. 1326 tests green.
2026-06-04 12:28:20 +02:00
..
middleware chore: linting 2026-05-05 17:08:34 -07:00
prompts feat: prompt caching 2026-05-01 05:10:53 -07:00
tools Merge remote-tracking branch 'upstream/dev' into improvement-agent-speed 2026-05-20 21:23:48 +02:00
__init__.py feat: updated agent harness 2026-04-28 09:22:19 -07:00
test_action_log.py refactor(agents): move feature flags to app/agents/shared/feature_flags (slice 2b) 2026-06-04 12:23:12 +02:00
test_agent_cache.py feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
test_busy_mutex.py refactor(agents): move error taxonomy to app/agents/shared/errors (slice 1) 2026-06-04 12:13:55 +02:00
test_compaction.py chore: linting 2026-04-28 21:37:51 -07:00
test_context_editing.py chore: linting 2026-04-28 21:37:51 -07:00
test_dedup_tool_calls.py Harden HITL for multi-step tasks: bypass internal MCP gate, full-args dedup, and decision-envelope normalization. 2026-05-04 19:25:27 +02:00
test_default_permissions_layering.py refactor: remove search_surfsense_docs tool and related references 2026-05-28 22:35:14 -07:00
test_desktop_safety_rules.py refactor(agents): move error taxonomy to app/agents/shared/errors (slice 1) 2026-06-04 12:13:55 +02:00
test_doom_loop.py chore: linting 2026-04-28 21:37:51 -07:00
test_feature_flags.py refactor(agents): move feature flags to app/agents/shared/feature_flags (slice 2b) 2026-06-04 12:23:12 +02:00
test_flatten_system.py feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
test_hitl_auto_approve.py Merge upstream/dev into feature/multi-agent 2026-05-05 01:44: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 feat: improved document, folder mentions rendering 2026-05-09 22:15:51 -07:00
test_noop_injection.py chore: linting 2026-04-28 21:37:51 -07:00
test_otel_span.py feat(agents): emit metrics for model and tool calls 2026-05-21 23:02:36 +05:30
test_path_resolver.py feat: improved document, folder mentions rendering 2026-05-09 22:15:51 -07:00
test_permission_middleware.py refactor(agents): move error taxonomy to app/agents/shared/errors (slice 1) 2026-06-04 12:13:55 +02:00
test_permissions.py chore: cleaned comments slop 2026-04-28 23:52:37 -07:00
test_plugin_loader.py chore: cleaned comments slop 2026-04-28 23:52:37 -07:00
test_prompt_caching.py perf(prompt-cache): enable Azure prompt_cache_key routing hint 2026-05-20 11:58:15 +02:00
test_resolve_prompt_model_name.py feat: prompt caching 2026-05-01 05:10:53 -07:00
test_retry_after.py chore: linting 2026-04-28 21:37:51 -07:00
test_rm_rmdir_cloud.py refactor(agents): move filesystem_selection to app/agents/shared (slice 3a) 2026-06-04 12:28:20 +02:00
test_skills_backends.py feat: updated agent harness 2026-04-28 09:22:19 -07:00
test_specialized_subagents.py refactor: remove search_surfsense_docs tool and related references 2026-05-28 22:35:14 -07:00
test_state_reducers.py refactor(agents): move context schema + state reducers to app/agents/shared (slice 2) 2026-06-04 12:19:22 +02:00
test_tool_call_repair.py chore: linting 2026-04-28 21:37:51 -07:00