i18n (Go seam): the #2152 remainder — the rest of controlapi Problem surfaces + per-view error fields + control-plane/cmd #2159
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#2159
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.gokeyed end-to-end, catalogues + parity, Go seamtests, and
ServiceAccessSurface.vuewired + flip-tested. The reusable carrier(
writeProblemKeyed,Problem.Key/Args, theuseAsyncGuardkey-lift, thecontrolapi.*catalogue area,useSeamText) is landed — reuse it, do notreinvent 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 throughuseSeamText(guard-backedsurfaces: the uniform
errorText = seamText(error, errorKey, errorArgs)swap#2129 did on the Updates screens; inline surfaces: capture
.problem.key/argsin 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 wasclassified 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
controlapiProblemsurfacesMachine-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 forthe 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 ofyour 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 membershipcredential) 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 keyfor 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 thiscommunity'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 "mailis not offered in this community yet"; signInToReach (harmonisation — 401).
reports.go (
reports): brokerUnreachable "Mātou's broker could not bereached" → 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 "acredential 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 communitycould 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 "theactivity window must be one of: today, 7d, 30d"; readFailed "no activity source
could answer" → Activity surface.
communityapp.go (
communityApp): nothingToTryAgain "there is nothing to tryagain — the app is not in a failed state"; redesignNotWired; resubmitNotWired.
communityapp_design.go (
communityAppDesign): designNotWired (DEDUPE, 3sites); 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/ reusesauthz.*): 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/DetailfieldsA distinct mechanism (#2126-style view-struct keys, NOT the
Problemcarrier):add
*Key/*Argsto the hand-written lib view types + the Go structs, resolvevia
useSeamText.DeployRunView.Error/.Detail(deployrunstore)Detaillines (enroll_rent)provision.Recovery.DetailSpacesConflict.Message)Group 3 —
control-plane/cmdoperator-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.
Triage —
enhancement+ready-for-agentCategory:
enhancement(i18n Go-seam work, matching the whole #2121 family).State:
ready-for-agent. Verified against the tree at HEAD:writeProblemKeyed/Problem.Key/Argsininternal/controlapi/(seen inupdates.go,backups.go), thecontrolapi.*catalogue area in all five locales (dashboard/src/i18n/controlapi/{en,es,nl,fr,pt}.ts), plususeAsyncGuard's key-lift anduseSeamText.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 doescontrol-plane/cmd/for Group 3.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 mintcontrolapi.*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 theProblemkey, 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
Keyand 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_stewardssignInToAct, mailsignInToReach, 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:
Key/Args(or*Key/*Argsfor Group-2 view structs) beside the retained English prose; English stays byte-identical.enauthoritative and byte-identical to the Go prose; es/nl/fr/pt machine drafts markeddraft); pass the parity guard.errorText = seamText(error, errorKey, errorArgs)swap #2129 did on the Updates screens; inline surfaces capture.problem.key/argsin the catch and render through the seam.Scope, from the body: Group 1 (the rest of the
controlapiProblemsurfaces — the per-file inventory in the body, including the DEDUPE notes:backups.noSuchDatasetone key for two sites,authz.*reused byspaces.go,me/meDoors.couldNotReadDoorsacross two sites,communityAppDesign.designNotWiredacross three); Group 2 (the per-view render-modelError/Detailfields — #2126-style view-struct keys, NOT theProblemcarrier); 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 (
decodeBodyshared helper; the three communityAppDesign "…not wired on this gateway yet" 503 seals; thedestroymalformed-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 matchconfig_repo_restingprose 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.
swarm-claim host=elitebook-distributed-server-03 run=59581
(automated multi-host claim — lowest live claim id works this ticket)
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 authoredProblemsentences keyed (controlapi.activity.invalidWindow400,controlapi.activity.readFailed500) viawriteProblemKeyed, retained English as the d.6 fallback.controlapi.activity.*added to all five catalogues (en authoritative; es/nl/fr/pt drafts markeddraft), parity guard green.ActivityFeedSurface.vuewired throughuseSeamText(the guard-backederrorText = 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 frontdoor …" 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
controlapiProblemsurfaces, the group-2 per-view
Error/Detailfields, and all of group-3control-plane/cmd, plus the open sub-decisions:decodeBody, the threecommunityAppDesign503 seals, thedestroymalformed-JSON borderline,spaces.incomplete_spaces) is filed as the open follow-up #2160, reusingthis 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.
⏩ independent reviewer for #2159 — verdict
unauthenticatedreview JSON
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 tomainonly after its post-run verify, #193/#283); issue closed.envelope