[Demo] Fix broken internal links on showcase and dashboard pages done coding:7

← Demo
Targeted demo-link quality pass: replace stale senate.html/hypothesis links that 404 with live routes or remove dead CTAs; verify affected pages return 200/3xx. ## 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

Task was already complete. All ef614bb0 commits (17c11d39f, 7e21443f2, f451f8025, 5cd677a2a) are in origin/main. The audit's NO_COMMITS flag was a false positive — the work landed correctly on main before this branch was created. smoke_check.py 20/20 pass, no broken links remain. Branch already pushed.

Git Commits (4)

[UI] Update spec - mark acceptance criteria complete [task:ef614bb0-06d7-43f1-bae5-4a900eca8d7b]2026-04-04
[Demo] Record integration blocker in task spec [task:ef614bb0-06d7-43f1-bae5-4a900eca8d7b]2026-04-04
[UI] Fix broken internal links - replace .html links with clean routes [task:ef614bb0-06d7-43f1-bae5-4a900eca8d7b]2026-04-04
[Demo] Fix stale showcase/dashboard links [task:ef614bb0-06d7-43f1-bae5-4a900eca8d7b]2026-04-04
Spec File

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.

    Payload JSON
    {
      "requirements": {
        "coding": 7
      }
    }

    Sibling Tasks in Quest (Demo) ↗