CI red on main: the UI pass's .oc-system-alert type breaks the #258 product-type-scale guard (0.72em / 0.82em under ADR 0122's 0.85em floor) #1446
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#1446
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?
CI is red on
main—ci/ stage TypeScript: build (tsc), test (vitest), lint (eslint) exits 1 on every push until this is fixed.The fault
app/tests/unit/productTypeScale.test.ts(the #258 source-scan guard for ADR 0122's type-scale amendment) fails on its second case, "the shared kit vocabulary renders at product scale":Root cause
Commit
606531a0("control panel: the UI pass Ben drove through the browser harness…") added the new.oc-system-alertvocabulary topackages/ui-kit/src/baseLayer.csswith twoemsizes below the ADR 0122 floor of0.85em:.oc-system-alert__label { font-size: 0.72em }— the tier's own word, commented "small and in the tier's ink" (Ben, 2026-09-11).oc-system-alert__action { font-size: 0.82em }ADR 0122 (
docs/adr/0122-design-operator-app-wears-the-matou-visual-language.md, lines 99–127): micro-labels never below0.75rem;emsizes compound, so they floor at0.85em≈ 12px on a product-scale parent. The guard exists precisely because the #183 Phase A rehearsal found the app rendering artboard-scale (~10px) copy.A full scan of the guard's file set at
origin/main(3b7c37cf) finds exactly these two offenders — no app-screen offenders, no other kit files.The decision this needs
Two ways out, and it is a design ruling, not a mechanical fix:
0.72em → 0.85emand0.82em → 0.85em(or express them inremoff the 14px root), keeping the ADR invariant intact. The alert label would read slightly larger than Ben drew it in the harness.Default to (1) unless the harness pass is re-driven and Ben rules otherwise; (2) must not be done by widening
MIN_EMglobally — that would retire the guard.Evidence
d54ac02ef66b, heal runheal-Matou-idss-1789228118-3554471, ci run https://git.matou.nz/Matou/idss/actions/runs/22604606531a09ca03c5b63b50965c0bf4dd6b4fef089app/tests/unit/productTypeScale.test.ts(added by8fecef51, #258)Filed by the swarm healer — product-class fault, so no code was changed by the healer.
Recurrence — same fault, next push.
cirun 22611 on62e1ba47("sandcastle: #1437 — compose the catalogue READ on a resting gateway…") fails identically:Nothing has changed at
origin/main:baseLayer.css:695(.oc-system-alert__label,0.72em) and:733(.oc-system-alert__action,0.82em) are still the only two offenders across the guard's file set — the app-screen case still passes.Note for whoever picks this up: runs 22592/22595/22600/22604 were all cancelled by the next push, so 22611 is the first run since
ddb97900to actually surface it.mainhas been red since606531a0and every subsequent push inherits it — this blocks the merge gate, which is why it carriespriority.Heal signature
d54ac02ef66b(2nd occurrence), heal runheal-Matou-idss-1789228653-3583740. No repair attempted: the fix is product code inpackages/ui-kit/and needs the design ruling in the body above.swarm-claim host=matou-dev-server-01 run=22588
(automated multi-host claim — lowest live claim id works this ticket)
Ruled by agent under ADR 0174 — veto anytime.
Ruling: Took option (1) from the body — raised both
emsizes inpackages/ui-kit/src/baseLayer.cssto the ADR 0122 floor of0.85em:.oc-system-alert__label0.72em → 0.85em.oc-system-alert__action0.82em → 0.85emDid NOT touch
MIN_EMor amend ADR 0122.Why this is a two-way door: it is a CSS value change, fully revertible by a later commit, and the design invariant is unchanged. ADR 0122's mapping (line 114) already places micro-labels — uppercase bold labels like
__label— at exactly0.85em, so this is the value the ADR prescribes, not a loosening. Option (2) (amending the ADR for a system-alert exception) is the one-way-ish design call and is explicitly gated behind a re-driven harness pass + Ben's ruling; I did not take it.What proves it:
app/tests/unit/productTypeScale.test.ts(the #258 guard) now passes both cases —Test Files 1 passed (1), Tests 2 passed (2). If Ben re-drives the harness and wants the label smaller, this is revertible in favour of a narrow ADR 0122 allowance.close-report for #1446 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope