ci red on main: NavChrome .oc-cpill ships a 0.68rem artboard-scale font-size, tripping the #258 product type scale guard #1960

Closed
opened 2026-09-28 06:05:23 +00:00 by matou-build-agent · 2 comments

Main is red: a sub-product-scale font-size shipped into the shared kit

ci run https://git.matou.nz/Matou/idss/actions/runs/34788 fails at stage
TypeScript: build (tsc), test (vitest), lint (eslint), exit 1 —
1 failed / 2154 passed:

FAIL tests/unit/productTypeScale.test.ts > product type scale (#258 — no artboard-scale type survives) > the shared kit vocabulary renders at product scale
AssertionError: kit vocabulary still carrying artboard-scale font-size (rem<0.75 / em<0.85):
  packages/ui-kit/src/components/NavChrome.vue: font-size: 0.68rem

Root cause

Commit d8779590 ("sandcastle: #1952 — administrator 4/8", ADR 0286 d.1/d.2)
added the AC-A1 identity line to NavChrome.vue, including a new credential
pill rule at packages/ui-kit/src/components/NavChrome.vue:469-477:

.oc-cpill {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid var(--oc-accent, currentColor);
  font-size: 0.68rem;   /* < MIN_REM 0.75 → guard trips */
  font-weight: 700;
  letter-spacing: 0.02em;
}

0.68rem is below the MIN_REM = 0.75 product-scale floor that
app/tests/unit/productTypeScale.test.ts enforces over every
packages/ui-kit/src/components/*.vue plus baseLayer.css (#258).

Its own siblings in the same file already sit at product scale — the
.oc-identity-line it lives inside is 0.8rem, and the nearest small-caps
vocabulary is 0.78rem (line 451). So 0.68rem is an artboard-scale
miniature, exactly the class of regression #1734 / 482a6cf5 closed for the
DDR 0265 tab badge (0.72rem).

Fix

Raise .oc-cpill's font-size to product scale (0.75rem floor; 0.78rem
matches the existing pill/caps vocabulary in this file) and keep the pill
legible against the 0.8rem identity line. Re-run
pnpm --filter @idss/app test to confirm the guard is green.

Why it slipped past the worker

The guard lives in app/tests/unit/ but scans packages/ui-kit/src/. A
worker that touches only packages/ui-kit + dashboard and runs (as
d8779590's message records) "controlapi + full ui-kit + full dashboard unit
suites" never executes it — the cross-package guard only fires in ci. Worth
a follow-up so kit-touching work runs the app-side type-scale guard locally,
but the red above is fixed by the one-line change.


Filed by the swarm healer — heal run heal-Matou-idss-1790575452-2339143,
signature d54ac02ef66b. Evidence: run-verdict.txt in the incident directory.

## Main is red: a sub-product-scale font-size shipped into the shared kit `ci` run https://git.matou.nz/Matou/idss/actions/runs/34788 fails at stage **TypeScript: build (tsc), test (vitest), lint (eslint)**, exit 1 — 1 failed / 2154 passed: ``` FAIL tests/unit/productTypeScale.test.ts > product type scale (#258 — no artboard-scale type survives) > the shared kit vocabulary renders at product scale AssertionError: kit vocabulary still carrying artboard-scale font-size (rem<0.75 / em<0.85): packages/ui-kit/src/components/NavChrome.vue: font-size: 0.68rem ``` ### Root cause Commit `d8779590` ("sandcastle: #1952 — administrator 4/8", ADR 0286 d.1/d.2) added the AC-A1 identity line to `NavChrome.vue`, including a new credential pill rule at `packages/ui-kit/src/components/NavChrome.vue:469-477`: ```css .oc-cpill { display: inline-block; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--oc-accent, currentColor); font-size: 0.68rem; /* < MIN_REM 0.75 → guard trips */ font-weight: 700; letter-spacing: 0.02em; } ``` `0.68rem` is below the `MIN_REM = 0.75` product-scale floor that `app/tests/unit/productTypeScale.test.ts` enforces over every `packages/ui-kit/src/components/*.vue` plus `baseLayer.css` (#258). Its own siblings in the same file already sit at product scale — the `.oc-identity-line` it lives inside is `0.8rem`, and the nearest small-caps vocabulary is `0.78rem` (line 451). So `0.68rem` is an artboard-scale miniature, exactly the class of regression #1734 / `482a6cf5` closed for the DDR 0265 tab badge (`0.72rem`). ### Fix Raise `.oc-cpill`'s `font-size` to product scale (`0.75rem` floor; `0.78rem` matches the existing pill/caps vocabulary in this file) and keep the pill legible against the `0.8rem` identity line. Re-run `pnpm --filter @idss/app test` to confirm the guard is green. ### Why it slipped past the worker The guard lives in `app/tests/unit/` but scans `packages/ui-kit/src/`. A worker that touches only `packages/ui-kit` + `dashboard` and runs (as `d8779590`'s message records) "controlapi + full ui-kit + full dashboard unit suites" never executes it — the cross-package guard only fires in `ci`. Worth a follow-up so kit-touching work runs the app-side type-scale guard locally, but the red above is fixed by the one-line change. --- Filed by the swarm healer — heal run `heal-Matou-idss-1790575452-2339143`, signature `d54ac02ef66b`. Evidence: run-verdict.txt in the incident directory.
Author
Member

swarm-claim host=bens-mac-04 run=34795
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=bens-mac-04 run=34795 (automated multi-host claim — lowest live claim id works this ticket)
Author
Member

close-report for #1960 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1960,
  "status": "success",
  "commits": [
    "20eb1507"
  ],
  "changed_files": [
    "packages/ui-kit/src/components/NavChrome.vue"
  ],
  "tests": [
    {
      "command": "cd app && CI=true npx vitest run tests/unit/productTypeScale.test.ts",
      "exit_code": 0
    }
  ],
  "criteria": {
    "the shared kit vocabulary renders at product scale (#258 guard green)": ".oc-cpill font-size raised 0.68rem→0.78rem in packages/ui-kit/src/components/NavChrome.vue:474; productTypeScale.test.ts 2 tests pass (exit 0)"
  },
  "summary": "Raised NavChrome .oc-cpill font-size from artboard-scale 0.68rem to product-scale 0.78rem so the #258 type-scale guard is green on main.",
  "blockers": []
}
**close-report** for #1960 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1960, "status": "success", "commits": [ "20eb1507" ], "changed_files": [ "packages/ui-kit/src/components/NavChrome.vue" ], "tests": [ { "command": "cd app && CI=true npx vitest run tests/unit/productTypeScale.test.ts", "exit_code": 0 } ], "criteria": { "the shared kit vocabulary renders at product scale (#258 guard green)": ".oc-cpill font-size raised 0.68rem→0.78rem in packages/ui-kit/src/components/NavChrome.vue:474; productTypeScale.test.ts 2 tests pass (exit 0)" }, "summary": "Raised NavChrome .oc-cpill font-size from artboard-scale 0.68rem to product-scale 0.78rem so the #258 type-scale guard is green on main.", "blockers": [] } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#1960
No description provided.