Brand-kit previews: pixel-level harness to retire the source-regex mask regression tests #317
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#317
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?
Follow-up from the S3 brand-kit polish arc (DDR 0130, commit
eead829onprivate-standup-polish).The sign-in mono-mark fix is guarded today by tests in
app/tests/unit/foundingBrandKit.test.tsthat read the SFC source as text and regex for the mask declarations (mask-mode,mask-composite: subtract, the--mono-opaquescoping). They were shipped as an honestly-labelled stopgap: happy-dom cannot paint CSS masks, so no unit-level assertion can see the rendered pixels.These are change-detectors, not behavior tests: they pass if the whole rule is commented out, break on any refactor that moves the SCSS, and do not guard the
--mono/--mono-opaquesource-order dependency at all.Exit: a pixel-level preview harness — render the brand-kit preview panes in real Chromium (the e2e tier the e2e-testing wayfinder map #262 is charting: Playwright over both surfaces) and assert on actual rendered output (mark visible, one-colour, per format class: transparent PNG/SVG light+dark marks, JPEG, flat opaque PNG). Then delete the source-regex tests.
Gated on the #262 harness tier landing — parked from the swarm until then (
no-triage).Re-armed
ready-for-agent2026-08-27 (Ben's ruling): the gate — a Playwright e2e tier over both surfaces — exists (app/tests/e2e/*.spec.ts). Replace the source-regex mask assertions inapp/tests/unit/foundingBrandKit.test.ts:241,253,273with rendered-pixel assertions and delete the regex tests.swarm-claim host=elitebook-distributed-server-03 run=12794
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #317 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope