i18n (Go seam): rescue checks + remedies — internal/rescue (control panel; needs new dashboard seam translator) #2136
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.
Depends on
Reference
Matou/idss#2136
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
Split from #2124 (parent #2121). That ticket bundled two Go seams on two
different frontends; this ticket carries the control-panel half.
The rescue orchestrator (
internal/rescue: readiness, service/device ladders,remote support, recent events) authors operator-facing prose — share-coverage
reasons, the honest-floor and chrome-indicator summaries, rung titles/advice,
rehome plans and outcomes, device-ladder headlines and break-glass notes, the
remote-support engagement/audit lines — that renders in English for every
Administrator regardless of header language. An inventory counted ~89 authored
person-facing sentences across
rescue.go,serviceladder.go,deviceladder.go,remotesupport.go,recentevents.go(the ticket's parentestimate of 33 was for this package alone and undercounts by ~2.7×).
Key them so a Spanish-speaking Administrator reads the situation and its remedy
in the active locale.
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 live for the founding seam and now
for the break-glass seam (the app half of #2124):
*Key/*Argsstructfields beside the prose,
rescue.seam.*catalogue keys, and aresolveSeamText+useSeamTranslatorrenderer.Prerequisite — new dashboard infra. The control panel (
dashboard/) hasno seam translator today (unlike the operator app, which has
resolveSeamText/useSeamTranslatorinapp/src/lib/founding.ts+app/src/lib/i18n.ts). This ticket must first add the twin of that helper todashboard/src/lib/(same shape — aSeamKeyed/SeamTranslator/resolveSeamText/useSeamTranslator), then keyinternal/rescueand render thedashboard/src/components/rescue/*surfaces through it. The catalogue home isdashboard/src/i18n/operations/rescue/*under aseamsub-namespace(
panel.operations.rescue.seam.*).Acceptance (scoped to this area)
internal/rescueemits keys + params for every operator-/member-facingsentence; the English prose stays as the fallback (decision 6). Logs, audit
records and relayed-from-another-seam text (monitor escalation
headline/summary/diagnosis, health-check summaries, backups failure text,
errvalues, uptime notes) stay prose-only (DDR 0234 bucket 3).second pattern.
machine drafts, marked draft) and pass the dashboard parity guard
(
dashboard/tests/unit/i18n.test.ts).seam translator; a live
en → esflip re-renders it (one test per surface,the shape of
app/tests/unit/breakglassSeamI18n.test.ts).Parent: #2121. Independent of the other #2121 children — can run in parallel.
Ruled by agent under ADR 0174 — veto anytime.
Triage:
enhancement+ready-for-agent, blocked by #2126.Why
ready-for-agent. Pure code + tests —internal/rescue(rescue.go,serviceladder.go,deviceladder.go,remotesupport.go,recentevents.go) keyed, thedashboard/src/components/rescue/*surfaces rendered through the seam translator, catalogue entries underpanel.operations.rescue.seam.*, and a per-surface en→es flip test. No protected path, credential, live-infra op, or design-tier run → notready-for-session. Design tier present (ADR 0232, DDR 0234) → notneeds-design. Noneeds_human_decision→ notready-for-human. Provable by the dashboard parity guard plus one flip test per surface.Why blocked by #2126 (shared-infra collision). Both this ticket and #2126 call for creating the same file —
dashboard/src/lib/seam.ts, the control panel's seam translator. It does not exist onmaintoday, and two tickets creating it independently would collide at merge. #2126 owns it: it built the file once already (parked on a rescue branch, nowready-for-sessionto re-land). So the ruling is — #2126 landsdashboard/src/lib/seam.ts; this ticket reuses it and only keys/rendersinternal/rescue, it does not re-create the translator. The body's "must first add the twin" prerequisite is subsumed by #2126; treat the helper as already present once #2126 closes. Set as a native dependency so the queue hides #2136 until then.Why it is a two-way door. Relabel and
DELETE …/issues/2136/dependenciesrevert it; not on the one-way-door list; provable by the swarm queue skipping a blocked ticket and by the absence of aseam.tssecond-writer conflict onmain.⚠️ independent reviewer for #2136 — verdict
malformedreview JSON
close-report for #2136 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
envelope
⚠️ independent reviewer for #2136 — verdict
malformedreview JSON
close-report for #2136 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
envelope
swarm-claim host=elitebook-distributed-server-03 run=59446
(automated multi-host claim — lowest live claim id works this ticket)
Blocked on the close-report reviewer gate (environment/machinery) — the slice itself is complete
The #2136 slice is done, verified green, and pushed to its worker branch for the host
to land (landing: push). The close-report envelope is posted above with the full
evidence. The close-report gate refused twice, on a single violation that is not a
defect in this slice:
Why: the independent-reviewer gate runs a nested
claude -pwhich cannot authenticatein an interactive standing session (#228's scenario). On the installed
claude2.1.318that unauthenticated call exits 1 with an empty-result JSON, which
cr_review_parseclassifies as
malformed→ fail CLOSED instead of #228'sunauthenticated→ skip.Reproduced directly. Filed as a
ready-for-sessionmachinery issue: #2155(
.sandcastle/close-report.shis a protected path, so it is not edited here, #445).What verified (all green, run by hand):
gofmt -lclean;go build/vet ./... && -tags dev;go test ./internal/rescue/ ./internal/controlapi/ ./...;golangci-lint run ./...(0 issues, main module + broker) — the full pre-push Go gate, since this sandbox has nonix(run viaGATE_GO_CMD, GOTCHAS #400 pattern).vue-tsc --noEmitclean;eslint+prettier --checkclean on the touched files; the pre-push.sandcastle/ts-gate.shpassed.rescueSeamI18n.test.ts(5 en→es flips) +internal/rescue/i18nseam_test.go(7).What a human must do to re-arm: either close #2136 directly (the work is landed and the
envelope + evidence are on this thread), or merge/land #2155's fix and re-run
close-report.sh 2136so the reviewer gate skips as #228 intends. Do not re-do theslice — it is already built and pushed.