operator app: after hand-off the shell does not wear the community's brand kit until a stack card is clicked #2191
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#2191
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 happened
tu-ia, app 2026.11.3430, after the hand-off finished (founding state scrubbed 2026-11-10 23:00): the operator app shell does not wear the community's brand kit — it shows the default look — until Ben clicks a piece of the stack on the health board, which then paints.
Leads
internal/founding/preview.goShellBrandserves the draft's kit while a draft exists, then falls back too.communityBrand(the config-repo header). After the scrub there is no draft, so this depends on the community-brand reader being wired and on the shell re-asking.app/src/lib/shellBrand.tsdresses:rootat boot and from the wizard's previews; the health board (HealthBoard.vue) paints the brand scoped to its own element viaapplyBrandTokens(tokens, el). That matches the symptom: the card paints, the shell does not.Related: #237, DDR 0151, DDR 0302.
Agent Brief
Category: bug
Summary: After hand-off, the operator-app shell shows the default look instead of the community's brand kit until a stack card is clicked. Re-dress the shell when the seat becomes operator(community) / when the founding ends, and after the community-brand source is readable.
Current behavior:
After the hand-off finishes (the founding draft is scrubbed), the shell wears the default look. Clicking a piece of the stack on the health board paints the brand — because
HealthBoard.vueapplies the brand scoped to its own element viaapplyBrandTokens(tokens, el)— but the shell itself (:root) is never re-dressed, so the window chrome stays default.Why:
dressShell(app/src/lib/shellBrand.ts) dresses:rootat boot and from the wizard's previews.internal/founding.ShellBrandserves the draft's kit while a draft exists, then falls back to the community-brand reader (the config-repo header) once the draft is gone. After the scrub there is no draft, so the shell brand depends on (a) the community-brand reader being wired and readable, and (b) the shell re-asking. The boot dress either ran before the community-brand source was readable, or the shell is simply never re-dressed when the founding ends (draft → scrubbed). The card paints (own-element scope) while the shell does not — exactly the symptom.Desired behavior:
When the seat transitions to operator(community) — i.e. a founding ends and its draft is scrubbed — the shell is re-dressed from the community brand (
ShellBrandfalling back to the config-repo community brand), so the window wears the community's kit without the operator having to click a stack card. If the community-brand source is not yet readable at boot, the shell re-dresses once it becomes readable rather than being stuck on the default look.Key interfaces:
dressShell(foundingClient, brand)(app/src/lib/shellBrand.ts) — the function that applies brand tokens to:root. It is called at boot and from the shell; it needs to also run on the seat change to operator(community) / when the active founding clears.activeFounding/ seat the shell watches) — add a re-dress when the seat changes to operator(community).internal/founding.ShellBrand— serves the draft's kit while a draft exists, else the config-repocommunityBrand. No change expected unless the community-brand reader is found to be unwired on this path (verify it returns the community kit after scrub).Acceptance criteria:
:rootbrand tokens applied from the community brand) when the seat changes to operator(community) / the active founding clears, without a stack-card click.applyBrandTokens(tokens, el), DDR 0302) is unchanged — the card still paints its own community's brand; this fixes only the shell-level dress.vue-tsc, eslint clean.Out of scope:
ShellBrand's draft-first precedence (the wizard preview must still win while a draft exists, DDR 0151).Ruled by agent under ADR 0174 — veto anytime.
Ruling:
ready-for-agent. Two-way door: re-dressing the shell on a seat change is additive, revertible per commit, and proven by the unit test named above. Not on the one-way-door list — purely cosmetic shell theming, no credentials, no security posture, no member-facing trust accept, no data destruction, no spend. The design contract (DDR 0151 / DDR 0302) already exists, so noneeds-designgate applies.swarm-claim host=matou-dev-server-01 run=63574
(automated multi-host claim — lowest live claim id works this ticket)
⏩ independent reviewer for #2191 — verdict
unauthenticatedreview JSON
close-report for #2191 — status
success✅ close-report gates passed — every claim verified against the pushed worker branch
sandcastle/worker/20261111-124446-e72d38(pre-land — the host promotes it tomainonly after its post-run verify, #193/#283); issue closed.envelope
The close-report above closed this against worker branch
sandcastle/worker/20261111-124446-e72d38, but the land never reachedmain(main sat at4e31fe43from 2026-11-11 13:03 UTC to 2026-11-16 with no reopen notice — the #283 shape, unflagged). Merged by hand at Ben's request:8c0fc34bon main carriesc089f567.tests/unit/appShell.test.ts23/23 andvue-tsc --noEmitclean on the merge. Not yet seen in a built app.