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

Closed
opened 2026-11-04 14:45:12 +00:00 by matou-build-agent · 5 comments

What

The remainder of #2152 (itself the #2129 remainder). #2152 shipped the IDIP
access-matrix doors
cluster (DDR 0273): idip_service_access.go +
idip_service_side_access.go keyed end-to-end, catalogues + parity, Go seam
tests, and ServiceAccessSurface.vue wired + flip-tested. The reusable carrier
(writeProblemKeyed, Problem.Key/Args, the useAsyncGuard key-lift, the
controlapi.* catalogue area, useSeamText) is landed — reuse it, do not
reinvent it.

This ticket carries what #2152 did not ship, in the three original groups.
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 (guard-backed
surfaces: the uniform errorText = seamText(error, errorKey, errorArgs) swap
#2129 did on the Updates screens; inline surfaces: capture .problem.key/args
in the catch, render through the seam) → one live en→es flip test per surface →
a Go seam test proving the key is emitted).

Harmonisation decision owed first (affects group 1)

The unauthenticated "sign in at the community front door …" 401 family was
classified inconsistently by the #2152 fan-out. #2129's prior art left this
family prose (the panel/Portal redirects or switches to its signed-out face
on a 401; it does not resolve the Problem key). Decide it once before keying
group 1 — recommended: keep the whole "sign in at the community front door"
family prose, matching #2129.

Group 1 — the rest of the controlapi Problem surfaces

Machine-drafted inventory from the #2152 fan-out (needs review; translations are
drafts). controlapi.<ns>.<name> keys, English sentence, rendering surface.

idip_directory.go (directory): memberListForAdmins "the member list is for
the community's administrators and stewards" (403); standingUnknown "whether you
may open the control panel could not be read just now — try again" (503);
recordsUnreachable "the community's records can't be reached right now — try
again shortly" (503); directoryFailed "the credential directory could not be
read or written" (500); credentialRequired "credential is required" (400).
Prose: directory_resting, the ErrResting/ErrRefused err.Error() relays, the
signInForPanel 401 (see harmonisation).

idip_identity.go (identity): aidAndOobiRequired "aid and oobi are required"
(founding/install leg). Prose: identity_resting, the recorder err.Error().

idip_roster.go (roster): aidAndSaidRequired / saidRequired / aidRequired —
the steward anchor-issuance / confirm-receipt / founder-register act validations.
Prose: roster_sealed + bearer sentences (machine bridge), invites_resting, the
"no such member" inside the bearer-gated bridge loopback (machine-read), all the
err.Error() relays.

idip_authz.go (authz): notOperator "only a steward can do this — ask one of
your community's stewards" (403); stewardCheckFailed "the community roster could
not be read, so this act was not attempted — try again" (503). Cross-cutting —
fires on ANY steward-only act; spaces.go reuses these same two keys (byte-
identical sentences) rather than minting spaces.* keys.

idip_standing.go (standing): saidRequired "said (the fresh membership
credential) is required". Prose: the ErrConflict/roster err.Error() relays.

idip_credentials.go (credentials): noSuchCredential "no such credential"
(404); aidAndSaidRequired "aid and said are required"; saidRequired "said is
required" — the S7i credential ceremony validations → credential detail surface.
Prose: the credentials_unavailable / last_administrator / credential_conflict
err.Error() relays.

idip_stewards.go (stewards): memberAidRequired "member_aid is required";
directionInvalid 'direction must be "add" or "remove"' — S4i make/remove a
steward. Prose: signInToAct 401 (harmonisation), rotation err.Error() relays.

backups.go (backups): noSuchDataset "no such dataset" (404, DEDUPE — one key
for two sites); noFailedRun; noGoneTarget; noVerifiedMoment "no verified moment
to restore in place"; noDatasetToRestore; exportExpired "this export archive is
no longer available — take a fresh export" → the P7 backups screens.
Prose: config_repo_resting, decodeBody "the request body could not be read"
(SHARED helper — keying its one site keys it for every caller; needs its own
decision), the writeActErr err.Error() relays.

destroy.go (destroy): hostMismatch "the destroy request must name this
community's host exactly — nothing was sent"; noClaimSecret "this gateway holds
no claim secret, so it cannot release the community from here" → destroy confirm
dialog. Prose: broker_refused + preview err.Error() relays. Borderline: "the
destroy request could not be read" (malformed JSON) left prose — review.

