SurfSense/surfsense_web/app/dashboard
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
..
[search_space_id] agent: retire eager KB priority/planner path and its dead flags 2026-06-25 18:37:14 +02:00
dashboard-shell.tsx refactor(web): consume runtime config in auth and dashboard flows 2026-06-16 01:39:32 +05:30
error.tsx chore: ran linting 2026-05-19 21:02:07 +05:30
layout.tsx refactor(web): consume runtime config in auth and dashboard flows 2026-06-16 01:39:32 +05:30
loading.tsx fix: remove message from loading UI 2026-01-27 15:28:30 +05:30
page.tsx refactor: simplify error screen layout and remove unused components 2026-06-19 14:47:09 +05:30