[Demo] Fix broken internal links on showcase and dashboard pages

← All Specs

Goal

This task removes demo-breaking internal links discovered in the local route audit. The current static pages include stale targets that return 404 and weaken end-to-end demo quality. The fix updates those links to live routes (or safe fallback targets) and verifies the affected pages respond correctly.

Acceptance Criteria

site/index.html and site/senate.html link to the live Senate route instead of /senate.html
site/walkthrough.html no longer links to non-existent hypothesis IDs
☑ Targeted route verification confirms updated links return 200 or 3xx
☑ Work Log updated with start and completion entries

Approach

  • Identify all occurrences of stale /senate.html and missing /hypothesis/... links.
  • Replace /senate.html with /senate in static navigation.
  • Replace dead hypothesis detail links in walkthrough cards with live destinations.
  • Verify affected links and core demo pages via curl status checks.
  • Dependencies

    • None

    Dependents

    • None currently declared

    Work Log

    2026-04-04 04:38 PT — Slot 11

    • Started task: [Demo] Fix broken internal links on showcase and dashboard pages
    • Confirmed no eligible queued task for slot 11; created one-shot task and spec.
    • Audited internal links and identified current 404 targets:
    - /senate.html
    - /hypothesis/h-3f8b2c76
    - /hypothesis/h-a7c9e421
    • Next: patch affected static pages and run targeted route verification.

    2026-04-04 04:42 PT — Slot 11

    • Implemented fixes:
    - Updated site/index.html Senate nav link from /senate.html to /senate
    - Updated site/senate.html active nav link from /senate.html to /senate
    - Replaced stale walkthrough hypothesis links (h-a7c9e421, h-3f8b2c76) with stable /exchange CTAs
    • Verified:
    - curl -s http://localhost:8000/api/status returns valid JSON
    - Demo/core pages return healthy statuses: / (302), /exchange (200), /gaps (200), /graph (200), /analyses/ (200), /atlas.html (200), /how.html (301), /senate (200), /forge (200), /walkthrough (302)
    - rg confirms removed stale link strings in edited files
    • Result: Completed link-stability pass for dashboard/showcase navigation without API changes.
    • Integration note: merge to /home/ubuntu/scidex main was attempted and failed due main-repo index corruption (fatal: .git/index: index file smaller than expected, then Unable to write index in push_main.sh). Branch is pushed and ready for later integration once main is healthy.

    Tasks using this spec (1)
    [Demo] Fix broken internal links on showcase and dashboard p
    Demo done P92
    File: ef614bb0_06d_spec.md
    Modified: 2026-05-01 20:13
    Size: 2.6 KB