mail.go (mail): couldNotReadMailbox; couldNotClaimMailbox; notOffered "mail
is not offered in this community yet"; signInToReach (harmonisation — 401).

reports.go (reports): brokerUnreachable "Mātou's broker could not be
reached" → App report dialog. Prose: report_refused relays the broker/local
Reason verbatim.

stackexport.go (stackExport): downloadExpired; noSuchBundle → take-it-with-
you download. credentialimages.go (credentialImages): imageTooLarge "a
credential image must be at most 256 KB". provision.go (provision):
updateInFlight (same sentence as updates.updateInFlight); noDeploy "no deploy has
run for this device" → P4. Prose: the writeProvisionErr err.Error() relays.

me.go / me_doors.go (me / meDoors): couldNotReadSession "the community
could not read who holds this session"; couldNotReadDoors "the community could
not read your doors" (DEDUPE across two sites) → Portal member home.
Prose: the "sign in … to reach your home" 401 (harmonisation).

device_telemetry.go (deviceTelemetry): unknownDevice "no such device" (404)
→ Fleet per-device drill-in. activity.go (activity): invalidWindow "the
activity window must be one of: today, 7d, 30d"; readFailed "no activity source
could answer" → Activity surface.

communityapp.go (communityApp): nothingToTryAgain "there is nothing to try
again — the app is not in a failed state"; redesignNotWired; resubmitNotWired.
communityapp_design.go (communityAppDesign): designNotWired (DEDUPE, 3
sites); alreadyDesigned "this community's app is already designed — its card
carries the next step". Review: the three "…is not wired on this gateway yet"
503 seals — key as operational, or match config_repo_resting prose?

spaces.go (spaces / reuses authz.*): recordReadFailed; recordWriteFailed;
challengeUnavailable → the wallet (matou-app) community-spaces door; plus the two
authz.* reuses above. Prose: proof_path_resting, the verifier err.Error()
relays. Borderline: incomplete_spaces (names raw snake_case wire fields, wallet
auto-generates them) left prose.

Left entirely prose (bucket 3), no keyable sentence: enroll.go,
enroll_connect.go, enroll_rent.go, members.go, settings.go (every carrier relays
err.Error()); network.go, oidcprovider.go, fleet.go, overview.go (no writeProblem
sites). mesh_jwks.go, the signin*.go browser-redirect/back-channel endpoints,
panelepoch.go sign-out-everywhere, catalogue*.go front-door prose, logstream.go
SSE/relays, dashboard.go "no such endpoint", recovery/monitor_contact/rescue
err.Error() relays — all machine-to-machine or relayed (see DDR 0234 bucket 3).

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

