You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: board footer reads the canonical board family instead of a stale tuple #87
scripts/board.py carries a hard-coded BOARD_FAMILY tuple listing five sibling boards in an ad-hoc order. It predates PyAutoCortex, so the Memory board's footer has no Cortex chip, and its chip order does not match the ruled organ order the rest of the family renders.
The canonical list already lives in PyAutoBrain/config/policy.yaml under board: boards: (brain, mind, cortex, memory, heart, hands, organism), and this renderer already imports the shared theme from PyAutoBrain/board/_theme.py via its theme() locator — the CI job here already checks PyAutoBrain out beside the repo.
Plan
Replace BOARD_FAMILY with the theme's new board_links(base, current) helper, keeping the base URL derivation this file already does (the snapshot owner).
Keep the old tuple as a fallback for an older PyAutoBrain checkout without board_links.
Update the board tests to assert the footer carries Cortex and the canonical chip order.
Library-first / branch dependency: depends on PyAutoBrain#352 (feature/board-family-helper), which adds _theme.board_links. CI here may only go green once that PR has merged; until then the fallback path is what runs.
scripts/board.py — replace the BOARD_FAMILY tuple + nav builder with a call to theme().board_links(base, BOARD_KEY), falling back to the legacy tuple when the helper is absent.
tests/test_board.py — assert the rendered <ul class="boards"> carries a Cortex chip and the canonical chip order.
scripts/board.py no longer carries its own hard-coded BOARD_FAMILY tuple —
the knowledge board's footer now reads the canonical board family from the
PyAutoBrain theme's board_links helper (PyAutoBrain#353), so it carries the
Cortex chip and the canonical chip order, with the legacy tuple kept only as a
fallback for an older PyAutoBrain checkout.
scripts/board.py, tests/test_board.py
CI green on every leg for a583dfa5 (validate, push + pull_request)
Activity
Jammy2211 commentedon Sep 4, 2026
Shipped
PyAutoMemory#88 merged (
5aaf7470).scripts/board.pyno longer carries its own hard-codedBOARD_FAMILYtuple —the knowledge board's footer now reads the canonical board family from the
PyAutoBrain theme's
board_linkshelper (PyAutoBrain#353), so it carries theCortex chip and the canonical chip order, with the legacy tuple kept only as a
fallback for an older PyAutoBrain checkout.
scripts/board.py,tests/test_board.pya583dfa5(validate, push + pull_request)