i18n (Go seam): rescue checks + remedies and break-glass prose — internal/rescue, internal/breakglass #2124
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#2124
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
Rescue checks and their remedies (
internal/rescue, ~33 sentences) and the break-glass prose (internal/breakglass, ~35 sentences) render in English for every operator regardless of header language. 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 already live for the founding seam — see
StandupEvent.Key/Args,logEventKeyed, and the*Key/*Argsstruct fields ininternal/founding/standup.go; the cataloguesapp/src/i18n/founding/g8.seam.*andg9.standup.*; anduseSeamTranslator/resolveSeamTextinapp/src/lib/i18n.ts. Extend that pattern, don't invent a second one.Acceptance (scoped to this area)
en → esflip re-renders it (one test per surface, the shape ofapp/tests/unit/foundingAccessI18n.test.ts).Parent: #2121. Independent of the other #2121 children — can run in parallel.
Ruled by agent under ADR 0174 — veto anytime.
Decision: split this ticket by package and scope #2124 to
internal/breakglass(operator app) only; the
internal/rescue(control panel) half moves to a newticket, #2136.
Why. As claimed, #2124 bundled two Go seams on two different frontends. A full
string inventory found the real size is ~2× the body's estimate and the two halves
need different machinery:
internal/breakglass→ the operator app, which already has the seamtranslator (
resolveSeamText/useSeamTranslator). ~54 authored sentences, 6screens. Done here.
internal/rescue→ the control panel, which has no seam translator at all —building its twin is a prerequisite. ~89 authored sentences (the body's "33" was
for this package alone and undercounts ~2.7×), ~10 screens. Moved to #2136.
Parent #2121 itself says to split "one ticket per area"; bundling these two areas
was the mis-scope. Keeping them together is not a single vertical slice.
Why it is a two-way door. Splitting a ticket and re-scoping is fully reversible
(reopen #2124, fold #2136 back in) and provable: the break-glass half ships with
green unit tests, and #2136 exists and is linked. It is not on the one-way-door
list (no credentials, security-posture, member-trust, data-destruction, or spend).
What proves it.
app/tests/unit/breakglassSeamI18n.test.ts— one liveen → esflip per break-glass surface (Situation, Actions, Recovered, FailedAction,
NoTier1Material, Tier3Ceremony); the catalogue parity guard
(
app/tests/unit/i18nSeam.test.ts) passes with the newrescue.seam.*keys in allfive locales;
go test ./internal/breakglass/...green.Known limitation (carried forward, not a blocker): the real
breakglassstdiobridge is not wire-mapped snake_case↔camelCase the way the founding bridge is
(
communitySessions.tsdrivesBridgeBreakglassClientover the raw bridge). So thekeyed fields — like every pre-existing multi-word field (
whatThisDoes,auditNote)— resolve only through the fake the component tests drive; the live leg is unproven
by the seam. Pre-existing, out of this ticket's scope, flagged for a wire-mapping
follow-up.
⚠️ independent reviewer for #2124 — verdict
malformedreview JSON
close-report for #2124 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
envelope
⚠️ independent reviewer for #2124 — verdict
malformedreview JSON
close-report for #2124 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
envelope
⚠️ independent reviewer for #2124 — verdict
malformedreview JSON
close-report for #2124 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
envelope
Blocked on the close gate's independent reviewer (environment), not on the work
The slice is complete, verified, and pushed. The break-glass Go seam
(
internal/breakglass) is keyed per ADR 0232 d.5 / DDR 0234 and the six P8rescue screens render through the seam translator with five-locale catalogues
and one live
en → esflip test per surface. Commit0db6b9f0e412e8b8f3026bc0a8edf96b338e2ce1is on the worker branch; bothpre-push gates passed — the pinned Go seam stages (
go build/vet/test+golangci-lint0 issues, main module + broker) and the eslint gate — so thehost will promote it to
mainon run exit.Verified in-sandbox:
go test ./internal/breakglass/...green;vue-tsc+eslintclean;vitestrescue suites + the i18n parity guard +breakglassSeamI18n(6 surfaces) green.What blocks the auto-close:
close-report.sh's independent reviewer runsclaude -pheadless, which in this sandbox returnsterminal_reason: api_errorwith an empty result (zero tokens — the nested reviewer cannot reach the API).
The gate's auth-error detector only matches a
/login-style result, so thisempty-but-errored output normalises to
malformedand the gate fails CLOSED(#197). Three close attempts, identical result. This is a close-gate environment
limitation, not a finding against the diff — the full close-report envelope and
the reviewer verdict are already posted on this thread as evidence.
What a human must do: confirm the commit landed on
mainand the envelopeabove, then close #2124 by hand (or re-run the close gate on a host whose
reviewer
claude -pcan authenticate). The control-panel half(
internal/rescue) was split to #2136 under the ADR 0174 ruling above.matou-build-agent referenced this issue2026-11-04 00:53:24 +00:00