i18n (Go seam): rescue checks + remedies and break-glass prose — internal/rescue, internal/breakglass #2124

Open
opened 2026-11-03 18:54:41 +00:00 by matou-build-agent · 8 comments

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/*Args struct fields in internal/founding/standup.go; the catalogues app/src/i18n/founding/g8.seam.* and g9.standup.*; and useSeamTranslator / resolveSeamText in app/src/lib/i18n.ts. Extend that pattern, don't invent a second one.

Acceptance (scoped to this area)

  • This area emits keys + params for every operator- or member-facing sentence; the English prose stays as the fallback (decision 6).
  • The keys exist in all five catalogues (en authoritative; es/nl/fr/pt machine drafts, marked draft) and pass the parity guard.
  • Each surface that shows the text renders it through the seam translator; a live en → es flip re-renders it (one test per surface, the shape of app/tests/unit/foundingAccessI18n.test.ts).
  • Logs, audit records and anything machine-read stay English — only person-facing text is keyed (DDR 0234 bucket 3: text relayed verbatim from another seam stays prose-only).

Parent: #2121. Independent of the other #2121 children — can run in parallel.

## 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`/`*Args` struct fields in `internal/founding/standup.go`; the catalogues `app/src/i18n/founding/g8.seam.*` and `g9.standup.*`; and `useSeamTranslator` / `resolveSeamText` in `app/src/lib/i18n.ts`. **Extend that pattern, don't invent a second one.** ## Acceptance (scoped to this area) - [ ] This area emits keys + params for every operator- or member-facing sentence; the English prose stays as the fallback (decision 6). - [ ] The keys exist in all five catalogues (en authoritative; es/nl/fr/pt machine drafts, marked draft) and pass the parity guard. - [ ] Each surface that shows the text renders it through the seam translator; a live `en → es` flip re-renders it (one test per surface, the shape of `app/tests/unit/foundingAccessI18n.test.ts`). - [ ] Logs, audit records and anything machine-read stay English — only person-facing text is keyed (DDR 0234 bucket 3: text relayed verbatim from another seam stays prose-only). Parent: #2121. Independent of the other #2121 children — can run in parallel.
Author
Member

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 new
ticket, #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 seam
    translator (resolveSeamText/useSeamTranslator). ~54 authored sentences, 6
    screens. 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 live en → es
flip per break-glass surface (Situation, Actions, Recovered, FailedAction,
NoTier1Material, Tier3Ceremony); the catalogue parity guard
(app/tests/unit/i18nSeam.test.ts) passes with the new rescue.seam.* keys in all
five locales; go test ./internal/breakglass/... green.

Known limitation (carried forward, not a blocker): the real breakglass stdio
bridge is not wire-mapped snake_case↔camelCase the way the founding bridge is
(communitySessions.ts drives BridgeBreakglassClient over the raw bridge). So the
keyed 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.

**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 new ticket, **#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 seam translator (`resolveSeamText`/`useSeamTranslator`). ~54 authored sentences, 6 screens. 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 live `en → es` flip per break-glass surface (Situation, Actions, Recovered, FailedAction, NoTier1Material, Tier3Ceremony); the catalogue parity guard (`app/tests/unit/i18nSeam.test.ts`) passes with the new `rescue.seam.*` keys in all five locales; `go test ./internal/breakglass/...` green. **Known limitation (carried forward, not a blocker):** the real `breakglass` stdio bridge is **not** wire-mapped snake_case↔camelCase the way the founding bridge is (`communitySessions.ts` drives `BridgeBreakglassClient` over the raw bridge). So the keyed 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.
Author
Member

⚠️ independent reviewer for #2124 — verdict malformed

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

close-report for #2124 — status success

⛔ close-report gates REFUSED this close — the following claims did not verify:

  • reviewer output was empty or unparseable — failing the close CLOSED (#197)
envelope
{
  "issue": 2124,
  "status": "success",
  "commits": [
    "0db6b9f0e412e8b8f3026bc0a8edf96b338e2ce1"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/components/rescue/ActionsScreen.vue",
    "app/src/components/rescue/FailedActionScreen.vue",
    "app/src/components/rescue/NoTier1MaterialScreen.vue",
    "app/src/components/rescue/RecoveredScreen.vue",
    "app/src/components/rescue/SituationScreen.vue",
    "app/src/components/rescue/Tier3CeremonyScreen.vue",
    "app/src/i18n/areas/rescue/en.ts",
    "app/src/i18n/areas/rescue/es.ts",
    "app/src/i18n/areas/rescue/fr.ts",
    "app/src/i18n/areas/rescue/nl.ts",
    "app/src/i18n/areas/rescue/pt.ts",
    "app/src/lib/breakglass.ts",
    "app/tests/unit/breakglassSeamI18n.test.ts",
    "internal/breakglass/actions.go",
    "internal/breakglass/breakglass.go",
    "internal/breakglass/material.go",
    "internal/breakglass/tier3.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/breakglass/...",
      "exit_code": 0
    },
    {
      "command": "go vet ./internal/breakglass/...",
      "exit_code": 0
    },
    {
      "command": "npx vitest run tests/unit/breakglassSeamI18n.test.ts tests/unit/situationScreen.test.ts tests/unit/actionsScreen.test.ts tests/unit/failedActionScreen.test.ts tests/unit/noTier1MaterialScreen.test.ts tests/unit/tier3CeremonyScreen.test.ts tests/unit/rescueJourney.test.ts tests/unit/i18nSeam.test.ts",
      "exit_code": 0
    },
    {
      "command": "npx vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "npx eslint (changed rescue components, breakglass.ts, rescue catalogues, new test)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "This area emits keys + params for every operator- or member-facing sentence; the English prose stays the fallback (decision 6) — scoped to internal/breakglass per the ADR 0174 split ruling; internal/rescue moved to #2136": "internal/breakglass/{material,actions,breakglass,tier3}.go grew *Key/*Args fields beside every authored prose field (MaterialStatus, Situation/ReplicaStatus/GateResult/NodeSituation, ActionCard/Recovery/FailedAction/LogBundle, StuckState/RecombineResult/Rebuilt/SpentSharesPrompt); prose retained unchanged (go test green). Relayed text (applier logs, Step.Failed, checkout/machine/kit details, dashboard URL) left prose-only per DDR 0234 bucket 3.",
    "The keys exist in all five catalogues (en authoritative; es/nl/fr/pt machine drafts, marked draft) and pass the parity guard": "rescue.seam.* added to app/src/i18n/areas/rescue/{en,es,nl,fr,pt}.ts; en byte-identical to the Go prose; es/nl/fr/pt marked draft in a header comment; tests/unit/i18nSeam.test.ts (parity guard) green.",
    "Each surface renders the text through the seam translator; a live en -> es flip re-renders it (one test per surface)": "The six P8 screens render via resolveSeamText + useSeamTranslator; app/tests/unit/breakglassSeamI18n.test.ts proves one live en->es flip per surface (Situation, Actions, Recovered, FailedAction, NoTier1Material, Tier3Ceremony) — 6 tests green.",
    "Logs, audit records and anything machine-read stay English — only person-facing text is keyed": "Error vars, enum/Op/LogStream values, the bundle filename, action-id tokens (open-backups-restore, open-recovery-readiness), the audit-step mapping, and relayed slot content were NOT keyed; only operator-facing fields carry *Key/*Args."
  },
  "summary": "Keyed internal/breakglass's ~54 operator-facing sentences (ADR 0232 d.5 key+params) and rendered the six P8 rescue screens through the seam translator with 5-locale catalogues and one live en->es flip test per surface; split #2124 per ADR 0174 so the control-panel internal/rescue half moved to #2136.",
  "blockers": [],
  "unproven_by_seam": "The live breakglass stdio bridge is not snake<->camel wire-mapped like founding's (communitySessions.ts drives BridgeBreakglassClient over the raw bridge), so the keyed fields — like every pre-existing multi-word field — resolve only through the fake the component tests drive; the live production leg is unproven. Pre-existing, flagged for a wire-mapping follow-up."
}
**close-report** for #2124 — status `success` :no_entry: **close-report gates REFUSED this close** — the following claims did not verify: - reviewer output was empty or unparseable — failing the close CLOSED (#197) <details><summary>envelope</summary> ```json { "issue": 2124, "status": "success", "commits": [ "0db6b9f0e412e8b8f3026bc0a8edf96b338e2ce1" ], "changed_files": [ "STATUS.md", "app/src/components/rescue/ActionsScreen.vue", "app/src/components/rescue/FailedActionScreen.vue", "app/src/components/rescue/NoTier1MaterialScreen.vue", "app/src/components/rescue/RecoveredScreen.vue", "app/src/components/rescue/SituationScreen.vue", "app/src/components/rescue/Tier3CeremonyScreen.vue", "app/src/i18n/areas/rescue/en.ts", "app/src/i18n/areas/rescue/es.ts", "app/src/i18n/areas/rescue/fr.ts", "app/src/i18n/areas/rescue/nl.ts", "app/src/i18n/areas/rescue/pt.ts", "app/src/lib/breakglass.ts", "app/tests/unit/breakglassSeamI18n.test.ts", "internal/breakglass/actions.go", "internal/breakglass/breakglass.go", "internal/breakglass/material.go", "internal/breakglass/tier3.go" ], "tests": [ { "command": "go test ./internal/breakglass/...", "exit_code": 0 }, { "command": "go vet ./internal/breakglass/...", "exit_code": 0 }, { "command": "npx vitest run tests/unit/breakglassSeamI18n.test.ts tests/unit/situationScreen.test.ts tests/unit/actionsScreen.test.ts tests/unit/failedActionScreen.test.ts tests/unit/noTier1MaterialScreen.test.ts tests/unit/tier3CeremonyScreen.test.ts tests/unit/rescueJourney.test.ts tests/unit/i18nSeam.test.ts", "exit_code": 0 }, { "command": "npx vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 }, { "command": "npx eslint (changed rescue components, breakglass.ts, rescue catalogues, new test)", "exit_code": 0 } ], "criteria": { "This area emits keys + params for every operator- or member-facing sentence; the English prose stays the fallback (decision 6) — scoped to internal/breakglass per the ADR 0174 split ruling; internal/rescue moved to #2136": "internal/breakglass/{material,actions,breakglass,tier3}.go grew *Key/*Args fields beside every authored prose field (MaterialStatus, Situation/ReplicaStatus/GateResult/NodeSituation, ActionCard/Recovery/FailedAction/LogBundle, StuckState/RecombineResult/Rebuilt/SpentSharesPrompt); prose retained unchanged (go test green). Relayed text (applier logs, Step.Failed, checkout/machine/kit details, dashboard URL) left prose-only per DDR 0234 bucket 3.", "The keys exist in all five catalogues (en authoritative; es/nl/fr/pt machine drafts, marked draft) and pass the parity guard": "rescue.seam.* added to app/src/i18n/areas/rescue/{en,es,nl,fr,pt}.ts; en byte-identical to the Go prose; es/nl/fr/pt marked draft in a header comment; tests/unit/i18nSeam.test.ts (parity guard) green.", "Each surface renders the text through the seam translator; a live en -> es flip re-renders it (one test per surface)": "The six P8 screens render via resolveSeamText + useSeamTranslator; app/tests/unit/breakglassSeamI18n.test.ts proves one live en->es flip per surface (Situation, Actions, Recovered, FailedAction, NoTier1Material, Tier3Ceremony) — 6 tests green.", "Logs, audit records and anything machine-read stay English — only person-facing text is keyed": "Error vars, enum/Op/LogStream values, the bundle filename, action-id tokens (open-backups-restore, open-recovery-readiness), the audit-step mapping, and relayed slot content were NOT keyed; only operator-facing fields carry *Key/*Args." }, "summary": "Keyed internal/breakglass's ~54 operator-facing sentences (ADR 0232 d.5 key+params) and rendered the six P8 rescue screens through the seam translator with 5-locale catalogues and one live en->es flip test per surface; split #2124 per ADR 0174 so the control-panel internal/rescue half moved to #2136.", "blockers": [], "unproven_by_seam": "The live breakglass stdio bridge is not snake<->camel wire-mapped like founding's (communitySessions.ts drives BridgeBreakglassClient over the raw bridge), so the keyed fields — like every pre-existing multi-word field — resolve only through the fake the component tests drive; the live production leg is unproven. Pre-existing, flagged for a wire-mapping follow-up." } ``` </details>
Author
Member

⚠️ independent reviewer for #2124 — verdict malformed

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

close-report for #2124 — status success

⛔ close-report gates REFUSED this close — the following claims did not verify:

  • reviewer output was empty or unparseable — failing the close CLOSED (#197)
envelope
{
  "issue": 2124,
  "status": "success",
  "commits": [
    "0db6b9f0e412e8b8f3026bc0a8edf96b338e2ce1"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/components/rescue/ActionsScreen.vue",
    "app/src/components/rescue/FailedActionScreen.vue",
    "app/src/components/rescue/NoTier1MaterialScreen.vue",
    "app/src/components/rescue/RecoveredScreen.vue",
    "app/src/components/rescue/SituationScreen.vue",
    "app/src/components/rescue/Tier3CeremonyScreen.vue",
    "app/src/i18n/areas/rescue/en.ts",
    "app/src/i18n/areas/rescue/es.ts",
    "app/src/i18n/areas/rescue/fr.ts",
    "app/src/i18n/areas/rescue/nl.ts",
    "app/src/i18n/areas/rescue/pt.ts",
    "app/src/lib/breakglass.ts",
    "app/tests/unit/breakglassSeamI18n.test.ts",
    "internal/breakglass/actions.go",
    "internal/breakglass/breakglass.go",
    "internal/breakglass/material.go",
    "internal/breakglass/tier3.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/breakglass/...",
      "exit_code": 0
    },
    {
      "command": "go vet ./internal/breakglass/...",
      "exit_code": 0
    },
    {
      "command": "npx vitest run tests/unit/breakglassSeamI18n.test.ts tests/unit/situationScreen.test.ts tests/unit/actionsScreen.test.ts tests/unit/failedActionScreen.test.ts tests/unit/noTier1MaterialScreen.test.ts tests/unit/tier3CeremonyScreen.test.ts tests/unit/rescueJourney.test.ts tests/unit/i18nSeam.test.ts",
      "exit_code": 0
    },
    {
      "command": "npx vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "npx eslint (changed rescue components, breakglass.ts, rescue catalogues, new test)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "This area emits keys + params for every operator- or member-facing sentence; the English prose stays the fallback (decision 6) — scoped to internal/breakglass per the ADR 0174 split ruling; internal/rescue moved to #2136": "internal/breakglass/{material,actions,breakglass,tier3}.go grew *Key/*Args fields beside every authored prose field (MaterialStatus, Situation/ReplicaStatus/GateResult/NodeSituation, ActionCard/Recovery/FailedAction/LogBundle, StuckState/RecombineResult/Rebuilt/SpentSharesPrompt); prose retained unchanged (go test green). Relayed text (applier logs, Step.Failed, checkout/machine/kit details, dashboard URL) left prose-only per DDR 0234 bucket 3.",
    "The keys exist in all five catalogues (en authoritative; es/nl/fr/pt machine drafts, marked draft) and pass the parity guard": "rescue.seam.* added to app/src/i18n/areas/rescue/{en,es,nl,fr,pt}.ts; en byte-identical to the Go prose; es/nl/fr/pt marked draft in a header comment; tests/unit/i18nSeam.test.ts (parity guard) green.",
    "Each surface renders the text through the seam translator; a live en -> es flip re-renders it (one test per surface)": "The six P8 screens render via resolveSeamText + useSeamTranslator; app/tests/unit/breakglassSeamI18n.test.ts proves one live en->es flip per surface (Situation, Actions, Recovered, FailedAction, NoTier1Material, Tier3Ceremony) — 6 tests green.",
    "Logs, audit records and anything machine-read stay English — only person-facing text is keyed": "Error vars, enum/Op/LogStream values, the bundle filename, action-id tokens (open-backups-restore, open-recovery-readiness), the audit-step mapping, and relayed slot content were NOT keyed; only operator-facing fields carry *Key/*Args."
  },
  "summary": "Keyed internal/breakglass's ~54 operator-facing sentences (ADR 0232 d.5 key+params) and rendered the six P8 rescue screens through the seam translator with 5-locale catalogues and one live en->es flip test per surface; split #2124 per ADR 0174 so the control-panel internal/rescue half moved to #2136.",
  "blockers": [],
  "unproven_by_seam": "The live breakglass stdio bridge is not snake<->camel wire-mapped like founding's (communitySessions.ts drives BridgeBreakglassClient over the raw bridge), so the keyed fields — like every pre-existing multi-word field — resolve only through the fake the component tests drive; the live production leg is unproven. Pre-existing, flagged for a wire-mapping follow-up."
}
**close-report** for #2124 — status `success` :no_entry: **close-report gates REFUSED this close** — the following claims did not verify: - reviewer output was empty or unparseable — failing the close CLOSED (#197) <details><summary>envelope</summary> ```json { "issue": 2124, "status": "success", "commits": [ "0db6b9f0e412e8b8f3026bc0a8edf96b338e2ce1" ], "changed_files": [ "STATUS.md", "app/src/components/rescue/ActionsScreen.vue", "app/src/components/rescue/FailedActionScreen.vue", "app/src/components/rescue/NoTier1MaterialScreen.vue", "app/src/components/rescue/RecoveredScreen.vue", "app/src/components/rescue/SituationScreen.vue", "app/src/components/rescue/Tier3CeremonyScreen.vue", "app/src/i18n/areas/rescue/en.ts", "app/src/i18n/areas/rescue/es.ts", "app/src/i18n/areas/rescue/fr.ts", "app/src/i18n/areas/rescue/nl.ts", "app/src/i18n/areas/rescue/pt.ts", "app/src/lib/breakglass.ts", "app/tests/unit/breakglassSeamI18n.test.ts", "internal/breakglass/actions.go", "internal/breakglass/breakglass.go", "internal/breakglass/material.go", "internal/breakglass/tier3.go" ], "tests": [ { "command": "go test ./internal/breakglass/...", "exit_code": 0 }, { "command": "go vet ./internal/breakglass/...", "exit_code": 0 }, { "command": "npx vitest run tests/unit/breakglassSeamI18n.test.ts tests/unit/situationScreen.test.ts tests/unit/actionsScreen.test.ts tests/unit/failedActionScreen.test.ts tests/unit/noTier1MaterialScreen.test.ts tests/unit/tier3CeremonyScreen.test.ts tests/unit/rescueJourney.test.ts tests/unit/i18nSeam.test.ts", "exit_code": 0 }, { "command": "npx vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 }, { "command": "npx eslint (changed rescue components, breakglass.ts, rescue catalogues, new test)", "exit_code": 0 } ], "criteria": { "This area emits keys + params for every operator- or member-facing sentence; the English prose stays the fallback (decision 6) — scoped to internal/breakglass per the ADR 0174 split ruling; internal/rescue moved to #2136": "internal/breakglass/{material,actions,breakglass,tier3}.go grew *Key/*Args fields beside every authored prose field (MaterialStatus, Situation/ReplicaStatus/GateResult/NodeSituation, ActionCard/Recovery/FailedAction/LogBundle, StuckState/RecombineResult/Rebuilt/SpentSharesPrompt); prose retained unchanged (go test green). Relayed text (applier logs, Step.Failed, checkout/machine/kit details, dashboard URL) left prose-only per DDR 0234 bucket 3.", "The keys exist in all five catalogues (en authoritative; es/nl/fr/pt machine drafts, marked draft) and pass the parity guard": "rescue.seam.* added to app/src/i18n/areas/rescue/{en,es,nl,fr,pt}.ts; en byte-identical to the Go prose; es/nl/fr/pt marked draft in a header comment; tests/unit/i18nSeam.test.ts (parity guard) green.", "Each surface renders the text through the seam translator; a live en -> es flip re-renders it (one test per surface)": "The six P8 screens render via resolveSeamText + useSeamTranslator; app/tests/unit/breakglassSeamI18n.test.ts proves one live en->es flip per surface (Situation, Actions, Recovered, FailedAction, NoTier1Material, Tier3Ceremony) — 6 tests green.", "Logs, audit records and anything machine-read stay English — only person-facing text is keyed": "Error vars, enum/Op/LogStream values, the bundle filename, action-id tokens (open-backups-restore, open-recovery-readiness), the audit-step mapping, and relayed slot content were NOT keyed; only operator-facing fields carry *Key/*Args." }, "summary": "Keyed internal/breakglass's ~54 operator-facing sentences (ADR 0232 d.5 key+params) and rendered the six P8 rescue screens through the seam translator with 5-locale catalogues and one live en->es flip test per surface; split #2124 per ADR 0174 so the control-panel internal/rescue half moved to #2136.", "blockers": [], "unproven_by_seam": "The live breakglass stdio bridge is not snake<->camel wire-mapped like founding's (communitySessions.ts drives BridgeBreakglassClient over the raw bridge), so the keyed fields — like every pre-existing multi-word field — resolve only through the fake the component tests drive; the live production leg is unproven. Pre-existing, flagged for a wire-mapping follow-up." } ``` </details>
Author
Member

⚠️ independent reviewer for #2124 — verdict malformed

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

close-report for #2124 — status success

⛔ close-report gates REFUSED this close — the following claims did not verify:

  • reviewer output was empty or unparseable — failing the close CLOSED (#197)
envelope
{
  "issue": 2124,
  "status": "success",
  "commits": [
    "0db6b9f0e412e8b8f3026bc0a8edf96b338e2ce1"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/components/rescue/ActionsScreen.vue",
    "app/src/components/rescue/FailedActionScreen.vue",
    "app/src/components/rescue/NoTier1MaterialScreen.vue",
    "app/src/components/rescue/RecoveredScreen.vue",
    "app/src/components/rescue/SituationScreen.vue",
    "app/src/components/rescue/Tier3CeremonyScreen.vue",
    "app/src/i18n/areas/rescue/en.ts",
    "app/src/i18n/areas/rescue/es.ts",
    "app/src/i18n/areas/rescue/fr.ts",
    "app/src/i18n/areas/rescue/nl.ts",
    "app/src/i18n/areas/rescue/pt.ts",
    "app/src/lib/breakglass.ts",
    "app/tests/unit/breakglassSeamI18n.test.ts",
    "internal/breakglass/actions.go",
    "internal/breakglass/breakglass.go",
    "internal/breakglass/material.go",
    "internal/breakglass/tier3.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/breakglass/...",
      "exit_code": 0
    },
    {
      "command": "go vet ./internal/breakglass/...",
      "exit_code": 0
    },
    {
      "command": "npx vitest run tests/unit/breakglassSeamI18n.test.ts tests/unit/situationScreen.test.ts tests/unit/actionsScreen.test.ts tests/unit/failedActionScreen.test.ts tests/unit/noTier1MaterialScreen.test.ts tests/unit/tier3CeremonyScreen.test.ts tests/unit/rescueJourney.test.ts tests/unit/i18nSeam.test.ts",
      "exit_code": 0
    },
    {
      "command": "npx vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "npx eslint (changed rescue components, breakglass.ts, rescue catalogues, new test)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "This area emits keys + params for every operator- or member-facing sentence; the English prose stays the fallback (decision 6) — scoped to internal/breakglass per the ADR 0174 split ruling; internal/rescue moved to #2136": "internal/breakglass/{material,actions,breakglass,tier3}.go grew *Key/*Args fields beside every authored prose field (MaterialStatus, Situation/ReplicaStatus/GateResult/NodeSituation, ActionCard/Recovery/FailedAction/LogBundle, StuckState/RecombineResult/Rebuilt/SpentSharesPrompt); prose retained unchanged (go test green). Relayed text (applier logs, Step.Failed, checkout/machine/kit details, dashboard URL) left prose-only per DDR 0234 bucket 3.",
    "The keys exist in all five catalogues (en authoritative; es/nl/fr/pt machine drafts, marked draft) and pass the parity guard": "rescue.seam.* added to app/src/i18n/areas/rescue/{en,es,nl,fr,pt}.ts; en byte-identical to the Go prose; es/nl/fr/pt marked draft in a header comment; tests/unit/i18nSeam.test.ts (parity guard) green.",
    "Each surface renders the text through the seam translator; a live en -> es flip re-renders it (one test per surface)": "The six P8 screens render via resolveSeamText + useSeamTranslator; app/tests/unit/breakglassSeamI18n.test.ts proves one live en->es flip per surface (Situation, Actions, Recovered, FailedAction, NoTier1Material, Tier3Ceremony) — 6 tests green.",
    "Logs, audit records and anything machine-read stay English — only person-facing text is keyed": "Error vars, enum/Op/LogStream values, the bundle filename, action-id tokens (open-backups-restore, open-recovery-readiness), the audit-step mapping, and relayed slot content were NOT keyed; only operator-facing fields carry *Key/*Args."
  },
  "summary": "Keyed internal/breakglass's ~54 operator-facing sentences (ADR 0232 d.5 key+params) and rendered the six P8 rescue screens through the seam translator with 5-locale catalogues and one live en->es flip test per surface; split #2124 per ADR 0174 so the control-panel internal/rescue half moved to #2136.",
  "blockers": [],
  "unproven_by_seam": "The live breakglass stdio bridge is not snake<->camel wire-mapped like founding's (communitySessions.ts drives BridgeBreakglassClient over the raw bridge), so the keyed fields — like every pre-existing multi-word field — resolve only through the fake the component tests drive; the live production leg is unproven. Pre-existing, flagged for a wire-mapping follow-up."
}
**close-report** for #2124 — status `success` :no_entry: **close-report gates REFUSED this close** — the following claims did not verify: - reviewer output was empty or unparseable — failing the close CLOSED (#197) <details><summary>envelope</summary> ```json { "issue": 2124, "status": "success", "commits": [ "0db6b9f0e412e8b8f3026bc0a8edf96b338e2ce1" ], "changed_files": [ "STATUS.md", "app/src/components/rescue/ActionsScreen.vue", "app/src/components/rescue/FailedActionScreen.vue", "app/src/components/rescue/NoTier1MaterialScreen.vue", "app/src/components/rescue/RecoveredScreen.vue", "app/src/components/rescue/SituationScreen.vue", "app/src/components/rescue/Tier3CeremonyScreen.vue", "app/src/i18n/areas/rescue/en.ts", "app/src/i18n/areas/rescue/es.ts", "app/src/i18n/areas/rescue/fr.ts", "app/src/i18n/areas/rescue/nl.ts", "app/src/i18n/areas/rescue/pt.ts", "app/src/lib/breakglass.ts", "app/tests/unit/breakglassSeamI18n.test.ts", "internal/breakglass/actions.go", "internal/breakglass/breakglass.go", "internal/breakglass/material.go", "internal/breakglass/tier3.go" ], "tests": [ { "command": "go test ./internal/breakglass/...", "exit_code": 0 }, { "command": "go vet ./internal/breakglass/...", "exit_code": 0 }, { "command": "npx vitest run tests/unit/breakglassSeamI18n.test.ts tests/unit/situationScreen.test.ts tests/unit/actionsScreen.test.ts tests/unit/failedActionScreen.test.ts tests/unit/noTier1MaterialScreen.test.ts tests/unit/tier3CeremonyScreen.test.ts tests/unit/rescueJourney.test.ts tests/unit/i18nSeam.test.ts", "exit_code": 0 }, { "command": "npx vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 }, { "command": "npx eslint (changed rescue components, breakglass.ts, rescue catalogues, new test)", "exit_code": 0 } ], "criteria": { "This area emits keys + params for every operator- or member-facing sentence; the English prose stays the fallback (decision 6) — scoped to internal/breakglass per the ADR 0174 split ruling; internal/rescue moved to #2136": "internal/breakglass/{material,actions,breakglass,tier3}.go grew *Key/*Args fields beside every authored prose field (MaterialStatus, Situation/ReplicaStatus/GateResult/NodeSituation, ActionCard/Recovery/FailedAction/LogBundle, StuckState/RecombineResult/Rebuilt/SpentSharesPrompt); prose retained unchanged (go test green). Relayed text (applier logs, Step.Failed, checkout/machine/kit details, dashboard URL) left prose-only per DDR 0234 bucket 3.", "The keys exist in all five catalogues (en authoritative; es/nl/fr/pt machine drafts, marked draft) and pass the parity guard": "rescue.seam.* added to app/src/i18n/areas/rescue/{en,es,nl,fr,pt}.ts; en byte-identical to the Go prose; es/nl/fr/pt marked draft in a header comment; tests/unit/i18nSeam.test.ts (parity guard) green.", "Each surface renders the text through the seam translator; a live en -> es flip re-renders it (one test per surface)": "The six P8 screens render via resolveSeamText + useSeamTranslator; app/tests/unit/breakglassSeamI18n.test.ts proves one live en->es flip per surface (Situation, Actions, Recovered, FailedAction, NoTier1Material, Tier3Ceremony) — 6 tests green.", "Logs, audit records and anything machine-read stay English — only person-facing text is keyed": "Error vars, enum/Op/LogStream values, the bundle filename, action-id tokens (open-backups-restore, open-recovery-readiness), the audit-step mapping, and relayed slot content were NOT keyed; only operator-facing fields carry *Key/*Args." }, "summary": "Keyed internal/breakglass's ~54 operator-facing sentences (ADR 0232 d.5 key+params) and rendered the six P8 rescue screens through the seam translator with 5-locale catalogues and one live en->es flip test per surface; split #2124 per ADR 0174 so the control-panel internal/rescue half moved to #2136.", "blockers": [], "unproven_by_seam": "The live breakglass stdio bridge is not snake<->camel wire-mapped like founding's (communitySessions.ts drives BridgeBreakglassClient over the raw bridge), so the keyed fields — like every pre-existing multi-word field — resolve only through the fake the component tests drive; the live production leg is unproven. Pre-existing, flagged for a wire-mapping follow-up." } ``` </details>
Author
Member

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 P8
rescue screens render through the seam translator with five-locale catalogues
and one live en → es flip test per surface. Commit
0db6b9f0e412e8b8f3026bc0a8edf96b338e2ce1 is on the worker branch; both
pre-push gates passed
— the pinned Go seam stages (go build/vet/test +
golangci-lint 0 issues, main module + broker) and the eslint gate — so the
host will promote it to main on run exit.

Verified in-sandbox: go test ./internal/breakglass/... green; vue-tsc +
eslint clean; vitest rescue suites + the i18n parity guard +
breakglassSeamI18n (6 surfaces) green.

What blocks the auto-close: close-report.sh's independent reviewer runs
claude -p headless, which in this sandbox returns terminal_reason: api_error
with 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 this
empty-but-errored output normalises to malformed and 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 main and the envelope
above, then close #2124 by hand (or re-run the close gate on a host whose
reviewer claude -p can authenticate). The control-panel half
(internal/rescue) was split to #2136 under the ADR 0174 ruling above.

## 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 P8 rescue screens render through the seam translator with five-locale catalogues and one live `en → es` flip test per surface. Commit `0db6b9f0e412e8b8f3026bc0a8edf96b338e2ce1` is on the worker branch; **both pre-push gates passed** — the pinned Go seam stages (`go build/vet/test` + `golangci-lint` `0 issues`, main module + broker) and the eslint gate — so the host will promote it to `main` on run exit. Verified in-sandbox: `go test ./internal/breakglass/...` green; `vue-tsc` + `eslint` clean; `vitest` rescue suites + the i18n parity guard + `breakglassSeamI18n` (6 surfaces) green. **What blocks the auto-close:** `close-report.sh`'s independent reviewer runs `claude -p` headless, which in this sandbox returns `terminal_reason: api_error` with 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 this empty-but-errored output normalises to `malformed` and 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 `main` and the envelope above, then close #2124 by hand (or re-run the close gate on a host whose reviewer `claude -p` can authenticate). The control-panel half (`internal/rescue`) was split to **#2136** under the ADR 0174 ruling above.
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#2124
No description provided.