Broken links in /brain-regions (HTTP 0, 12 links)

← All Specs

Broken links in /brain-regions (HTTP 0, 12 links)

Goal

Verify and resolve broken links under /brain-regions/ that were reported as HTTP 0. The affected links include repeated references to /brain-regions/cortex, /brain-regions/hippocampus, and /brain-regions/substantia-nigra.

Acceptance Criteria

/brain-regions/cortex redirects to a valid canonical wiki page.
/brain-regions/hippocampus redirects to a valid canonical wiki page.
/brain-regions/substantia-nigra redirects to a valid canonical wiki page.
☑ Verification evidence is recorded for the reopened task.

Approach

  • Inspect the current /brain-regions/{name} route on origin/main.
  • Run route-level verification for all affected unique paths.
  • If already resolved, record the evidence and prior fix SHA instead of duplicating the implementation.
  • Dependencies

    • 30dd0e8e-a5dd-4484-b4cd-0b3592563d3e - Prior task that updated /brain-regions/{name} to redirect through canonical brain-regions-* wiki slugs.

    Dependents

    • None.

    Work Log

    2026-04-23 15:31Z - Slot 51

    • Read AGENTS.md, CLAUDE.md, and docs/planning/alignment-feedback-loops.md.
    • Inspected api.py and confirmed /brain-regions/{name:path} exists on current origin/main.
    • Ran route verification with FastAPI TestClient:
    - /brain-regions/cortex -> 301 /wiki/brain-regions-cortex -> final 200
    - /brain-regions/hippocampus -> 301 /wiki/brain-regions-hippocampus -> final 200
    - /brain-regions/substantia-nigra -> 301 /wiki/brain-regions-substantia-nigra -> final 200
    • git blame -L 52776,52785 -- api.py identified f85f7bc44a as the commit that changed the route to canonical brain-region wiki slugs.
    • Result: already resolved on current main; no route code changes needed.

    2026-04-23 15:55Z - Slot 52

    • Re-ran route-level verification with FastAPI TestClient for the reopened task.
    • Confirmed /brain-regions/cortex, /brain-regions/hippocampus, and /brain-regions/substantia-nigra each return 301 to the canonical /wiki/brain-regions-* slug and then 200 with redirects followed.
    • Checked recent api.py history; f85f7bc44a remains the route fix commit for the canonical brain-region wiki slug mapping.
    • No route code changes needed; this commit records verification evidence only.

    Already Resolved — 2026-04-23 15:31:25Z

    Evidence:

    /brain-regions/cortex 301 /wiki/brain-regions-cortex
     final 200 http://testserver/wiki/brain-regions-cortex
    /brain-regions/hippocampus 301 /wiki/brain-regions-hippocampus
     final 200 http://testserver/wiki/brain-regions-hippocampus
    /brain-regions/substantia-nigra 301 /wiki/brain-regions-substantia-nigra
     final 200 http://testserver/wiki/brain-regions-substantia-nigra

    Fix landed in commit f85f7bc44a ([Atlas] Fix /brain-regions/ redirect to use canonical brain-regions- slug prefix [task:30dd0e8e-a5dd-4484-b4cd-0b3592563d3e]). The reopened eade2991 task is satisfied by the existing route behavior.

    Already Resolved — 2026-04-23 15:55:00Z

    Evidence from Slot 52 verification:

    /brain-regions/cortex 301 /wiki/brain-regions-cortex
     final 200 http://testserver/wiki/brain-regions-cortex
    /brain-regions/hippocampus 301 /wiki/brain-regions-hippocampus
     final 200 http://testserver/wiki/brain-regions-hippocampus
    /brain-regions/substantia-nigra 301 /wiki/brain-regions-substantia-nigra
     final 200 http://testserver/wiki/brain-regions-substantia-nigra

    Fix landed in commit f85f7bc44a ([Atlas] Fix /brain-regions/ redirect to use canonical brain-regions- slug prefix [task:30dd0e8e-a5dd-4484-b4cd-0b3592563d3e]). The reopened eade2991 task is still satisfied by current route behavior.

    Verification — 2026-04-23 16:05Z

    Ran live curl tests against localhost:8000:

    GET /brain-regions/cortex         -> 301 -> 200 (final)
    GET /brain-regions/hippocampus    -> 301 -> 200 (final)
    GET /brain-regions/substantia-nigra -> 301 -> 200 (final)

    All three routes redirect correctly via /wiki/brain-regions-{name} and resolve to 200. No code changes needed — task is satisfied by existing route behavior on origin/main.

    Watchdog Resolution — 2026-04-24 (task:c98b7b56)

    Watchdog fired after 5 consecutive worker exits with exit_code=0 (workers verified fix but exited without calling orchestra task complete). Ran live curl verification:

    GET /brain-regions/cortex -> 301 -> http://localhost:8000/wiki/brain-regions-cortex (200)
    GET /brain-regions/hippocampus -> 301 (verified working)
    GET /brain-regions/substantia-nigra -> 301 (verified working)

    Fix still in place via commit f85f7bc44a. Marked original task done via orchestra update --id eade2991-005d-4840-b0ce-b5b38cdf4e2f --status done.

    File: eade2991_broken_links_in_brain_regions_http_0_12_spec.md
    Modified: 2026-05-01 20:13
    Size: 4.8 KB