SurfSense/surfsense_backend/app/automations
CREDO23 2beafbdec8 agent: retire eager KB priority/planner path and its dead flags
The pull-based KB design (on-demand search_knowledge_base tool + pre-injected
workspace tree) fully replaced the old eager retrieval path. Remove its last
remnants:

- Delete KnowledgePriorityMiddleware (knowledge_search.py) and its tests.
- Drop the kb_priority state field + reducer default; trim
  KbContextProjectionMiddleware to project only workspace_tree_text.
- Remove the now-dead feature flags enable_kb_priority_preinjection and
  enable_kb_planner_runnable across backend (flags, route schema, tests,
  env examples) and frontend (settings toggle, zod schema).
- Scrub <priority_documents> and stale KnowledgePriorityMiddleware references
  from prompts, docstrings, and the ADR.

No functional change: nothing wrote kb_priority and neither flag gated live
behavior after the cutover. Full backend suite green (pre-existing unrelated
failures aside).
2026-06-25 18:37:14 +02:00
..
actions agent: retire eager KB priority/planner path and its dead flags 2026-06-25 18:37:14 +02:00
api feat(automations): implement model eligibility checks for automation creation 2026-05-29 03:13:46 -07:00
dispatch refactor(automations): move agent_task to builtin and restructure dispatch 2026-05-29 18:13:09 +02:00
persistence feat(automations): add EVENT to TriggerType enum 2026-05-29 17:48:39 +02:00
runtime feat(automations): add model connection policy support 2026-06-10 21:48:53 +05:30
schemas feat(automations): add model connection policy support 2026-06-10 21:48:53 +05:30
services refactor: pass auth context through automations 2026-06-19 20:28:35 +05:30
tasks refactor(automations): move schedule trigger into builtin package 2026-05-29 17:49:05 +02:00
templating feat(automations): static_inputs on triggers + vertical-slice api/services 2026-05-27 21:21:43 +02:00
triggers refactor: anonymous/free chat experience 2026-05-31 15:58:21 -07:00
__init__.py chore(automation): trim docstrings to intent only 2026-05-26 23:01:22 +02:00