founding app i18n: PROVE acceptance #2/#4 — the Spanish founding walk incl. the Go-authored error + S4a offer, and the en e2e drives (#1376 leg, KVM) #1381

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

Parent

Advances #1376 (the i18n seam) — the loop-closer. Contract: ADR 0232, acceptance #2 + #4.

Why ready-for-session (and host affinity)

This is the LIVE founding e2e proof — a KVM local-guest / droplet drive (app/playwright.config.ts, scripts/smoke-private-path.sh), NOT a hermetic unit tier. It needs a drive host. matou-dev-server-01 (the drainer that landed the seam) cannot run local-guest KVM drives — route to elitebook-03 via the <!-- session-host: elitebook-distributed-server-03, matou-workstation --> affinity marker (#89).

Scope (proof only — depends on the extract, Go-seam and kit-swap legs)

  • Acceptance #2: choosing Spanish in community info re-renders the founding walk in Spanish LIVE, including a validation error and the S4a access/offer text (the Go-authored half) — the criterion that proves ADR 0232 decision 5 was actually implemented end to end.
  • Acceptance #4: pnpm --filter @idss/app test + eslint + vue-tsc green AND the founding e2e drives pass unchanged on en (the live drives navigate by data-* + byte-identical en text, so they must be unaffected — this proves it).
  • Acceptance #3: a missing key falls back to en, loud in dev, never blank / never a raw key on screen (already unit-proven; confirm on the live render).

Proof

A green founding drive (screenshots eyeballed) with the community language set to Spanish showing a Spanish validation error + Spanish S4a offer, and a green en drive. Post the fire id + screenshots. ready-for-session (elitebook-03).

## Parent Advances #1376 (the i18n seam) — the loop-closer. Contract: **ADR 0232**, acceptance #2 + #4. ## Why ready-for-session (and host affinity) This is the LIVE founding e2e proof — a KVM local-guest / droplet drive (`app/playwright.config.ts`, `scripts/smoke-private-path.sh`), NOT a hermetic unit tier. It needs a drive host. `matou-dev-server-01` (the drainer that landed the seam) **cannot run local-guest KVM drives** — route to `elitebook-03` via the `<!-- session-host: elitebook-distributed-server-03, matou-workstation -->` affinity marker (#89). ## Scope (proof only — depends on the extract, Go-seam and kit-swap legs) - Acceptance **#2**: choosing Spanish in community info re-renders the founding walk in Spanish LIVE, **including a validation error and the S4a access/offer text** (the Go-authored half) — the criterion that proves ADR 0232 decision 5 was actually implemented end to end. - Acceptance **#4**: `pnpm --filter @idss/app test` + eslint + vue-tsc green AND the **founding e2e drives pass unchanged on `en`** (the live drives navigate by `data-*` + byte-identical `en` text, so they must be unaffected — this proves it). - Acceptance **#3**: a missing key falls back to `en`, loud in dev, never blank / never a raw key on screen (already unit-proven; confirm on the live render). ## Proof A green founding drive (screenshots eyeballed) with the community language set to Spanish showing a Spanish validation error + Spanish S4a offer, and a green `en` drive. Post the fire id + screenshots. ready-for-session (elitebook-03).
Owner

Wrong-host re-route (no attempt burned) — ruled by agent under ADR 0174, veto anytime.

This ticket was picked by the matou-dev-server-01 session-runner, which cannot run local-guest KVM drives — it is the production Matou infra box and sits ~30–130 MiB under the 6144 MiB local-guest memory floor (freeing it risks OOM-killing a member-facing service — a one-way door). This ticket's entire deliverable is the live founding e2e proof (a KVM local-guest / droplet drive of the Spanish walk incl. the Go-authored validation error + S4a offer, plus the en drive) — impossible on this host. There is no drive-independent slice to land here: acceptance #4's hermetic half (pnpm --filter @idss/app test + eslint + vue-tsc) is only a precondition the drive host re-runs, not the acceptance.

Root cause of the mis-pick: the body carried the #89 marker as an empty example — <!-- session-host: --> — which session_host_marker parses to an empty host list, i.e. "any host may take it". So this incapable host matched it.

Fix (two-way, revertible): filled the marker to name the capable drive hosts —
<!-- session-host: elitebook-distributed-server-03, matou-workstation -->.
Verified offline against .sandcastle/session-host-lib.sh: matou-dev-server-01 now skips at pick time (no claim, no attempt marker, no fail-<n>), while elitebook-distributed-server-03 and matou-workstation (the KVM-capable rehearsal / canonical drive hosts) match and may take it. Dropped agent-working; left ready-for-session so the capable host drains it next tick.

No code change, no state change — STATUS.md untouched. This is the #746 wrong-host pattern the marker exists for.

Next session (on a capable host): run the Spanish + en founding drives, post the fire id + eyeballed screenshots (Spanish validation error + Spanish S4a offer; green en drive), then close with the report per the ticket's Proof section. Escape hatch if neither marked host ticks: SESSION_RUNNER_HOST=<name> on the intended host.

**Wrong-host re-route (no attempt burned) — ruled by agent under ADR 0174, veto anytime.** This ticket was picked by the `matou-dev-server-01` session-runner, which **cannot run local-guest KVM drives** — it is the production Matou infra box and sits ~30–130 MiB under the 6144 MiB local-guest memory floor (freeing it risks OOM-killing a member-facing service — a one-way door). This ticket's entire deliverable is the *live* founding e2e proof (a KVM local-guest / droplet drive of the Spanish walk incl. the Go-authored validation error + S4a offer, plus the `en` drive) — impossible on this host. There is no drive-independent slice to land here: acceptance #4's hermetic half (`pnpm --filter @idss/app test` + eslint + vue-tsc) is only a *precondition* the drive host re-runs, not the acceptance. **Root cause of the mis-pick:** the body carried the `#89` marker as an *empty* example — `<!-- session-host: -->` — which `session_host_marker` parses to an empty host list, i.e. "any host may take it". So this incapable host matched it. **Fix (two-way, revertible):** filled the marker to name the capable drive hosts — `<!-- session-host: elitebook-distributed-server-03, matou-workstation -->`. Verified offline against `.sandcastle/session-host-lib.sh`: `matou-dev-server-01` now **skips at pick time** (no claim, no attempt marker, no `fail-<n>`), while `elitebook-distributed-server-03` and `matou-workstation` (the KVM-capable rehearsal / canonical drive hosts) match and may take it. Dropped `agent-working`; left `ready-for-session` so the capable host drains it next tick. No code change, no state change — `STATUS.md` untouched. This is the #746 wrong-host pattern the marker exists for. Next session (on a capable host): run the Spanish + `en` founding drives, post the fire id + eyeballed screenshots (Spanish validation error + Spanish S4a offer; green `en` drive), then close with the report per the ticket's Proof section. Escape hatch if neither marked host ticks: `SESSION_RUNNER_HOST=<name>` on the intended host.
Author
Member

Close-report — #1381 PROVEN (acceptance #2/#3/#4). Ruled by agent under ADR 0174 — veto anytime.

Both live proofs ran GREEN on elitebook-distributed-server-03 (the marked KVM drive host, #89 affinity).

Acceptance #2/#3 — the Spanish founding walk (fire 20260911T182759Z, green 1/1)

A new app/tests/e2e/founding-es.live.spec.ts (--drive founding-es) drives the real app over the real Go helper + the real Matou broker (broker.idss.nz). Choosing Español in community info re-renders the WHOLE founding walk in Spanish LIVE, and the Go-authored halves cross the seam as key+args and resolve in Spanish too:

  • Validation error (Go-authored): the brandkit.Validate contrast warning renders in Spanish — "el contraste del texto sobre el acento es 4.40:1, por debajo del mínimo 4.5:1 de WCAG AA; se usa el mejor color disponible" — {ratio}/{floor} interpolated from a #7a7a7a accent (see es-s3-brand-warning).
  • S4a offer text (Go-authored, broker-supplied): the S4a offer terms render in Spanish — "Gratis mientras IDSS está en fase alfa. Tu pasarela funciona durante 24h0m0s cada vez…" — {ttl}=24h0m0s interpolated from the broker's own args (the #1389 wire fix, confirmed live on the offer wire; see es-s4a-offer-terms).
  • S2 shows the live flip on the picker; S4 shows the Go-authored access options in Spanish.
  • Acceptance #3 confirmed on the live render: every surface Spanish, no blank / no raw key on screen.

The drive stops at S4a once the Spanish offer has rendered — the offer TEXT needs the broker's offer fetch, not a completed rent — so this proof spends no droplet and boots no guest.

Acceptance #4 — the en drives pass unchanged (fire 20260911T183002Z, 1 passed, 12.9m)

The standard local-guest founding drive (--drive founding) GREEN at HEAD — full founding walk + kanidm passkey ceremony; the served Portal signed-out face reads English "SIGN IN" (byte-identical, see en-portal-signed-out). The drives navigate by data-* + en text, so a green proves the i18n seam left en unaffected. Hermetic preconditions re-run green on this host: pnpm --filter @idss/app test (120+1 files), eslint (incl. oc-i18n/no-bare-literal), vue-tsc.

Landed

Commit c9cbb52f — the new Spanish e2e spec + the --drive founding-es case in scripts/smoke-private-path.sh + STATUS.md. A new revertible e2e spec + a --drive case, proven by two green drives with eyeballed screenshots; no product code path changed (a two-way door under ADR 0174).

Evidence on the drive host: test-results/private-path/20260911T182759Z/ (Spanish) and test-results/private-path/20260911T183002Z/ (en). Representative screenshots attached below.

Closing #1381 — advances #1376.

**Close-report — #1381 PROVEN (acceptance #2/#3/#4). Ruled by agent under ADR 0174 — veto anytime.** Both live proofs ran **GREEN** on `elitebook-distributed-server-03` (the marked KVM drive host, #89 affinity). ### Acceptance #2/#3 — the Spanish founding walk (fire `20260911T182759Z`, green 1/1) A new `app/tests/e2e/founding-es.live.spec.ts` (`--drive founding-es`) drives the **real** app over the **real** Go helper + the **real** Matou broker (`broker.idss.nz`). Choosing *Español* in community info re-renders the WHOLE founding walk in Spanish LIVE, and the Go-authored halves cross the seam as key+args and resolve in Spanish too: - **Validation error (Go-authored):** the `brandkit.Validate` contrast warning renders in Spanish — *"el contraste del texto sobre el acento es 4.40:1, por debajo del mínimo 4.5:1 de WCAG AA; se usa el mejor color disponible"* — `{ratio}`/`{floor}` interpolated from a `#7a7a7a` accent (see `es-s3-brand-warning`). - **S4a offer text (Go-authored, broker-supplied):** the S4a offer terms render in Spanish — *"Gratis mientras IDSS está en fase alfa. Tu pasarela funciona durante 24h0m0s cada vez…"* — `{ttl}=24h0m0s` interpolated from the broker's own args (the #1389 wire fix, confirmed live on the offer wire; see `es-s4a-offer-terms`). - S2 shows the live flip on the picker; S4 shows the Go-authored access options in Spanish. - **Acceptance #3** confirmed on the live render: every surface Spanish, no blank / no raw key on screen. The drive **stops at S4a** once the Spanish offer has rendered — the offer TEXT needs the broker's offer fetch, not a completed rent — so this proof spends **no droplet** and boots **no guest**. ### Acceptance #4 — the `en` drives pass unchanged (fire `20260911T183002Z`, 1 passed, 12.9m) The standard local-guest founding drive (`--drive founding`) GREEN at HEAD — full founding walk + kanidm passkey ceremony; the served Portal signed-out face reads English **"SIGN IN"** (byte-identical, see `en-portal-signed-out`). The drives navigate by `data-*` + `en` text, so a green proves the i18n seam left `en` unaffected. Hermetic preconditions re-run green on this host: `pnpm --filter @idss/app test` (120+1 files), eslint (incl. `oc-i18n/no-bare-literal`), `vue-tsc`. ### Landed Commit `c9cbb52f` — the new Spanish e2e spec + the `--drive founding-es` case in `scripts/smoke-private-path.sh` + `STATUS.md`. A new revertible e2e spec + a `--drive` case, proven by two green drives with eyeballed screenshots; **no product code path changed** (a two-way door under ADR 0174). Evidence on the drive host: `test-results/private-path/20260911T182759Z/` (Spanish) and `test-results/private-path/20260911T183002Z/` (en). Representative screenshots attached below. Closing #1381 — advances #1376.
matou-build-agent 2026-09-11 18:47:14 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#1381
No description provided.