founding: FoundingDevicePlacement.vue ships 0.72em/0.82em artboard-scale type — the #258 guard reds main #1408

Closed
opened 2026-09-12 04:07:13 +00:00 by matou-build-agent · 5 comments

ci.yml on main (run 22228, head 43b80cc5) is red at the TypeScript: build (tsc), test (vitest), lint (eslint) stage. main is 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/FoundingDevicePlacement.vue: font-size: 0.72em
  app/src/components/founding/FoundingDevicePlacement.vue: font-size: 0.82em
Test Files  1 failed | 122 passed (123)
      Tests  1 failed | 1571 passed (1572)

ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @idss/app@0.1.0 test: node scripts/run-unit-tests.mjs, exit 1.

Root cause

Commit 17e08c84 — "sandcastle: #1391 — the founding DEVICE PLAN becomes SEAM TRUTH" — introduced both declarations in the scoped <style> of app/src/components/founding/FoundingDevicePlacement.vue (git log -S confirms neither value existed before it):

  • line 660 — &__memsrc { align-self: flex-start; font-size: 0.72em; letter-spacing: 0.06em; text-transform: uppercase; … } — the "ordered vs measured" memory-source micro-label.
  • line 671 — &__nonum { margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--oc-line); font-size: 0.82em; … } — the "machine has no number yet" line.

ADR 0122's amendment is explicit: take the wireframes' ratios, never their raw values. The em floor is 0.85em (em compounds; ≥0.85em clears ~12px on a product-scale 14px parent). This is the same regression class as #1041 (FoundingIdipExplainer.vue, 0.72rem) — a new screen shipping artboard-scale type. The guard did its job; the component needs fixing.

A fresh scan of app/src/components/**/*.vue at 43b80cc5 finds exactly these two offenders — no others, and the kit case (packages/ui-kit) is green.

What to do

Raise both declarations to the product micro-label scale. The sibling &__loc in the same block already sits at 0.85em — the floor — so &__memsrc can join it there (it keeps its uppercase + letter-spacing to stay visually the smallest thing on the card), and &__nonum should go to 0.85em or above (it is body-ish copy, not a micro-label; 0.9em reads better next to the meter it replaces). Keep the hierarchy, just at or above the readability line. Prefer a kit micro-label token if one applies.

Acceptance criteria

  • pnpm --filter @idss/app test is green — both cases in tests/unit/productTypeScale.test.ts pass.
  • No font-size below 0.75rem / 0.85em anywhere under app/src/components/.
  • The device-placement bench still reads with the memory-source label subordinate to the machine name and the no-number line subordinate to the body copy (visual hierarchy preserved, no layout break on the bench cards).

Filed by the swarm healer — incident 46b893b41b7a, heal run heal-Matou-idss-1789185903-2731459. Product-class fault; no harness repair attempted.

