Repository navigation
Description
Overview
#616/#617 made <Science>/STATE.md a byte copy of dashboard.md. The human finds it not human-readable: it carries the check-in prompt, full project cards and logs. They want a quick "check in on projects via a table" page like Professional/tasks.md — one table per group, the groups they need least (Retired) at the bottom.
Plan
- Render
STATE.mdfrom its own small renderer instead of copyingdashboard.md - Title line (generated date, last check-in, link to the Pages board, do-not-edit), then
## Active (N),## Dormant (N),## Planned (N)only when any,## Retired (N)— tables only - Active/Dormant/Planned: Project · Where · Now · Runs · Last update; Retired: Project · Where · Note · Last update
- Now cut at its first sentence end, capped at 120 chars (human choice); Note likewise, without the "previously: …" history
- Tests; re-render
Tier: judge — merge mode: human /prm
Detailed implementation plan
Affected Repositories
- PyAutoBrain (primary) —
agents/conductors/cortex/_cortex.py,tests/test_cortex_conductor.py
Branch Survey
| Repository | Current Branch | Dirty? |
|---|---|---|
| ./PyAutoBrain | main | clean (untracked .worktrees/) |
PyAutoBrain is also claimed by lane-fail-closed (PyAutoBrain#614), which touches nothing under agents/conductors/cortex/; parallel work there was approved by the human on 2026-11-13.
Suggested branch: feature/cortex-state-md-tables
Implementation Steps
- New
render_science_state(c) -> strin_cortex.py. Rows come fromc["projects"]by status (so dormant/retired rows with no ledger still show), with ledger fields fromc["ledgers"]where present.- Where:
local_pathrelative to the science root (active/…,development/…), orCode/<…>for paths under the PyAutoLabs root, else as written. - Runs:
N running · M open, or-. - Last update: the ledger's
updated, or-. - Now / Note: collapse whitespace, cut at the first sentence end (
./.at end; never inside a decimal or a#123-style ref), cap 120 with…. For Note, drop everything from; previously:on. - Escape
|in cells (reuse_cell).
- Where:
write_science_mirrorwritesrender_science_state(c)instead ofmirror_header(c) + dashboard.md; drop or adaptmirror_header. Keep: skipped silently off-laptop, one stderr note on a write failure, ignored by--check.- Tests: section order and counts; Planned only when present; no check-in prompt /
<details>in the output; first-sentence clipping (decimal,#123, no sentence end, the 120 cap); Note dropspreviously:; Where relative paths; the existing mirror tests updated.
Key Files
PyAutoBrain/agents/conductors/cortex/_cortex.pyPyAutoBrain/tests/test_cortex_conductor.py
Original Prompt
Click to expand starting prompt
STATE.md is a bit too not human readable, I want it to be a quick "check in on projects via a table" vibe and not incude things like the whole check in prompt you might copy from the dashboard. Professional/tasks.md serves this function a lot better, it is just tables under each group I can quickly eyeball with the stuff i need to look at less (e.g. Done) at the bottom.
Layout approved from a mockup; Now = "First sentence, max 120".
🤖 Generated with Claude Code
Activity
prompt: file + route cortex-state-md-tables (PyAutoLabs/PyAutoBrain#618)
Jammy2211 commentedon Nov 13, 2026
Heart RED override (development only) — PR: #619
Jammy2211 commentedon Nov 13, 2026
Shipped in #619 (merged d2238c2, 2026-11-13) by the human's
/prm; CI pytest 3.12 + 3.13 green on 0069a09 (the first head failed the tenant-firewall check on two test fixture names —PyAutoFit,autofit_inference— fixed in 0069a09).STATE.mdis now status tables only.