dashboard: BrandKit apply and preview failures show stale-green #301
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#301
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?
dashboard/src/components/shell/BrandKitScreen.vue:onApplyis try/finally with no catch: a failed apply resetsapplyingso the button re-enables, emits noapplied, shows nothing — the kit appears not to save with no explanation.void props.seam.compilePreview(…).then(…)/.validate(…).then(…)with no.catch: a failure leaves the preview and coverage report rendering the previous kit's tokens — stale-green on a live preview.Acceptance
Filed from the 2026-08-05 fail-loud audit (three-agent pre-production sweep; findings verified against code).
Fixed in
1e481c9(on origin/main).BrandKitScreen.vuenow fails loud on both paths:useAsyncGuard— a failed apply rendersOcErrorState(data-status="brand-kit-apply-error") with an Apply-again retry and emits noapplied; itsbusyalso guards the double-submit the oldapplyingflag did.compilePreviewNow/validateNow); on rejection a stale marker is set and a singleOcErrorState(data-status="preview-stale", Recompile retry) renders over the preview column, so the previous kit's tokens are never passed off as fresh. Each marker clears on its own next success.Red-first Vitest in
brandKitTheming.test.ts(+4): failed apply ⇒ error + retry, noapplied; failed compile-preview ⇒ stale; failed validate ⇒ stale; retry recompiles clean ⇒ stale clears. Full dashboard suite 947 green,vue-tsc+ eslint clean.