operator app: each health-board card wears its community's brand — logo and colours (DDR 0302) #2165
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#2165
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Each card on the operator app's health board (HB) wears its community's brand kit: the uploaded logo in place of the two-letter initials, and the community's colours on the card. Ben's ruling (2026-11-04): "full brand with colours".
Design contract:
docs/adr/0302-design-each-health-board-card-wears-its-communitys-brand.md(amends DDR 0299)docs/ux/wireframes/shell/shell-hb-health-board.html(the branded band)docs/ux/flows/shell.mermaid)Where
app/src/lib/healthBoard.ts:BoardCardgains the brand.loadBoardreads each session'sfounding.shellBrand(), independent of the probe.app/src/components/shell/HealthBoard.vue: the band, the logo, and the scoped identity colours.brand-tokensop already answers per community (DDR 0151 d.1).Acceptance criteria
Brand read. Each card reads its community's brand over that community's own
foundbridge (shellBrand). The read never waits on the control-panel probe, the probe never waits on it, and one card's slow read never holds up another card (DDR 0302 d.1).Branded in every state. A card is branded in all four status states: Checking, Reachable, Not answering and Founding paused (d.1).
The band. A band across the top of the card has the community's
--oc-accentas its ground. On it sit the logo, the name and the path line in--oc-text-on-accent. The card's one action button wears the community's accent (d.2).The logo. The uploaded logo replaces the initials chip. It is fitted inside the chip's square without cropping, and its accessible name is the community's name. With no logo, the initials chip shows on the band in the community's colours (d.5).
Scope.
--oc-accent,--oc-accent-hover,--oc-text-on-accent,--oc-secondary,--oc-text-on-secondary) are applied, and only to the card element.--oc-backgroundand--oc-status-*from a kit are never applied to the card.:root.Status never takes the brand.
--oc-status-healthydiffers from the product's and shows that the pill does not change (d.3).Fallbacks (d.6). These cases show the DDR 0299 neutral card with initials,
data-brand="default", and no error shown:A paused founding whose draft has a saved kit wears the draft's kit.
Freshness. The brand is re-read on every board load and on Refresh (d.7).
Element-ID contract.
data-field="community-brand-<id>"withdata-brand="kit|default"on the band, anddata-field="community-logo-<id>"on the logo, present only when there is one.data-field/data-status/data-actionare unchanged, and the existing board tests stay green.Tests. Seam/unit tests cover criteria 1 and 4–7. Run them over fake founding clients answering a kit with a logo, a kit without a logo, the default kit, and a rejected read.
Not in scope
:rootand the title bar (DDR 0151, unchanged).close-report for #2165 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
envelope
⏩ independent reviewer for #2165 — verdict
unauthenticatedreview JSON
close-report for #2165 — status
success✅ close-report gates passed — every claim verified against the pushed worker branch
sandcastle/worker/20261104-184050-a6fd6b(pre-land — the host promotes it tomainonly after its post-run verify, #193/#283); issue closed.envelope
🚨 Reopened — a push-mode close did NOT land on
main(#283). close-report closed this issue against the pushed worker branch, but the host's post-run verify rolled the land back (the promote did not advance main (a no-op push to main)), soorigin/mainnever carried the commits (c64c4056560f313d86c74227cb5aac7fbe3931a3). The gates-passed comment above is therefore NOT true ofmain. Reopening and relabellingready-for-sessionso the work is redone where it can land; the commits are parked on a rescue branch for triage (see this run's alarm).Close report — landed on
main(push mode).Each health-board card now wears its community's brand (DDR 0302, amends DDR 0299).
Commit:
34beb4eb— health board: each card wears its community's brand — logo + colours (#2165, DDR 0302).What landed
app/src/lib/healthBoard.ts:loadBoardgained an optionalonBrand(id, brand)stream; each session's brand is read over its ownshellBrand(thebrand-tokensop) and kicked off before the seat/probe path, so the read never waits on the probe, the probe never waits on it, and one card's slow read never holds up another. A newCardBrandrides the card model.HealthBoard.vue: a header band in the community's--oc-accent/--oc-text-on-accentcarries the logo (object-fit: contain, accessible-named for the community), the name and the path; the action button inherits the accent. No logo → the letter-mark chip (transparent + on-accent outline, the title bar's fallback).OC_IDENTITY_COLOR_VARS+identityBrandTokens(); the model carries only the five identity colours, and av-branddirective applies them via the ui-kit'sapplyBrandTokensto the card<article>alone — never--oc-background,--oc-status-*, or:root. The status pill, card border and board chrome stay on the product tokens; two kits never bleed.data-brand="default"— the neutral DDR 0299 card, no error shown. A paused founding's saved kit shows (the read is draft-first).data-field="community-brand-<id>"(data-brand="kit|default") +data-field="community-logo-<id>"(only when a logo exists). DDR 0299's existingdata-field/data-status/data-actionunchanged; the existing board tests stay green.Proof (AC 10)
app/tests/unit/healthBoard.test.ts(+10): the brand read over fake founding clients answering a kit-with-logo, a kit-without-logo, the default kit, default-colours-with-a-name, and a rejected read; plus the three independence guards (read-not-waiting-on-probe, probe-not-waiting-on-read, one hung read not holding up another).app/tests/unit/healthBoardScreen.test.ts(+4): band /data-brand/ logo rendering; the five-tokens-only scope with no bleed and nothing on:root; the pill keeps the product--oc-status-healthy; a not-answering card is branded.vue-tsc(app + ui-kit) andeslint(incl.no-bare-literal) clean; the repo's pinned pre-push lint gate passed.No helper or Go change — the
brand-tokensop already answers per community (DDR 0151 d.1).Ruled by agent under ADR 0174 — veto anytime (two-way: revertible per commit; provable by the two suites above).