founding: FoundingIdipExplainer.vue ships 0.72rem artboard-scale type — the #258 guard reds main #1041

Closed
opened 2026-08-30 17:20:07 +00:00 by matou-build-agent · 3 comments

ci.yml on main (run 14656, head 5f25a09c) is red at the TypeScript: build (tsc), test (vitest), lint (eslint) stage. main is currently broken for every downstream push gate.

The fault

app/tests/unit/productTypeScale.test.ts — the #258 source-scan guard on the ADR 0122 amendment type scale — fails:

FAIL tests/unit/productTypeScale.test.ts > product type scale (#258 — no artboard-scale type survives)
     > no operator-app screen scoped style renders below product scale
AssertionError: app screens still carrying artboard-scale font-size (rem<0.75 / em<0.85):
  app/src/components/founding/FoundingIdipExplainer.vue: font-size: 0.72rem
  app/src/components/founding/FoundingIdipExplainer.vue: font-size: 0.72rem
Tests  1 failed | 1187 passed (1188)

ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @idss/app@0.1.0 test: vitest run, exit 1.

Root cause

Commit 5f25a09c — "founding: the S3a IDIP card links a 'What is IDIP?' explainer sub-view" — added app/src/components/founding/FoundingIdipExplainer.vue, whose scoped <style> carries two declarations below the 0.75rem micro-label floor:

  • line 438 — &__eyebrow { … font-size: 0.72rem; }
  • line 543 — thead th { … font-size: 0.72rem; } (the kanidm comparison table head)

Both are uppercase, letter-spaced micro-labels lifted at the wireframes' raw artboard values. ADR 0122's amendment is explicit: take the wireframes' ratios, never their raw values; the floor is 0.75rem (≥10.5px at a 14px root).

This is the exact regression class the #258 guard exists to catch — a new screen carrying artboard-scale type. The guard did its job; the component needs fixing.

What to do

Raise both 0.72rem declarations to the product micro-label scale (0.75rem, or the kit's existing micro-label token if one applies — the sibling declarations in the same file already sit at 0.8rem/0.85rem). Keep the visual hierarchy: the eyebrow and the table head should stay the smallest thing on the sub-view, just at or above the readability line.

Out of scope / not a defect: the 12.5px / 11px / 11.5px declarations at lines 616–630 are SVG diagram label classes (.dt, .dts, .dtm, fill: currentColor), deliberately outside the guard's rem/em scan.

Acceptance criteria

  • pnpm --filter @idss/app test is green — specifically tests/unit/productTypeScale.test.ts both cases pass.
  • No font-size below 0.75rem (rem) or 0.85em (em) in any app/src/components/**/*.vue scoped style.
  • The S3a explainer sub-view still renders its eyebrow and comparison-table head as distinct micro-labels (the foundingWizard.test.ts explainer round-trip stays green — raise, read, Back, selection intact, zero seam ops).

Filed by the swarm healer. Incident signature 2b6783a3ce4d; evidence run-verdict.txt in /tmp/matou-heal-Matou-idss.Nj9vZs. Classified product — the healer does not touch product code.

`ci.yml` on `main` (run [14656](https://git.matou.nz/Matou/idss/actions/runs/14656), head `5f25a09c`) is **red** at the *TypeScript: build (tsc), test (vitest), lint (eslint)* stage. `main` is currently broken for every downstream push gate. ## The fault `app/tests/unit/productTypeScale.test.ts` — the #258 source-scan guard on the ADR 0122 amendment type scale — fails: ``` FAIL tests/unit/productTypeScale.test.ts > product type scale (#258 — no artboard-scale type survives) > no operator-app screen scoped style renders below product scale AssertionError: app screens still carrying artboard-scale font-size (rem<0.75 / em<0.85): app/src/components/founding/FoundingIdipExplainer.vue: font-size: 0.72rem app/src/components/founding/FoundingIdipExplainer.vue: font-size: 0.72rem Tests 1 failed | 1187 passed (1188) ``` `ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @idss/app@0.1.0 test: vitest run`, exit 1. ## Root cause Commit `5f25a09c` — *"founding: the S3a IDIP card links a 'What is IDIP?' explainer sub-view"* — added `app/src/components/founding/FoundingIdipExplainer.vue`, whose scoped `<style>` carries two declarations below the 0.75rem micro-label floor: - **line 438** — `&__eyebrow { … font-size: 0.72rem; }` - **line 543** — `thead th { … font-size: 0.72rem; }` (the kanidm comparison table head) Both are uppercase, letter-spaced micro-labels lifted at the wireframes' raw artboard values. ADR 0122's amendment is explicit: take the wireframes' **ratios, never their raw values**; the floor is `0.75rem` (≥10.5px at a 14px root). This is the exact regression class the #258 guard exists to catch — a new screen carrying artboard-scale type. The guard did its job; the component needs fixing. ## What to do Raise both `0.72rem` declarations to the product micro-label scale (`0.75rem`, or the kit's existing micro-label token if one applies — the sibling declarations in the same file already sit at `0.8rem`/`0.85rem`). Keep the visual hierarchy: the eyebrow and the table head should stay the smallest thing on the sub-view, just at or above the readability line. **Out of scope / not a defect:** the `12.5px` / `11px` / `11.5px` declarations at lines 616–630 are SVG diagram label classes (`.dt`, `.dts`, `.dtm`, `fill: currentColor`), deliberately outside the guard's `rem`/`em` scan. ## Acceptance criteria - `pnpm --filter @idss/app test` is green — specifically `tests/unit/productTypeScale.test.ts` both cases pass. - No `font-size` below `0.75rem` (rem) or `0.85em` (em) in any `app/src/components/**/*.vue` scoped style. - The S3a explainer sub-view still renders its eyebrow and comparison-table head as distinct micro-labels (the `foundingWizard.test.ts` explainer round-trip stays green — raise, read, Back, selection intact, zero seam ops). --- *Filed by the swarm healer. Incident signature `2b6783a3ce4d`; evidence `run-verdict.txt` in `/tmp/matou-heal-Matou-idss.Nj9vZs`. Classified **product** — the healer does not touch product code.*
Author
Member

swarm-claim host=matou-dev-server-01 run=14673
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=14673 (automated multi-host claim — lowest live claim id works this ticket)
Author
Member

close-report for #1041 — status success

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

  • commit e55fc5f14 is not a valid commit object (fabricated, or never pushed)
  • changed_files: 'app/src/components/founding/FoundingIdipExplainer.vue' is not in the diff of the claimed commits
envelope
{
  "issue": 1041,
  "status": "success",
  "commits": [
    "e55fc5f14"
  ],
  "changed_files": [
    "app/src/components/founding/FoundingIdipExplainer.vue"
  ],
  "tests": [
    {
      "command": "CI=true pnpm --filter @idss/app exec vitest run tests/unit/productTypeScale.test.ts tests/unit/foundingWizard.test.ts",
      "exit_code": 0
    }
  ],
  "criteria": {
    "pnpm --filter @idss/app test is green — productTypeScale.test.ts both cases pass": "vitest run of productTypeScale.test.ts: 2 tests passed (exit 0); the only remaining suite failure in the full run is boot.test.ts's pre-existing `spawnSync go ENOENT` env issue, unrelated to this slice",
    "No font-size below 0.75rem (rem) or 0.85em (em) in any app/src/components/**/*.vue scoped style": "commit e55fc5f1 raised both 0.72rem declarations (&__eyebrow, thead th) to 0.75rem; productTypeScale guard scans all app .vue and passes",
    "S3a explainer sub-view still renders eyebrow and comparison-table head as distinct micro-labels (foundingWizard.test.ts explainer round-trip green)": "foundingWizard.test.ts: 41 tests passed (exit 0); eyebrow/thead remain the smallest declarations at 0.75rem vs sibling 0.8/0.85rem"
  },
  "summary": "Raised the S3a IDIP explainer's eyebrow and comparison-table head from the wireframe's raw 0.72rem to the 0.75rem micro-label floor, greening the #258 type-scale guard on main.",
  "blockers": []
}
**close-report** for #1041 — status `success` :no_entry: **close-report gates REFUSED this close** — the following claims did not verify: - commit e55fc5f14 is not a valid commit object (fabricated, or never pushed) - changed_files: 'app/src/components/founding/FoundingIdipExplainer.vue' is not in the diff of the claimed commits <details><summary>envelope</summary> ```json { "issue": 1041, "status": "success", "commits": [ "e55fc5f14" ], "changed_files": [ "app/src/components/founding/FoundingIdipExplainer.vue" ], "tests": [ { "command": "CI=true pnpm --filter @idss/app exec vitest run tests/unit/productTypeScale.test.ts tests/unit/foundingWizard.test.ts", "exit_code": 0 } ], "criteria": { "pnpm --filter @idss/app test is green — productTypeScale.test.ts both cases pass": "vitest run of productTypeScale.test.ts: 2 tests passed (exit 0); the only remaining suite failure in the full run is boot.test.ts's pre-existing `spawnSync go ENOENT` env issue, unrelated to this slice", "No font-size below 0.75rem (rem) or 0.85em (em) in any app/src/components/**/*.vue scoped style": "commit e55fc5f1 raised both 0.72rem declarations (&__eyebrow, thead th) to 0.75rem; productTypeScale guard scans all app .vue and passes", "S3a explainer sub-view still renders eyebrow and comparison-table head as distinct micro-labels (foundingWizard.test.ts explainer round-trip green)": "foundingWizard.test.ts: 41 tests passed (exit 0); eyebrow/thead remain the smallest declarations at 0.75rem vs sibling 0.8/0.85rem" }, "summary": "Raised the S3a IDIP explainer's eyebrow and comparison-table head from the wireframe's raw 0.72rem to the 0.75rem micro-label floor, greening the #258 type-scale guard on main.", "blockers": [] } ``` </details>
Author
Member

close-report for #1041 — status success

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

envelope
{
  "issue": 1041,
  "status": "success",
  "commits": [
    "e55fc5f161171bc370a5839018be5b2c76970a79"
  ],
  "changed_files": [
    "app/src/components/founding/FoundingIdipExplainer.vue"
  ],
  "tests": [
    {
      "command": "CI=true pnpm --filter @idss/app exec vitest run tests/unit/productTypeScale.test.ts tests/unit/foundingWizard.test.ts",
      "exit_code": 0
    }
  ],
  "criteria": {
    "pnpm --filter @idss/app test is green — productTypeScale.test.ts both cases pass": "vitest run of productTypeScale.test.ts: 2 tests passed (exit 0); the only remaining suite failure in the full run is boot.test.ts's pre-existing `spawnSync go ENOENT` env issue, unrelated to this slice",
    "No font-size below 0.75rem (rem) or 0.85em (em) in any app/src/components/**/*.vue scoped style": "commit e55fc5f1 raised both 0.72rem declarations (&__eyebrow, thead th) to 0.75rem; productTypeScale guard scans all app .vue and passes",
    "S3a explainer sub-view still renders eyebrow and comparison-table head as distinct micro-labels (foundingWizard.test.ts explainer round-trip green)": "foundingWizard.test.ts: 41 tests passed (exit 0); eyebrow/thead remain the smallest declarations at 0.75rem vs sibling 0.8/0.85rem"
  },
  "summary": "Raised the S3a IDIP explainer's eyebrow and comparison-table head from the wireframe's raw 0.72rem to the 0.75rem micro-label floor, greening the #258 type-scale guard on main.",
  "blockers": []
}
**close-report** for #1041 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1041, "status": "success", "commits": [ "e55fc5f161171bc370a5839018be5b2c76970a79" ], "changed_files": [ "app/src/components/founding/FoundingIdipExplainer.vue" ], "tests": [ { "command": "CI=true pnpm --filter @idss/app exec vitest run tests/unit/productTypeScale.test.ts tests/unit/foundingWizard.test.ts", "exit_code": 0 } ], "criteria": { "pnpm --filter @idss/app test is green — productTypeScale.test.ts both cases pass": "vitest run of productTypeScale.test.ts: 2 tests passed (exit 0); the only remaining suite failure in the full run is boot.test.ts's pre-existing `spawnSync go ENOENT` env issue, unrelated to this slice", "No font-size below 0.75rem (rem) or 0.85em (em) in any app/src/components/**/*.vue scoped style": "commit e55fc5f1 raised both 0.72rem declarations (&__eyebrow, thead th) to 0.75rem; productTypeScale guard scans all app .vue and passes", "S3a explainer sub-view still renders eyebrow and comparison-table head as distinct micro-labels (foundingWizard.test.ts explainer round-trip green)": "foundingWizard.test.ts: 41 tests passed (exit 0); eyebrow/thead remain the smallest declarations at 0.75rem vs sibling 0.8/0.85rem" }, "summary": "Raised the S3a IDIP explainer's eyebrow and comparison-table head from the wireframe's raw 0.72rem to the 0.75rem micro-label floor, greening the #258 type-scale guard 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#1041
No description provided.