diff --git a/.changeset/dashboard-storyboard-summary-headline.md b/.changeset/dashboard-storyboard-summary-headline.md new file mode 100644 index 0000000000..12dfb12b1c --- /dev/null +++ b/.changeset/dashboard-storyboard-summary-headline.md @@ -0,0 +1,4 @@ +--- +--- + +Adds a "X / Y storyboards passing" headline element on the dashboard agent card, with a tooltip explaining that storyboard counts are the canonical compliance unit (each applicable specialism, protocol baseline, and universal check is one storyboard) and that the track pills below are the SDK's coarse roll-up. Resolves the Evgeny-shape disconnect surfaced by escalation #329: track summary showed "30/30 passing" (correctly, per the SDK's silent-track semantics) while the underlying storyboards were partial — the dashboard had no surface to communicate which number to trust. The track pills also gain a tooltip pointing readers at the Verification panel for the per-storyboard view. Follows from the adtech-product review feedback on PR #4364. diff --git a/server/public/dashboard-agents.html b/server/public/dashboard-agents.html index 75dc9df971..b8785968d3 100644 --- a/server/public/dashboard-agents.html +++ b/server/public/dashboard-agents.html @@ -121,6 +121,29 @@ margin-top: var(--space-2); } + .agent-storyboard-summary { + margin-top: var(--space-2); + display: inline-flex; + align-items: baseline; + gap: var(--space-1); + padding: var(--space-1) var(--space-2); + background: var(--color-bg-subtle); + border-radius: var(--radius-sm); + cursor: help; + } + + .agent-storyboard-summary-count { + font-size: var(--text-sm); + font-weight: var(--font-semibold); + color: var(--color-text); + font-variant-numeric: tabular-nums; + } + + .agent-storyboard-summary-label { + font-size: var(--text-xs); + color: var(--color-text-secondary); + } + .agent-tracks { display: flex; gap: 3px; @@ -1488,6 +1511,25 @@