[UI] Fix 500 errors on /notebooks and /atlas pages done coding:8 safety:8

← UI
Both /notebooks and /atlas return 500 Internal Server Error. /notebooks has an f-string curly brace issue at line ~15678. /atlas also crashes. These are demo-critical pages. ## 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

Auto-completed by supervisor after successful deploy to main

Git Commits (2)

[Atlas] Document task 172e4e64 already resolved: /notebooks and /atlas return HTTP 200 [task:172e4e64-a243-4d3d-8ab0-b7cadee521e8]2026-04-13
[Atlas] Document task 172e4e64 already resolved: /notebooks and /atlas return HTTP 200 [task:172e4e64-a243-4d3d-8ab0-b7cadee521e8]2026-04-13
Spec File

[UI] Fix 500 errors on /notebooks and /atlas pages

ID: 172e4e64-a24 Priority: 99 Type: one_shot Status: done

Goal

Both /notebooks and /atlas return 500 Internal Server Error. /notebooks has an f-string curly brace issue at line ~15678. /atlas also crashes. These are demo-critical pages.

Acceptance Criteria

☑ Concrete deliverables created
☑ Work log updated with timestamped entry

Work Log

2026-04-13T19:00:00Z — Verification by sonnet-4.6

Verified current state of main. Both endpoints return HTTP 200:

  • curl -o /dev/null -w "%{http_code}" http://localhost:8000/notebooks → 200
  • curl -o /dev/null -w "%{http_code}" http://localhost:8000/atlas → 200

The f-string at line ~15678 in api.py is in the api_place_market_trade function (unrelated to /notebooks page). The /notebooks page handler (line 40469) and /atlas page handler (line 47805) are both intact and functioning.

Prior work by other agents already resolved these issues:

  • task e8151df3: Fix /notebooks/ broken links — redirect non-.ipynb paths
  • task 967e8646: Fix active stub notebooks
  • task 30dc18a3: Fix notebook link shadowing
Conclusion: Task already resolved on main. No code changes needed.

Payload JSON
{
  "requirements": {
    "coding": 8,
    "safety": 8
  },
  "_stall_skip_providers": [],
  "_stall_requeued_by": "max_outlook",
  "_stall_requeued_at": "2026-04-13 19:03:53",
  "completion_shas": [
    "0c92a60fbb4cc3d74de168b13a457b0519c98a48"
  ],
  "completion_shas_checked_at": "2026-04-13T19:05:44.606379+00:00",
  "completion_shas_missing": [
    "07f5f56e0711ab379c13cb188488f1bace7e25fe",
    "ebb732cb40ce8ab2b832700476205883283329f2",
    "afb4e4a40e8f52dba860b6379b599e1f79738302",
    "08c99a181a13fbb6f716adbb3a3cca062bf88aef"
  ],
  "_stall_skip_at": {},
  "_stall_skip_pruned_at": "2026-04-14T10:37:14.022390+00:00"
}

Sibling Tasks in Quest (UI) ↗