Skip to content

feat(cortex): board splits Active/Dormant/Retired, newest-first runs, Science STATE.md mirror - #617

Merged
Jammy2211 merged 2 commits into
mainfrom
feature/cortex-dashboard-status-split
Nov 13, 2026
Merged

Jammy2211 merged 2 commits into
mainfrom
feature/cortex-dashboard-status-split

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Closes #616.

Summary

The Cortex board stops hiding everything that is not active:

  • Counts: Running · Open · Active · Dormant · Retired (was Running · Open · Projects). counts["active"] and the state.json headline are unchanged.
  • Summary: three tables — Active, Dormant (Project · Running · Open · Last update), Retired (Project · Note · Last update, note clipped at 120 chars); Planned only when one exists.
  • Projects: Active and Dormant sections with full cards (resume chip active-only), Retired as visible compact entries instead of one folded line.
  • Runs in each card newest first (full date, then job id); Date column shows MM-DD (HTML keeps the full date as a tooltip).
  • Science mirror: dashboard --apply and checkin --apply also write the markdown board to <science_root>/STATE.md when that root exists (laptop); skipped silently elsewhere; a write failure is one stderr note, never a failed command; --check ignores it.

API Changes

None to any library. Internal to the Cortex conductor: counts gains dormant/retired; new helpers runs_newest_first, write_science_mirror, mirror_header.

Tests

  • tests/test_cortex_conductor.py: 90 passed (10 updated for the new layout, 8 new: split + empty sections, retired visible md/html, newest-first incl. same-day 999 vs 3010, MM-DD vs full-date log, mirror written by dashboard/checkin and ignored by --check, skipped off-laptop, write failure → exit 0).
  • Full Brain suite: 1754 passed, 1 skipped, 1 failed (pre-existing, fails on main too).

Heart RED override (development only)

  • Authorization: live human, 2026-11-13, choosing "Override, open PR (Recommended)" for this task (PyAutoBrain#616): "Use the AUTONOMY.md Human override for Heart RED (development only): push the branch and open the PR, recorded on the issue. CI still must pass and merging stays with you."
  • Heart RED reasons (verbatim, current): PyAutoNerves: 4 commit(s) behind origin; PyAutoFit: 2 commit(s) behind origin; PyAutoArray: 4 commit(s) behind origin; PyAutoGalaxy: on branch feature/galaxy-guide-rebalance (not main); PyAutoGalaxy: 1 uncommitted source change(s); PyAutoLens: 1 uncommitted source change(s); PyAutoLens: 45 commit(s) behind origin; PyAutoCTI: 4 commit(s) behind origin; install verification FAILED (testpypi; checks F); release validation FAILED (stage integrate); manifest drift: tenant firewall (organ code) — 40 mismatch(es) vs PyAutoMind/repos.yaml; manifest drift: workspace checkouts (manifest ↔ disk) — 3 mismatch(es) vs PyAutoMind/repos.yaml; PyAutoArray: open PR 9d old
  • Branch gates: cortex conductor tests 90 passed (tests/test_cortex_conductor.py; 83 before, 10 updated + 8 new); full Brain suite 1754 passed / 1 skipped / 1 failed — test_grouped_organ_consumers.py::test_hygiene_map_and_heart_board_find_grouped_checkouts, which fails identically on origin/main with the change stashed; smoke n/a (Brain organ renderer, no library code); review: in-session diff review by the orchestrating session (one fix applied: clip retired notes in the Summary table). None of the RED reasons are in PyAutoBrain.
  • Heart remains RED for release purposes; this PR does not claim to fix it. Merge requires a separate human command with every required check green.

Follow-up after merge

Re-render the Cortex board with the new renderer (writes Science/STATE.md on the laptop) and add a pointer line in Science/AGENTS.md.

🤖 Generated with Claude Code

Jammy2211 and others added 2 commits November 13, 2026 10:43
… Science STATE.md mirror

- census counts gain dormant and retired (active and the state.json
  headline unchanged)
- counts table / hero tiles: Running, Open, Active, Dormant, Retired,
  each linking to its section
- Summary and Projects split into Active / Dormant / Retired (Planned
  only when present); retired projects are visible compact entries
  instead of one collapsed line
- runs inside a card sorted newest first (date, then numeric job id);
  the runs table shows MM-DD, full date kept for sorting (and as the
  HTML cell's title)
- dashboard --apply and checkin --apply mirror dashboard.md to
  <science_root>/STATE.md with a generated/do-not-edit header; skipped
  silently off the laptop, a failed write is one stderr line; --check
  ignores it

Refs #616

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…m whole)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit d95a23b into main Nov 13, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/cortex-dashboard-status-split branch November 13, 2026 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(cortex): board splits Active/Dormant/Retired, newest-first runs, Science STATE.md mirror

1 participant