LearningCircuit
LearningCircuit
Superseded by #4939, which lands the surviving change (`verify_file` reject-unknown / fail-closed) on a clean branch off current `main`. Why this PR isn't just rebased: - Its `rag_routes.py` size-validation hunk...
Converted to draft. Grab-bag — the hunks split by readiness: - **N3 (drop JS `escapeHtml` fallbacks)** and **N9 (Werkzeug SSE-disconnect log filter)**: clean, still apply, safe — rebase. - **N6...
Closing — superseded by #4732 (N3 only) and by recent changes on `main`. Reviewed each hunk against the current state of `main` and the open FastAPI migration in #3299: |...
Converted to draft — largely superseded. Main added `ProxyFix(x_for=1)` at the WSGI layer (`app_factory.py`) after this PR, which already strips/rewrites `REMOTE_ADDR` from the trusted XFF entry before any Flask code...
Closing this stale approach as superseded by the current proxy-trust work. Main now applies ProxyFix before get_client_ip(), so this PR would evaluate an already-rewritten REMOTE_ADDR and add a conflicting second...
Converted to draft. Design fits the citation-handler architecture cleanly (new factory branch, settings-driven, default unchanged). Two fixes before un-drafting: 1. **Stream regression**: when passthrough falls back to `StandardCitationHandler`, the freshly-constructed...
Converted to draft. Partially superseded: **P2 (static `Cache-Control` headers)** and **P3 (duplicate `styles.css` removal)** are already on main (`app_factory.py` + `base.html`) — drop those hunks. Only **P1 (flask-compress)** and **U1...
Converted to draft. Partly superseded / diverges from the established pattern. The HTTP responses are already largely covered: `flask_api.py`'s `safe_error_message()` wraps the catch-all handlers, so `NewsAPIException`s that bubble up get...
Closing. This backstops a narrow gap that's already closed at the source: `NewsAPIException.to_dict()` only reaches a client via the two HTTP errorhandlers, and #4843 already replaced `str(e)` with curated generic...
Converted to draft — this is the closest to ready, but CI (pre-commit) is currently failing. Before marking ready for review: 1. **Test never runs**: `test_agent_engine_toggle_ci.js` doesn't match vitest's `tests/js/**/*.test.js`...