Skip to content

feat(cortex): STATE.md as status tables, not a copy of the board - #619

Merged
Jammy2211 merged 2 commits into
mainfrom
feature/cortex-state-md-tables
Nov 13, 2026
Merged

Jammy2211 merged 2 commits into
mainfrom
feature/cortex-state-md-tables

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Closes #618.

Summary

<Science>/STATE.md (added in #617 as a byte copy of dashboard.md) is now its own table-only page, after Professional/tasks.md: a title line (generated date, last check-in, Pages link, do-not-edit), then ## Active (N), ## Dormant (N), ## Planned (N) only when any, ## Retired (N) — no check-in prompt, no cards, no logs.

  • Active / Dormant / Planned: Project · Where · Now · Runs · Last update
  • Retired: Project · Where · Note · Last update
  • Where is relative to the Science root (development/…) or Code/… under the workspace root (resolved through _pyauto_root, no instance path in source)
  • Now / Note: first sentence, capped at 120 chars (human's choice); decimals, versions, #123 refs and e.g./i.e./cf./vs. are not sentence ends; Note drops its ; previously: … history
  • write_science_mirror(c) writes this render (mirror_header removed); still skipped off-laptop, one stderr note on a failed write, ignored by --check

API Changes

None to any library. Conductor-internal: new render_science_state, first_sentence, state_note, state_where; write_science_mirror now takes c only.

Tests

tests/test_cortex_conductor.py: 104 passed (mirror tests updated; new ones for section order and counts, no prompt/details, Planned only when present, placeholder rows, clipping edge cases, the 120 cap, Note history, Where paths, | escaping).

Heart RED override (development only)

  • Authorization: live human, 2026-11-13, choosing "Override both (Recommended)" for (a) PyAutoCortex#90 ledger-merge Pages fix and (b) the STATE.md table render in PyAutoBrain: "Push and open both PRs, recorded in the four override sinks. CI must pass; merging stays with your /prm."
  • 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 104 passed (tests/test_cortex_conductor.py; rerun by the orchestrating session); smoke n/a (Brain organ renderer, no library code); review: in-session review of the diff and a preview rendered from the real ledgers. 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.

🤖 Generated with Claude Code

Render <science_root>/STATE.md from its own render_science_state instead
of mirror_header + dashboard.md: a title line (Pages board link, date,
last check-in, do-not-edit), then Active, Dormant, Planned (only when
any) and Retired tables. Now/Note cells are cut at the first sentence
end and capped at 120 chars; Note drops the "; previously:" history.
Where is relative to the Science root, Code/<rest> under the workspace
root, else as written. Still skipped off the laptop, one stderr line on
a failed write, ignored by --check.

Closes #618

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit d2238c2 into main Nov 13, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/cortex-state-md-tables branch November 13, 2026 11:23
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): STATE.md as status tables, not a copy of the board

1 participant