founding app i18n: the standup chapters grow key+args — the drill-in log + narrative structs (#1379 split, #1376 leg) #1382

Closed
opened 2026-09-11 00:20:27 +00:00 by matou-build-agent · 2 comments

Parent

Split out of #1379 (the Go key+params seam). Advances #1376 / ADR 0232 decision 5.

Why this is its own leg

#1379 migrated the four screen-facing seam surfaces the proof (#1381) exercises — brandkit.Issue → founding.validation.*, AccessOption → founding.access.*, GatewayOffer → founding.offer.*, BrokerError → founding.brokerError.* (Go fields + all construction sites + the four locale catalogues + the app-side resolveSeamText renderer + tests). ADR 0232's "~99 sites" also names the standup chapters — but those are a distinct, larger surface that deserves its own design pass:

  • ~78 logEvent/logMilestone drill-in-log sites across 10 files (deploy.go, privatepath.go, ownvpspath.go, rentedpath.go, toolchain.go, standup.go, manualpath.go, handoff.go, seed.go, selfhostedpath.go), plus the operator-facing narrative structs (SpecGateFail.Headline/Remedy, ReachStatus.Detail/Guidance/NameDetail, PreCheckResult.Detail, DNSResult.Detail, RegistrarLink.Message).
  • The drill-in log is a diagnostic surface that heavily interpolates untranslatable runtime English — raw err.Error(), external clan ds.Failure.Headline, probe res.Detail. Keying the shell around those while the interpolated content stays English is the exact "Spanish shell, English error" anti-pattern ADR 0232 decision 5 warns against, so whether/how the drill-in log is keyed is a real design question, not a mechanical swap.
  • It has no named catalogue namespace in #1379's deliverable (the four are validation/access/offer/brokerError) and is not exercised by the proof (#1381 proves the Spanish validation error + S4a offer only).
  • It is fully back-compatible today: #1379 left the prose fields intact, so nothing renders wrong while this waits.

Scope

  • Decide the drill-in-log i18n approach (key the shell + pass the untranslatable runtime string as an arg? key only the fully-static events? leave the pure-diagnostic log English and key only the operator-facing narrative structs?), record it as a short DDR under ADR 0232.
  • Add Key/Args to StandupEvent (additive, prose retained) and a keyed logEvent/logMilestone path; migrate the sites per the decided approach.
  • Migrate the operator-facing standup narrative structs to founding.standup.* keys.
  • Add the founding.standup.* keys to all four locale catalogues (en authoritative + drafts); the app-side renderer already resolves them via resolveSeamText.

Proof

go test ./... green (new assertions on the keyed standup structs); pnpm --filter @idss/app test + eslint + vue-tsc green. ready-for-agent.

## Parent Split out of #1379 (the Go key+params seam). Advances #1376 / **ADR 0232 decision 5**. ## Why this is its own leg #1379 migrated the four **screen-facing** seam surfaces the proof (#1381) exercises — `brandkit.Issue` → `founding.validation.*`, `AccessOption` → `founding.access.*`, `GatewayOffer` → `founding.offer.*`, `BrokerError` → `founding.brokerError.*` (Go fields + all construction sites + the four locale catalogues + the app-side `resolveSeamText` renderer + tests). ADR 0232's "~99 sites" also names **the standup chapters** — but those are a distinct, larger surface that deserves its own design pass: - ~78 `logEvent`/`logMilestone` drill-in-log sites across 10 files (`deploy.go`, `privatepath.go`, `ownvpspath.go`, `rentedpath.go`, `toolchain.go`, `standup.go`, `manualpath.go`, `handoff.go`, `seed.go`, `selfhostedpath.go`), plus the operator-facing narrative structs (`SpecGateFail.Headline`/`Remedy`, `ReachStatus.Detail`/`Guidance`/`NameDetail`, `PreCheckResult.Detail`, `DNSResult.Detail`, `RegistrarLink.Message`). - The drill-in log is a **diagnostic** surface that heavily interpolates *untranslatable runtime English* — raw `err.Error()`, external clan `ds.Failure.Headline`, probe `res.Detail`. Keying the shell around those while the interpolated content stays English is the exact "Spanish shell, English error" anti-pattern ADR 0232 decision 5 warns against, so **whether/how the drill-in log is keyed is a real design question**, not a mechanical swap. - It has **no named catalogue namespace** in #1379's deliverable (the four are validation/access/offer/brokerError) and is **not exercised by the proof** (#1381 proves the Spanish validation error + S4a offer only). - It is fully back-compatible today: #1379 left the prose fields intact, so nothing renders wrong while this waits. ## Scope - Decide the drill-in-log i18n approach (key the shell + pass the untranslatable runtime string as an arg? key only the fully-static events? leave the pure-diagnostic log English and key only the operator-facing narrative structs?), record it as a short DDR under ADR 0232. - Add `Key`/`Args` to `StandupEvent` (additive, prose retained) and a keyed `logEvent`/`logMilestone` path; migrate the sites per the decided approach. - Migrate the operator-facing standup narrative structs to `founding.standup.*` keys. - Add the `founding.standup.*` keys to all four locale catalogues (en authoritative + drafts); the app-side renderer already resolves them via `resolveSeamText`. ## Proof `go test ./...` green (new assertions on the keyed standup structs); `pnpm --filter @idss/app test` + eslint + vue-tsc green. ready-for-agent.
Author
Member

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

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

close-report for #1382 — status success

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

envelope
{
  "issue": 1382,
  "status": "success",
  "commits": [
    "9a581244"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/i18n/en.ts",
    "app/src/i18n/es.ts",
    "app/src/i18n/founding/g9.standup.en.ts",
    "app/src/i18n/founding/g9.standup.es.ts",
    "app/src/i18n/founding/g9.standup.fr.ts",
    "app/src/i18n/founding/g9.standup.nl.ts",
    "app/src/i18n/fr.ts",
    "app/src/i18n/nl.ts",
    "app/src/lib/founding.ts",
    "app/tests/unit/foundingSeamI18n.test.ts",
    "docs/adr/0234-design-the-standup-chapters-i18n-key-what-founding-authors.md",
    "internal/founding/access.go",
    "internal/founding/deploy.go",
    "internal/founding/handoff.go",
    "internal/founding/i18nseam_test.go",
    "internal/founding/lowmemory_internal_test.go",
    "internal/founding/manualpath.go",
    "internal/founding/ownvpspath.go",
    "internal/founding/privatepath.go",
    "internal/founding/rentedpath.go",
    "internal/founding/seed.go",
    "internal/founding/standup.go",
    "internal/founding/standupfmt.go",
    "internal/founding/standupi18n_internal_test.go",
    "internal/founding/toolchain.go"
  ],
  "tests": [
    {
      "command": "go test ./...",
      "exit_code": 0
    },
    {
      "command": "go test ./internal/founding/...",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm --filter @idss/app test",
      "exit_code": 0
    },
    {
      "command": "pnpm exec eslint .",
      "exit_code": 0
    },
    {
      "command": "pnpm --filter @idss/app run build (vue-tsc)",
      "exit_code": 0
    },
    {
      "command": "pre-push go-ci gate (go test ./... + golangci-lint + eslint)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "Decide the drill-in-log i18n approach and record it as a short DDR under ADR 0232": "docs/adr/0234-design-the-standup-chapters-i18n-key-what-founding-authors.md — the rule 'key what founding AUTHORS, relay-prose what it doesn't', three buckets (STATIC/COMPOSABLE keyed, RUNTIME-ENGLISH prose)",
    "Add Key/Args to StandupEvent (additive, prose retained) and a keyed logEvent/logMilestone path; migrate the sites per the decided approach": "internal/founding/standup.go — StandupEvent.Key/Args + logEventKeyed/logMilestoneKeyed; 54 logEventKeyed + 1 logMilestoneKeyed migrated across deploy/rented/ownvps/private/toolchain/standup/manual/handoff/seed.go; 17 runtime-English sites left prose-only per DDR 0234 (bucket 3)",
    "Migrate the operator-facing standup narrative structs to founding.standup.* keys": "SpecGateFail.HeadlineKey/HeadlineArgs (standup.go+standupfmt.go specFailHeadlineKeyed), ReachStatus.GuidanceKey/NameDetailKey/NameDetailArgs (standup.go), RegistrarLink.MessageKey (access.go)",
    "Add the founding.standup.* keys to all four locale catalogues; the app-side renderer already resolves them via resolveSeamText": "app/src/i18n/founding/g9.standup.{en,es,nl,fr}.ts (59 keys, en byte-identical to Go prose, es/nl/fr machine-drafts, parity-clean) spread into en/es/nl/fr.ts with the shared founding.standup namespace deep-merged with g7; TS wrappers standupEventMessage/specGateFailHeadline/reachGuidance/reachNameDetail/registrarMessage over resolveSeamText in app/src/lib/founding.ts",
    "Proof: go test ./... green (new assertions on the keyed standup structs)": "internal/founding/standupi18n_internal_test.go (specFailHeadlineKeyed + logEventKeyed/logMilestoneKeyed) + i18nseam_test.go (NoDomain MessageKey) — go test ./... exit 0, re-verified by the pre-push go-ci gate",
    "Proof: pnpm --filter @idss/app test + eslint + vue-tsc green": "app/tests/unit/foundingSeamI18n.test.ts (stand-up keys resolve + interpolate per locale + prose fallback) — 1516 app tests pass, eslint . exit 0, vue-tsc exit 0, prettier clean"
  },
  "summary": "The founding stand-up chapters carry founding.standup.* key+args (DDR 0234: key what founding authors, relay-prose what it doesn't), closing ADR 0232 decision 5's last founding-seam surface.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1382 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1382, "status": "success", "commits": [ "9a581244" ], "changed_files": [ "STATUS.md", "app/src/i18n/en.ts", "app/src/i18n/es.ts", "app/src/i18n/founding/g9.standup.en.ts", "app/src/i18n/founding/g9.standup.es.ts", "app/src/i18n/founding/g9.standup.fr.ts", "app/src/i18n/founding/g9.standup.nl.ts", "app/src/i18n/fr.ts", "app/src/i18n/nl.ts", "app/src/lib/founding.ts", "app/tests/unit/foundingSeamI18n.test.ts", "docs/adr/0234-design-the-standup-chapters-i18n-key-what-founding-authors.md", "internal/founding/access.go", "internal/founding/deploy.go", "internal/founding/handoff.go", "internal/founding/i18nseam_test.go", "internal/founding/lowmemory_internal_test.go", "internal/founding/manualpath.go", "internal/founding/ownvpspath.go", "internal/founding/privatepath.go", "internal/founding/rentedpath.go", "internal/founding/seed.go", "internal/founding/standup.go", "internal/founding/standupfmt.go", "internal/founding/standupi18n_internal_test.go", "internal/founding/toolchain.go" ], "tests": [ { "command": "go test ./...", "exit_code": 0 }, { "command": "go test ./internal/founding/...", "exit_code": 0 }, { "command": "CI=true pnpm --filter @idss/app test", "exit_code": 0 }, { "command": "pnpm exec eslint .", "exit_code": 0 }, { "command": "pnpm --filter @idss/app run build (vue-tsc)", "exit_code": 0 }, { "command": "pre-push go-ci gate (go test ./... + golangci-lint + eslint)", "exit_code": 0 } ], "criteria": { "Decide the drill-in-log i18n approach and record it as a short DDR under ADR 0232": "docs/adr/0234-design-the-standup-chapters-i18n-key-what-founding-authors.md — the rule 'key what founding AUTHORS, relay-prose what it doesn't', three buckets (STATIC/COMPOSABLE keyed, RUNTIME-ENGLISH prose)", "Add Key/Args to StandupEvent (additive, prose retained) and a keyed logEvent/logMilestone path; migrate the sites per the decided approach": "internal/founding/standup.go — StandupEvent.Key/Args + logEventKeyed/logMilestoneKeyed; 54 logEventKeyed + 1 logMilestoneKeyed migrated across deploy/rented/ownvps/private/toolchain/standup/manual/handoff/seed.go; 17 runtime-English sites left prose-only per DDR 0234 (bucket 3)", "Migrate the operator-facing standup narrative structs to founding.standup.* keys": "SpecGateFail.HeadlineKey/HeadlineArgs (standup.go+standupfmt.go specFailHeadlineKeyed), ReachStatus.GuidanceKey/NameDetailKey/NameDetailArgs (standup.go), RegistrarLink.MessageKey (access.go)", "Add the founding.standup.* keys to all four locale catalogues; the app-side renderer already resolves them via resolveSeamText": "app/src/i18n/founding/g9.standup.{en,es,nl,fr}.ts (59 keys, en byte-identical to Go prose, es/nl/fr machine-drafts, parity-clean) spread into en/es/nl/fr.ts with the shared founding.standup namespace deep-merged with g7; TS wrappers standupEventMessage/specGateFailHeadline/reachGuidance/reachNameDetail/registrarMessage over resolveSeamText in app/src/lib/founding.ts", "Proof: go test ./... green (new assertions on the keyed standup structs)": "internal/founding/standupi18n_internal_test.go (specFailHeadlineKeyed + logEventKeyed/logMilestoneKeyed) + i18nseam_test.go (NoDomain MessageKey) — go test ./... exit 0, re-verified by the pre-push go-ci gate", "Proof: pnpm --filter @idss/app test + eslint + vue-tsc green": "app/tests/unit/foundingSeamI18n.test.ts (stand-up keys resolve + interpolate per locale + prose fallback) — 1516 app tests pass, eslint . exit 0, vue-tsc exit 0, prettier clean" }, "summary": "The founding stand-up chapters carry founding.standup.* key+args (DDR 0234: key what founding authors, relay-prose what it doesn't), closing ADR 0232 decision 5's last founding-seam surface.", "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#1382
No description provided.