"
-# The Heart's verdict in the theme's tone vocabulary. The board's own
-# `_VERDICT_STATE` stays the internal truth; this is only how it is painted.
-_VERDICT_TONE = {"red": "bad", "yellow": "warn", "stale": "warn",
- "green": "ok"}
-
_LEDE = ('Is it safe to release? See what needs attention, then copy a prompt '
'to work through it in your coding chat.')
@@ -2006,8 +2001,11 @@ def _html_reason(item: dict) -> str:
body button.copy{min-width:44px;min-height:44px;
width:auto;height:auto;padding:.55rem .8rem;white-space:normal;font-size:1rem;
overflow:visible;text-overflow:clip}
-.actions{display:flex;gap:.65rem;flex-wrap:wrap;margin:1rem 0}
-.actions button{font-weight:650}
+.score-value{display:flex;align-items:baseline;gap:.8rem;flex-wrap:wrap}
+.score-value strong{font-size:1.5rem;font-variant-numeric:tabular-nums}
+.repair{margin:0;min-width:0}
+.repair > summary{padding:.85rem 7rem .85rem 1rem;min-height:3.3rem;box-sizing:border-box}
+.repair pre{padding:0 1rem 1rem;margin:0}
.prompt-fallback pre,#copy-fallback{white-space:pre-wrap;overflow-wrap:anywhere;
max-height:24rem;overflow:auto;font-size:1rem;line-height:1.5;user-select:text}
.duration{font-weight:750;font-variant-numeric:tabular-nums;color:var(--fg)}
@@ -2113,15 +2111,17 @@ def _html_actions(board: Board) -> str:
plans = [("Fix Heart systematically", board.fix_plan or build_fix_plan(board))]
if board.stale_plan:
plans.append(("Refresh all missing evidence", board.stale_plan))
- buttons = " ".join(_copy_btn(p["prompt"], f"copy prompt: {label}", label)
- for label, p in plans)
- fallbacks = "".join(
- f'{label} — view / select prompt'
- f'
{_html.escape(plan["prompt"])}
'
- for label, plan in plans)
- return (f'
{buttons}
'
+ rows = []
+ for label, plan in plans:
+ button = _copy_btn(plan["prompt"], label, icon=True)
+ rows.append(
+ '
{_html.escape(board.vantage)} ·
{_html.escape(board.devbox_observed or ('no dev-box observation attached' if board.vantage == 'cloud snapshot' else 'observed on this dev box'))}