Repository navigation
Description
Overview
The Cortex board hides everything that is not active: the counts box and the Summary list only active projects, dormant ones appear only as cards, and retired ones fold into one collapsed line. Runs inside a card read oldest-first. The human also wants the same board as a markdown file in the Science folder, to read it in that context. This changes the Cortex conductor's renderer only — no ledger or projects.yaml semantics change.
Plan
- Counts box: Running · Open · Active · Dormant · Retired, each linking to its section
- Summary: three tables — Active, Dormant, Retired
- Projects: three headed sections; retired projects get visible compact cards instead of one collapsed line
- Runs inside each card newest first
dashboard --apply/checkin --applyalso write the markdown board to<Science>/STATE.mdon the laptop (skipped silently elsewhere)- Tests; re-render the Cortex board; pointer line in Science/AGENTS.md
Tier: judge — merge mode: human /prm
Detailed implementation plan
Affected Repositories
- PyAutoBrain (primary) —
agents/conductors/cortex/_cortex.py,test_cortex_conductor.py - PyAutoCortex — re-rendered
dashboard.md/dashboard.html/state.jsononly
Branch Survey
| Repository | Current Branch | Dirty? |
|---|---|---|
| ./PyAutoBrain | main | clean (untracked .worktrees/) |
| ./PyAutoCortex | cortex/project-review-2026-11-13 (PyAutoCortex#89) | clean |
PyAutoBrain is also claimed by lane-fail-closed (PyAutoBrain#614); that branch touches no file under agents/conductors/cortex/. The human approved proceeding in parallel (2026-11-13).
Suggested branch: feature/cortex-dashboard-status-split
Implementation Steps
cortex_context(_cortex.py~L295): addcounts["dormant"],counts["retired"](fromprojects.yamlstatus). Keepcounts["active"]—state.json's headline and the Brain board read it; nothing parses the dashboard's counts rows.render_dashboard(~L647): counts rowsActive(#active),Dormant(#dormant),Retired(#retired), Running/Open unchanged. Summary →### Active/### Dormanttables (Project · Running · Open · Last update) and### Retired(Project · Note · Last update). Projects →### Active,### Dormant(full_card_md),### Retired(compact: key, summary, note, ledger link).plannedrows sit with Dormant (or their own heading if any exist). Rows with no ledger stay in the "No ledger" table.render_dashboard_html(~L763): the same split — counts tiles, three summary tables, three sections with ids; retired compact cards visible, not folded._card_md/_card_html(~L536/L608): sortd["runs"]newest first by (date, jobid) descending before rendering. The Log is already newest first.- Mirror: after
cmd_dashboard --applyand the checkin render, write the dashboard markdown toscience_root_from(projects)/STATE.mdwhen that directory exists; otherwise skip without error. Header: "generated bypyauto-brain cortex dashboard --apply— mirror of the PyAutoCortex board (); do not edit". Never fail the render because of the mirror. - Tests (
test_cortex_conductor.py): status split and counts; retired visible; run ordering newest-first in md and html; mirror written when the root exists and skipped when absent. - Re-render the Cortex board; add a line to
Science/AGENTS.mdnamingSTATE.mdas the generated mirror.
Key Files
PyAutoBrain/agents/conductors/cortex/_cortex.py— context, md/html renderers, dashboard/checkin commandsPyAutoBrain/agents/conductors/cortex/test_cortex_conductor.py— tests
Original Prompt
Click to expand starting prompt
Cortex board: split Active / Dormant / Retired, newest-first runs, Science STATE.md mirror
Targets: @PyAutoBrain @PyAutoCortex
Type: feature
Filed: 2026-11-13
Consequence: judge
Verbatim user requests (2026-11-13 session):
I like the idea of the Science folder having a .md file which shows the state of everything, noting that this would need to be a mirror of the PyAutoCortex dashboard, I get its repetiiton but I will go to view both in different contexts.
Also for the PYAutoCortex Summary board I think we should split active and dormant, I think we could have a third initial box "retired" under "Summary" and "Projects" as currently retired is a bit hidden.
When I clikc a project like "euclid_dr1 it shows 60 runs, but they are going from first task at the top in date to last at the bottom, I think they should go the other way I want to see the latest things at the top.
Approved plan (in organs/PyAutoBrain/agents/conductors/cortex/_cortex.py + test_cortex_conductor.py):
- Counts box: Running · Open · Active · Dormant · Retired, each linking to its section (check the Brain board parser that reads the counts rows by label; keep "Projects" if renaming breaks it).
- Summary: three tables — Active, Dormant, Retired (retired: Status/Note columns instead of Running/Open).
- Projects: three headed sections — Active, Dormant (full cards; resume chip only for active), Retired (visible compact cards: summary, note, ledger link) replacing the single collapsed "N retired" line.
- Science mirror:
cortex dashboard --applyandcheckin --applyalso write the same markdown to<science_root>/STATE.md(science_root_from(projects)); laptop only, silently skipped when the root is absent; generated/do-not-edit header + Pages link. Pointer line inScience/AGENTS.md. - Runs within each project card sorted newest first (date, then job id), md and html.
- Tests for the split, run ordering and mirror skip; re-render the Cortex board.
Tier: judge — merge mode: human /prm
Approval: the human approved this plan in session on 2026-11-13 ("work this into the plan above and then begin it").
🤖 Generated with Claude Code
Activity
Jammy2211 commentedon Nov 13, 2026
Scope addition from the human (2026-11-13): in each card's runs table, show the Date column without the year (
MM-DD, e.g.11-13) to save width — sorting still uses the full date so newest-first order is kept.Jammy2211 commentedon Nov 13, 2026
Heart RED override (development only) — PR: #617
Jammy2211 commentedon Nov 13, 2026
Shipped in #617 (merged d95a23b, 2026-11-13) by the human's
/prm; CI pytest 3.12 + 3.13 green. Board: Active/Dormant/Retired counts, Summary and Projects sections; runs newest first withMM-DDdates;Science/STATE.mdmirror ondashboard --apply/checkin --apply. Follow-up on the Science side: re-render the Cortex board and add the STATE.md pointer to Science/AGENTS.md.