~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
docs: name the post-commit RAG purge duty in delete_research_with_dependents (#7502) (#7537)
Masyarakat AI Indonesia - FMD35969b31743d
diff --git a/src/local_deep_research/database/research_cascade.py b/src/local_deep_research/database/research_cascade.pyindex 02ee57afda..05a10b7da9 100644--- a/src/local_deep_research/database/research_cascade.py+++ b/src/local_deep_research/database/research_cascade.py@@ -506,6 +506,13 @@ def delete_research_with_dependents() -> bool:"""Delete a research and its owned FK descendants atomically.+ Callers deleting research outside the wired entry points must also+ collect the per-research RAG targets inside the same transaction and+ run ``DocumentDeletionService.purge_deleted_research_documents``+ after the guarded commit (never after a refusal or rollback) — see+ ``web/routers/research.py`` for the pattern. Skipping it leaves+ orphaned, still-searchable vector and chunk rows behind.+URL-level download trackers move to a surviving resource when one exists;their shared attempt history and other resources' duplicate links survive.Shared documents transfer both owner fields to a surviving resource,