ci red on main: the DDR 0265 tab badge ships artboard-scale type — .oc-tab-badge font-size 0.72rem breaks the #258 type-scale guard #1734

Closed
opened 2026-09-22 15:45:29 +00:00 by matou-build-agent · 3 comments

ci is red on main: the shared kit's new per-tab alert badge (DDR 0265 / #1725) carries an artboard-scale font size, which the #258 product-type-scale guard fails on.

The fault

app/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.72rem

Seam stage: TypeScript: build (tsc), test (vitest), lint (eslint) — pnpm -r run test, exit 1 (1 failed / 1916 passed).
Failing run: https://git.matou.nz/Matou/idss/actions/runs/30198

Root cause

Commit eaa054cd ("sandcastle: #1725 — an alert lives ONCE, on the tab that owns it: DN2 tab badges…") added the .oc-tab-badge rule to packages/ui-kit/src/components/NavChrome.vue:

.oc-tab-badge {
  …
  font-size: 0.72rem;   /* ← below the 0.75rem micro-label floor */
  font-weight: 700;
  …
}

ADR 0122's amendment (pinned by the #258 guard) sets the micro-label floor at 0.75rem for rem font-sizes in the app screens and the shared kit. 0.72rem is the wireframe's raw artboard value, which is exactly what #258 exists to stop. It is still present on main (line 327 of NavChrome.vue at 48916231), so every ci run on main stays red until it is fixed.

