Skip to content

Cortex Projects: collapsed project cards with aligned run tables - #526

Merged
Jammy2211 merged 2 commits into
mainfrom
feature/cortex-project-readability
Oct 15, 2026
Merged

Jammy2211 merged 2 commits into
mainfrom
feature/cortex-project-readability

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

Phase 1 of the readable Cortex Projects redesign (#521). Each project in the Cortex dashboard's Projects section is now one collapsed, keyboard-reachable <details> card:

  • Closed: project name, short purpose, recorded N running · M open counts (or "no runs recorded"), and updated <ledger's newest date>. Non-active projects are prefixed with their status.
  • Open: status, partition and issue; Current position (the ledger's ## Now); the existing 📋 resume chip; and Runs (n) as an aligned table with Job, State (pill), Partition, Date and Description. A long description shows a clipped line that opens to the full text ("show less" closes it). Under the shared 34rem phone breakpoint each row stacks: a labelled meta line, then the description at full width. Recent log (5 of N) and Locations (ledger, local, RAL) are collapsed folds.
  • dashboard.md mirrors this with GitHub <details> folds, a markdown runs table, and a "Full descriptions" fold for any clipped run. Ledger prose inside the folds is entity-escaped, so a literal </details> in a ledger line cannot break a card.

Every field comes from the parsed ledger (ident/state/partition/date/what, Now, Log); nothing is parsed out of run prose. The resume and check-in payloads, the counts table that collect_cortex parses, the Summary table, retired/no-ledger folds, state.json and the drift/freshness semantics are all unchanged. Phase 2 (output accounting) is not in scope.

After merge: the Cortex pages regenerate from Brain main via PyAutoCortex's Dashboard Refresh workflow. It runs on the nightly cron (03:35 UTC) or on the next Cortex push to main, and self-heals dashboard.md/.html/state.json, then dispatches Pages. It fetches a Brain branch of the same name only for a same-named Cortex branch; none exists here, so no Cortex PR is needed.

Ship gate

tests smoke review heart witness
Brain pytest tests 1269 passed; ruff on touched files: 4 errors, all pre-existing and identical on main (CI does not run ruff) n/a (renderer-only; no workspace scripts) one independent Opus diff review: FINDINGS (all low). Fixed: markdown fold escaping, md id attr escaping, backtick-safe path spans, phone cell labels, test magic number. Accepted: h3 inside summary (valid HTML) RED, under a development-only override (quoted below) the real Cortex ledgers rendered to a scratch copy (14 ledgers, 22 running, 47 open), then --check clean; headless screenshots at 390px and 1280px (closed list, expanded subhalo_validation and euclid_dr1 with 58 runs); tag balance matches the current page

Heart RED override, quoted from the launch comment on #521:

Heart at the door: Heart: RED — Release RED; monitoring RED · 10/100 · 415 unresolved … Live human in session 6ffb59e9 answered AskUserQuestion "Both, override for development (Recommended)" on 2026-10-15 (third grant) for this launch. Permitted: commit, push, PR-open. Merge is a separate human act; this never reaches a release.

Closes #521

Tier: undeclared — merge mode: human /prm

🤖 Generated with Claude Code

Jammy2211 and others added 2 commits October 15, 2026 19:14
Each Cortex project is now one keyboard-reachable disclosure: the closed
summary carries name, purpose, recorded running/open counts and the
ledger's newest date. Opening it shows the current position, the resume
chip, the runs as an aligned Job/State/Partition/Date/Description table
(stacked under the shared 34rem phone breakpoint; long descriptions fold
to their full text), then collapsed recent history and locations.
dashboard.md mirrors it with details folds and a markdown runs table.
All fields are the parsed ledger's own; resume and check-in payloads,
counts and freshness semantics are unchanged.

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit 92de427 into main Oct 15, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/cortex-project-readability branch October 15, 2026 19:03
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: make Cortex project dashboards human-readable

1 participant