i18n (Go seam): rescue checks + remedies — internal/rescue (control panel; needs new dashboard seam translator) #2136

Open
opened 2026-11-03 19:54:29 +00:00 by matou-build-agent · 7 comments

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 parent
estimate 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/*Args struct
fields beside the prose, rescue.seam.* catalogue keys, and a
resolveSeamText + useSeamTranslator renderer.

Prerequisite — new dashboard infra. The control panel (dashboard/) has
no seam translator today (unlike the operator app, which has
resolveSeamText/useSeamTranslator in app/src/lib/founding.ts +
app/src/lib/i18n.ts). This ticket must first add the twin of that helper to
dashboard/src/lib/ (same shape — a SeamKeyed/SeamTranslator/
resolveSeamText/useSeamTranslator), then key internal/rescue and render the
dashboard/src/components/rescue/* surfaces through it. The catalogue home is
dashboard/src/i18n/operations/rescue/* under a seam sub-namespace
(panel.operations.rescue.seam.*).

Acceptance (scoped to this area)

  • internal/rescue emits keys + params for every operator-/member-facing
    sentence; 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,
    err values, uptime notes) stay prose-only (DDR 0234 bucket 3).
  • The dashboard grows a seam translator (the twin of the app's), not a
    second pattern.
  • The keys exist in all five catalogues (en authoritative; es/nl/fr/pt
    machine drafts, marked draft) and pass the dashboard parity guard
    (dashboard/tests/unit/i18n.test.ts).
  • Each dashboard rescue surface renders the Go-authored prose through the
    seam translator; a live en → es flip 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.

## 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 parent estimate 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`/`*Args` struct fields beside the prose, `rescue.seam.*` catalogue keys, and a `resolveSeamText` + `useSeamTranslator` renderer. **Prerequisite — new dashboard infra.** The control panel (`dashboard/`) has **no** seam translator today (unlike the operator app, which has `resolveSeamText`/`useSeamTranslator` in `app/src/lib/founding.ts` + `app/src/lib/i18n.ts`). This ticket must first add the twin of that helper to `dashboard/src/lib/` (same shape — a `SeamKeyed`/`SeamTranslator`/ `resolveSeamText`/`useSeamTranslator`), then key `internal/rescue` and render the `dashboard/src/components/rescue/*` surfaces through it. The catalogue home is `dashboard/src/i18n/operations/rescue/*` under a `seam` sub-namespace (`panel.operations.rescue.seam.*`). ## Acceptance (scoped to this area) - [ ] `internal/rescue` emits keys + params for every operator-/member-facing sentence; 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, `err` values, uptime notes) stay prose-only (DDR 0234 bucket 3). - [ ] The dashboard grows a seam translator (the twin of the app's), not a second pattern. - [ ] The keys exist in all five catalogues (en authoritative; es/nl/fr/pt machine drafts, marked draft) and pass the dashboard parity guard (`dashboard/tests/unit/i18n.test.ts`). - [ ] Each dashboard rescue surface renders the Go-authored prose through the seam translator; a live `en → es` flip 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.
Author
Member

This was generated by AI during triage.

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, the dashboard/src/components/rescue/* surfaces rendered through the seam translator, catalogue entries under panel.operations.rescue.seam.*, and a per-surface en→es flip test. No protected path, credential, live-infra op, or design-tier run → not ready-for-session. Design tier present (ADR 0232, DDR 0234) → not needs-design. No needs_human_decision → not ready-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 on main today, and two tickets creating it independently would collide at merge. #2126 owns it: it built the file once already (parked on a rescue branch, now ready-for-session to re-land). So the ruling is — #2126 lands dashboard/src/lib/seam.ts; this ticket reuses it and only keys/renders internal/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/dependencies revert it; not on the one-way-door list; provable by the swarm queue skipping a blocked ticket and by the absence of a seam.ts second-writer conflict on main.

> *This was generated by AI during triage.* **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, the `dashboard/src/components/rescue/*` surfaces rendered through the seam translator, catalogue entries under `panel.operations.rescue.seam.*`, and a per-surface en→es flip test. No protected path, credential, live-infra op, or design-tier run → not `ready-for-session`. Design tier present (ADR 0232, DDR 0234) → not `needs-design`. No `needs_human_decision` → not `ready-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 on `main` today, and two tickets creating it independently would collide at merge. #2126 owns it: it built the file once already (parked on a rescue branch, now `ready-for-session` to re-land). So the ruling is — **#2126 lands `dashboard/src/lib/seam.ts`; this ticket reuses it and only keys/renders `internal/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/dependencies` revert it; not on the one-way-door list; provable by the swarm queue skipping a blocked ticket and by the absence of a `seam.ts` second-writer conflict on `main`.
Author
Member

⚠️ independent reviewer for #2136 — verdict malformed

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

close-report for #2136 — 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": 2136,
  "status": "success",
  "commits": [
    "31914a05e9af8af0877097196c495e818b844391"
  ],
  "changed_files": [
    "STATUS.md",
    "dashboard/src/components/rescue/DeviceLadderScreen.vue",
    "dashboard/src/components/rescue/DeviceRescueSurface.vue",
    "dashboard/src/components/rescue/RecoveryReadinessScreen.vue",
    "dashboard/src/components/rescue/RemoteSupportScreen.vue",
    "dashboard/src/components/rescue/ServiceLadderScreen.vue",
    "dashboard/src/components/rescue/ServiceRescueSurface.vue",
    "dashboard/src/i18n/operations/rescue/en.ts",
    "dashboard/src/i18n/operations/rescue/es.ts",
    "dashboard/src/i18n/operations/rescue/fr.ts",
    "dashboard/src/i18n/operations/rescue/nl.ts",
    "dashboard/src/i18n/operations/rescue/pt.ts",
    "dashboard/src/lib/recoveryReadiness.ts",
    "dashboard/src/lib/remoteSupport.ts",
    "dashboard/src/lib/rescue.ts",
    "dashboard/src/lib/rescueService.ts",
    "dashboard/tests/unit/rescueSeamI18n.test.ts",
    "internal/rescue/deviceladder.go",
    "internal/rescue/i18nseam_test.go",
    "internal/rescue/remotesupport.go",
    "internal/rescue/rescue.go",
    "internal/rescue/seamkeys.go",
    "internal/rescue/serviceladder.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/rescue/",
      "exit_code": 0
    },
    {
      "command": "go test ./internal/controlapi/",
      "exit_code": 0
    },
    {
      "command": "go test ./... (whole module + broker, pre-push gate)",
      "exit_code": 0
    },
    {
      "command": "go vet ./... && go vet -tags dev ./...",
      "exit_code": 0
    },
    {
      "command": "golangci-lint run ./... (main module + broker, schema v2)",
      "exit_code": 0
    },
    {
      "command": "gofmt -l (whole tree)",
      "exit_code": 0
    },
    {
      "command": "vue-tsc -p dashboard/tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "eslint (touched rescue files) + prettier --check",
      "exit_code": 0
    },
    {
      "command": "CI=true vitest run (full dashboard unit suite — 177 files, 2274 tests)",
      "exit_code": 0
    },
    {
      "command": "CI=true vitest run tests/unit/rescueSeamI18n.test.ts tests/unit/i18n.test.ts",
      "exit_code": 0
    }
  ],
  "criteria": {
    "internal/rescue emits keys + params for every operator-/member-facing sentence; English prose stays the fallback; logs/audit/relayed-from-another-seam text stays prose-only (DDR 0234 bucket 3)": "internal/rescue/seamkeys.go (SeamLine + all panel.operations.rescue.seam.* key consts); *Key/*Args added across deviceladder.go/serviceladder.go/remotesupport.go/rescue.go beside retained prose; bucket-3 relayed text (health-check summaries, clan err, backups reason, monitor escalation summary, audit records, recentevents OpsEvent.Words) keeps an empty key. Proven by internal/rescue/i18nseam_test.go (7 incl. a relayed-failure-stays-prose case), go test ./internal/rescue/ exit 0.",
    "The dashboard grows a seam translator (the twin of the app's), not a second pattern": "Reuses the existing dashboard useSeamText (dashboard/src/components/provisioning/useUpdatesCopy.ts — the #2128/#2129 twin of the app's resolveSeamText); every rescue screen imports that one helper. No second translator added (the body's prerequisite was already met by prior #2121 slices).",
    "The keys exist in all five catalogues (en authoritative; es/nl/fr/pt machine drafts, marked draft) and pass the dashboard parity guard (dashboard/tests/unit/i18n.test.ts)": "dashboard/src/i18n/operations/rescue/{en,es,nl,fr,pt}.ts gained the seam sub-namespace (en byte-identical to the Go prose; es/nl/fr/pt drafts, marked draft). Parity guard green (tests/unit/i18n.test.ts, 5 tests pass).",
    "Each dashboard rescue surface renders the Go-authored prose through the seam translator; a live en -> es flip re-renders it (one test per surface)": "DeviceLadderScreen/DeviceRescueSurface, ServiceLadderScreen/ServiceRescueSurface, RemoteSupportScreen and RecoveryReadinessScreen render via useSeamText; dashboard/tests/unit/rescueSeamI18n.test.ts proves one en->es flip per surface (5 tests) plus the bucket-3 monitor summary staying English across the flip."
  },
  "summary": "internal/rescue emits panel.operations.rescue.seam.* keys (+params) beside its authored prose; the P8 rescue surfaces render them through the existing useSeamText, so a Spanish-speaking Administrator reads the situation and its remedy in the active locale.",
  "blockers": []
}
**close-report** for #2136 — 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": 2136, "status": "success", "commits": [ "31914a05e9af8af0877097196c495e818b844391" ], "changed_files": [ "STATUS.md", "dashboard/src/components/rescue/DeviceLadderScreen.vue", "dashboard/src/components/rescue/DeviceRescueSurface.vue", "dashboard/src/components/rescue/RecoveryReadinessScreen.vue", "dashboard/src/components/rescue/RemoteSupportScreen.vue", "dashboard/src/components/rescue/ServiceLadderScreen.vue", "dashboard/src/components/rescue/ServiceRescueSurface.vue", "dashboard/src/i18n/operations/rescue/en.ts", "dashboard/src/i18n/operations/rescue/es.ts", "dashboard/src/i18n/operations/rescue/fr.ts", "dashboard/src/i18n/operations/rescue/nl.ts", "dashboard/src/i18n/operations/rescue/pt.ts", "dashboard/src/lib/recoveryReadiness.ts", "dashboard/src/lib/remoteSupport.ts", "dashboard/src/lib/rescue.ts", "dashboard/src/lib/rescueService.ts", "dashboard/tests/unit/rescueSeamI18n.test.ts", "internal/rescue/deviceladder.go", "internal/rescue/i18nseam_test.go", "internal/rescue/remotesupport.go", "internal/rescue/rescue.go", "internal/rescue/seamkeys.go", "internal/rescue/serviceladder.go" ], "tests": [ { "command": "go test ./internal/rescue/", "exit_code": 0 }, { "command": "go test ./internal/controlapi/", "exit_code": 0 }, { "command": "go test ./... (whole module + broker, pre-push gate)", "exit_code": 0 }, { "command": "go vet ./... && go vet -tags dev ./...", "exit_code": 0 }, { "command": "golangci-lint run ./... (main module + broker, schema v2)", "exit_code": 0 }, { "command": "gofmt -l (whole tree)", "exit_code": 0 }, { "command": "vue-tsc -p dashboard/tsconfig.json --noEmit", "exit_code": 0 }, { "command": "eslint (touched rescue files) + prettier --check", "exit_code": 0 }, { "command": "CI=true vitest run (full dashboard unit suite — 177 files, 2274 tests)", "exit_code": 0 }, { "command": "CI=true vitest run tests/unit/rescueSeamI18n.test.ts tests/unit/i18n.test.ts", "exit_code": 0 } ], "criteria": { "internal/rescue emits keys + params for every operator-/member-facing sentence; English prose stays the fallback; logs/audit/relayed-from-another-seam text stays prose-only (DDR 0234 bucket 3)": "internal/rescue/seamkeys.go (SeamLine + all panel.operations.rescue.seam.* key consts); *Key/*Args added across deviceladder.go/serviceladder.go/remotesupport.go/rescue.go beside retained prose; bucket-3 relayed text (health-check summaries, clan err, backups reason, monitor escalation summary, audit records, recentevents OpsEvent.Words) keeps an empty key. Proven by internal/rescue/i18nseam_test.go (7 incl. a relayed-failure-stays-prose case), go test ./internal/rescue/ exit 0.", "The dashboard grows a seam translator (the twin of the app's), not a second pattern": "Reuses the existing dashboard useSeamText (dashboard/src/components/provisioning/useUpdatesCopy.ts — the #2128/#2129 twin of the app's resolveSeamText); every rescue screen imports that one helper. No second translator added (the body's prerequisite was already met by prior #2121 slices).", "The keys exist in all five catalogues (en authoritative; es/nl/fr/pt machine drafts, marked draft) and pass the dashboard parity guard (dashboard/tests/unit/i18n.test.ts)": "dashboard/src/i18n/operations/rescue/{en,es,nl,fr,pt}.ts gained the seam sub-namespace (en byte-identical to the Go prose; es/nl/fr/pt drafts, marked draft). Parity guard green (tests/unit/i18n.test.ts, 5 tests pass).", "Each dashboard rescue surface renders the Go-authored prose through the seam translator; a live en -> es flip re-renders it (one test per surface)": "DeviceLadderScreen/DeviceRescueSurface, ServiceLadderScreen/ServiceRescueSurface, RemoteSupportScreen and RecoveryReadinessScreen render via useSeamText; dashboard/tests/unit/rescueSeamI18n.test.ts proves one en->es flip per surface (5 tests) plus the bucket-3 monitor summary staying English across the flip." }, "summary": "internal/rescue emits panel.operations.rescue.seam.* keys (+params) beside its authored prose; the P8 rescue surfaces render them through the existing useSeamText, so a Spanish-speaking Administrator reads the situation and its remedy in the active locale.", "blockers": [] } ``` </details>
Author
Member

⚠️ independent reviewer for #2136 — verdict malformed

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

close-report for #2136 — 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": 2136,
  "status": "success",
  "commits": [
    "31914a05e9af8af0877097196c495e818b844391"
  ],
  "changed_files": [
    "STATUS.md",
    "dashboard/src/components/rescue/DeviceLadderScreen.vue",
    "dashboard/src/components/rescue/DeviceRescueSurface.vue",
    "dashboard/src/components/rescue/RecoveryReadinessScreen.vue",
    "dashboard/src/components/rescue/RemoteSupportScreen.vue",
    "dashboard/src/components/rescue/ServiceLadderScreen.vue",
    "dashboard/src/components/rescue/ServiceRescueSurface.vue",
    "dashboard/src/i18n/operations/rescue/en.ts",
    "dashboard/src/i18n/operations/rescue/es.ts",
    "dashboard/src/i18n/operations/rescue/fr.ts",
    "dashboard/src/i18n/operations/rescue/nl.ts",
    "dashboard/src/i18n/operations/rescue/pt.ts",
    "dashboard/src/lib/recoveryReadiness.ts",
    "dashboard/src/lib/remoteSupport.ts",
    "dashboard/src/lib/rescue.ts",
    "dashboard/src/lib/rescueService.ts",
    "dashboard/tests/unit/rescueSeamI18n.test.ts",
    "internal/rescue/deviceladder.go",
    "internal/rescue/i18nseam_test.go",
    "internal/rescue/remotesupport.go",
    "internal/rescue/rescue.go",
    "internal/rescue/seamkeys.go",
    "internal/rescue/serviceladder.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/rescue/",
      "exit_code": 0
    },
    {
      "command": "go test ./internal/controlapi/",
      "exit_code": 0
    },
    {
      "command": "go test ./... (whole module + broker, pre-push gate)",
      "exit_code": 0
    },
    {
      "command": "go vet ./... && go vet -tags dev ./...",
      "exit_code": 0
    },
    {
      "command": "golangci-lint run ./... (main module + broker, schema v2)",
      "exit_code": 0
    },
    {
      "command": "gofmt -l (whole tree)",
      "exit_code": 0
    },
    {
      "command": "vue-tsc -p dashboard/tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "eslint (touched rescue files) + prettier --check",
      "exit_code": 0
    },
    {
      "command": "CI=true vitest run (full dashboard unit suite — 177 files, 2274 tests)",
      "exit_code": 0
    },
    {
      "command": "CI=true vitest run tests/unit/rescueSeamI18n.test.ts tests/unit/i18n.test.ts",
      "exit_code": 0
    }
  ],
  "criteria": {
    "internal/rescue emits keys + params for every operator-/member-facing sentence; English prose stays the fallback; logs/audit/relayed-from-another-seam text stays prose-only (DDR 0234 bucket 3)": "internal/rescue/seamkeys.go (SeamLine + all panel.operations.rescue.seam.* key consts); *Key/*Args added across deviceladder.go/serviceladder.go/remotesupport.go/rescue.go beside retained prose; bucket-3 relayed text (health-check summaries, clan err, backups reason, monitor escalation summary, audit records, recentevents OpsEvent.Words) keeps an empty key. Proven by internal/rescue/i18nseam_test.go (7 incl. a relayed-failure-stays-prose case), go test ./internal/rescue/ exit 0.",
    "The dashboard grows a seam translator (the twin of the app's), not a second pattern": "Reuses the existing dashboard useSeamText (dashboard/src/components/provisioning/useUpdatesCopy.ts — the #2128/#2129 twin of the app's resolveSeamText); every rescue screen imports that one helper. No second translator added (the body's prerequisite was already met by prior #2121 slices).",
    "The keys exist in all five catalogues (en authoritative; es/nl/fr/pt machine drafts, marked draft) and pass the dashboard parity guard (dashboard/tests/unit/i18n.test.ts)": "dashboard/src/i18n/operations/rescue/{en,es,nl,fr,pt}.ts gained the seam sub-namespace (en byte-identical to the Go prose; es/nl/fr/pt drafts, marked draft). Parity guard green (tests/unit/i18n.test.ts, 5 tests pass).",
    "Each dashboard rescue surface renders the Go-authored prose through the seam translator; a live en -> es flip re-renders it (one test per surface)": "DeviceLadderScreen/DeviceRescueSurface, ServiceLadderScreen/ServiceRescueSurface, RemoteSupportScreen and RecoveryReadinessScreen render via useSeamText; dashboard/tests/unit/rescueSeamI18n.test.ts proves one en->es flip per surface (5 tests) plus the bucket-3 monitor summary staying English across the flip."
  },
  "summary": "internal/rescue emits panel.operations.rescue.seam.* keys (+params) beside its authored prose; the P8 rescue surfaces render them through the existing useSeamText, so a Spanish-speaking Administrator reads the situation and its remedy in the active locale.",
  "blockers": []
}
**close-report** for #2136 — 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": 2136, "status": "success", "commits": [ "31914a05e9af8af0877097196c495e818b844391" ], "changed_files": [ "STATUS.md", "dashboard/src/components/rescue/DeviceLadderScreen.vue", "dashboard/src/components/rescue/DeviceRescueSurface.vue", "dashboard/src/components/rescue/RecoveryReadinessScreen.vue", "dashboard/src/components/rescue/RemoteSupportScreen.vue", "dashboard/src/components/rescue/ServiceLadderScreen.vue", "dashboard/src/components/rescue/ServiceRescueSurface.vue", "dashboard/src/i18n/operations/rescue/en.ts", "dashboard/src/i18n/operations/rescue/es.ts", "dashboard/src/i18n/operations/rescue/fr.ts", "dashboard/src/i18n/operations/rescue/nl.ts", "dashboard/src/i18n/operations/rescue/pt.ts", "dashboard/src/lib/recoveryReadiness.ts", "dashboard/src/lib/remoteSupport.ts", "dashboard/src/lib/rescue.ts", "dashboard/src/lib/rescueService.ts", "dashboard/tests/unit/rescueSeamI18n.test.ts", "internal/rescue/deviceladder.go", "internal/rescue/i18nseam_test.go", "internal/rescue/remotesupport.go", "internal/rescue/rescue.go", "internal/rescue/seamkeys.go", "internal/rescue/serviceladder.go" ], "tests": [ { "command": "go test ./internal/rescue/", "exit_code": 0 }, { "command": "go test ./internal/controlapi/", "exit_code": 0 }, { "command": "go test ./... (whole module + broker, pre-push gate)", "exit_code": 0 }, { "command": "go vet ./... && go vet -tags dev ./...", "exit_code": 0 }, { "command": "golangci-lint run ./... (main module + broker, schema v2)", "exit_code": 0 }, { "command": "gofmt -l (whole tree)", "exit_code": 0 }, { "command": "vue-tsc -p dashboard/tsconfig.json --noEmit", "exit_code": 0 }, { "command": "eslint (touched rescue files) + prettier --check", "exit_code": 0 }, { "command": "CI=true vitest run (full dashboard unit suite — 177 files, 2274 tests)", "exit_code": 0 }, { "command": "CI=true vitest run tests/unit/rescueSeamI18n.test.ts tests/unit/i18n.test.ts", "exit_code": 0 } ], "criteria": { "internal/rescue emits keys + params for every operator-/member-facing sentence; English prose stays the fallback; logs/audit/relayed-from-another-seam text stays prose-only (DDR 0234 bucket 3)": "internal/rescue/seamkeys.go (SeamLine + all panel.operations.rescue.seam.* key consts); *Key/*Args added across deviceladder.go/serviceladder.go/remotesupport.go/rescue.go beside retained prose; bucket-3 relayed text (health-check summaries, clan err, backups reason, monitor escalation summary, audit records, recentevents OpsEvent.Words) keeps an empty key. Proven by internal/rescue/i18nseam_test.go (7 incl. a relayed-failure-stays-prose case), go test ./internal/rescue/ exit 0.", "The dashboard grows a seam translator (the twin of the app's), not a second pattern": "Reuses the existing dashboard useSeamText (dashboard/src/components/provisioning/useUpdatesCopy.ts — the #2128/#2129 twin of the app's resolveSeamText); every rescue screen imports that one helper. No second translator added (the body's prerequisite was already met by prior #2121 slices).", "The keys exist in all five catalogues (en authoritative; es/nl/fr/pt machine drafts, marked draft) and pass the dashboard parity guard (dashboard/tests/unit/i18n.test.ts)": "dashboard/src/i18n/operations/rescue/{en,es,nl,fr,pt}.ts gained the seam sub-namespace (en byte-identical to the Go prose; es/nl/fr/pt drafts, marked draft). Parity guard green (tests/unit/i18n.test.ts, 5 tests pass).", "Each dashboard rescue surface renders the Go-authored prose through the seam translator; a live en -> es flip re-renders it (one test per surface)": "DeviceLadderScreen/DeviceRescueSurface, ServiceLadderScreen/ServiceRescueSurface, RemoteSupportScreen and RecoveryReadinessScreen render via useSeamText; dashboard/tests/unit/rescueSeamI18n.test.ts proves one en->es flip per surface (5 tests) plus the bucket-3 monitor summary staying English across the flip." }, "summary": "internal/rescue emits panel.operations.rescue.seam.* keys (+params) beside its authored prose; the P8 rescue surfaces render them through the existing useSeamText, so a Spanish-speaking Administrator reads the situation and its remedy in the active locale.", "blockers": [] } ``` </details>
Author
Member

swarm-claim host=elitebook-distributed-server-03 run=59446
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=59446 (automated multi-host claim — lowest live claim id works this ticket)
Author
Member

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
:

reviewer output was empty or unparseable — failing the close CLOSED (#197)

Why: the independent-reviewer gate runs a nested claude -p which cannot authenticate
in an interactive standing session (#228's scenario). On the installed claude 2.1.318
that unauthenticated call exits 1 with an empty-result JSON, which cr_review_parse
classifies as malformed → fail CLOSED instead of #228's unauthenticated → skip.
Reproduced directly. Filed as a ready-for-session machinery issue: #2155
(.sandcastle/close-report.sh is a protected path, so it is not edited here, #445).

What verified (all green, run by hand):

  • Go: gofmt -l clean; 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 no nix (run via GATE_GO_CMD, GOTCHAS #400 pattern).
  • TS: vue-tsc --noEmit clean; eslint + prettier --check clean on the touched files; the pre-push .sandcastle/ts-gate.sh passed.
  • Dashboard unit suite: 177 files / 2274 tests pass, incl. the decision-9 parity guard and the new 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 2136 so the reviewer gate skips as #228 intends. Do not re-do the
slice — it is already built and pushed.

## 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**: ``` reviewer output was empty or unparseable — failing the close CLOSED (#197) ``` **Why:** the independent-reviewer gate runs a nested `claude -p` which cannot authenticate in an interactive standing session (#228's scenario). On the installed `claude` 2.1.318 that unauthenticated call exits 1 with an empty-result JSON, which `cr_review_parse` classifies as `malformed` → fail CLOSED instead of #228's `unauthenticated` → skip. Reproduced directly. Filed as a `ready-for-session` machinery issue: **#2155** (`.sandcastle/close-report.sh` is a protected path, so it is not edited here, #445). **What verified (all green, run by hand):** - Go: `gofmt -l` clean; `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 no `nix` (run via `GATE_GO_CMD`, GOTCHAS #400 pattern). - TS: `vue-tsc --noEmit` clean; `eslint` + `prettier --check` clean on the touched files; the pre-push `.sandcastle/ts-gate.sh` passed. - Dashboard unit suite: 177 files / 2274 tests pass, incl. the decision-9 parity guard and the new `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 2136` so the reviewer gate skips as #228 intends. Do **not** re-do the slice — it is already built and pushed.
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.

Reference
Matou/idss#2136
No description provided.