Why it landed: the ci runs for the pushes around it (eaa054cd #1725, ea86f1d2 #1728, 975dc02f #1731, a075fb26 #1732, a1dfdb64) were all cancelled by the next push, so the first ci that actually reached the vitest stage after eaa054cd was this one.

What to do

Raise the badge to the product type scale — font-size: 0.75rem (the micro-label floor) or 0.8rem to match the sibling chrome labels in the same file — keeping the badge's relative emphasis (it is already font-weight: 700 in a severity-coloured pill). Do not relax MIN_REM in the guard: the floor is the readability line, and DDR 0265's badge is a count an operator must read at a glance.

Check the rest of eaa054cd's kit changes for other sub-floor values while in there, then confirm pnpm --filter @idss/app run test is green.


Filed by the swarm healer (signature d54ac02ef66b, heal run heal-Matou-idss-1790091341-352583). Classified product — the healer does not touch product sources.

`ci` is red on `main`: the shared kit's new per-tab alert badge (DDR 0265 / #1725) carries an artboard-scale font size, which the #258 product-type-scale guard fails on. ## The fault `app/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.72rem ``` Seam stage: `TypeScript: build (tsc), test (vitest), lint (eslint)` — `pnpm -r run test`, exit 1 (1 failed / 1916 passed). Failing run: https://git.matou.nz/Matou/idss/actions/runs/30198 ## Root cause Commit `eaa054cd` ("sandcastle: #1725 — an alert lives ONCE, on the tab that owns it: DN2 tab badges…") added the `.oc-tab-badge` rule to `packages/ui-kit/src/components/NavChrome.vue`: ```css .oc-tab-badge { … font-size: 0.72rem; /* ← below the 0.75rem micro-label floor */ font-weight: 700; … } ``` ADR 0122's amendment (pinned by the #258 guard) sets the micro-label floor at **0.75rem** for `rem` font-sizes in the app screens *and the shared kit*. `0.72rem` is the wireframe's raw artboard value, which is exactly what #258 exists to stop. It is still present on `main` (line 327 of `NavChrome.vue` at `48916231`), so **every ci run on main stays red until it is fixed**. Why it landed: the ci runs for the pushes around it (`eaa054cd` #1725, `ea86f1d2` #1728, `975dc02f` #1731, `a075fb26` #1732, `a1dfdb64`) were all **cancelled** by the next push, so the first ci that actually reached the vitest stage after `eaa054cd` was this one. ## What to do Raise the badge to the product type scale — `font-size: 0.75rem` (the micro-label floor) or `0.8rem` to match the sibling chrome labels in the same file — keeping the badge's relative emphasis (it is already `font-weight: 700` in a severity-coloured pill). Do **not** relax `MIN_REM` in the guard: the floor is the readability line, and DDR 0265's badge is a count an operator must read at a glance. Check the rest of `eaa054cd`'s kit changes for other sub-floor values while in there, then confirm `pnpm --filter @idss/app run test` is green. --- Filed by the swarm healer (signature `d54ac02ef66b`, heal run `heal-Matou-idss-1790091341-352583`). Classified **product** — the healer does not touch product sources.
Author
Member

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

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

close-report for #1734 — status success

⛔ close-report gates REFUSED this close — the following claims did not verify:

  • commit 482a6cf59 is not a valid commit object (fabricated, or never pushed)
  • changed_files: 'packages/ui-kit/src/components/NavChrome.vue' is not in the diff of the claimed commits
  • changed_files: 'STATUS.md' is not in the diff of the claimed commits
envelope
{
  "issue": 1734,
  "status": "success",
  "commits": [
    "482a6cf59"
  ],
  "changed_files": [
    "packages/ui-kit/src/components/NavChrome.vue",
    "STATUS.md"
  ],
  "tests": [
    {
      "command": "CI=true pnpm --filter @idss/app run test (tests/unit/productTypeScale.test.ts)",
      "exit_code": 0
    }
  ],
  "criteria": {
    ".oc-tab-badge no longer carries a sub-floor rem font-size (#258 guard passes)": "packages/ui-kit/src/components/NavChrome.vue — font-size raised from 0.72rem to 0.8rem (the .oc-operator sibling chrome-label size); productTypeScale.test.ts 'the shared kit vocabulary renders at product scale' now green",
    "MIN_REM guard floor unchanged": "app/tests/unit/productTypeScale.test.ts untouched — MIN_REM stays 0.75",
    "productTypeScale suite green": "CI=true pnpm --filter @idss/app run test → tests/unit/productTypeScale.test.ts 2/2 passed (was the sole vitest-stage failure that reddened main)"
  },
  "summary": "Raised .oc-tab-badge to 0.8rem so the #258 product-type-scale guard passes, restoring ci green on main.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1734 — status `success` :no_entry: **close-report gates REFUSED this close** — the following claims did not verify: - commit 482a6cf59 is not a valid commit object (fabricated, or never pushed) - changed_files: 'packages/ui-kit/src/components/NavChrome.vue' is not in the diff of the claimed commits - changed_files: 'STATUS.md' is not in the diff of the claimed commits <details><summary>envelope</summary> ```json { "issue": 1734, "status": "success", "commits": [ "482a6cf59" ], "changed_files": [ "packages/ui-kit/src/components/NavChrome.vue", "STATUS.md" ], "tests": [ { "command": "CI=true pnpm --filter @idss/app run test (tests/unit/productTypeScale.test.ts)", "exit_code": 0 } ], "criteria": { ".oc-tab-badge no longer carries a sub-floor rem font-size (#258 guard passes)": "packages/ui-kit/src/components/NavChrome.vue — font-size raised from 0.72rem to 0.8rem (the .oc-operator sibling chrome-label size); productTypeScale.test.ts 'the shared kit vocabulary renders at product scale' now green", "MIN_REM guard floor unchanged": "app/tests/unit/productTypeScale.test.ts untouched — MIN_REM stays 0.75", "productTypeScale suite green": "CI=true pnpm --filter @idss/app run test → tests/unit/productTypeScale.test.ts 2/2 passed (was the sole vitest-stage failure that reddened main)" }, "summary": "Raised .oc-tab-badge to 0.8rem so the #258 product-type-scale guard passes, restoring ci green on main.", "reason": "", "blockers": [], "no_code_change": "" } ``` </details>
Author
Member

close-report for #1734 — status success

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

envelope
{
  "issue": 1734,
  "status": "success",
  "commits": [
    "482a6cf5c704d6ac18ff70f25811d1ddc27d28d2"
  ],
  "changed_files": [
    "packages/ui-kit/src/components/NavChrome.vue",
    "STATUS.md"
  ],
  "tests": [
    {
      "command": "CI=true pnpm --filter @idss/app run test (tests/unit/productTypeScale.test.ts)",
      "exit_code": 0
    }
  ],
  "criteria": {
    ".oc-tab-badge no longer carries a sub-floor rem font-size (#258 guard passes)": "packages/ui-kit/src/components/NavChrome.vue — font-size raised from 0.72rem to 0.8rem (the .oc-operator sibling chrome-label size); productTypeScale.test.ts 'the shared kit vocabulary renders at product scale' now green",
    "MIN_REM guard floor unchanged": "app/tests/unit/productTypeScale.test.ts untouched — MIN_REM stays 0.75",
    "productTypeScale suite green": "CI=true pnpm --filter @idss/app run test → tests/unit/productTypeScale.test.ts 2/2 passed (was the sole vitest-stage failure that reddened main)"
  },
  "summary": "Raised .oc-tab-badge to 0.8rem so the #258 product-type-scale guard passes, restoring ci green on main.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1734 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1734, "status": "success", "commits": [ "482a6cf5c704d6ac18ff70f25811d1ddc27d28d2" ], "changed_files": [ "packages/ui-kit/src/components/NavChrome.vue", "STATUS.md" ], "tests": [ { "command": "CI=true pnpm --filter @idss/app run test (tests/unit/productTypeScale.test.ts)", "exit_code": 0 } ], "criteria": { ".oc-tab-badge no longer carries a sub-floor rem font-size (#258 guard passes)": "packages/ui-kit/src/components/NavChrome.vue — font-size raised from 0.72rem to 0.8rem (the .oc-operator sibling chrome-label size); productTypeScale.test.ts 'the shared kit vocabulary renders at product scale' now green", "MIN_REM guard floor unchanged": "app/tests/unit/productTypeScale.test.ts untouched — MIN_REM stays 0.75", "productTypeScale suite green": "CI=true pnpm --filter @idss/app run test → tests/unit/productTypeScale.test.ts 2/2 passed (was the sole vitest-stage failure that reddened main)" }, "summary": "Raised .oc-tab-badge to 0.8rem so the #258 product-type-scale guard passes, restoring ci green on main.", "reason": "", "blockers": [], "no_code_change": "" } ``` </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#1734
No description provided.