i18n (Go seam): control-API errors — remaining controlapi surfaces + per-view error fields + control-plane/cmd (#2129 remainder) #2152
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#2152
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 #2129 remainder. #2129 keyed the control-API error carrier (
Problem.Key/Args, the OpenAPI schema + regenerated client, theuseAsyncGuardkey-capture, and thedashboard/src/i18n/controlapi/*catalogue area) and wired theupdatessurface (10 authored error sentences) end to end. The reusable infrastructure is now in place; this ticket carries the rest of the area's acceptance (ADR 0232 d.5, DDR 0234), reusing that infra — do not reinvent the carrier.Remaining operator-/member-facing sentences (~80+), in three groups:
The rest of
internal/controlapi'sProblem/writeProblemsurfaces — e.g.idip_*(directory, identity, roster, credentials, service-access, stewards, standing),enroll*,catalogue*,destroy,mail,me*,signin,spaces,backups,device_telemetry,install_doorway,logstream,reports,communityapp*,stackexport,credentialimages. Swap each AUTHORED fixed message towriteProblemKeyedwith acontrolapi.*key; leaveerr.Error()-relayed bodies and machine-to-machine faults (bearer-token mismatches, sealed-bridge reads, the sign-out-everywhere back-channel) as prose (DDR 0234 bucket 3). Resolve each at its panel surface — many flow throughuseAsyncGuard(now key-aware), the rest through the inlineerr.messagesites (CatalogueSurface,ServiceAccessSurface,SetupSurface,ReportIssueDialog, …); one en→es test per surface.The per-view render-model error/detail fields (a distinct, #2126-style mechanism — view-struct keys, not the
Problemcarrier):DeployRunView.Error/.Detail(deployrunstore), the rent-optionDetaillines (enroll_rent), the destroyed-community banner (destroy),provision.Recovery.Detail, the spaces already-recorded message. Add*Key/*Argsto the hand-written lib view types + the Go structs, resolve viauseSeamText.control-plane/cmdoperator-facing text (~40 sentences) — its own package/binary. Most of it is boot/wiring/log-only (bucket 3) and stays English; key only what an operator reads on a screen, if any (the fail-loud resting messages that bubble up through controlapi's JSON are already covered by group 1 at the controlapi boundary).Acceptance
Same as #2129, 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. Split from #2129 (ADR 0174 ruling on that issue — carrier infra + the
updatessurface shipped there). Independent of the other #2121 children.Provisional (from run 59482). This follow-up was filed while splitting #2129, but run 59482 then lost its claim on #2129 mid-iteration and landed nothing. If #2129 is completed as a whole by its current owner, close this as redundant. See the correction note on #2129.
Ruled by agent under ADR 0174 — veto anytime. →
ready-for-agent.Redundancy check (the provisional note above): not redundant — keep and work it. #2129 closed scoped, not whole: its close-report (
status: success) keyed only theupdatessurface + shipped the reusable carrier (Problem.Key/Args+writeProblemKeyed, the OpenAPI schema/regenerated client, theuseAsyncGuarderrorKey/errorArgslift, thedashboard/src/i18n/controlapi/*area), and its own acceptance states "The remaining controlapi surfaces, the per-view Error/Detail fields, and all of control-plane/cmd are OWED BY the open follow-up #2152." So the three groups in this body are genuine, un-shipped work.Why
ready-for-agent: this is a mechanical, additive pattern-extension that reuses the landed carrier — do not reinvent it. For each authored operator-/member-facing sentence: swap towriteProblemKeyedwith acontrolapi.*key (group 1) or add*Key/*Argsto the view struct (group 2, the #2126-style mechanism); add keys to all five catalogues (en authoritative, es/nl/fr/pt drafts) passing the parity guard; resolve at each panel viauseAsyncGuard(now key-aware) oruseSeamText, with one live en→es flip test per surface.err.Error()-relayed bodies, machine-to-machine faults, andcontrol-plane/cmdboot/wiring/log text stay English (DDR 0234 bucket 3). No one-way door, no missing flow/wireframe/seam contract (the carrier is landed) — every change is additive with the English prose as fallback, so it's revertible per commit and provable by the per-surface tests. Two-way door.swarm-claim host=bens-mac-04 run=59909
(automated multi-host claim — lowest live claim id works this ticket)
Ruled by agent under ADR 0174 — veto anytime. Scoped this slice to the IDIP access-matrix doors (DDR 0273); the remainder is filed as #2159.
The ruling. #2152's authored surface is ~80+ sentences across ~40
controlapiGo files rendered on ~20 distinct panel surfaces, plus a second mechanism (group 2's per-viewError/Detailfields) and a second package (group 3,control-plane/cmd). That is the exact "more than one slice" condition #2129 split on (its commit: "~90+ sentences across two packages and two mechanisms on ~15 panel surfaces — more than one slice"). Keying the Go is mechanical, but each surface's panel wiring + its live en→es flip test is per-surface work, and the bucket-1/2-vs-3 call is per-sentence judgement (the fan-out surfaced genuine ambiguities: the "sign in at the front door" 401 family, resting-vs-operational 503s, defensive validations, machine-bridge reads).So this iteration ships one coherent, complete vertical slice — the DDR 0273 twin access-matrix doors (
idip_service_access.go+idip_service_side_access.go): keyed end to end (incl. the composablelastOpeningCredentialcarrying its{service}slot inArgs), catalogued in all five locales (parity-clean),ServiceAccessSurface.vuewired throughuseSeamText, with a Go seam test proving key+args emission and a live en→es flip test on the surface. The remainder — the rest of group 1, group 2, group 3, plus a harmonisation decision owed on the 401 family — is #2159, carrying the full machine-drafted keying inventory from this run's fan-out so it is fast to pick up and split per-surface-cluster.Why a two-way door. Every change is additive over the landed carrier with the English prose as the decision-6 fallback, so nothing regresses for an un-wired surface; the scoping is revertible per commit; and the split is tracked by an open issue (#2159), exactly mirroring #2129 → #2152. No one-way door (no credential, no security widening, no trust-surface accept, no data destruction, no spend).
What proves it.
go test ./internal/controlapi/(full package) green incl. the newidip_service_access_i18n_seam_test.go; dashboard full unit suite (2281) + the decision-9 parity guard green incl. the newserviceAccessSurfaceI18n.test.ts;vue-tsc+eslint+gofmt+go vetclean.⏩ independent reviewer for #2152 — verdict
unauthenticatedreview JSON
close-report for #2152 — status
success✅ close-report gates passed — every claim verified against the pushed worker branch
sandcastle/worker/20261104-092143-c3cb1e(pre-land — the host promotes it tomainonly after its post-run verify, #193/#283); issue closed.envelope