SurfSense/surfsense_backend/tests/integration
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
..
agents/multi_agent_chat search-kb: on-demand KB tool on the [n] spine; drop kb_matched_chunk_ids 2026-06-25 15:26:39 +02:00
chat refactor(auth): replace user variable with auth context in integration and unit tests 2026-06-20 03:11:00 +05:30
composio refactor(auth): replace user variable with auth context in integration and unit tests 2026-06-20 03:11:00 +05:30
document_upload Revert "Merge pull request #1523 from CREDO23/fix/chat-citations" 2026-06-22 22:55:29 -07:00
etl_pipeline/cache chore: linting 2026-06-17 22:31:36 -07:00
google_unification citations: consolidate prompts, retire eager path, refresh ADR 2026-06-25 15:27:09 +02:00
harness feat: updated agent harness 2026-04-28 09:22:19 -07:00
indexing_pipeline Revert "Merge pull request #1523 from CREDO23/fix/chat-citations" 2026-06-22 22:55:29 -07:00
notifications refactor(auth): replace user variable with auth context in integration and unit tests 2026-06-20 03:11:00 +05:30
podcasts refactor(auth): replace user variable with auth context in integration and unit tests 2026-06-20 03:11:00 +05:30
retriever agent: retire eager KB priority/planner path and its dead flags 2026-06-25 18:37:14 +02:00
__init__.py test: bootstrap pytest environment for backend 2026-02-24 18:19:56 +02:00
conftest.py Revert "Merge pull request #1523 from CREDO23/fix/chat-citations" 2026-06-22 22:55:29 -07:00
test_connector_index_authz.py refactor(routes): replace user variable with auth context in tests 2026-06-20 03:34:40 +05:30
test_document_versioning.py chore: ran linting 2026-04-03 13:14:40 +05:30
test_obsidian_plugin_routes.py refactor(auth): replace user variable with auth context in integration and unit tests 2026-06-20 03:11:00 +05:30
test_pat_fail_closed_authz.py test(auth): cover PAT fail-closed authorization 2026-06-20 02:13:05 +05:30