From 7567628d6564ab27e24dca01a72903d03474a4c1 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Tue, 6 Oct 2026 12:33:37 +0100 Subject: [PATCH] feat: use approved organ-named dashboard heading --- heart/dashboard.py | 2 +- tests/test_dashboard_disclosures.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/heart/dashboard.py b/heart/dashboard.py index 1844c752..a0a64497 100644 --- a/heart/dashboard.py +++ b/heart/dashboard.py @@ -2377,7 +2377,7 @@ def _render_html(board: Board) -> str: panel = t_.orchestration_panel( "heart", "Fix Heart systematically", "", (board.fix_plan or build_fix_plan(board))["prompt"], - work_links=work_links, copy_label="Fix Heart systematically") + work_links=work_links, copy_label="Fix Heart systematically", organ="heart") return f""" diff --git a/tests/test_dashboard_disclosures.py b/tests/test_dashboard_disclosures.py index c87596fd..1143311e 100644 --- a/tests/test_dashboard_disclosures.py +++ b/tests/test_dashboard_disclosures.py @@ -132,7 +132,7 @@ def test_score_and_resusitate_sections_keep_breakdown_and_readiness(): ('validation_absent', 15)]] root = Page(dashboard._render_html(board)).root headings = [h.text() for h in root.find('h2')] - assert headings == ['Fix Heart systematically', 'Observed checks', 'Score', 'Evidence gaps (3)'] + assert headings == ['Keep your Heart healthy', 'Observed checks', 'Score', 'Evidence gaps (3)'] score = next(s for s in root.find('section') if s.attrs.get('aria-labelledby') == 'score-heading') assert '65/100' in score.text() and 'Release readiness: STALE' in score.text()