`ci.yml` on `main` (run [22228](https://git.matou.nz/Matou/idss/actions/runs/22228), head `43b80cc5`) is **red** at the *TypeScript: build (tsc), test (vitest), lint (eslint)* stage. `main` is 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/FoundingDevicePlacement.vue: font-size: 0.72em app/src/components/founding/FoundingDevicePlacement.vue: font-size: 0.82em Test Files 1 failed | 122 passed (123) Tests 1 failed | 1571 passed (1572) ``` `ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @idss/app@0.1.0 test: node scripts/run-unit-tests.mjs`, exit 1. ## Root cause Commit `17e08c84` — *"sandcastle: #1391 — the founding DEVICE PLAN becomes SEAM TRUTH"* — introduced both declarations in the scoped `<style>` of `app/src/components/founding/FoundingDevicePlacement.vue` (`git log -S` confirms neither value existed before it): - **line 660** — `&__memsrc { align-self: flex-start; font-size: 0.72em; letter-spacing: 0.06em; text-transform: uppercase; … }` — the "ordered vs measured" memory-source micro-label. - **line 671** — `&__nonum { margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--oc-line); font-size: 0.82em; … }` — the "machine has no number yet" line. ADR 0122's amendment is explicit: take the wireframes' **ratios, never their raw values**. The `em` floor is `0.85em` (em compounds; ≥0.85em clears ~12px on a product-scale 14px parent). This is the same regression class as #1041 (`FoundingIdipExplainer.vue`, 0.72rem) — a new screen shipping artboard-scale type. The guard did its job; the component needs fixing. A fresh scan of `app/src/components/**/*.vue` at `43b80cc5` finds **exactly these two** offenders — no others, and the kit case (`packages/ui-kit`) is green. ## What to do Raise both declarations to the product micro-label scale. The sibling `&__loc` in the same block already sits at `0.85em` — the floor — so `&__memsrc` can join it there (it keeps its uppercase + letter-spacing to stay visually the smallest thing on the card), and `&__nonum` should go to `0.85em` or above (it is body-ish copy, not a micro-label; `0.9em` reads better next to the meter it replaces). Keep the hierarchy, just at or above the readability line. Prefer a kit micro-label token if one applies. ## Acceptance criteria - `pnpm --filter @idss/app test` is green — both cases in `tests/unit/productTypeScale.test.ts` pass. - No `font-size` below `0.75rem` / `0.85em` anywhere under `app/src/components/`. - The device-placement bench still reads with the memory-source label subordinate to the machine name and the no-number line subordinate to the body copy (visual hierarchy preserved, no layout break on the bench cards). --- *Filed by the swarm healer — incident `46b893b41b7a`, heal run `heal-Matou-idss-1789185903-2731459`. Product-class fault; no harness repair attempted.*
Author
Member

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

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

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

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

swarm-claim host=elitebook-distributed-server-03 run=22235
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=22235 (automated multi-host claim — lowest live claim id works this ticket)
Author
Member

swarm-claim host=elitebook-distributed-server-03 run=22235
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=22235 (automated multi-host claim — lowest live claim id works this ticket)
Author
Member

close-report for #1408 — status success

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

envelope
{
  "issue": 1408,
  "status": "success",
  "commits": [
    "08ebf209"
  ],
  "changed_files": [
    "app/src/components/founding/FoundingDevicePlacement.vue"
  ],
  "tests": [
    {
      "command": "npx vitest run tests/unit/productTypeScale.test.ts (in app/)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "pnpm --filter @idss/app test green — both cases in productTypeScale.test.ts pass": "productTypeScale.test.ts runs 2 passed; the two former offenders removed in 08ebf209",
    "No font-size below 0.75rem / 0.85em anywhere under app/src/components/": "guard 'no operator-app screen scoped style renders below product scale' passes with zero offenders",
    "Visual hierarchy preserved (memsrc subordinate to machine name; no-number subordinate to body)": "&__memsrc raised 0.72em->0.85em keeping uppercase+letter-spacing (smallest under 1em-bold &__name); &__nonum 0.82em->0.9em (see commit 08ebf209)"
  },
  "summary": "Raised FoundingDevicePlacement's 0.72em/0.82em artboard-scale type to the #258 em floor, restoring green on main.",
  "reason": "",
  "blockers": []
}
**close-report** for #1408 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1408, "status": "success", "commits": [ "08ebf209" ], "changed_files": [ "app/src/components/founding/FoundingDevicePlacement.vue" ], "tests": [ { "command": "npx vitest run tests/unit/productTypeScale.test.ts (in app/)", "exit_code": 0 } ], "criteria": { "pnpm --filter @idss/app test green — both cases in productTypeScale.test.ts pass": "productTypeScale.test.ts runs 2 passed; the two former offenders removed in 08ebf209", "No font-size below 0.75rem / 0.85em anywhere under app/src/components/": "guard 'no operator-app screen scoped style renders below product scale' passes with zero offenders", "Visual hierarchy preserved (memsrc subordinate to machine name; no-number subordinate to body)": "&__memsrc raised 0.72em->0.85em keeping uppercase+letter-spacing (smallest under 1em-bold &__name); &__nonum 0.82em->0.9em (see commit 08ebf209)" }, "summary": "Raised FoundingDevicePlacement's 0.72em/0.82em artboard-scale type to the #258 em floor, restoring green on main.", "reason": "", "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#1408
No description provided.