Skip to content

test: derive board footer family from Brain (Nerves+Gut stale literal) - #242

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/board-footer-family-fix
Sep 28, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/board-footer-family-fix

Conversation

@Jammy2211

@Jammy2211 Jammy2211 commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

tests/test_dashboard.py::test_the_family_footer_carries_the_cortex_in_the_canonical_order pinned the six-board family as a literal and has been red on main since PyAutoBrain added the Nerves and Gut boards to config/policy.yaml board: boards: (PyAutoNerves#172, PyAutoGut#9). The expectation is now derived from the Brain — theme().board_links("", BOARD_KEY), the same read the renderer makes — so the test still checks canonical (policy) order, that the Cortex is present and that this board omits itself, but the next organ birth cannot re-break it.

This clears the pre-existing red on PyAutoHeart#240 / PyAutoHeart#241 and PyAutoHands#291 (and Heart main CI).

Fixes the Heart half of PyAutoLabs/PyAutoMind#450.

API Changes

None — internal changes only (test file only).

Test Plan

  • Full suite outside the bundle env (env -u PYAUTO_ROOT -u PYAUTO_MIND -u PYAUTO_BRAIN -u PYAUTO_HEART -u PYAUTO_HANDS, OMP_NUM_THREADS=8): 1063 passed, 0 failed
  • Footer tests (-k footer, 3/3) pass against the PyAutoBrain#427 branch (feature/eyes-organ-order, via PYAUTO_BRAIN)
  • Footer tests (3/3) pass against a scratch Brain copy whose policy adds an eyes board after memory (the canonical Brain, Mind, Cortex, Memory, Eyes, Heart, … order) — the old literal would fail there

Sibling PR: PyAutoLabs/PyAutoHands#292 (same fix in tests/test_board.py).

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CpGs8DxC5qA1MtHcmHeaBQ

The footer-family test pinned the six-board family and went red once
PyAutoBrain added the Nerves and Gut boards (config/policy.yaml
board: boards:). Derive the expectation from _theme.board_links, the
same read the renderer makes, so the next organ birth cannot re-break it.

Refs PyAutoLabs/PyAutoMind#450

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CpGs8DxC5qA1MtHcmHeaBQ
@Jammy2211 Jammy2211 added the pending-release Awaiting a published release label Sep 28, 2026
@Jammy2211
Jammy2211 merged commit 665cc2f into main Sep 28, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/board-footer-family-fix branch September 28, 2026 20:25
@Jammy2211 Jammy2211 removed the pending-release Awaiting a published release label Oct 7, 2026
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.

1 participant