i18n (Go seam): remaining founding prose — the Access line and un-keyed internal/founding text #2131

Closed
opened 2026-11-03 18:55:03 +00:00 by matou-build-agent · 4 comments

What

The Access line (draft.access.summary) and other internal/founding prose not yet keyed (of ~107 sentences, most are already keyed via the g8/g9 seam; this mops up the remainder). Key the remaining operator-facing sentences + params, reusing the existing founding.* catalogues.

How (already decided — ADR 0232 decision 5, DDR 0234)

Go emits a message key + params alongside (not instead of) the English prose; the screen resolves the key in the active locale and falls back to the prose when the key is missing. The pattern is already live for the founding seam — see StandupEvent.Key/Args, logEventKeyed, and the *Key/*Args struct fields in internal/founding/standup.go; the catalogues app/src/i18n/founding/g8.seam.* and g9.standup.*; and useSeamTranslator / resolveSeamText in app/src/lib/i18n.ts. Extend that pattern, don't invent a second one.

Acceptance (scoped to this area)

  • This area emits keys + params for every operator- or member-facing sentence; the English prose stays as the fallback (decision 6).
  • The keys exist in all five catalogues (en authoritative; es/nl/fr/pt machine drafts, marked draft) and pass the parity guard.
  • Each surface that shows the text renders it through the seam translator; a live en → es flip re-renders it (one test per surface, the shape of app/tests/unit/foundingAccessI18n.test.ts).
  • Logs, audit records and anything machine-read stay English — only person-facing text is keyed (DDR 0234 bucket 3: text relayed verbatim from another seam stays prose-only).

Parent: #2121. Independent of the other #2121 children — can run in parallel.

## What The Access line (`draft.access.summary`) and other `internal/founding` prose not yet keyed (of ~107 sentences, most are already keyed via the g8/g9 seam; this mops up the remainder). Key the remaining operator-facing sentences + params, reusing the existing `founding.*` catalogues. ## How (already decided — ADR 0232 decision 5, DDR 0234) Go emits a **message key + params** alongside (not instead of) the English prose; the screen resolves the key in the active locale and falls back to the prose when the key is missing. The pattern is already live for the founding seam — see `StandupEvent.Key`/`Args`, `logEventKeyed`, and the `*Key`/`*Args` struct fields in `internal/founding/standup.go`; the catalogues `app/src/i18n/founding/g8.seam.*` and `g9.standup.*`; and `useSeamTranslator` / `resolveSeamText` in `app/src/lib/i18n.ts`. **Extend that pattern, don't invent a second one.** ## Acceptance (scoped to this area) - [ ] This area emits keys + params for every operator- or member-facing sentence; the English prose stays as the fallback (decision 6). - [ ] The keys exist in all five catalogues (en authoritative; es/nl/fr/pt machine drafts, marked draft) and pass the parity guard. - [ ] Each surface that shows the text renders it through the seam translator; a live `en → es` flip re-renders it (one test per surface, the shape of `app/tests/unit/foundingAccessI18n.test.ts`). - [ ] Logs, audit records and anything machine-read stay English — only person-facing text is keyed (DDR 0234 bucket 3: text relayed verbatim from another seam stays prose-only). Parent: #2121. Independent of the other #2121 children — can run in parallel.
Author
Member

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

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

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

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

⏩ independent reviewer for #2131 — verdict unauthenticated

review JSON
{
  "verdict": "unauthenticated",
  "findings": []
}
:fast_forward: **independent reviewer** for #2131 — verdict `unauthenticated` <details><summary>review JSON</summary> ```json { "verdict": "unauthenticated", "findings": [] } ``` </details>
Author
Member

close-report for #2131 — status success

✅ close-report gates passed — every claim verified against the pushed worker branch sandcastle/worker/20261104-115306-5c43f4 (pre-land — the host promotes it to main only after its post-run verify, #193/#283); issue closed.

envelope
{
  "issue": 2131,
  "status": "success",
  "commits": [
    "6d3abfa6"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/components/founding/FoundingConfirm.vue",
    "app/src/components/founding/FoundingPage.vue",
    "app/src/i18n/founding/g6.en.ts",
    "app/src/i18n/founding/g6.es.ts",
    "app/src/i18n/founding/g6.fr.ts",
    "app/src/i18n/founding/g6.nl.ts",
    "app/src/i18n/founding/g6.pt.ts",
    "app/src/lib/founding.ts",
    "app/src/lib/foundingStack.ts",
    "app/tests/unit/foundingAccessI18n.test.ts",
    "app/tests/unit/foundingStackI18n.test.ts",
    "internal/founding/access.go",
    "internal/founding/connectcheck.go",
    "internal/founding/draft.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/founding/",
      "exit_code": 0
    },
    {
      "command": "go vet ./internal/founding/",
      "exit_code": 0
    },
    {
      "command": "npx vitest run tests/unit/foundingAccessI18n.test.ts tests/unit/foundingStackI18n.test.ts tests/unit/i18nSeam.test.ts",
      "exit_code": 0
    },
    {
      "command": "npx vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci (push gate): gofmt + go build/vet/test ./... + golangci-lint run ./... (main + broker)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "This area emits keys + params for every operator-facing sentence; the English prose stays as the fallback (decision 6)": "internal/founding/draft.go adds AccessChoice.SummaryKey/SummaryArgs (json omitempty) beside the retained Summary prose; access.go + connectcheck.go set a key at all seven Access edges (setRentedPlannedSummary, setRentedSummary over the shared rentFacts join, selfHostedChecked/Unverified, selfHostedPending, ownVps x2, private); app/src/lib/founding.ts resolveSeamText/accessSummary falls back to prose when the key is empty/missing (proven by the un-keyed-fallback test).",
    "The keys exist in all five catalogues (en authoritative; es/nl/fr/pt machine drafts, marked draft) and pass the parity guard": "app/src/i18n/founding/g6.{en,es,nl,fr,pt}.ts carry founding.access.summary.{rentedPlanned,rented,selfHostedChecked,selfHostedUnverified,selfHostedPending,ownVps,private}; en byte-identical to the Go prose, es/nl/fr/pt marked machine-draft; tests/unit/i18nSeam.test.ts parity guard green.",
    "Each surface that shows the text renders it through the seam translator; a live en -> es flip re-renders it (one test per surface)": "FoundingConfirm.vue Review card renders accessSummary(tr, d.access); FoundingPage.vue passes accessSummary(tr,...) to the stand-up rented label and tr.te to sectionResponse; foundingStack.ts access read-back resolves via resolveSeamText. tests/unit/foundingAccessI18n.test.ts (+3: private en->es flip, own-vps IP riding the slot, un-keyed fallback) and foundingStackI18n.test.ts (+1: read-back key/prose/fallback) prove the live flip per surface.",
    "Logs, audit records and anything machine-read stay English - only person-facing text is keyed (bucket 3)": "The broker's provider/region/size/price/ip run rides a single {facts} param as data, never translated. AddressChoice.Summary keeps no key: it is stored on the draft but rendered to no person (Review shows address.host, the stack read-back shows the host), so it has no surface to translate - left prose per DDR 0234."
  },
  "summary": "The founding P1-S4 Access line now carries a founding.access.summary.* seam key + params beside its English prose; Review, the stack read-back and the stand-up label resolve it in the active locale with a prose fallback.",
  "unproven_by_seam": "The live founding stdio bridge camelizes snake_case JSON exactly as it already does for AccessOption.labelKey/detailKey, so summaryKey/summaryArgs flow the same proven way; the +4 seam tests drive the FakeFoundingClient, not the live bridge (pre-existing for every founding keyed field).",
  "blockers": []
}
**close-report** for #2131 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against the pushed worker branch `sandcastle/worker/20261104-115306-5c43f4` (pre-land — the host promotes it to `main` only after its post-run verify, #193/#283); issue closed. <details><summary>envelope</summary> ```json { "issue": 2131, "status": "success", "commits": [ "6d3abfa6" ], "changed_files": [ "STATUS.md", "app/src/components/founding/FoundingConfirm.vue", "app/src/components/founding/FoundingPage.vue", "app/src/i18n/founding/g6.en.ts", "app/src/i18n/founding/g6.es.ts", "app/src/i18n/founding/g6.fr.ts", "app/src/i18n/founding/g6.nl.ts", "app/src/i18n/founding/g6.pt.ts", "app/src/lib/founding.ts", "app/src/lib/foundingStack.ts", "app/tests/unit/foundingAccessI18n.test.ts", "app/tests/unit/foundingStackI18n.test.ts", "internal/founding/access.go", "internal/founding/connectcheck.go", "internal/founding/draft.go" ], "tests": [ { "command": "go test ./internal/founding/", "exit_code": 0 }, { "command": "go vet ./internal/founding/", "exit_code": 0 }, { "command": "npx vitest run tests/unit/foundingAccessI18n.test.ts tests/unit/foundingStackI18n.test.ts tests/unit/i18nSeam.test.ts", "exit_code": 0 }, { "command": "npx vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 }, { "command": "nix develop .#go-ci (push gate): gofmt + go build/vet/test ./... + golangci-lint run ./... (main + broker)", "exit_code": 0 } ], "criteria": { "This area emits keys + params for every operator-facing sentence; the English prose stays as the fallback (decision 6)": "internal/founding/draft.go adds AccessChoice.SummaryKey/SummaryArgs (json omitempty) beside the retained Summary prose; access.go + connectcheck.go set a key at all seven Access edges (setRentedPlannedSummary, setRentedSummary over the shared rentFacts join, selfHostedChecked/Unverified, selfHostedPending, ownVps x2, private); app/src/lib/founding.ts resolveSeamText/accessSummary falls back to prose when the key is empty/missing (proven by the un-keyed-fallback test).", "The keys exist in all five catalogues (en authoritative; es/nl/fr/pt machine drafts, marked draft) and pass the parity guard": "app/src/i18n/founding/g6.{en,es,nl,fr,pt}.ts carry founding.access.summary.{rentedPlanned,rented,selfHostedChecked,selfHostedUnverified,selfHostedPending,ownVps,private}; en byte-identical to the Go prose, es/nl/fr/pt marked machine-draft; tests/unit/i18nSeam.test.ts parity guard green.", "Each surface that shows the text renders it through the seam translator; a live en -> es flip re-renders it (one test per surface)": "FoundingConfirm.vue Review card renders accessSummary(tr, d.access); FoundingPage.vue passes accessSummary(tr,...) to the stand-up rented label and tr.te to sectionResponse; foundingStack.ts access read-back resolves via resolveSeamText. tests/unit/foundingAccessI18n.test.ts (+3: private en->es flip, own-vps IP riding the slot, un-keyed fallback) and foundingStackI18n.test.ts (+1: read-back key/prose/fallback) prove the live flip per surface.", "Logs, audit records and anything machine-read stay English - only person-facing text is keyed (bucket 3)": "The broker's provider/region/size/price/ip run rides a single {facts} param as data, never translated. AddressChoice.Summary keeps no key: it is stored on the draft but rendered to no person (Review shows address.host, the stack read-back shows the host), so it has no surface to translate - left prose per DDR 0234." }, "summary": "The founding P1-S4 Access line now carries a founding.access.summary.* seam key + params beside its English prose; Review, the stack read-back and the stand-up label resolve it in the active locale with a prose fallback.", "unproven_by_seam": "The live founding stdio bridge camelizes snake_case JSON exactly as it already does for AccessOption.labelKey/detailKey, so summaryKey/summaryArgs flow the same proven way; the +4 seam tests drive the FakeFoundingClient, not the live bridge (pre-existing for every founding keyed field).", "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#2131
No description provided.