From c6b6018d61b45d1d97d0b00ab7acba66dc08ea64 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 23 Aug 2026 16:52:30 +0000 Subject: [PATCH] heart: cross-board footer nav on the dashboard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The one-tap board family (mind, brain, hands, memory, organism) as a footer nav, mirroring the Brain board's โ€” every board now links its siblings, each skipping its own entry. Base derived from PAGES_URL so the owner stays named once; PyAutoScientist is allowlisted for this surface in the Mind's tenant-firewall baseline. Co-Authored-By: Claude --- heart/dashboard.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/heart/dashboard.py b/heart/dashboard.py index 9a16001f..ffcf60c0 100644 --- a/heart/dashboard.py +++ b/heart/dashboard.py @@ -145,6 +145,19 @@ def _library_names() -> tuple: # that links "the webpage" agrees on the URL. PAGES_URL = "https://pyautolabs.github.io/PyAutoHeart/" +# The one-tap board family โ€” the cross-board footer nav every board carries, +# each board skipping its own entry. The base comes from PAGES_URL so the +# owner is named exactly once in this file. +BOARD_FAMILY = (("mind", "PyAutoMind"), ("brain", "PyAutoBrain"), + ("hands", "PyAutoHands"), ("memory", "PyAutoMemory"), + ("organism", "PyAutoScientist")) + + +def _boards_nav_html() -> str: + base = PAGES_URL.rsplit("/", 2)[0] + return " ยท ".join(f'{name}' + for name, repo in BOARD_FAMILY) + # v2: sections gained links/action/observed_ago; the board gained structured # `blockers` ({text, severity, repo, repo_url, run_url, prompt}). Additive. SCHEMA_VERSION = 2 @@ -1100,6 +1113,7 @@ def _render_html(board: Board) -> str:
Rendered by heart/dashboard.py โ€” one renderer, many surfaces. Observer only: PyAutoHeart never writes outside its own repo/state. ๐Ÿ“‹ buttons copy a Claude prompt or command to your clipboard.
+

Boards: {_boards_nav_html()}

"""