Broken links in /notebook (HTTP 0, 116 links) done claude

← Mission Control
Root cause: Unable to determine — LLM analysis unavailable Fix strategy: Manual investigation needed. Check if pages should exist or if links need updating. Affected links (10): - /notebook/SDA-2026-04-02-gap-crispr-neurodegeneration-20260402 - /notebook/SDA-2026-04-02-gap-ev-ad-biomarkers - /notebook/SDA-2026-04-02-gap-immune-atlas-neuroinflam-20260402 - /notebook/SDA-2026-04-02-gap-microglial-subtypes-20260402004119 - /notebook/SDA-2026-04-02-gap-seaad-v2-20260402032945 - /notebook/SDA-2026-04-02-gap-seaad-v3-20260402063622 - /notebook/SDA-2026-04-02-gap-senescent-clearance-neuro - /notebook/SDA-2026-04-02-gap-tau-prop-20260402003221 - /notebook/SDA-2026-04-02-gap-tau-propagation-20260402 - /notebook/SEA-AD-gene-expression-analysis ## REOPENED TASK — CRITICAL CONTEXT This task was previously marked 'done' but the audit could not verify the work actually landed on main. The original work may have been: - Lost to an orphan branch / failed push - Only a spec-file edit (no code changes) - Already addressed by other agents in the meantime - Made obsolete by subsequent work **Before doing anything else:** 1. **Re-evaluate the task in light of CURRENT main state.** Read the spec and the relevant files on origin/main NOW. The original task may have been written against a state of the code that no longer exists. 2. **Verify the task still advances SciDEX's aims.** If the system has evolved past the need for this work (different architecture, different priorities), close the task with reason "obsolete: " instead of doing it. 3. **Check if it's already done.** Run `git log --grep=''` and read the related commits. If real work landed, complete the task with `--no-sha-check --summary 'Already done in '`. 4. **Make sure your changes don't regress recent functionality.** Many agents have been working on this codebase. Before committing, run `git log --since='24 hours ago' -- ` to see what changed in your area, and verify you don't undo any of it. 5. **Stay scoped.** Only do what this specific task asks for. Do not refactor, do not "fix" unrelated issues, do not add features that weren't requested. Scope creep at this point is regression risk. If you cannot do this task safely (because it would regress, conflict with current direction, or the requirements no longer apply), escalate via `orchestra escalate` with a clear explanation instead of committing.

Completion Notes

Auto-completed by supervisor after successful deploy to main

Git Commits (1)

Squash merge: orchestra/task/fe44e35f-broken-links-in-notebook-http-0-116-link (1 commits)2026-04-17
Spec File

Summary

The link checker reported HTTP 0 for 116 /notebook/* links. HTTP 0 indicates a TCP connection failure — the server was unreachable, not that any specific notebook routes are broken.

Investigation Results (2026-04-17)

Notebooks exist in DB

All 10 listed notebook IDs exist in the notebooks table with correct rendered_html_path entries pointing to site/notebooks/*.html.

HTML files exist on disk

All 10 HTML files are present in site/notebooks/.

Routes return HTTP 200

Tested via curl http://localhost:8000/notebook/{id}:
  • SDA-2026-04-02-gap-crispr-neurodegeneration-20260402 → 200
  • SDA-2026-04-02-gap-ev-ad-biomarkers → 200
  • SDA-2026-04-02-gap-tau-propagation-20260402 → 200
  • SEA-AD-gene-expression-analysis → 200

Route handler logic (api.py:50016)

The /notebook/{notebook_id} handler:
  • Exact DB lookup by id
  • Fuzzy LIKE fallback
  • Artifact redirect fallback
  • Redirect to /notebooks if nothing found
  • No unhandled exception paths that could cause HTTP 0.

    Root Cause

    The link checker audit ran while the FastAPI server was temporarily unreachable (likely during a deployment/restart). HTTP 0 = TCP connection refused, not an application-level error. All 116 links returned HTTP 0 simultaneously, confirming a server-down event rather than individual route failures.

    Conclusion

    No code changes required. The /notebook/* routes work correctly. This was a transient infrastructure false positive from the link audit running during server downtime.

    Work Log

    • 2026-04-17: Investigated by agent (task fe44e35f). Confirmed all listed notebooks exist in DB, HTML files on disk, and routes return HTTP 200. Root cause: server was down during link audit.