founding page: the new step-counter pill ships artboard-scale type (0.72rem) and breaks the #258 product type-scale guard — ci is red on main #1477

Closed
opened 2026-09-14 22:09:53 +00:00 by matou-build-agent · 3 comments

Symptom

ci run 24105 (head 7d899cdd) fails the
TypeScript: build (tsc), test (vitest), lint (eslint) stage, exit 1 — 1 failed of 1608 tests:

FAIL app/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/FoundingPage.vue: font-size: 0.72rem
  expected [ { …(4) } ] to deeply equal []
❯ tests/unit/productTypeScale.test.ts:91:7

Root cause

Commit 7d899cdd ("founding page: the open card carries its own bar — a step counter
top-left, the close ✕ top-right, pinned while the form scrolls") adds the new
.step-counter rule to the scoped <style> block of
app/src/components/founding/FoundingPage.vue:1190:

.step-counter {
  font-family: $font-mono;
  font-size: 0.72rem;   /* ← below the 0.75rem micro-label floor */
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  ...
}

0.72rem is an artboard-scale miniature, below the micro-label floor the
ADR 0122 amendment pins and issue #258's source-scan guard enforces
(no rem font-size < 0.75rem; at a 14px root that floor is ~10.5px — the
readability line). The new step counter carried the wireframe's raw value
instead of the product type scale's ratio.

A repo-wide re-scan of app/src/components/**/*.vue on origin/main
confirms this is the only offender — a single rule, a single commit.

The fix

Raise .step-counter's font-size to the micro-label floor (0.75rem) or
above, in app/src/components/founding/FoundingPage.vue. The counter is a
mono, 700-weight, wide-tracked uppercase pill, so 0.75rem reads at the
intended size; keep the surrounding padding/line-height in proportion if the
pill's geometry shifts.

Do not relax the guard's floor — the floor is the ADR 0122 amendment's
readability line, and #258 exists to make exactly this regression loud.

Verification

pnpm --filter @idss/app test (or the ci workflow) — productTypeScale.test.ts
must go green with all 1608 tests passing.


Filed by the swarm healer. Incident signature d54ac02ef66b, heal run
heal-Matou-idss-1789423711-4001838. Classified product — the healer does not
touch app/ sources.

## Symptom `ci` run [24105](https://git.matou.nz/Matou/idss/actions/runs/24105) (head `7d899cdd`) fails the **TypeScript: build (tsc), test (vitest), lint (eslint)** stage, exit 1 — 1 failed of 1608 tests: ``` FAIL app/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/FoundingPage.vue: font-size: 0.72rem expected [ { …(4) } ] to deeply equal [] ❯ tests/unit/productTypeScale.test.ts:91:7 ``` ## Root cause Commit `7d899cdd` ("founding page: the open card carries its own bar — a step counter top-left, the close ✕ top-right, pinned while the form scrolls") adds the new `.step-counter` rule to the scoped `<style>` block of `app/src/components/founding/FoundingPage.vue:1190`: ```scss .step-counter { font-family: $font-mono; font-size: 0.72rem; /* ← below the 0.75rem micro-label floor */ font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; ... } ``` `0.72rem` is an **artboard-scale miniature**, below the micro-label floor the ADR 0122 amendment pins and issue #258's source-scan guard enforces (no `rem` font-size < `0.75rem`; at a 14px root that floor is ~10.5px — the readability line). The new step counter carried the wireframe's raw value instead of the product type scale's ratio. A repo-wide re-scan of `app/src/components/**/*.vue` on `origin/main` confirms this is the **only** offender — a single rule, a single commit. ## The fix Raise `.step-counter`'s `font-size` to the micro-label floor (`0.75rem`) or above, in `app/src/components/founding/FoundingPage.vue`. The counter is a mono, 700-weight, wide-tracked uppercase pill, so `0.75rem` reads at the intended size; keep the surrounding padding/`line-height` in proportion if the pill's geometry shifts. Do **not** relax the guard's floor — the floor is the ADR 0122 amendment's readability line, and #258 exists to make exactly this regression loud. ## Verification `pnpm --filter @idss/app test` (or the `ci` workflow) — `productTypeScale.test.ts` must go green with all 1608 tests passing. --- *Filed by the swarm healer. Incident signature `d54ac02ef66b`, heal run `heal-Matou-idss-1789423711-4001838`. Classified **product** — the healer does not touch `app/` sources.*
Author
Member

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

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

close-report for #1477 — status success

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

  • commit f889f706 is not reachable from origin/main (not landed)
  • changed_files: 'app/src/components/founding/FoundingPage.vue' is not in the diff of the claimed commits
envelope
{
  "issue": 1477,
  "status": "success",
  "commits": [
    "f889f706"
  ],
  "changed_files": [
    "app/src/components/founding/FoundingPage.vue"
  ],
  "tests": [
    {
      "command": "CI=true pnpm --filter @idss/app exec vitest run tests/unit/productTypeScale.test.ts",
      "exit_code": 0
    }
  ],
  "criteria": {
    "productTypeScale.test.ts goes green, .step-counter no longer below the 0.75rem floor": "font-size raised 0.72rem -> 0.75rem in FoundingPage.vue; productTypeScale.test.ts passes (2/2), commit f889f706",
    "The guard floor is not relaxed": "no change to tests/unit/productTypeScale.test.ts; only the source rule was raised to the floor"
  },
  "summary": "Raised the founding .step-counter pill's font-size from 0.72rem to the 0.75rem micro-label floor, clearing the #258 product type-scale guard.",
  "blockers": []
}
**close-report** for #1477 — status `success` :no_entry: **close-report gates REFUSED this close** — the following claims did not verify: - commit f889f706 is not reachable from origin/main (not landed) - changed_files: 'app/src/components/founding/FoundingPage.vue' is not in the diff of the claimed commits <details><summary>envelope</summary> ```json { "issue": 1477, "status": "success", "commits": [ "f889f706" ], "changed_files": [ "app/src/components/founding/FoundingPage.vue" ], "tests": [ { "command": "CI=true pnpm --filter @idss/app exec vitest run tests/unit/productTypeScale.test.ts", "exit_code": 0 } ], "criteria": { "productTypeScale.test.ts goes green, .step-counter no longer below the 0.75rem floor": "font-size raised 0.72rem -> 0.75rem in FoundingPage.vue; productTypeScale.test.ts passes (2/2), commit f889f706", "The guard floor is not relaxed": "no change to tests/unit/productTypeScale.test.ts; only the source rule was raised to the floor" }, "summary": "Raised the founding .step-counter pill's font-size from 0.72rem to the 0.75rem micro-label floor, clearing the #258 product type-scale guard.", "blockers": [] } ``` </details>
Author
Member

close-report for #1477 — status success

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

envelope
{
  "issue": 1477,
  "status": "success",
  "commits": [
    "f889f706"
  ],
  "changed_files": [
    "app/src/components/founding/FoundingPage.vue"
  ],
  "tests": [
    {
      "command": "CI=true pnpm --filter @idss/app exec vitest run tests/unit/productTypeScale.test.ts",
      "exit_code": 0
    }
  ],
  "criteria": {
    "productTypeScale.test.ts goes green, .step-counter no longer below the 0.75rem floor": "font-size raised 0.72rem -> 0.75rem in FoundingPage.vue; productTypeScale.test.ts passes (2/2), commit f889f706",
    "The guard floor is not relaxed": "no change to tests/unit/productTypeScale.test.ts; only the source rule was raised to the floor"
  },
  "summary": "Raised the founding .step-counter pill's font-size from 0.72rem to the 0.75rem micro-label floor, clearing the #258 product type-scale guard.",
  "blockers": []
}
**close-report** for #1477 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1477, "status": "success", "commits": [ "f889f706" ], "changed_files": [ "app/src/components/founding/FoundingPage.vue" ], "tests": [ { "command": "CI=true pnpm --filter @idss/app exec vitest run tests/unit/productTypeScale.test.ts", "exit_code": 0 } ], "criteria": { "productTypeScale.test.ts goes green, .step-counter no longer below the 0.75rem floor": "font-size raised 0.72rem -> 0.75rem in FoundingPage.vue; productTypeScale.test.ts passes (2/2), commit f889f706", "The guard floor is not relaxed": "no change to tests/unit/productTypeScale.test.ts; only the source rule was raised to the floor" }, "summary": "Raised the founding .step-counter pill's font-size from 0.72rem to the 0.75rem micro-label floor, clearing the #258 product type-scale guard.", "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#1477
No description provided.