diff --git a/autohands/board.py b/autohands/board.py index 3074120f..40dd7062 100644 --- a/autohands/board.py +++ b/autohands/board.py @@ -3,10 +3,8 @@ A phone-readable record of **what the Hands shipped**: the released library versions (from git tags โ€” the authoritative record; version stamps are build-tree-only and never committed), their PyPI liveness, the release train's -recent runs, and the nightly driver's outcomes. Every actionable item carries -a one-tap ๐Ÿ“‹ copy block holding the AI assistant prompt that drives it -(``Use the release skill.``, ``Use the release skill. rehearse``, ``Use the release skill. validate``, ``Use the build skill.``; a -failed train run copies a ``Use the bug skill.`` prompt with its run URL). +recent runs, and the nightly driver's outcomes. The check-in prompt is the +entry point for release work; a failed train run retains its targeted bug prompt. **Boundary.** Hands is a pure executor, so this board is a *past-tense record of execution* โ€” never a verdict, a score, or a gate. "Is it safe to release?" @@ -99,15 +97,6 @@ def theme(): TRAIN_RUNS_SHOWN = 14 NIGHTLY_RUNS_SHOWN = 10 -# The one-tap chips: the skill doors that drive the Hands. Payload is -# what ๐Ÿ“‹ copies into the clipboard, ready to paste into an AI assistant chat. -ACTION_CHIPS = ( - ("release", "Use the release skill."), - ("rehearse", "Use the release skill. rehearse"), - ("validate", "Use the release skill. validate"), - ("build", "Use the build skill."), -) - CHECKIN_PROMPT = ( "Use the release skill and treat this chat as an ongoing place to manage {owner} " "release work. Read PyAutoHands/AGENTS.md and inspect current release-train, nightly, " @@ -496,10 +485,6 @@ def _render_html(snapshot: dict) -> str: latest = _latest(snapshot) head = (f"{_html.escape(latest['version'])}" if latest else "unavailable") head_age = _age(latest.get("date")) if latest else "" - chips = " ".join( - f"{_html.escape(label)} {_copy_btn(payload, f'copy {payload}')}" - for label, payload in ACTION_CHIPS - ) lib_rows = [] for l in snapshot.get("libraries") or []: cls = _PYPI_CLS.get(str(l.get("pypi")), "unobs") @@ -546,7 +531,6 @@ def _render_html(snapshot: dict) -> str: items = "".join(f"
  • {_html.escape(e)}
  • " for e in snapshot["errors"]) errors = (f"

    unavailable this " f"render:

    ") - heart = _heart_board_url(snapshot) hero = t_.hero(BOARD_KEY, "Dashboard", _LEDE, navigation=[ {"href": "#libraries", "label": "Libraries", "count": len(snapshot["libraries"]) if snapshot.get("libraries") is not None and not snapshot.get("errors") else None}, @@ -575,9 +559,7 @@ def _render_html(snapshot: dict) -> str: {hero} {panel}

    {head}{head_age}

    -

    Heart ยท -markdown version

    -

    {chips}

    +

    markdown version

    Libraries

    {''.join(lib_rows)}

    Release train

    diff --git a/tests/test_board.py b/tests/test_board.py index 20670686..490cbcca 100644 --- a/tests/test_board.py +++ b/tests/test_board.py @@ -73,9 +73,8 @@ def test_failed_train_run_carries_a_bug_prompt(): assert "data-cmd=" in html # the shared copy handler's payload hook assert "Use the bug skill. Release train: SomeHands release.yml run failed on 2026-06-01" in html assert "https://ci.invalid/runs/1" in html - # the action chips are present too - for _, payload in board.ACTION_CHIPS: - assert payload in html + assert "orchestration-hands-prompt" in html + assert "release" not in html def test_degraded_sections_say_unavailable_never_fabricate(): @@ -327,8 +326,7 @@ def test_orchestration_panel_uses_executor_remote_and_preserves_actions(): assert page.index('class="board-nav"') > page.index('id="orchestration-hands"') assert page.index('id="orchestration-hands"') < page.index('

    ') assert board.theme().prompt_heading("hands", heading_id="orchestration-hands-heading") in page - for _, payload in board.ACTION_CHIPS: - assert html_module.escape(payload, quote=True) in page + assert "" not in page assert html_module.escape(board._bug_prompt(SNAP, SNAP["train"][1]), quote=True) in page