i18n (Go seam): the #2160 remainder — the rest of controlapi Problem surfaces + per-view error fields + control-plane/cmd #2164

Closed
opened 2026-11-04 16:37:44 +00:00 by matou-build-agent · 4 comments

What

The remainder of #2160 (itself the #2152 → #2159 → #2160 remainder chain).
#2160 shipped the member mail portal cluster: mail.go's three authored
Problem sentences (controlapi.mail.{couldNotReadMailbox,couldNotClaimMailbox, notOffered}) keyed end-to-end, catalogued in all five locales, MailSurface.vue
wired through useSeamText, a live en→es flip test and a Go seam test. The
unauthenticated 401 stayed prose (carried harmonisation ruling).

The reusable carrier (writeProblemKeyed, Problem.Key/Args, the
useAsyncGuard key-lift, the controlapi.* catalogue area, useSeamText) is
landed (#2129) — reuse it, do not reinvent it.

This ticket carries everything #2129/#2152/#2159/#2160 did not ship. It is
more than one slice — split it per surface-cluster when worked (one coherent
panel surface or Go-file family per slice), each: key the Go → catalogue the keys
in all five locales (en authoritative; es/nl/fr/pt drafts marked draft) → wire
the panel surface through useSeamText → one live en→es flip test per surface → a
Go seam test proving the key is emitted.

Harmonisation ruling (decided on #2159, carried through #2160 — keep carrying it)

The unauthenticated "sign in at the community front door …" 401 family
stays prose everywhere it appears (idip_directory signInForPanel,
idip_stewards signInToAct, mail signInToReach — DONE on #2160, me/meDoors
"sign in … to reach your home"): on a 401 the panel/Portal redirects or switches
to its signed-out face, so the Problem key is never rendered. Matches #2129/#2160.
Veto anytime.

Group 1 — the rest of the controlapi Problem surfaces

(From the #2159 fan-out inventory, minus activity.go (#2159) and mail.go
(#2160). Machine-drafted — needs review; translations are drafts.
controlapi.<ns>.<name>.)

idip_directory.go (directory): memberListForAdmins (403); standingUnknown
(503); recordsUnreachable (503); directoryFailed (500); credentialRequired (400).
Prose: directory_resting, the ErrResting/ErrRefused relays, the signInForPanel
401 (harmonisation).

idip_identity.go (identity): aidAndOobiRequired. Prose: identity_resting,
the recorder err.Error().

idip_roster.go (roster): aidAndSaidRequired / saidRequired / aidRequired.
Prose: roster_sealed + bearer sentences, invites_resting, the bearer-gated
bridge loopback, the err.Error() relays.

idip_authz.go (authz): notOperator (403); stewardCheckFailed (503).
Cross-cutting — spaces.go reuses these two keys byte-identically (no spaces.*).

idip_standing.go (standing): saidRequired. Prose: the ErrConflict/roster relays.

idip_credentials.go (credentials): noSuchCredential (404); aidAndSaidRequired;
saidRequired. Prose: credentials_unavailable / last_administrator /
credential_conflict relays.

idip_stewards.go (stewards): memberAidRequired; directionInvalid. Prose:
signInToAct 401 (harmonisation), rotation relays.

backups.go (backups): noSuchDataset (404, DEDUPE — one key, two sites);
noFailedRun; noGoneTarget; noVerifiedMoment; noDatasetToRestore; exportExpired.
Prose: config_repo_resting, decodeBody (SHARED helper — own decision), the
writeActErr relays.

destroy.go (destroy): hostMismatch; noClaimSecret. Prose: broker_refused +
preview relays. Borderline: malformed-JSON left prose — review.

reports.go (reports): brokerUnreachable. Prose: report_refused relays.

stackexport.go (stackExport): downloadExpired; noSuchBundle.
credentialimages.go (credentialImages): imageTooLarge. provision.go
(provision): updateInFlight; noDeploy. Prose: the writeProvisionErr relays.

me.go / me_doors.go (me / meDoors): couldNotReadSession; couldNotReadDoors
(DEDUPE, two sites). Prose: the "sign in … to reach your home" 401 (harmonisation).

device_telemetry.go (deviceTelemetry): unknownDevice (404).

communityapp.go (communityApp): nothingToTryAgain; redesignNotWired;
resubmitNotWired. communityapp_design.go (communityAppDesign): designNotWired
(DEDUPE, 3 sites); alreadyDesigned. Review: the three "…not wired on this
gateway yet" 503 seals.

spaces.go (spaces / reuses authz.*): recordReadFailed; recordWriteFailed;
challengeUnavailable → the wallet (matou-app) community-spaces door; plus the two
authz.* reuses. Prose: proof_path_resting, the verifier relays. Borderline:
incomplete_spaces left prose.

Left entirely prose (bucket 3): enroll.go, enroll_connect.go, enroll_rent.go,
members.go, settings.go, network.go, oidcprovider.go, fleet.go, overview.go,
mesh_jwks.go, the signin*.go redirects, panelepoch.go, catalogue*.go, logstream.go,
dashboard.go, recovery/monitor_contact/rescue relays (DDR 0234 bucket 3).

Group 2 — the per-view render-model Error/Detail fields

#2126-style view-struct keys (NOT the Problem carrier): *Key/*Args on the
lib view types + Go structs, resolved via useSeamText.

  • DeployRunView.Error/.Detail (deployrunstore)
  • the rent-option Detail lines (enroll_rent)
  • the destroyed-community banner (destroy)
  • provision.Recovery.Detail
  • the spaces already-recorded message (SpacesConflict.Message)

Group 3 — control-plane/cmd operator-facing text (~40 sentences)

Own package/binary. Most is boot/wiring/log-only (bucket 3) and stays English;
key only what an operator reads on a screen, if any. Audit + rule.

Acceptance

Same as #2129/#2152/#2159/#2160 scoped to the sentences above: keys + params for
every authored operator-/member-facing sentence; keys in all five catalogues (en
authoritative, es/nl/fr/pt machine drafts marked draft) passing the parity guard;
each surface renders through the seam translator with a live en→es test;
logs/audit/machine-read strings stay English.

Parent: #2121. Continues #2129 → #2152 → #2159 → #2160. Independent of the other
#2121 children.

## What The remainder of #2160 (itself the #2152 → #2159 → #2160 remainder chain). #2160 shipped the **member mail portal** cluster: `mail.go`'s three authored `Problem` sentences (`controlapi.mail.{couldNotReadMailbox,couldNotClaimMailbox, notOffered}`) keyed end-to-end, catalogued in all five locales, `MailSurface.vue` wired through `useSeamText`, a live en→es flip test and a Go seam test. The `unauthenticated` 401 stayed prose (carried harmonisation ruling). The reusable carrier (`writeProblemKeyed`, `Problem.Key/Args`, the `useAsyncGuard` key-lift, the `controlapi.*` catalogue area, `useSeamText`) is landed (#2129) — **reuse it, do not reinvent it.** This ticket carries everything #2129/#2152/#2159/#2160 did **not** ship. It is **more than one slice** — split it per surface-cluster when worked (one coherent panel surface or Go-file family per slice), each: key the Go → catalogue the keys in all five locales (en authoritative; es/nl/fr/pt drafts marked `draft`) → wire the panel surface through `useSeamText` → one live en→es flip test per surface → a Go seam test proving the key is emitted. ### Harmonisation ruling (decided on #2159, carried through #2160 — keep carrying it) The `unauthenticated` **"sign in at the community front door …"** 401 family stays **prose** everywhere it appears (idip_directory `signInForPanel`, idip_stewards `signInToAct`, mail `signInToReach` — DONE on #2160, me/meDoors "sign in … to reach your home"): on a 401 the panel/Portal redirects or switches to its signed-out face, so the Problem key is never rendered. Matches #2129/#2160. Veto anytime. ## Group 1 — the rest of the `controlapi` `Problem` surfaces (From the #2159 fan-out inventory, minus `activity.go` (#2159) and `mail.go` (#2160). Machine-drafted — needs review; translations are drafts. `controlapi.<ns>.<name>`.) **idip_directory.go** (`directory`): memberListForAdmins (403); standingUnknown (503); recordsUnreachable (503); directoryFailed (500); credentialRequired (400). _Prose:_ directory_resting, the ErrResting/ErrRefused relays, the signInForPanel 401 (harmonisation). **idip_identity.go** (`identity`): aidAndOobiRequired. _Prose:_ identity_resting, the recorder err.Error(). **idip_roster.go** (`roster`): aidAndSaidRequired / saidRequired / aidRequired. _Prose:_ roster_sealed + bearer sentences, invites_resting, the bearer-gated bridge loopback, the err.Error() relays. **idip_authz.go** (`authz`): notOperator (403); stewardCheckFailed (503). Cross-cutting — **spaces.go reuses these two keys** byte-identically (no `spaces.*`). **idip_standing.go** (`standing`): saidRequired. _Prose:_ the ErrConflict/roster relays. **idip_credentials.go** (`credentials`): noSuchCredential (404); aidAndSaidRequired; saidRequired. _Prose:_ credentials_unavailable / last_administrator / credential_conflict relays. **idip_stewards.go** (`stewards`): memberAidRequired; directionInvalid. _Prose:_ signInToAct 401 (harmonisation), rotation relays. **backups.go** (`backups`): noSuchDataset (404, DEDUPE — one key, two sites); noFailedRun; noGoneTarget; noVerifiedMoment; noDatasetToRestore; exportExpired. _Prose:_ config_repo_resting, decodeBody (SHARED helper — own decision), the writeActErr relays. **destroy.go** (`destroy`): hostMismatch; noClaimSecret. _Prose:_ broker_refused + preview relays. _Borderline:_ malformed-JSON left prose — review. **reports.go** (`reports`): brokerUnreachable. _Prose:_ report_refused relays. **stackexport.go** (`stackExport`): downloadExpired; noSuchBundle. **credentialimages.go** (`credentialImages`): imageTooLarge. **provision.go** (`provision`): updateInFlight; noDeploy. _Prose:_ the writeProvisionErr relays. **me.go / me_doors.go** (`me` / `meDoors`): couldNotReadSession; couldNotReadDoors (DEDUPE, two sites). _Prose:_ the "sign in … to reach your home" 401 (harmonisation). **device_telemetry.go** (`deviceTelemetry`): unknownDevice (404). **communityapp.go** (`communityApp`): nothingToTryAgain; redesignNotWired; resubmitNotWired. **communityapp_design.go** (`communityAppDesign`): designNotWired (DEDUPE, 3 sites); alreadyDesigned. _Review:_ the three "…not wired on this gateway yet" 503 seals. **spaces.go** (`spaces` / reuses `authz.*`): recordReadFailed; recordWriteFailed; challengeUnavailable → the wallet (matou-app) community-spaces door; plus the two authz.* reuses. _Prose:_ proof_path_resting, the verifier relays. _Borderline:_ incomplete_spaces left prose. **Left entirely prose (bucket 3):** enroll.go, enroll_connect.go, enroll_rent.go, members.go, settings.go, network.go, oidcprovider.go, fleet.go, overview.go, mesh_jwks.go, the signin*.go redirects, panelepoch.go, catalogue*.go, logstream.go, dashboard.go, recovery/monitor_contact/rescue relays (DDR 0234 bucket 3). ## Group 2 — the per-view render-model `Error`/`Detail` fields #2126-style view-struct keys (NOT the `Problem` carrier): `*Key`/`*Args` on the lib view types + Go structs, resolved via `useSeamText`. - `DeployRunView.Error`/`.Detail` (deployrunstore) - the rent-option `Detail` lines (enroll_rent) - the destroyed-community banner (destroy) - `provision.Recovery.Detail` - the spaces already-recorded message (`SpacesConflict.Message`) ## Group 3 — `control-plane/cmd` operator-facing text (~40 sentences) Own package/binary. Most is boot/wiring/log-only (bucket 3) and stays English; key only what an operator reads on a screen, if any. Audit + rule. ## Acceptance Same as #2129/#2152/#2159/#2160 scoped to the sentences above: keys + params for every authored operator-/member-facing sentence; keys in all five catalogues (en authoritative, es/nl/fr/pt machine drafts marked draft) passing the parity guard; each surface renders through the seam translator with a live en→es test; logs/audit/machine-read strings stay English. Parent: #2121. Continues #2129 → #2152 → #2159 → #2160. Independent of the other #2121 children.
Author
Member

This was generated by AI during triage.

Ruled by agent under ADR 0174 — veto anytime.

Triage

  • Category: enhancement — i18n coverage work, matching the whole chain (parent #2121; #2129 → #2152 → #2159 → #2160, all closed as enhancement).
  • State: ready-for-agent.

Ruling

This is the next remainder in the shipped i18n Go-seam chain. #2160 was triaged enhancement + ready-for-agent, worked by the swarm, and filed this ticket one minute after it closed — the proven operating mode: a worker ships one coherent surface-cluster, re-files the remainder, and closes. #2164 inherits that mode verbatim (its own body instructs the worker to split per surface-cluster in-flight).

It is ready-for-agent, not blocked:

  • Reusable carrier is landed (#2129) — writeProblemKeyed, Problem.Key/Args, the useAsyncGuard key-lift, the controlapi.* catalogue, useSeamText. The recipe (key the Go → catalogue all five locales → wire the panel through useSeamText → one live en→es flip test → a Go seam test) and acceptance criteria are concrete and identical to four shipped predecessors.
  • Missing-design gate does not fire — this keys existing shipped surfaces (e.g. MailSurface.vue already existed on #2160); no referenced UX flow, wireframe, or seam contract is missing. ADR 0232 / DDR 0234 and the control-plane seam exist.
  • No needs_human_decision — there is no task manifest, and the one standing ruling (the unauthenticated 401 'sign in at the front door' family stays prose) was already decided on #2159 and carried, 'veto anytime'. The Group 3 'audit + rule' for control-plane/cmd and the 'review/borderline' notes are within-scope two-way-door keying calls the worker makes exactly as the predecessors did; the es/nl/fr/pt drafts carry draft markers (native-reviewer accept owed later, not blocking).

Why this is a two-way door: every keying decision is revertible by a later commit or relabel, and provable by the Go seam tests + live en→es flip tests the acceptance criteria require — no personal credentials, security-posture widening, member-facing trust accept, data destruction, or non-routine spend. The chain has proven it four times.

Not a landing-pr ticket: no <!-- origin: app-report --> marker, swarm-authored body.

> *This was generated by AI during triage.* **Ruled by agent under ADR 0174 — veto anytime.** ## Triage - **Category:** `enhancement` — i18n coverage work, matching the whole chain (parent #2121; #2129 → #2152 → #2159 → #2160, all closed as `enhancement`). - **State:** `ready-for-agent`. ## Ruling This is the next remainder in the shipped i18n Go-seam chain. #2160 was triaged `enhancement` + `ready-for-agent`, worked by the swarm, and filed this ticket one minute after it closed — the proven operating mode: a worker ships one coherent surface-cluster, re-files the remainder, and closes. #2164 inherits that mode verbatim (its own body instructs the worker to split per surface-cluster in-flight). It is `ready-for-agent`, not blocked: - **Reusable carrier is landed (#2129)** — `writeProblemKeyed`, `Problem.Key/Args`, the `useAsyncGuard` key-lift, the `controlapi.*` catalogue, `useSeamText`. The recipe (key the Go → catalogue all five locales → wire the panel through `useSeamText` → one live en→es flip test → a Go seam test) and acceptance criteria are concrete and identical to four shipped predecessors. - **Missing-design gate does not fire** — this keys *existing shipped* surfaces (e.g. `MailSurface.vue` already existed on #2160); no referenced UX flow, wireframe, or seam contract is missing. ADR 0232 / DDR 0234 and the control-plane seam exist. - **No `needs_human_decision`** — there is no task manifest, and the one standing ruling (the `unauthenticated` 401 'sign in at the front door' family stays prose) was already decided on #2159 and carried, 'veto anytime'. The Group 3 'audit + rule' for `control-plane/cmd` and the 'review/borderline' notes are within-scope two-way-door keying calls the worker makes exactly as the predecessors did; the es/nl/fr/pt drafts carry `draft` markers (native-reviewer accept owed later, not blocking). **Why this is a two-way door:** every keying decision is revertible by a later commit or relabel, and provable by the Go seam tests + live en→es flip tests the acceptance criteria require — no personal credentials, security-posture widening, member-facing trust accept, data destruction, or non-routine spend. The chain has proven it four times. Not a `landing-pr` ticket: no `<!-- origin: app-report -->` marker, swarm-authored body.
Author
Member

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

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

⏩ independent reviewer for #2164 — verdict unauthenticated

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

close-report for #2164 — status success

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

envelope
{
  "issue": 2164,
  "status": "success",
  "commits": [
    "9cc9e6d1693d4b5ed22fee5165db3a39c6e497b8"
  ],
  "changed_files": [
    "STATUS.md",
    "dashboard/src/components/shell/ReportIssueDialog.vue",
    "dashboard/src/i18n/controlapi/en.ts",
    "dashboard/src/i18n/controlapi/es.ts",
    "dashboard/src/i18n/controlapi/fr.ts",
    "dashboard/src/i18n/controlapi/nl.ts",
    "dashboard/src/i18n/controlapi/pt.ts",
    "dashboard/tests/unit/reportErrorsI18n.test.ts",
    "internal/controlapi/reports.go",
    "internal/controlapi/reports_i18n_seam_test.go"
  ],
  "tests": [
    {
      "command": "nix develop .#go-ci --command go test ./internal/controlapi/",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci --command go vet ./internal/controlapi/",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci --command golangci-lint run ./internal/controlapi/...",
      "exit_code": 0
    },
    {
      "command": "dashboard: node_modules/.bin/vitest run (full suite, 2292 passed / 5 skipped)",
      "exit_code": 0
    },
    {
      "command": "dashboard: vue-tsc --noEmit",
      "exit_code": 0
    },
    {
      "command": "eslint (changed .vue/.ts files + full tree via pre-push gate)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "keys + params for every authored operator-/member-facing sentence in this cluster": "reports.go: the unreachable-broker 502 now writeProblemKeyed with controlapi.reports.brokerUnreachable (no args — static sentence); the two report_refused relays stay prose with no key (bucket 3). internal/controlapi/reports.go",
    "keys in all five catalogues (en authoritative, es/nl/fr/pt drafts marked draft) passing the parity guard": "controlapi.reports.brokerUnreachable added to dashboard/src/i18n/controlapi/{en,es,nl,fr,pt}.ts (es/nl/fr/pt files carry export const draft = true); the decision-9 key-parity guard (tests/unit/i18n.test.ts) passes in the full vitest run",
    "each surface renders through the seam translator with a live en->es test": "ReportIssueDialog.vue lifts the control-API key/args off the rejection's problem body and renders the DRx failed-state note through useSeamText (failureReason computed); dashboard/tests/unit/reportErrorsI18n.test.ts flips the keyed broker-unreachable note en->es",
    "logs/audit/machine-read strings stay English": "reports.go still log.Warn's the raw transport error; the keyed Problem retains the English message as the d.6 fallback; the reports_i18n_seam_test.go asserts the transport string never reaches the dialog body"
  },
  "summary": "Keyed the App report dialog's unreachable-broker 502 (controlapi.reports.brokerUnreachable) and wired ReportIssueDialog through useSeamText so it reads in the operator's locale.",
  "blockers": []
}
**close-report** for #2164 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against the pushed worker branch `sandcastle/worker/20261104-131834-202b37` (pre-land — the host promotes it to `main` only after its post-run verify, #193/#283); issue closed. <details><summary>envelope</summary> ```json { "issue": 2164, "status": "success", "commits": [ "9cc9e6d1693d4b5ed22fee5165db3a39c6e497b8" ], "changed_files": [ "STATUS.md", "dashboard/src/components/shell/ReportIssueDialog.vue", "dashboard/src/i18n/controlapi/en.ts", "dashboard/src/i18n/controlapi/es.ts", "dashboard/src/i18n/controlapi/fr.ts", "dashboard/src/i18n/controlapi/nl.ts", "dashboard/src/i18n/controlapi/pt.ts", "dashboard/tests/unit/reportErrorsI18n.test.ts", "internal/controlapi/reports.go", "internal/controlapi/reports_i18n_seam_test.go" ], "tests": [ { "command": "nix develop .#go-ci --command go test ./internal/controlapi/", "exit_code": 0 }, { "command": "nix develop .#go-ci --command go vet ./internal/controlapi/", "exit_code": 0 }, { "command": "nix develop .#go-ci --command golangci-lint run ./internal/controlapi/...", "exit_code": 0 }, { "command": "dashboard: node_modules/.bin/vitest run (full suite, 2292 passed / 5 skipped)", "exit_code": 0 }, { "command": "dashboard: vue-tsc --noEmit", "exit_code": 0 }, { "command": "eslint (changed .vue/.ts files + full tree via pre-push gate)", "exit_code": 0 } ], "criteria": { "keys + params for every authored operator-/member-facing sentence in this cluster": "reports.go: the unreachable-broker 502 now writeProblemKeyed with controlapi.reports.brokerUnreachable (no args — static sentence); the two report_refused relays stay prose with no key (bucket 3). internal/controlapi/reports.go", "keys in all five catalogues (en authoritative, es/nl/fr/pt drafts marked draft) passing the parity guard": "controlapi.reports.brokerUnreachable added to dashboard/src/i18n/controlapi/{en,es,nl,fr,pt}.ts (es/nl/fr/pt files carry export const draft = true); the decision-9 key-parity guard (tests/unit/i18n.test.ts) passes in the full vitest run", "each surface renders through the seam translator with a live en->es test": "ReportIssueDialog.vue lifts the control-API key/args off the rejection's problem body and renders the DRx failed-state note through useSeamText (failureReason computed); dashboard/tests/unit/reportErrorsI18n.test.ts flips the keyed broker-unreachable note en->es", "logs/audit/machine-read strings stay English": "reports.go still log.Warn's the raw transport error; the keyed Problem retains the English message as the d.6 fallback; the reports_i18n_seam_test.go asserts the transport string never reaches the dialog body" }, "summary": "Keyed the App report dialog's unreachable-broker 502 (controlapi.reports.brokerUnreachable) and wired ReportIssueDialog through useSeamText so it reads in the operator's locale.", "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#2164
No description provided.