Excise the #316 mono-mask machinery — its one consumer (the S3 sign-in mini) went full colour under DDR 0147 #357
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#357
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?
The sign-in mini now shows the upload as a full-colour (DDR 0147), so the mono-mask chain has no renderer consumer:
sniffLogoMask/decodeRgba-mask path/encodeRgbaPngin FoundingBrandKit.vue,logoAlphaHasVariance/deriveLogoMonoMaskin lib/founding.ts, and thelogoHasAlpha/logoMaskDatawire fields (which the Go draft silently drops anyway — they were already lost on resume). The CSS chain is already excised and pinned by test. Remove the rest: component sniff, lib helpers + their tests, wire fields, wizard pass-through tests. KeepdecodeRgba— the DDR 0147 dimension gate uses it.Triage Notes
What we've established so far:
main, HEADa8a3ab5, and all remote branches). "DDR 0147" does not exist anywhere: no ADR file indocs/adr/(the latest is 0146), no commit or branch references it, andSTATUS.mdexplicitly lists 0147 as the next free/unminted number.<img>(DDR 0147)" — contradicts the most recently landed brand ruling, DDR 0145, which states the opposite: "the S3 sign-in mini wears the palette (DDR 0130's ink-only rule superseded; mono mark stands)." The component still renders the sign-in preview as a mono mask (<span class="oc-prev__logo--mono">with a livesigninMaskSrc), under a comment reading "DDR 0145 ... The mark stays a ONE-COLOUR mono mask (that part of ADR 0038 stands)." The wireframe (docs/ux/wireframes/p1-founding/p1-s3-brand-kit.html) says the same: "sign-in mini stays ink-only ... never the palette."sniffLogoMask,decodeRgba,encodeRgbaPngandlogoAlphaHasVariance/deriveLogoMonoMaskare all live and called on every logo pick — not dead code as the issue assumes.decodeRgbaexists anywhere in the codebase yet, so "keepdecodeRgbafor the DDR 0147 dimension gate" doesn't correspond to anything landed either.Removing this machinery as requested would break the currently-shipped, DDR-0145-ruled mono-mask sign-in behavior.
What we still need from you (@ben):
Ruled (Ben, 2026-08-09): yes — excise it.
needs-info→ready-for-agent. The body is the spec: remove the component sniff, the lib helpers + tests, the wire fields and wizard pass-through tests; keepdecodeRgbafor the DDR 0147 dimension gate.Done in commit
5f7231b(onorigin/main).The #316 mono-mask chain lost its last renderer consumer when DDR 0147 made the S3 sign-in mini a full-colour
<img>, so per your ruling the rest of the chain is excised:FoundingBrandKit.vue— removed the component sniff (sniffLogoMask+ itslogoChosencall,encodeRgbaPng), thelogoHasAlpha/logoMaskDatarefs, theirinput()pass-through andremoveLogoresets, and the now-unused lib imports.lib/founding.ts— removedlogoAlphaHasVariance,deriveLogoMonoMask(+ privatergbLuminanceand the alpha-floor consts) and theBrandDraft.logoHasAlpha/logoMaskDatawire fields.founding.test.tsand the alpha-verdict pass-through / Remove-clears tests infoundingWizard.test.ts; the DDR 0147 full-colour resume test stays as the pin (seed cleaned of the removed fields).Kept
decodeRgba(the DDR 0147 dimension gate reads it) andcanvas2dbeneath it.vue-tscclean; founding + foundingWizard suites green (36 tests). STATUS.md updated (#357 FIXED in header + milestone-log entry).Evidence: the four-file diff in
5f7231b; theboot.test.tsfailure seen locally is environmental (nogoon PATH in the sandbox), unrelated to this change.