A distinct mechanism (#2126-style view-struct keys, NOT the Problem carrier):
add *Key/*Args to the hand-written lib view types + the Go structs, resolve
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)

Its 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 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. Independent of the other #2121 children.

## What The remainder of #2152 (itself the #2129 remainder). #2152 shipped the **IDIP access-matrix doors** cluster (DDR 0273): `idip_service_access.go` + `idip_service_side_access.go` keyed end-to-end, catalogues + parity, Go seam tests, and `ServiceAccessSurface.vue` wired + flip-tested. The reusable carrier (`writeProblemKeyed`, `Problem.Key/Args`, the `useAsyncGuard` key-lift, the `controlapi.*` catalogue area, `useSeamText`) is landed — **reuse it, do not reinvent it.** This ticket carries what #2152 did **not** ship, in the three original groups. 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` (guard-backed surfaces: the uniform `errorText = seamText(error, errorKey, errorArgs)` swap #2129 did on the Updates screens; inline surfaces: capture `.problem.key/args` in the catch, render through the seam) → one live en→es flip test per surface → a Go seam test proving the key is emitted). ### Harmonisation decision owed first (affects group 1) The `unauthenticated` **"sign in at the community front door …"** 401 family was classified inconsistently by the #2152 fan-out. #2129's prior art left this family **prose** (the panel/Portal redirects or switches to its signed-out face on a 401; it does not resolve the Problem key). **Decide it once** before keying group 1 — recommended: keep the whole "sign in at the community front door" family prose, matching #2129. ## Group 1 — the rest of the `controlapi` `Problem` surfaces Machine-drafted inventory from the #2152 fan-out (needs review; translations are drafts). `controlapi.<ns>.<name>` keys, English sentence, rendering surface. **idip_directory.go** (`directory`): memberListForAdmins "the member list is for the community's administrators and stewards" (403); standingUnknown "whether you may open the control panel could not be read just now — try again" (503); recordsUnreachable "the community's records can't be reached right now — try again shortly" (503); directoryFailed "the credential directory could not be read or written" (500); credentialRequired "credential is required" (400). _Prose:_ directory_resting, the ErrResting/ErrRefused err.Error() relays, the signInForPanel 401 (see harmonisation). **idip_identity.go** (`identity`): aidAndOobiRequired "aid and oobi are required" (founding/install leg). _Prose:_ identity_resting, the recorder err.Error(). **idip_roster.go** (`roster`): aidAndSaidRequired / saidRequired / aidRequired — the steward anchor-issuance / confirm-receipt / founder-register act validations. _Prose:_ roster_sealed + bearer sentences (machine bridge), invites_resting, the "no such member" inside the bearer-gated bridge loopback (machine-read), all the err.Error() relays. **idip_authz.go** (`authz`): notOperator "only a steward can do this — ask one of your community's stewards" (403); stewardCheckFailed "the community roster could not be read, so this act was not attempted — try again" (503). Cross-cutting — fires on ANY steward-only act; **spaces.go reuses these same two keys** (byte- identical sentences) rather than minting `spaces.*` keys. **idip_standing.go** (`standing`): saidRequired "said (the fresh membership credential) is required". _Prose:_ the ErrConflict/roster err.Error() relays. **idip_credentials.go** (`credentials`): noSuchCredential "no such credential" (404); aidAndSaidRequired "aid and said are required"; saidRequired "said is required" — the S7i credential ceremony validations → credential detail surface. _Prose:_ the credentials_unavailable / last_administrator / credential_conflict err.Error() relays. **idip_stewards.go** (`stewards`): memberAidRequired "member_aid is required"; directionInvalid 'direction must be "add" or "remove"' — S4i make/remove a steward. _Prose:_ signInToAct 401 (harmonisation), rotation err.Error() relays. **backups.go** (`backups`): noSuchDataset "no such dataset" (404, DEDUPE — one key for two sites); noFailedRun; noGoneTarget; noVerifiedMoment "no verified moment to restore in place"; noDatasetToRestore; exportExpired "this export archive is no longer available — take a fresh export" → the P7 backups screens. _Prose:_ config_repo_resting, decodeBody "the request body could not be read" (SHARED helper — keying its one site keys it for every caller; needs its own decision), the writeActErr err.Error() relays. **destroy.go** (`destroy`): hostMismatch "the destroy request must name this community's host exactly — nothing was sent"; noClaimSecret "this gateway holds no claim secret, so it cannot release the community from here" → destroy confirm dialog. _Prose:_ broker_refused + preview err.Error() relays. _Borderline:_ "the destroy request could not be read" (malformed JSON) left prose — review. **mail.go** (`mail`): couldNotReadMailbox; couldNotClaimMailbox; notOffered "mail is not offered in this community yet"; signInToReach (harmonisation — 401). **reports.go** (`reports`): brokerUnreachable "Mātou's broker could not be reached" → App report dialog. _Prose:_ report_refused relays the broker/local Reason verbatim. **stackexport.go** (`stackExport`): downloadExpired; noSuchBundle → take-it-with- you download. **credentialimages.go** (`credentialImages`): imageTooLarge "a credential image must be at most 256 KB". **provision.go** (`provision`): updateInFlight (same sentence as updates.updateInFlight); noDeploy "no deploy has run for this device" → P4. _Prose:_ the writeProvisionErr err.Error() relays. **me.go / me_doors.go** (`me` / `meDoors`): couldNotReadSession "the community could not read who holds this session"; couldNotReadDoors "the community could not read your doors" (DEDUPE across two sites) → Portal member home. _Prose:_ the "sign in … to reach your home" 401 (harmonisation). **device_telemetry.go** (`deviceTelemetry`): unknownDevice "no such device" (404) → Fleet per-device drill-in. **activity.go** (`activity`): invalidWindow "the activity window must be one of: today, 7d, 30d"; readFailed "no activity source could answer" → Activity surface. **communityapp.go** (`communityApp`): nothingToTryAgain "there is nothing to try again — the app is not in a failed state"; redesignNotWired; resubmitNotWired. **communityapp_design.go** (`communityAppDesign`): designNotWired (DEDUPE, 3 sites); alreadyDesigned "this community's app is already designed — its card carries the next step". _Review:_ the three "…is not wired on this gateway yet" 503 seals — key as operational, or match config_repo_resting prose? **spaces.go** (`spaces` / reuses `authz.*`): recordReadFailed; recordWriteFailed; challengeUnavailable → the wallet (matou-app) community-spaces door; plus the two authz.* reuses above. _Prose:_ proof_path_resting, the verifier err.Error() relays. _Borderline:_ incomplete_spaces (names raw snake_case wire fields, wallet auto-generates them) left prose. **Left entirely prose (bucket 3), no keyable sentence:** enroll.go, enroll_connect.go, enroll_rent.go, members.go, settings.go (every carrier relays err.Error()); network.go, oidcprovider.go, fleet.go, overview.go (no writeProblem sites). mesh_jwks.go, the signin*.go browser-redirect/back-channel endpoints, panelepoch.go sign-out-everywhere, catalogue*.go front-door prose, logstream.go SSE/relays, dashboard.go "no such endpoint", recovery/monitor_contact/rescue err.Error() relays — all machine-to-machine or relayed (see DDR 0234 bucket 3). ## Group 2 — the per-view render-model `Error`/`Detail` fields A distinct mechanism (#2126-style view-struct keys, NOT the `Problem` carrier): add `*Key`/`*Args` to the hand-written lib view types + the Go structs, resolve 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) Its 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 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. Independent of the other #2121 children.
Author
Member

This was generated by AI during triage.

Triage — enhancement + ready-for-agent

Category: enhancement (i18n Go-seam work, matching the whole #2121 family).

State: ready-for-agent. Verified against the tree at HEAD:

  • The reusable carrier this ticket says to reuse is landed — writeProblemKeyed / Problem.Key/Args in internal/controlapi/ (seen in updates.go, backups.go), the controlapi.* catalogue area in all five locales (dashboard/src/i18n/controlapi/{en,es,nl,fr,pt}.ts), plus useAsyncGuard's key-lift and useSeamText.
  • Every Group-1 Go file named in the body exists under internal/controlapi/ (idip_directory, idip_identity, idip_roster, idip_authz, idip_standing, idip_credentials, idip_stewards, backups, destroy, mail, reports, stackexport, provision, me, activity, communityapp, spaces), as does control-plane/cmd/ for Group 3.
  • The design tier it builds against is present (ADR 0232 — the i18n seam; DDR 0234). Missing-design gate does not trip: no referenced flow/wireframe/seam contract is absent — the surfaces and the pattern are already shipped.

This is the same additive-field + prose-fallback, byte-identical-English shape the swarm has been shipping across #2124–#2155 under ADR 0174. It is "more than one slice" by design (its own body says so); the worker splits per surface-cluster and files follow-ups as it goes, exactly as #2129 → #2152 → #2159 already did. That does not block ready-for-agent.

Ruled by agent under ADR 0174 — veto anytime

The harmonisation decision owed first (affects Group 1): keep the entire unauthenticated "sign in at the community front door …" 401 family prose — do not mint controlapi.* keys for it. This matches #2129's prior art: on a 401 the panel/Portal redirects or switches to its signed-out face; it never renders the Problem key, so there is no live surface to translate.

Why this is a two-way door: it is a presentation/i18n choice, fully revertible by a later commit (key the family then if a surface ever renders it), and provable by the existing seam tests (the kept-prose families carry an empty Key and are covered by the signed-out-face behaviour; keyed families get a live en→es flip test). It is none of the one-way-door residues — no personal credentials, no security-posture widening, no member-facing trust accept, no data destruction, no non-routine spend.

Apply the same ruling to the other (harmonisation — 401) sites the body flags (idip_stewards signInToAct, mail signInToReach, me/meDoors "sign in … to reach your home"): stay prose.

Agent brief

Goal. Key the operator-/member-facing sentences #2152 did not ship, reusing the landed carrier — do not reinvent it.

Work it one slice per surface-cluster (one coherent panel surface or Go-file family per slice). Each slice, the established loop:

  1. Key the Go side — add Key/Args (or *Key/*Args for Group-2 view structs) beside the retained English prose; English stays byte-identical.
  2. Catalogue the keys in all five locales (en authoritative and byte-identical to the Go prose; es/nl/fr/pt machine drafts marked draft); pass the parity guard.
  3. Wire the panel surface through the seam translator — guard-backed surfaces take the uniform errorText = seamText(error, errorKey, errorArgs) swap #2129 did on the Updates screens; inline surfaces capture .problem.key/args in the catch and render through the seam.
  4. One live en→es flip test per surface + a Go seam test proving the key is emitted.

Scope, from the body: Group 1 (the rest of the controlapi Problem surfaces — the per-file inventory in the body, including the DEDUPE notes: backups.noSuchDataset one key for two sites, authz.* reused by spaces.go, me/meDoors.couldNotReadDoors across two sites, communityAppDesign.designNotWired across three); Group 2 (the per-view render-model Error/Detail fields — #2126-style view-struct keys, NOT the Problem carrier); Group 3 (control-plane/cmd — audit and rule; key only what an operator reads on a screen, if any — most is boot/log-only bucket-3 prose that stays English).

Honour the ruling above: the 401 "sign in at the community front door" family stays prose everywhere it appears.

Open sub-decisions the body flags (decodeBody shared helper; the three communityAppDesign "…not wired on this gateway yet" 503 seals; the destroy malformed-JSON borderline; spaces.incomplete_spaces) are themselves two-way i18n choices — rule each under ADR 0174 at slice time with a one-line note on the follow-up ticket, defaulting to match config_repo_resting prose for the operational/relay cases unless a sentence is clearly operator-authored guidance.

Out of scope / stays prose (bucket 3, DDR 0234): every err.Error() relay, the machine-to-machine bridges, and the files the body lists under "Left entirely prose."

Lands by push (like every sibling in the #2121 arc). Parent: #2121. Continues #2129 → #2152.

> *This was generated by AI during triage.* ## Triage — `enhancement` + `ready-for-agent` **Category:** `enhancement` (i18n Go-seam work, matching the whole #2121 family). **State:** `ready-for-agent`. Verified against the tree at HEAD: - The reusable carrier this ticket says to reuse is landed — `writeProblemKeyed` / `Problem.Key/Args` in `internal/controlapi/` (seen in `updates.go`, `backups.go`), the `controlapi.*` catalogue area in all five locales (`dashboard/src/i18n/controlapi/{en,es,nl,fr,pt}.ts`), plus `useAsyncGuard`'s key-lift and `useSeamText`. - Every Group-1 Go file named in the body exists under `internal/controlapi/` (idip_directory, idip_identity, idip_roster, idip_authz, idip_standing, idip_credentials, idip_stewards, backups, destroy, mail, reports, stackexport, provision, me, activity, communityapp, spaces), as does `control-plane/cmd/` for Group 3. - The design tier it builds against is present (ADR 0232 — the i18n seam; DDR 0234). **Missing-design gate does not trip:** no referenced flow/wireframe/seam contract is absent — the surfaces and the pattern are already shipped. This is the same additive-field + prose-fallback, byte-identical-English shape the swarm has been shipping across #2124–#2155 under ADR 0174. It is "more than one slice" by design (its own body says so); the worker splits per surface-cluster and files follow-ups as it goes, exactly as #2129 → #2152 → #2159 already did. That does not block `ready-for-agent`. ## Ruled by agent under ADR 0174 — veto anytime **The harmonisation decision owed first (affects Group 1):** keep the entire **`unauthenticated` "sign in at the community front door …" 401 family prose** — do **not** mint `controlapi.*` keys for it. This matches #2129's prior art: on a 401 the panel/Portal redirects or switches to its signed-out face; it never renders the `Problem` key, so there is no live surface to translate. **Why this is a two-way door:** it is a presentation/i18n choice, fully revertible by a later commit (key the family then if a surface ever renders it), and provable by the existing seam tests (the kept-prose families carry an empty `Key` and are covered by the signed-out-face behaviour; keyed families get a live en→es flip test). It is none of the one-way-door residues — no personal credentials, no security-posture widening, no member-facing trust accept, no data destruction, no non-routine spend. Apply the same ruling to the other `(harmonisation — 401)` sites the body flags (idip_stewards `signInToAct`, mail `signInToReach`, me/meDoors "sign in … to reach your home"): stay prose. ## Agent brief **Goal.** Key the operator-/member-facing sentences #2152 did not ship, reusing the landed carrier — do not reinvent it. **Work it one slice per surface-cluster** (one coherent panel surface or Go-file family per slice). Each slice, the established loop: 1. Key the Go side — add `Key`/`Args` (or `*Key`/`*Args` for Group-2 view structs) beside the retained English prose; English stays byte-identical. 2. Catalogue the keys in all five locales (`en` authoritative and byte-identical to the Go prose; es/nl/fr/pt machine drafts marked `draft`); pass the parity guard. 3. Wire the panel surface through the seam translator — guard-backed surfaces take the uniform `errorText = seamText(error, errorKey, errorArgs)` swap #2129 did on the Updates screens; inline surfaces capture `.problem.key/args` in the catch and render through the seam. 4. One live en→es flip test per surface + a Go seam test proving the key is emitted. **Scope, from the body:** Group 1 (the rest of the `controlapi` `Problem` surfaces — the per-file inventory in the body, including the DEDUPE notes: `backups.noSuchDataset` one key for two sites, `authz.*` reused by `spaces.go`, `me/meDoors.couldNotReadDoors` across two sites, `communityAppDesign.designNotWired` across three); Group 2 (the per-view render-model `Error`/`Detail` fields — #2126-style view-struct keys, NOT the `Problem` carrier); Group 3 (`control-plane/cmd` — audit and rule; key only what an operator reads on a screen, if any — most is boot/log-only bucket-3 prose that stays English). **Honour the ruling above:** the 401 "sign in at the community front door" family stays prose everywhere it appears. **Open sub-decisions the body flags** (`decodeBody` shared helper; the three communityAppDesign "…not wired on this gateway yet" 503 seals; the `destroy` malformed-JSON borderline; `spaces.incomplete_spaces`) are themselves two-way i18n choices — rule each under ADR 0174 at slice time with a one-line note on the follow-up ticket, defaulting to **match `config_repo_resting` prose** for the operational/relay cases unless a sentence is clearly operator-authored guidance. **Out of scope / stays prose (bucket 3, DDR 0234):** every `err.Error()` relay, the machine-to-machine bridges, and the files the body lists under "Left entirely prose." **Lands by push** (like every sibling in the #2121 arc). Parent: #2121. Continues #2129 → #2152.
Author
Member

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

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

Ruled by agent under ADR 0174 — veto anytime

This slice ships the Activity (P12) surface-cluster, matching the body's
"more than one slice — split it per surface-cluster when worked" and the
#2129→#2152 precedent (each sibling closed scoped and filed the next):

  • activity.go — both authored Problem sentences keyed (controlapi.activity.invalidWindow 400, controlapi.activity.readFailed 500) via writeProblemKeyed, retained English as the d.6 fallback.
  • controlapi.activity.* added to all five catalogues (en authoritative; es/nl/fr/pt drafts marked draft), parity guard green.
  • ActivityFeedSurface.vue wired through useSeamText (the guard-backed errorText = seamText(error, errorKey, errorArgs) swap).
  • internal/controlapi/activity_i18n_seam_test.go (2) + dashboard/tests/unit/activityErrorsI18n.test.ts (live en→es flip + keyless-stays-prose).

Harmonisation (owed first, affects group 1) was already ruled on this issue
by the triage comment: the unauthenticated "sign in at the community front
door …" 401 family stays prose everywhere it appears. Activity carries no
401 family, so nothing to key here; the ruling is carried forward to #2160.

The ~80-sentence remainder (the rest of the group-1 controlapi Problem
surfaces, the group-2 per-view Error/Detail fields, and all of group-3
control-plane/cmd, plus the open sub-decisions: decodeBody, the three
communityAppDesign 503 seals, the destroy malformed-JSON borderline,
spaces.incomplete_spaces) is filed as the open follow-up #2160, reusing
this same carrier.

Why this is a two-way door: every change is additive (new fields + catalogue
keys beside byte-identical retained English, prose fallback on a missing key),
revertible per commit, and proven by the two suites above. It is none of the
one-way-door residues — no personal credentials, no security-posture widening,
no member-facing trust accept, no data destruction, no non-routine spend.

Lands by push. Parent #2121; continues #2129 → #2152.

## Ruled by agent under ADR 0174 — veto anytime **This slice ships the Activity (P12) surface-cluster**, matching the body's "more than one slice — split it per surface-cluster when worked" and the #2129→#2152 precedent (each sibling closed scoped and filed the next): - `activity.go` — both authored `Problem` sentences keyed (`controlapi.activity.invalidWindow` 400, `controlapi.activity.readFailed` 500) via `writeProblemKeyed`, retained English as the d.6 fallback. - `controlapi.activity.*` added to all five catalogues (en authoritative; es/nl/fr/pt drafts marked `draft`), parity guard green. - `ActivityFeedSurface.vue` wired through `useSeamText` (the guard-backed `errorText = seamText(error, errorKey, errorArgs)` swap). - `internal/controlapi/activity_i18n_seam_test.go` (2) + `dashboard/tests/unit/activityErrorsI18n.test.ts` (live en→es flip + keyless-stays-prose). **Harmonisation** (owed first, affects group 1) was already ruled on this issue by the triage comment: the `unauthenticated` "sign in at the community front door …" 401 family stays **prose** everywhere it appears. Activity carries no 401 family, so nothing to key here; the ruling is carried forward to #2160. **The ~80-sentence remainder** (the rest of the group-1 `controlapi` `Problem` surfaces, the group-2 per-view `Error`/`Detail` fields, and all of group-3 `control-plane/cmd`, plus the open sub-decisions: `decodeBody`, the three `communityAppDesign` 503 seals, the `destroy` malformed-JSON borderline, `spaces.incomplete_spaces`) is filed as the open follow-up **#2160**, reusing this same carrier. **Why this is a two-way door:** every change is additive (new fields + catalogue keys beside byte-identical retained English, prose fallback on a missing key), revertible per commit, and proven by the two suites above. It is none of the one-way-door residues — no personal credentials, no security-posture widening, no member-facing trust accept, no data destruction, no non-routine spend. Lands by push. Parent #2121; continues #2129 → #2152.
Author
Member

⏩ independent reviewer for #2159 — verdict unauthenticated

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

close-report for #2159 — status success

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

envelope
{
  "issue": 2159,
  "status": "success",
  "commits": [
    "fae2562027748e848902a226241df34fb7d6eca7"
  ],
  "changed_files": [
    "STATUS.md",
    "dashboard/src/components/activity/ActivityFeedSurface.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/activityErrorsI18n.test.ts",
    "internal/controlapi/activity.go",
    "internal/controlapi/activity_i18n_seam_test.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/controlapi/",
      "exit_code": 0
    },
    {
      "command": "go vet ./internal/controlapi/",
      "exit_code": 0
    },
    {
      "command": "golangci-lint run ./internal/controlapi/",
      "exit_code": 0
    },
    {
      "command": "gofmt -l internal/controlapi/activity.go internal/controlapi/activity_i18n_seam_test.go",
      "exit_code": 0
    },
    {
      "command": "cd dashboard && npx vitest run",
      "exit_code": 0
    },
    {
      "command": "cd dashboard && npx vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "cd dashboard && npx eslint src/components/activity/ActivityFeedSurface.vue src/i18n/controlapi/*.ts tests/unit/activityErrorsI18n.test.ts",
      "exit_code": 0
    },
    {
      "command": "pre-push go-ci gate (nix develop .#go-ci: gofmt + go build/vet/test ./... + golangci-lint + broker) + eslint .",
      "exit_code": 0
    }
  ],
  "criteria": {
    "keys + params for every authored operator-/member-facing sentence (scoped to the Activity P12 cluster this slice ships; ~80-sentence remainder tracked by #2160)": "activity.go swaps its 2 authored sentences to writeProblemKeyed — controlapi.activity.invalidWindow (400) + controlapi.activity.readFailed (500); neither interpolates a slot, so Args is nil (commit fae25620)",
    "keys in all five catalogues (en authoritative, es/nl/fr/pt machine drafts marked draft) passing the parity guard": "dashboard/src/i18n/controlapi/{en,es,nl,fr,pt}.ts each grew controlapi.activity.{invalidWindow,readFailed} (es/nl/fr/pt keep draft=true); dashboard/tests/unit/i18n.test.ts decision-9 parity guard green in the full vitest run (2281 passed)",
    "each surface renders through the seam translator with a live en->es test": "ActivityFeedSurface.vue lifts errorKey/errorArgs off the shared async-guard and renders OcErrorState via errorText = seamText(error, errorKey, errorArgs); dashboard/tests/unit/activityErrorsI18n.test.ts flips the keyed read-failed fault en->es and holds a keyless (bucket-3) relay in English prose (decision 6)",
    "logs/audit/machine-read strings stay English": "the per-source 'could not answer' status band is the owner's own value (not a Problem); err.Error() relays keep an empty Key; the Go seam test asserts only the two authored branches carry a Key",
    "remainder (rest of group 1, group 2 per-view fields, group 3 control-plane/cmd) moved to a tracked follow-up": "filed as open issue #2160 with the full machine-drafted keying inventory + the carried 401-family harmonisation ruling; ADR 0174 split ruling posted on #2159"
  },
  "summary": "Keyed the Activity (P12) feed's two authored control-API sentences end to end and wired ActivityFeedSurface through the seam; the ~80-sentence remainder split to #2160 under ADR 0174.",
  "reason": "",
  "blockers": []
}
**close-report** for #2159 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against the pushed worker branch `sandcastle/worker/20261104-145716-0af976` (pre-land — the host promotes it to `main` only after its post-run verify, #193/#283); issue closed. <details><summary>envelope</summary> ```json { "issue": 2159, "status": "success", "commits": [ "fae2562027748e848902a226241df34fb7d6eca7" ], "changed_files": [ "STATUS.md", "dashboard/src/components/activity/ActivityFeedSurface.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/activityErrorsI18n.test.ts", "internal/controlapi/activity.go", "internal/controlapi/activity_i18n_seam_test.go" ], "tests": [ { "command": "go test ./internal/controlapi/", "exit_code": 0 }, { "command": "go vet ./internal/controlapi/", "exit_code": 0 }, { "command": "golangci-lint run ./internal/controlapi/", "exit_code": 0 }, { "command": "gofmt -l internal/controlapi/activity.go internal/controlapi/activity_i18n_seam_test.go", "exit_code": 0 }, { "command": "cd dashboard && npx vitest run", "exit_code": 0 }, { "command": "cd dashboard && npx vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 }, { "command": "cd dashboard && npx eslint src/components/activity/ActivityFeedSurface.vue src/i18n/controlapi/*.ts tests/unit/activityErrorsI18n.test.ts", "exit_code": 0 }, { "command": "pre-push go-ci gate (nix develop .#go-ci: gofmt + go build/vet/test ./... + golangci-lint + broker) + eslint .", "exit_code": 0 } ], "criteria": { "keys + params for every authored operator-/member-facing sentence (scoped to the Activity P12 cluster this slice ships; ~80-sentence remainder tracked by #2160)": "activity.go swaps its 2 authored sentences to writeProblemKeyed — controlapi.activity.invalidWindow (400) + controlapi.activity.readFailed (500); neither interpolates a slot, so Args is nil (commit fae25620)", "keys in all five catalogues (en authoritative, es/nl/fr/pt machine drafts marked draft) passing the parity guard": "dashboard/src/i18n/controlapi/{en,es,nl,fr,pt}.ts each grew controlapi.activity.{invalidWindow,readFailed} (es/nl/fr/pt keep draft=true); dashboard/tests/unit/i18n.test.ts decision-9 parity guard green in the full vitest run (2281 passed)", "each surface renders through the seam translator with a live en->es test": "ActivityFeedSurface.vue lifts errorKey/errorArgs off the shared async-guard and renders OcErrorState via errorText = seamText(error, errorKey, errorArgs); dashboard/tests/unit/activityErrorsI18n.test.ts flips the keyed read-failed fault en->es and holds a keyless (bucket-3) relay in English prose (decision 6)", "logs/audit/machine-read strings stay English": "the per-source 'could not answer' status band is the owner's own value (not a Problem); err.Error() relays keep an empty Key; the Go seam test asserts only the two authored branches carry a Key", "remainder (rest of group 1, group 2 per-view fields, group 3 control-plane/cmd) moved to a tracked follow-up": "filed as open issue #2160 with the full machine-drafted keying inventory + the carried 401-family harmonisation ruling; ADR 0174 split ruling posted on #2159" }, "summary": "Keyed the Activity (P12) feed's two authored control-API sentences end to end and wired ActivityFeedSurface through the seam; the ~80-sentence remainder split to #2160 under ADR 0174.", "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#2159
No description provided.