Broken links in /api (HTTP 0, 26 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): - /api/agent-scorecards - /api/agent-rankings - /api/epistemic-health - /api/epistemic-audit - /api/artifact-lifecycle-stats - /api/dedup/scan - /api/dedup/recommendations - /api/artifact-transforms - /api/quality-gates - /api/quality-gates ## 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.

Summary

Spurious HTTP 0 timeout - pages work fine. Link checker needs tuning to handle timeouts better.

Git Commits (1)

[UI] Triage transient /api link incident and document verification [task:8820a06a-7eba-425e-9806-55b371b0303a]2026-04-04
Spec File

Goal

Validate and resolve the reported broken /api/* links that were detected with HTTP 0. The task should determine whether endpoints are actually missing, temporarily unavailable, or stale false positives from prior outages. If endpoints are broken, repair routing or links; if healthy, close the task with verification evidence.

Acceptance Criteria

☑ Required /api/* routes in the incident report are validated with concrete HTTP responses.
☑ Any genuinely broken route or source link is fixed and verified.
☑ Task includes health verification evidence and completion summary.

Approach

  • Reproduce by probing the listed /api/* endpoints directly on port 8000.
  • Inspect route definitions in api.py for any missing handlers or path mismatches.
  • Implement targeted fix only if reproduction confirms a real defect.
  • Re-test affected endpoints and baseline service status.
  • Dependencies

    • None.

    Dependents

    • None.

    Work Log

    2026-04-04 10:41 PT — Slot 5

    • Started task and set status to running.
    • Created this spec because spec_path was empty.
    • Next: validate all affected /api/* endpoints and inspect api.py route declarations.

    2026-04-04 10:44 PT — Slot 5

    • Verified route declarations exist in api.py for all affected endpoints.
    • Observed transient connection failures (curl exit 7, HTTP 000) while scidex-api was in deactivating state.
    • Waited 2 minutes and re-ran endpoint checks after API returned to active.
    • Confirmed all reported endpoints now return HTTP 200:
    - /api/agent-scorecards
    - /api/agent-rankings
    - /api/epistemic-health
    - /api/epistemic-audit
    - /api/artifact-lifecycle-stats
    - /api/dedup/scan
    - /api/dedup/recommendations
    - /api/artifact-transforms
    - /api/quality-gates
    • Result: No code fix required; incident classified as transient service-state outage.