~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.
Decouple RAG document indexing into three phases so the SQLite write lock is
not held across the embedding round-trip. Previously, _index_document_locked
held an open database session with uncommitted staging across embedding model
calls, starving concurrent readers and writers of the SQLite database. Indexing
now splits into: Phase 1 (short DB session to snapshot document metadata and
collection link, releasing locks prior to embedding), Phase 2 (text chunking
and vector embedding executed strictly outside any DB session), and Phase 3
(short DB transaction to persist chunk records, write vectors, and update RAG
status). Phase 3 includes a revalidation gate verifying collection membership,
document content hash, and indexed status before persisting to prevent
resurrecting unlinked documents or overwriting concurrent note edits. First-time
ingest (research orphans with no DocumentCollection row at prepare) still
creates membership in Phase 3; only a link that existed at prepare and vanished
during embedding is treated as a concurrent removal.