diff --git a/scripts/board.py b/scripts/board.py index a64d279c..91cd536f 100644 --- a/scripts/board.py +++ b/scripts/board.py @@ -753,7 +753,7 @@ def _render_html(snap: dict) -> str: "") gh = repo_url(snap) gh_link = f' ยท GitHub' if gh else "" - return f""" + return t_.section_layout(f""" PyAutoGut Dashboard @@ -776,7 +776,7 @@ def _render_html(snap: dict) -> str: {_esc(snap.get('generated') or '?')}. -""" +""") # --- badge / state -------------------------------------------------------------- diff --git a/tests/fixtures/brain/board/_theme.py b/tests/fixtures/brain/board/_theme.py index fa09572e..6eff66ce 100644 --- a/tests/fixtures/brain/board/_theme.py +++ b/tests/fixtures/brain/board/_theme.py @@ -32,3 +32,8 @@ def prompt_heading(key): def orchestration_panel(key, title, description, prompt, **kwargs): import html return '
' + html.escape(prompt) + '
' + + +def section_layout(page, summaries=None): + """Stand-in for Brain's HTML-only layout adapter.""" + return page