Repository navigation
feat(board): one read for the board family + publish the Heart's dev-box board each morning - #353
Merged
Merged
Conversation
…ev-box board each morning
The family's membership and order live once, in `config/policy.yaml`
`board: boards:`. The Brain's own renderers read it; the three sibling
organs each kept a copy of the list instead, written before the Cortex had
a board — so their footers were short a chip and out of the ruled order,
and nothing noticed, because a copy that drifts still renders.
`_theme.board_links(base_url, current)` is that read, offered to every
renderer: the same stdlib regex `_intake._board_links` uses (this module is
presentation-only and must not grow a yaml dependency — these boards also
render in workflows that install nothing), file order preserved, the
current page dropped, `{key: <base>/<Repo>/}` out. An unreadable config
returns nothing, which renders as no footer rather than a broken one.
Second: the Heart's cloud board renders its eight dev-box check families
grey because the observation expires after 48h and nothing published one —
`morning.sh` published the Brain's every morning and the Heart's never. It
now ticks and publishes both, under the same `--no-publish` guard and the
same non-fatal "skipped" fallback.
Refs #352
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GnXNPigN6qWxLZy2cqhDBX
This was referenced Sep 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #352
The board family stopped being one list
Membership and order live once, in
config/policy.yamlboard: boards:—brain, mind, cortex, memory, heart, hands, organism, the ruled organ order.
The Brain's own renderers (
_intake,_cortex,_board) read it. The threesibling organs did not: PyAutoHeart, PyAutoHands and PyAutoMemory each carried
a hard-coded
BOARD_FAMILYtuple written before the Cortex had a board, sotheir footers linked five siblings in an ad-hoc order and silently missed the
sixth. A copy that drifts still renders, which is why nobody noticed.
board/_theme.pygains the one read they can all call:_intake._board_linksuses — no yaml import: this module ispresentation-only and these boards also render in workflows that install
nothing;
policy.yamlreorders every footer at once;current(the page's own key) dropped, so the result goes straight intoboards_footer;{}, which renders as no footer rather than abroken one.
tests/test_board_theme.pypins the order, the dropped current key, thetrailing-slash tolerance, the end-to-end footer, and the empty-on-missing-config
path.
The Heart board's grey rows
The Heart's Pages board renders its eight dev-box check families grey — "not
observed here — dev box last looked 6d ago" — because the observation expires
after 48 h and
pyauto-heart publishwas last run by hand on 28 Aug.bin/morning.shalready publishes the Brain's dev-box observation everymorning; it never published the Heart's. It now runs
PyAutoHeart/bin/pyauto-heart tick && … publishbeside it: same--no-publishguard, same non-fatal "skipped" fallback, path resolved from the script's own
location so a worktree run resolves through the symlink.
Downstream
This is the base PR for three sibling PRs that call the new helper:
Each of those keeps its legacy tuple as a fallback for an older PyAutoBrain
checkout, so they are safe to merge in any order — but their CI checks out
PyAutoBrain
main, so their new footer assertions only go green once this PRhas merged. Library-first: merge this one first.
Tests
tests/test_board_theme.pytests/test_board.pytests/test_board_degraded.pytests/test_morning_timer.pytests/test_intake_dashboard.py— 205 passed.Footer chip order observed in each rendered board (with this branch as
PYAUTO_BRAIN):<ul class="boards">chips🤖 Generated with Claude Code
https://claude.ai/code/session_01GnXNPigN6qWxLZy2cqhDBX