LearningCircuit
LearningCircuit
## Summary `Document.notes` (`src/local_deep_research/database/models/library.py:288`, `notes = Column(Text) # User notes`) is a dead column on the shared `documents` table. It has **zero callers** in `src/` and should be dropped in...
## Summary Dead-field audit **PR 4**. Turns `subscriptionCardStructure` in `test_news_subscriptions_ci.js` from a permanent SKIP into a real assertion. - **Before:** scanned for `.subscription-card` (no such class) and `passed:null, skipped` on...
RAG auto-index backpressure: per-tenant fairness, skip-signal, configurable cap (follow-up to #3939)
## Context Follow-up to #3939 (merged: bound the RAG auto-index queue to prevent OOM under burst), itself a follow-up to #3935 (configurable upload rate cap). #3939 added a lock-guarded counter...
## Background Two cache tables in `database/models/cache.py` are orphaned — created in every DB via `Base.metadata`, but with no production reader or writer. Both should be dropped (requires a schema...
Closes #4559. ## What & why LDR could only reach **OpenAI-format** custom endpoints (`CustomOpenAIEndpointProvider`, built on `ChatOpenAI`). Issue #4559 needs to connect to a self-hosted service speaking the **Anthropic Messages...
## Summary - Replace blocklist pattern with allowlist (`SUBSCRIPTION_UPDATABLE_FIELDS`) for subscription field updates in `flask_api.py` and `folder_manager.py` - The old code blocked only `id`, `user_id`, and `created_at`, allowing any other...
## Summary - Replace raw `str(e)` / `str(db_error)` with `"An internal error occurred"` in 8 exception raise sites across `src/local_deep_research/news/api.py` - Prevents database exception details (table names, SQL, connection strings)...
## Summary - The previous `get_client_ip()` unconditionally trusted `X-Forwarded-For` and `X-Real-IP` headers, allowing any external client to spoof their IP address and bypass rate limiting. - Now these headers are...
## Summary - Adds database restore functionality to the backup system, superseding PR #3007 (which has 9 merge conflicts with the improved backup system from PR #3006) - New **Backup...
While triaging long-stale PRs, several were closed as **superseded** (their fixes had already landed on `main` by another path). A few, however, contained a still-valuable slice that is **not** yet...