SurfSense/surfsense_backend/app/agents/shared
CREDO23 a975754e7d refactor(agents): move feature flags to app/agents/shared/feature_flags (slice 2b)
Promote the agent feature-flag resolver (AgentFeatureFlags / get_flags) out of
`new_chat` into the cross-agent `app/agents/shared` kernel.

feature_flags is a pure leaf consumed across the multi-agent middleware stack,
the chat routes, and tests. Moved it via git mv (content unchanged) and flipped
all 37 importers to app.agents.shared.feature_flags. A thin re-export shim
remains at new_chat/feature_flags.py only for the not-yet-retired single-agent
(chat_deepagent); it goes away with the single-agent deletion.

Behavior-preserving: only import paths change. 1243 tests green.
2026-06-04 12:23:12 +02:00
..
__init__.py feat: enhance task management and timeout configurations in multi-agent chat 2026-05-27 14:58:10 -07:00
context.py refactor(agents): move context schema + state reducers to app/agents/shared (slice 2) 2026-06-04 12:19:22 +02:00
deliverable_wait.py feat: enhance task management and timeout configurations in multi-agent chat 2026-05-27 14:58:10 -07:00
errors.py refactor(agents): move error taxonomy to app/agents/shared/errors (slice 1) 2026-06-04 12:13:55 +02:00
feature_flags.py refactor(agents): move feature flags to app/agents/shared/feature_flags (slice 2b) 2026-06-04 12:23:12 +02:00
receipt.py feat: enhance task management and timeout configurations in multi-agent chat 2026-05-27 14:58:10 -07:00
receipt_command.py feat: enhance task management and timeout configurations in multi-agent chat 2026-05-27 14:58:10 -07:00
state_reducers.py refactor(agents): move context schema + state reducers to app/agents/shared (slice 2) 2026-06-04 12:19:22 +02:00