i18n (Go seam): notifications and alerts — internal/monitor #2125
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#2125
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
Notifications and alerts authored by the monitor (
internal/monitor, ~27 sentences) — the diagnoses and their guidance — cross the seam as finished English. Key them + params.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.
⏩ independent reviewer for #2125 — verdict
unauthenticatedreview JSON
close-report for #2125 — status
success✅ close-report gates passed — every claim verified against the pushed worker branch
sandcastle/worker/20261103-140927-8f33f3(pre-land — the host promotes it tomainonly after its post-run verify, #193/#283); issue closed.envelope
🚨 Reopened — a push-mode close did NOT land on
main(#283). close-report closed this issue against the pushed worker branch, but the host's post-run verify rolled the land back (push-rescue-unreachable), soorigin/mainnever carried the commits (9dfffb62abe5ba0963783369523585334c901eb5). The gates-passed comment above is therefore NOT true ofmain. Reopening and relabellingready-for-sessionso the work is redone where it can land; the commits are parked on a rescue branch for triage (see this run's alarm).Close report — landed on
main(push mode)Commit
583ea7ab(monitor: #2125 — notifications & the respond ladder speak five languages).What landed. The
monitorseam now emits a stable message key + params beside every operator-/member-facing notification and alert sentence it authors — the diagnoses and their guidance — and both surfaces resolve the key in the active locale, falling back to the retained English prose when a key is missing (ADR 0232 d.5 / d.6, DDR 0234). Additive fields (json omitempty); extends the founding/update seam pattern.notify.gokeyedNotification.Headline/Diagnosis+AdvisedAction.Label/Advice(restart advice built once inrestartAction, shared by the notification and the ladder);respond.gokeyedRespondView.DeviceNote,ApplyResult.Message,RouteIntent.Label+ the re-apply/rebalance rungs;reraise.gokeyedReraiseView.Statement/Rediagnosis+FixAttempt.Tried/Outcome. The variant rides the KEY (down/crashLoop/silence*/backup*/…; apply.resolved|unresolved; deviceNote.base|escalated; rediagnosis.onDevice|plain; tried.advised|plain); domain + relayed values ride slots.monitor.*area (app/src/i18n/areas/monitor/{en,es,nl,fr,pt}.ts);NotificationScreen.vueresolves diagnosis/headline/advice/label viaresolveSeamText+useSeamTranslator.monitor.*area (dashboard/src/i18n/monitor/{en,es,nl,fr,pt}.ts);RespondScreen/FixDidntHoldScreen/ServicesSurfaceresolve viauseSeamText.draft(native-reviewer accept owed, d.10).Acceptance.
en → esflip re-renders it (one test per surface).Escalationhand-off to rescue stays prose (rescue's own seam, #2136).Proof (red → green).
internal/monitor/i18nseam_test.go(12);app/tests/unit/monitorSeamI18n.test.ts;dashboard/tests/unit/monitoringSeamI18n.test.ts(a live en→es flip per surface + a bucket-3 relayed value staying prose).go test ./internal/monitor/+go vet+ golangci-lint (0 issues) + gofmt clean; app & dashboardvue-tsc+ eslint clean; app parity guard, dashboard parity guard, and the existing monitoring component suites (monitoringRespond/monitoringFixDidntHold/monitoringDrillIn/monitoringGuard304/monitoringBackupFaultRouting,notificationScreen) all green.Scope / split. This ticket is the "notifications and alerts — the diagnoses and their guidance" (
notify.go+respond.go+reraise.go, the ~27 sentences). The remaining monitor-authored prose on the P5-S1/S3 status surface (status.godevice/service/silence rows + all-healthy headline,detail.gotimeline/backup line) is a distinct surface — filed as #2140 (parent #2121).Known (pre-existing). The control-panel respond/acknowledge/escalate verbs are not served over HTTP yet (
monitoringClient.tsrejects them honestly — the remaining-surface migration owns that endpoint), so the keyed respond/reraise fields resolve through the component-test fakes until that transport migration lands. Same shape as #2124's break-glass bridge note.Ruled by agent under ADR 0174 — veto anytime (additive fields + prose fallback, revertible per commit; proven by the suites above). Lands by push.
matou-build-agent referenced this issue2026-11-04 00:53:24 +00:00