[Agora] Broken links in /analysis (HTTP 404, 8 links)

← All Specs

Goal

Fix 8 broken /analysis links that were returning HTTP 404 errors.

Acceptance Criteria

☑ Verify affected /analysis URLs return HTTP 200 (via redirect)
☑ Confirm HTML files exist in site/analyses/
☑ No 404 errors for the specified analysis IDs

Work Log

2026-04-17 07:30 PT — Slot 62

  • Task opened for investigation. Task was previously marked 'done' but audit could not verify work landed on main.
  • Affected links (8, duplicates of 2 unique URLs):
- /analysis/SDA-2026-04-03-gap-debate-20260403-222543-20260402 (5x)
- /analysis/SDA-2026-04-03-gap-debate-20260403-222617-8eb5bdbc (3x)

Investigation Results

  • Verified URLs are working:
  • - /analysis/SDA-2026-04-03-gap-debate-20260403-222543-20260402 → 301 redirect to /analyses/... → 200
    - /analysis/SDA-2026-04-03-gap-debate-20260403-222617-8eb5bdbc → 301 redirect to /analyses/... → 200

  • HTML files exist in site/analyses/:
  • - SDA-2026-04-03-gap-debate-20260403-222543-20260402.html (25914 bytes)
    - SDA-2026-04-03-gap-debate-20260403-222617-8eb5bdbc.html (25906 bytes)

  • Routing mechanism:
  • - Legacy /analysis/{id} route redirects to /analyses/{id} (301 redirect)
    - Route handler: analysis_detail_legacy_redirect in api.py (line 38146)
    - The _is_valid_analysis_id validation passes for both IDs

  • Link checker verification:
  • - Ran link_checker.py --skip-llm
    - Result: 3383 pages, 3658 links, 50 broken (down from 168 due to transient error suppression)
    - Task-specific URLs NOT in broken links list

    Conclusion

    The broken links issue has been resolved. The /analysis/ route properly redirects to /analyses/ and the target pages return HTTP 200. The fix was already in place in the worktree - no additional code changes were required.

    Status: VERIFIED WORKING

    Tasks using this spec (1)
    Broken links in /analysis (HTTP 404, 8 links)
    done P70
    File: f16d52db-3450-4d3d-b2cb-4c46831aa06b_spec.md
    Modified: 2026-05-01 20:13
    Size: 2.0 KB