diff --git a/scripts/organism_board.py b/scripts/organism_board.py index 1ae9ea7..20eb184 100644 --- a/scripts/organism_board.py +++ b/scripts/organism_board.py @@ -316,12 +316,6 @@ def _render_html(snapshot: dict) -> str: {"href": b["url"], "label": b["name"]} for b in snapshot.get("boards") or [] if b.get("url") ]) - # The way back from the Pages board to the repository front door; the - # owner comes from the snapshot (the git remote), so the segment drops - # out when the origin is unknown. - gh_owner = snapshot.get("owner") - github_link = (f' · GitHub Page' if gh_owner else "") # Brain's shared layout puts the slogan panel above the navigation cards # and folds the titled section into a collapsed native disclosure; the # verdict banner stays outside it so the routing answer is always visible. @@ -339,7 +333,7 @@ def _render_html(snapshot: dict) -> str:
markdown version{github_link}
+ diff --git a/tests/test_organism_board.py b/tests/test_organism_board.py index 2ae1830..484aa63 100644 --- a/tests/test_organism_board.py +++ b/tests/test_organism_board.py @@ -90,10 +90,9 @@ def test_badge_carries_verdict_and_backlog(): def test_html_is_self_contained_with_door_chips(): out = ob.render(_snap(), "html") assert out.lstrip().startswith("") - # the header links the markdown twin and the repository front door - assert 'markdown version' in out - assert ('GitHub Page') in out + # Keep the Markdown source without the redundant repository link. + assert 'href="dashboard.md"' in out + assert 'GitHub Page' not in out assert "Use the health skill." in out and "Use the start-dev skill." in out and "data-cmd=" in out assert "src=" not in out and "