~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
chore: clear changelog fragments for 1.10.2 (#5512)
github-actions[bot]ac192441ef76
diff --git a/changelog.d/+4402-remove-serial-settings-routes-split.misc.md b/changelog.d/+4402-remove-serial-settings-routes-split.misc.mddeleted file mode 100644index cc4967e571..0000000000--- a/changelog.d/+4402-remove-serial-settings-routes-split.misc.md+++ /dev/null@@ -1 +0,0 @@-CI: `test_settings_routes_coverage.py` now runs in the parallel pytest batch again; the dedicated serial Docker-tests step (a #4397 workaround) is removed now that the queue-processor (#5055) and news-scheduler daemons are disabled under pytest.diff --git a/changelog.d/+5204-scope-aware-search-dropdown.feature.md b/changelog.d/+5204-scope-aware-search-dropdown.feature.mddeleted file mode 100644index aed0866439..0000000000--- a/changelog.d/+5204-scope-aware-search-dropdown.feature.md+++ /dev/null@@ -1 +0,0 @@-The Search Engine dropdown on the New Research form and the news-subscription form is scope-aware: under `Private only` or `Public only` Egress Scopes, engines that would be refused at submit time (`scope_mismatch_*`, `unclassified`) are rendered as disabled entries with `aria-disabled="true"` and a one-line reason label (`Blocked: not a local source under Private only`, etc.), so the user no longer has to click Start Research to discover the mismatch. Under `Adaptive`, `Strict`, and `Unprotected` modes, all primary search engines remain selectable. Switching egress scope automatically reconciles an invalid visible selection to an allowed option (`searxng` preferred / `library` fallback). Disabled entries are skipped in keyboard navigation, blocked on click, and reachable by Tab for screen readers. The dropdown serializes fetches and dropdown callbacks (`onSelect` fires before `updateHiddenField`) so engine changes carry the correct primary, and rapid changes avoid fetch races via an `AbortController` and per-call generation tokens. The backend precheck (PR #4300) and inline-error UX remain the second backstop for direct API callers and auto-expansion paths.diff --git a/changelog.d/+5221-agent-enabled-dropdown-filter.feature.md b/changelog.d/+5221-agent-enabled-dropdown-filter.feature.mddeleted file mode 100644index 38f807f0e4..0000000000--- a/changelog.d/+5221-agent-enabled-dropdown-filter.feature.md+++ /dev/null@@ -1 +0,0 @@-The Search Engine dropdown on the New Research form now also greys out collections whose “Available to the research agent” flag is off **when the LangGraph research agent is the selected strategy** — the flag is exclusive to the LangGraph agent, so other strategies (source-based, focused-iteration, topic-organization) keep the collection selectable. The dropdown re-evaluates the disabled set on every strategy switch without a server re-fetch, and the run is refused at submit time as a second backstop for direct API callers (`reason: collection_agent_disabled`, `field: strategy`). The collection form's help text now spells out the LangGraph-only scope so the flag isn't mistaken for a privacy / egress control.diff --git a/changelog.d/+app-logs-export-index.bugfix.md b/changelog.d/+app-logs-export-index.bugfix.mddeleted file mode 100644index 638c46d4f0..0000000000--- a/changelog.d/+app-logs-export-index.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Existing databases now receive the composite `app_logs(research_id, timestamp, id)` index used by ordered log reads and streaming exports.diff --git a/changelog.d/+atlas-cloud-provider.feature.md b/changelog.d/+atlas-cloud-provider.feature.mddeleted file mode 100644index 696f56b7b9..0000000000--- a/changelog.d/+atlas-cloud-provider.feature.md+++ /dev/null@@ -1 +0,0 @@-Add Atlas Cloud as a built-in OpenAI-compatible LLM provider.diff --git a/changelog.d/+atomic-fetch-citations.bugfix.md b/changelog.d/+atomic-fetch-citations.bugfix.mddeleted file mode 100644index 8b3cb99e02..0000000000--- a/changelog.d/+atomic-fetch-citations.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Concurrent page fetches now reuse one citation index for the same URL, and deep acyclic citation chains report a distinct depth-limit error instead of being mislabeled as circular.diff --git a/changelog.d/+background-sweep-2xx-body.bugfix.md b/changelog.d/+background-sweep-2xx-body.bugfix.mddeleted file mode 100644index 4d6abc26c5..0000000000--- a/changelog.d/+background-sweep-2xx-body.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Keep the background-sweep toggle ON when a successful enable response has an empty or unparseable body.diff --git a/changelog.d/+background-sweep-scheduler-gate.bugfix.md b/changelog.d/+background-sweep-scheduler-gate.bugfix.mddeleted file mode 100644index e0d5b4b7af..0000000000--- a/changelog.d/+background-sweep-scheduler-gate.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Disable the Collections background-index toggle with an explanation while the document scheduler is turned off.diff --git a/changelog.d/+cancel-indexing-write-failure.bugfix.md b/changelog.d/+cancel-indexing-write-failure.bugfix.mddeleted file mode 100644index 39ecd6262b..0000000000--- a/changelog.d/+cancel-indexing-write-failure.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Cancelling collection indexing now returns an error when the cancellation status cannot be persisted, instead of reporting success while the task remains active.diff --git a/changelog.d/+citation-sentinel-followups.bugfix.md b/changelog.d/+citation-sentinel-followups.bugfix.mddeleted file mode 100644index ca894a88fb..0000000000--- a/changelog.d/+citation-sentinel-followups.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Citation source splitting now strips the internal appended-sources sentinel from collection names, preventing crafted names from shifting persisted report boundaries; its boundary-provenance helper return values are now documented explicitly.diff --git a/changelog.d/+classify-host-mixed-dns.security.md b/changelog.d/+classify-host-mixed-dns.security.mddeleted file mode 100644index 5f79b4041b..0000000000--- a/changelog.d/+classify-host-mixed-dns.security.md+++ /dev/null@@ -1,4 +0,0 @@-Host classification now treats a hostname as local only when **every**-resolved address is private, and fails closed on resolution errors. This-closes a mixed-DNS SSRF bypass where a single private answer among public-ones could mark an otherwise-public host as trusted-local.diff --git a/changelog.d/+collection-type-validation.bugfix.md b/changelog.d/+collection-type-validation.bugfix.mddeleted file mode 100644index 8c62978d6c..0000000000--- a/changelog.d/+collection-type-validation.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Return a clear validation error when collection creation receives a non-string collection type.diff --git a/changelog.d/+elasticsearch-availability-followups.bugfix.md b/changelog.d/+elasticsearch-availability-followups.bugfix.mddeleted file mode 100644index f1d5fc5005..0000000000--- a/changelog.d/+elasticsearch-availability-followups.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Elasticsearch availability checks now support IPv6 hosts, discard expired probe-cache entries, and cannot break successful engine construction when custom availability methods raise.diff --git a/changelog.d/+google-pse-shared-rate-limit.bugfix.md b/changelog.d/+google-pse-shared-rate-limit.bugfix.mddeleted file mode 100644index 8221066bee..0000000000--- a/changelog.d/+google-pse-shared-rate-limit.bugfix.md+++ /dev/null@@ -1,3 +0,0 @@-Google Programmable Search now shares its minimum request-spacing state across-engine instances using the same API key and CSE ID, so research-agent tool-calls cannot bypass throttling by constructing a fresh engine per request.diff --git a/changelog.d/+history-log-count-not-found.bugfix.md b/changelog.d/+history-log-count-not-found.bugfix.mddeleted file mode 100644index 2d830d8de5..0000000000--- a/changelog.d/+history-log-count-not-found.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Return HTTP 404 from the history log-count endpoint when the research does not exist.diff --git a/changelog.d/+library-resolver-url-aliases.bugfix.md b/changelog.d/+library-resolver-url-aliases.bugfix.mddeleted file mode 100644index ea0c366f3f..0000000000--- a/changelog.d/+library-resolver-url-aliases.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Resolve non-canonical local-library references emitted by research agents instead of sending them to the egress-denial path.diff --git a/changelog.d/+live-encrypted-db-data-dir.bugfix.md b/changelog.d/+live-encrypted-db-data-dir.bugfix.mddeleted file mode 100644index 297f5f0aa8..0000000000--- a/changelog.d/+live-encrypted-db-data-dir.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Per-user encrypted databases now follow a runtime `LDR_DATA_DIR` override even when the database manager was imported earlier, preventing files from leaking into the platform-default application-data directory.diff --git a/changelog.d/+log-export-head-rate-limit.bugfix.md b/changelog.d/+log-export-head-rate-limit.bugfix.mddeleted file mode 100644index c7151786f5..0000000000--- a/changelog.d/+log-export-head-rate-limit.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Exclude log-export HEAD pre-flight checks from the per-user GET download quota.diff --git a/changelog.d/+logpanel-research-switch-dedup.bugfix.md b/changelog.d/+logpanel-research-switch-dedup.bugfix.mddeleted file mode 100644index 39f7436362..0000000000--- a/changelog.d/+logpanel-research-switch-dedup.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Prevent duplicate log rows from appearing while the log panel switches between research sessions.diff --git a/changelog.d/+notes-api-validation.bugfix.md b/changelog.d/+notes-api-validation.bugfix.mddeleted file mode 100644index 14e3167aac..0000000000--- a/changelog.d/+notes-api-validation.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Reject invalid Notes API control values and stale similar-passage note IDs instead of executing unintended operations.diff --git a/changelog.d/+ollama-model-list-timeout-shared.bugfix.md b/changelog.d/+ollama-model-list-timeout-shared.bugfix.mddeleted file mode 100644index 30bc977200..0000000000--- a/changelog.d/+ollama-model-list-timeout-shared.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Apply the same generous 5-second Ollama model-list timeout to embedding-model discovery as to LLM-model discovery. The embedding provider still used a 2→3-second timeout, so on a cold Ollama the embedding-model dropdown could come up empty for the same reason the language-model dropdown did. Both providers now share a single `OLLAMA_MODEL_LIST_TIMEOUT` constant so the value can't drift apart again.diff --git a/changelog.d/+openai-endpoint-override.bugfix.md b/changelog.d/+openai-endpoint-override.bugfix.mddeleted file mode 100644index 813477c330..0000000000--- a/changelog.d/+openai-endpoint-override.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Honor per-call OpenAI-compatible endpoint URL overrides in research and benchmark paths.diff --git a/changelog.d/+queue-manager-commit-rollback.bugfix.md b/changelog.d/+queue-manager-commit-rollback.bugfix.mddeleted file mode 100644index e74c652ffd..0000000000--- a/changelog.d/+queue-manager-commit-rollback.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Queueing or cancelling research no longer risks a corrupted database session: if a commit fails inside `QueueManager.add_to_queue` / `remove_from_queue`, the transaction is now rolled back before the error propagates, so a subsequent operation on that session doesn't fail with a masking error. Completes the rollback coverage of #2055 for the queue manager (the `queue_service` and `processor_v2` halves landed earlier in #2414, #3481, #3506, #3521).diff --git a/changelog.d/+rag-configure-transaction.bugfix.md b/changelog.d/+rag-configure-transaction.bugfix.mddeleted file mode 100644index c9fcf2f3b1..0000000000--- a/changelog.d/+rag-configure-transaction.bugfix.md+++ /dev/null@@ -1 +0,0 @@-RAG configuration changes now update saved settings and the selected index atomically, preventing searches from observing mismatched configuration state.diff --git a/changelog.d/+rag-index-identity.feature.md b/changelog.d/+rag-index-identity.feature.mddeleted file mode 100644index c048ad95a5..0000000000--- a/changelog.d/+rag-index-identity.feature.md+++ /dev/null@@ -1,4 +0,0 @@-A collection can now hold multiple RAG indexes for the same embedding model-when they differ in chunking or vector-index configuration, so changing the-chunk size or index type no longer overwrites an existing index. A database-migration relaxes the previous per-collection+model uniqueness accordingly.diff --git a/changelog.d/+settings-env-lock-enforced-on-mutations.security.md b/changelog.d/+settings-env-lock-enforced-on-mutations.security.mddeleted file mode 100644index 1c4a801b25..0000000000--- a/changelog.d/+settings-env-lock-enforced-on-mutations.security.md+++ /dev/null@@ -1,5 +0,0 @@-Environment-locked settings can no longer be overwritten or deleted through-programmatic settings mutations. Scheduler, RAG, and model-discovery paths-now also fail closed (rather than falling back to defaults) when the effective-settings snapshot cannot be built, so a corrupted or missing snapshot never-downgrades egress protection.diff --git a/changelog.d/+settings-env-value-redaction.security.md b/changelog.d/+settings-env-value-redaction.security.mddeleted file mode 100644index 107cc3c968..0000000000--- a/changelog.d/+settings-env-value-redaction.security.md+++ /dev/null@@ -1,4 +0,0 @@-Reading a single environment-overridden secret setting (e.g. an API key-supplied via an `LDR_*` variable) through the settings API no longer returns-the value in plaintext — it is now redacted like every other settings-response.diff --git a/changelog.d/+topic-organization-delegate-cancellation.bugfix.md b/changelog.d/+topic-organization-delegate-cancellation.bugfix.mddeleted file mode 100644index 75ca40f09a..0000000000--- a/changelog.d/+topic-organization-delegate-cancellation.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Fixed Stop requests being ignored for the entire source-gathering phase of a topic-organization research. `TopicOrganizationStrategy` never passed its progress callback on to the source-gathering strategy it delegates to, so all of the delegate's termination checks were silent no-ops and a click on **Stop** was only honoured once the delegate had completely finished (often minutes later). The callback is now propagated to both the main source-gathering delegate and the per-iteration refinement strategies.diff --git a/changelog.d/+unprotected-egress-operator-gate.security.md b/changelog.d/+unprotected-egress-operator-gate.security.mddeleted file mode 100644index 3526d1a6a6..0000000000--- a/changelog.d/+unprotected-egress-operator-gate.security.md+++ /dev/null@@ -1,10 +0,0 @@-The `unprotected` egress scope is now disabled by default and requires the-server operator to set `LDR_POLICY_ALLOW_UNPROTECTED_EGRESS=true`. Migration-`0027` rewrites legacy stored and queued `unprotected` selections to-`adaptive`, so a later operator opt-in can't silently reactivate them.-Environment policy overrides are reapplied when queued work is dispatched.-While the gate is off, new `unprotected` writes (settings save, per-research-override) are rejected, and any residual or tampered queued value is coerced-to `adaptive` at dispatch with a `policy_audit` warning. Operator-enabled-`unprotected` remains supported, and the hard SSRF and cloud-metadata blocks-apply in every scope.diff --git a/changelog.d/+web-search-exception-scrubbing.security.md b/changelog.d/+web-search-exception-scrubbing.security.mddeleted file mode 100644index 0ca0a2ce5e..0000000000--- a/changelog.d/+web-search-exception-scrubbing.security.md+++ /dev/null@@ -1 +0,0 @@-Scrub credential-shaped data from residual web-search exception logs and engine-loading error messages.diff --git a/changelog.d/+werkzeug-disconnect-filter-narrowing.bugfix.md b/changelog.d/+werkzeug-disconnect-filter-narrowing.bugfix.mddeleted file mode 100644index bb2c986a25..0000000000--- a/changelog.d/+werkzeug-disconnect-filter-narrowing.bugfix.md+++ /dev/null@@ -1,4 +0,0 @@-The Werkzeug client-disconnect log filter now suppresses-`write() before start_response` errors only when the record also identifies an-`AssertionError`, so unrelated server errors containing the same substring-remain visible.diff --git a/changelog.d/4515.bugfix.md b/changelog.d/4515.bugfix.mddeleted file mode 100644index e4fbc487b4..0000000000--- a/changelog.d/4515.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Correct source-based strategy diagnostics to read the canonical questions-per-iteration setting.diff --git a/changelog.d/4615.bugfix.md b/changelog.d/4615.bugfix.mddeleted file mode 100644index f8eeb0b7e2..0000000000--- a/changelog.d/4615.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Handle list-form LLM content blocks when candidate explorers generate follow-up search queries.diff --git a/changelog.d/4856.misc.md b/changelog.d/4856.misc.mddeleted file mode 100644index 6e4a4aa478..0000000000--- a/changelog.d/4856.misc.md+++ /dev/null@@ -1 +0,0 @@-Compute collection document totals and indexed totals in one grouped query instead of lazy-loading document links per collection.diff --git a/changelog.d/4861.bugfix.md b/changelog.d/4861.bugfix.mddeleted file mode 100644index 7a5e3be95f..0000000000--- a/changelog.d/4861.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Skip malformed benchmark result payloads without rolling back the rest of the pending persistence batch.diff --git a/changelog.d/4948.bugfix.md b/changelog.d/4948.bugfix.mddeleted file mode 100644index a8c9ac2bbf..0000000000--- a/changelog.d/4948.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Return a mapping for settings namespaces with exactly one child, matching snapshot-backed reads while preserving scalar exact-key reads.diff --git a/changelog.d/4964.bugfix.md b/changelog.d/4964.bugfix.mddeleted file mode 100644index f44488c9cb..0000000000--- a/changelog.d/4964.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Keep restore audit bookends from reducing the retained pool of ordinary note versions.diff --git a/changelog.d/5013.bugfix.md b/changelog.d/5013.bugfix.mddeleted file mode 100644index 11478e8877..0000000000--- a/changelog.d/5013.bugfix.md+++ /dev/null@@ -1 +0,0 @@-The LangGraph agent's `research_subtopic` tool no longer silently drops inputs beyond the documented "2-5" limit: the cap is lowered from 8 to 5 to match the lead prompt, and any overflow is now surfaced via a logger warning, a `truncated_from` key in progress metadata, and a model-facing note naming the dropped subtopics so the lead agent can re-issue or avoid citing them.diff --git a/changelog.d/5148.security.md b/changelog.d/5148.security.mddeleted file mode 100644index 88f25c27a5..0000000000--- a/changelog.d/5148.security.md+++ /dev/null@@ -1 +0,0 @@-Explicit `max_results` and `time_period` overrides are now validated, retain precedence over queued values, and invalid persisted queued values are safely rejected instead of triggering transient retries.diff --git a/changelog.d/5178.bugfix.md b/changelog.d/5178.bugfix.mddeleted file mode 100644index c072e27dc5..0000000000--- a/changelog.d/5178.bugfix.md+++ /dev/null@@ -1,5 +0,0 @@-Semantic document chunking now enforces the configured character-`chunk_size` before comparison embeddings and on final outputs, preventing-unbounded semantic inputs or groups from bypassing the document chunk limit.-Invalid non-positive OpenAI embedding batch sizes now fall back to the safe-application default of 5 instead of LangChain's 1,000-input default.diff --git a/changelog.d/5231.bugfix.md b/changelog.d/5231.bugfix.mddeleted file mode 100644index 1004fbe135..0000000000--- a/changelog.d/5231.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Group CRITICAL and FATAL research logs under Errors, and SUCCESS logs under Milestones, while preserving their original severity labels and styling.diff --git a/changelog.d/5263.bugfix.md b/changelog.d/5263.bugfix.mddeleted file mode 100644index 700f253cf7..0000000000--- a/changelog.d/5263.bugfix.md+++ /dev/null@@ -1,4 +0,0 @@-Fixed a `DocumentBlob` query attribute error in the research library's-`has_pdf()` check that could raise when probing whether a document's PDF-was available, so PDF availability now resolves correctly across the-database and filesystem backends.diff --git a/changelog.d/5294.bugfix.md b/changelog.d/5294.bugfix.mddeleted file mode 100644index d5eb4af6fb..0000000000--- a/changelog.d/5294.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Detailed-mode reports no longer stack a duplicate subsection title under the framework's `## i.j Name` heading, and no longer keep per-subsection `## Sources` / `## References` / `### Selected Bibliography…` blocks that the model sometimes emits; prompts now forbid those patterns and `IntegratedReportGenerator` strips a leading restated heading (including sibling bleed, Roman/bold prefixes, and curly quotes), a mirrored italic purpose line, and embedded bibliography blocks before appending each subsection's content.diff --git a/changelog.d/5297.bugfix.md b/changelog.d/5297.bugfix.mddeleted file mode 100644index 71c3698533..0000000000--- a/changelog.d/5297.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Report whether a skipped LangGraph citation pass preserved existing inline citation markers instead of always warning that the answer has none.diff --git a/changelog.d/5332.bugfix.md b/changelog.d/5332.bugfix.mddeleted file mode 100644index 415c79c85f..0000000000--- a/changelog.d/5332.bugfix.md+++ /dev/null@@ -1 +0,0 @@-The LangGraph research progress summary now shows human-readable collection names instead of raw UUIDs, and no longer prints a trailing ellipsis when every available tool is already listed.diff --git a/changelog.d/5336.bugfix.md b/changelog.d/5336.bugfix.mddeleted file mode 100644index 507a5ff610..0000000000--- a/changelog.d/5336.bugfix.md+++ /dev/null@@ -1 +0,0 @@-LangGraph subagent timeout accounting now includes worker cleanup, so stalled cleanup can no longer hang research past the configured deadline.diff --git a/changelog.d/5337.bugfix.md b/changelog.d/5337.bugfix.mddeleted file mode 100644index a90a9f000d..0000000000--- a/changelog.d/5337.bugfix.md+++ /dev/null@@ -1 +0,0 @@-Prevent library delete confirmations from issuing duplicate requests, and make concurrent duplicate document deletions return not found without repeating success logs or RAG cleanup.diff --git a/changelog.d/5380.misc.md b/changelog.d/5380.misc.mddeleted file mode 100644index c250fb2961..0000000000--- a/changelog.d/5380.misc.md+++ /dev/null@@ -1 +0,0 @@-Clarified in Settings UI descriptions that `search.final_max_results` and `search.cross_engine_max_results` apply to pipeline/source-based strategies, while autonomous agent strategies (`langgraph-agent`) manage context autonomously.diff --git a/docs/release_notes/1.10.2.md b/docs/release_notes/1.10.2.mdnew file mode 100644index 0000000000..1cac1d6e55--- /dev/null+++ b/docs/release_notes/1.10.2.md@@ -0,0 +1,94 @@++### 🔒 Security++- Explicit `max_results` and `time_period` overrides are now validated, retain precedence over queued values, and invalid persisted queued values are safely rejected instead of triggering transient retries. ([#5148](https://github.com/LearningCircuit/local-deep-research/pull/5148))+- Environment-locked settings can no longer be overwritten or deleted through+ programmatic settings mutations. Scheduler, RAG, and model-discovery paths+ now also fail closed (rather than falling back to defaults) when the effective+ settings snapshot cannot be built, so a corrupted or missing snapshot never+ downgrades egress protection.+- Host classification now treats a hostname as local only when **every**+ resolved address is private, and fails closed on resolution errors. This+ closes a mixed-DNS SSRF bypass where a single private answer among public+ ones could mark an otherwise-public host as trusted-local.+- Reading a single environment-overridden secret setting (e.g. an API key+ supplied via an `LDR_*` variable) through the settings API no longer returns+ the value in plaintext — it is now redacted like every other settings+ response.+- Scrub credential-shaped data from residual web-search exception logs and engine-loading error messages.+- The `unprotected` egress scope is now disabled by default and requires the+ server operator to set `LDR_POLICY_ALLOW_UNPROTECTED_EGRESS=true`. Migration+ `0027` rewrites legacy stored and queued `unprotected` selections to+ `adaptive`, so a later operator opt-in can't silently reactivate them.+ Environment policy overrides are reapplied when queued work is dispatched.+ While the gate is off, new `unprotected` writes (settings save, per-research+ override) are rejected, and any residual or tampered queued value is coerced+ to `adaptive` at dispatch with a `policy_audit` warning. Operator-enabled+ `unprotected` remains supported, and the hard SSRF and cloud-metadata blocks+ apply in every scope.++### ✨ New Features++- A collection can now hold multiple RAG indexes for the same embedding model+ when they differ in chunking or vector-index configuration, so changing the+ chunk size or index type no longer overwrites an existing index. A database+ migration relaxes the previous per-collection+model uniqueness accordingly.+- Add Atlas Cloud as a built-in OpenAI-compatible LLM provider.+- The Search Engine dropdown on the New Research form and the news-subscription form is scope-aware: under `Private only` or `Public only` Egress Scopes, engines that would be refused at submit time (`scope_mismatch_*`, `unclassified`) are rendered as disabled entries with `aria-disabled="true"` and a one-line reason label (`Blocked: not a local source under Private only`, etc.), so the user no longer has to click Start Research to discover the mismatch. Under `Adaptive`, `Strict`, and `Unprotected` modes, all primary search engines remain selectable. Switching egress scope automatically reconciles an invalid visible selection to an allowed option (`searxng` preferred / `library` fallback). Disabled entries are skipped in keyboard navigation, blocked on click, and reachable by Tab for screen readers. The dropdown serializes fetches and dropdown callbacks (`onSelect` fires before `updateHiddenField`) so engine changes carry the correct primary, and rapid changes avoid fetch races via an `AbortController` and per-call generation tokens. The backend precheck (PR #4300) and inline-error UX remain the second backstop for direct API callers and auto-expansion paths.+- The Search Engine dropdown on the New Research form now also greys out collections whose “Available to the research agent” flag is off **when the LangGraph research agent is the selected strategy** — the flag is exclusive to the LangGraph agent, so other strategies (source-based, focused-iteration, topic-organization) keep the collection selectable. The dropdown re-evaluates the disabled set on every strategy switch without a server re-fetch, and the run is refused at submit time as a second backstop for direct API callers (`reason: collection_agent_disabled`, `field: strategy`). The collection form's help text now spells out the LangGraph-only scope so the flag isn't mistaken for a privacy / egress control.++### 🐛 Bug Fixes++- Correct source-based strategy diagnostics to read the canonical questions-per-iteration setting. ([#4515](https://github.com/LearningCircuit/local-deep-research/pull/4515))+- Handle list-form LLM content blocks when candidate explorers generate follow-up search queries. ([#4615](https://github.com/LearningCircuit/local-deep-research/pull/4615))+- Skip malformed benchmark result payloads without rolling back the rest of the pending persistence batch. ([#4861](https://github.com/LearningCircuit/local-deep-research/pull/4861))+- Return a mapping for settings namespaces with exactly one child, matching snapshot-backed reads while preserving scalar exact-key reads. ([#4948](https://github.com/LearningCircuit/local-deep-research/pull/4948))+- Keep restore audit bookends from reducing the retained pool of ordinary note versions. ([#4964](https://github.com/LearningCircuit/local-deep-research/pull/4964))+- The LangGraph agent's `research_subtopic` tool no longer silently drops inputs beyond the documented "2-5" limit: the cap is lowered from 8 to 5 to match the lead prompt, and any overflow is now surfaced via a logger warning, a `truncated_from` key in progress metadata, and a model-facing note naming the dropped subtopics so the lead agent can re-issue or avoid citing them. ([#5013](https://github.com/LearningCircuit/local-deep-research/pull/5013))+- Semantic document chunking now enforces the configured character+ `chunk_size` before comparison embeddings and on final outputs, preventing+ unbounded semantic inputs or groups from bypassing the document chunk limit.+ Invalid non-positive OpenAI embedding batch sizes now fall back to the safe+ application default of 5 instead of LangChain's 1,000-input default. ([#5178](https://github.com/LearningCircuit/local-deep-research/pull/5178))+- Group CRITICAL and FATAL research logs under Errors, and SUCCESS logs under Milestones, while preserving their original severity labels and styling. ([#5231](https://github.com/LearningCircuit/local-deep-research/pull/5231))+- Fixed a `DocumentBlob` query attribute error in the research library's+ `has_pdf()` check that could raise when probing whether a document's PDF+ was available, so PDF availability now resolves correctly across the+ database and filesystem backends. ([#5263](https://github.com/LearningCircuit/local-deep-research/pull/5263))+- Detailed-mode reports no longer stack a duplicate subsection title under the framework's `## i.j Name` heading, and no longer keep per-subsection `## Sources` / `## References` / `### Selected Bibliography…` blocks that the model sometimes emits; prompts now forbid those patterns and `IntegratedReportGenerator` strips a leading restated heading (including sibling bleed, Roman/bold prefixes, and curly quotes), a mirrored italic purpose line, and embedded bibliography blocks before appending each subsection's content. ([#5294](https://github.com/LearningCircuit/local-deep-research/pull/5294))+- Report whether a skipped LangGraph citation pass preserved existing inline citation markers instead of always warning that the answer has none. ([#5297](https://github.com/LearningCircuit/local-deep-research/pull/5297))+- The LangGraph research progress summary now shows human-readable collection names instead of raw UUIDs, and no longer prints a trailing ellipsis when every available tool is already listed. ([#5332](https://github.com/LearningCircuit/local-deep-research/pull/5332))+- LangGraph subagent timeout accounting now includes worker cleanup, so stalled cleanup can no longer hang research past the configured deadline. ([#5336](https://github.com/LearningCircuit/local-deep-research/pull/5336))+- Prevent library delete confirmations from issuing duplicate requests, and make concurrent duplicate document deletions return not found without repeating success logs or RAG cleanup. ([#5337](https://github.com/LearningCircuit/local-deep-research/pull/5337))+- Apply the same generous 5-second Ollama model-list timeout to embedding-model discovery as to LLM-model discovery. The embedding provider still used a 2→3-second timeout, so on a cold Ollama the embedding-model dropdown could come up empty for the same reason the language-model dropdown did. Both providers now share a single `OLLAMA_MODEL_LIST_TIMEOUT` constant so the value can't drift apart again.+- Cancelling collection indexing now returns an error when the cancellation status cannot be persisted, instead of reporting success while the task remains active.+- Citation source splitting now strips the internal appended-sources sentinel from collection names, preventing crafted names from shifting persisted report boundaries; its boundary-provenance helper return values are now documented explicitly.+- Concurrent page fetches now reuse one citation index for the same URL, and deep acyclic citation chains report a distinct depth-limit error instead of being mislabeled as circular.+- Disable the Collections background-index toggle with an explanation while the document scheduler is turned off.+- Elasticsearch availability checks now support IPv6 hosts, discard expired probe-cache entries, and cannot break successful engine construction when custom availability methods raise.+- Exclude log-export HEAD pre-flight checks from the per-user GET download quota.+- Existing databases now receive the composite `app_logs(research_id, timestamp, id)` index used by ordered log reads and streaming exports.+- Fixed Stop requests being ignored for the entire source-gathering phase of a topic-organization research. `TopicOrganizationStrategy` never passed its progress callback on to the source-gathering strategy it delegates to, so all of the delegate's termination checks were silent no-ops and a click on **Stop** was only honoured once the delegate had completely finished (often minutes later). The callback is now propagated to both the main source-gathering delegate and the per-iteration refinement strategies.+- Google Programmable Search now shares its minimum request-spacing state across+ engine instances using the same API key and CSE ID, so research-agent tool+ calls cannot bypass throttling by constructing a fresh engine per request.+- Honor per-call OpenAI-compatible endpoint URL overrides in research and benchmark paths.+- Keep the background-sweep toggle ON when a successful enable response has an empty or unparseable body.+- Per-user encrypted databases now follow a runtime `LDR_DATA_DIR` override even when the database manager was imported earlier, preventing files from leaking into the platform-default application-data directory.+- Prevent duplicate log rows from appearing while the log panel switches between research sessions.+- Queueing or cancelling research no longer risks a corrupted database session: if a commit fails inside `QueueManager.add_to_queue` / `remove_from_queue`, the transaction is now rolled back before the error propagates, so a subsequent operation on that session doesn't fail with a masking error. Completes the rollback coverage of #2055 for the queue manager (the `queue_service` and `processor_v2` halves landed earlier in #2414, #3481, #3506, #3521).+- RAG configuration changes now update saved settings and the selected index atomically, preventing searches from observing mismatched configuration state.+- Reject invalid Notes API control values and stale similar-passage note IDs instead of executing unintended operations.+- Resolve non-canonical local-library references emitted by research agents instead of sending them to the egress-denial path.+- Return HTTP 404 from the history log-count endpoint when the research does not exist.+- Return a clear validation error when collection creation receives a non-string collection type.+- The Werkzeug client-disconnect log filter now suppresses+ `write() before start_response` errors only when the record also identifies an+ `AssertionError`, so unrelated server errors containing the same substring+ remain visible.++### 📝 Other Changes++- Compute collection document totals and indexed totals in one grouped query instead of lazy-loading document links per collection. ([#4856](https://github.com/LearningCircuit/local-deep-research/pull/4856))+- Clarified in Settings UI descriptions that `search.final_max_results` and `search.cross_engine_max_results` apply to pipeline/source-based strategies, while autonomous agent strategies (`langgraph-agent`) manage context autonomously. ([#5380](https://github.com/LearningCircuit/local-deep-research/pull/5380))+- CI: `test_settings_routes_coverage.py` now runs in the parallel pytest batch again; the dedicated serial Docker-tests step (a #4397 workaround) is removed now that the queue-processor (#5055) and news-scheduler daemons are disabled under pytest.