Task ID: dec65421-e6db-4ef8-a9ef-dbbc2a8b6be8 Priority: P88 Layer: [UI]
Replace raw JSON 404 responses with a styled HTML page for browser requests. API requests continue to get JSON.
Evidence: Inspected origin/main:api.py — @app.exception_handler(404) with HTML/JSON branching is present at lines covering styled 404 page with gradient heading, navigation links (Dashboard, Exchange, Analyses, Wiki, Graph, Demo), and requested path display.
Commit that landed it: ae48a90ceb7685bef717bd7e426e1af4628a8cf3
Summary: Already addressed by prior commit; handler is live on main.
{
"_reset_note": "This task was reset after a database incident on 2026-04-17.\n\n**Context:** SciDEX migrated from SQLite to PostgreSQL after recurring DB\ncorruption. Some work done during Apr 16-17 may have been lost.\n\n**Before starting work:**\n1. Check if the task's goal is ALREADY satisfied (run the relevant checks)\n2. Check `git log --all --grep=task:YOUR_TASK_ID` for prior commits\n3. If complete, verify and mark done. If partial, continue. If not done, proceed.\n\n**DB change:** SciDEX now uses PostgreSQL. `get_db()` auto-detects via\nSCIDEX_DB_BACKEND=postgres env var.",
"_reset_at": "2026-04-18T06:29:22.046013+00:00",
"_reset_from_status": "done"
}