i18n (Go seam): backup runs/coverage/policy/matrix/gone-target — internal/backup (cont. of #2126) #2135
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#2135
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
internal/backupi18n, continued. #2126 keyed the restore/export STAGES, the REPLACES confirm and the headroom line (the three restore/export flows —BackupExportScreen,BackupRestoreScreen,BackupRestoreReplacesScreen) and built the control panel's seam translator (dashboard/src/lib/seam.ts,useSeamTranslator) + thepanel.operations.backups.seam.*catalogue. The rest of the backup package's operator-facing prose still renders in English:run.goRunRow.Summary/Detail,pertarget.goRunFailedView(Headline,CountedLine,FailureNamed,TargetOutcomeRow.Label) —BackupRunsScreen,BackupRunFailedScreencoverage.go—BackupsOverviewScreenpolicy.go—BackupPolicyScreenreplication.go—BackupReplicationMatrixScreenpertarget.goGoneTargetView—BackupPolicyTargetGoneScreenHow (already decided — ADR 0232 d.5, DDR 0234)
Extend the pattern #2126 landed: Go emits a
panel.operations.backups.seam.*key + params beside the English prose; the screen resolves it through the dashboard seam translator (resolveSeamText/useSeamTranslator), prose is the fallback. Honour the DDR 0234 buckets — a line that relays another seam's English (anerr.Error(), a portneed) stays prose; logs/audit/faults stay English. These flows share grammar helpers (whenLabel,failedTargetsPhrase,failedCopyPhrase,joinTargets,verb) with the activity feed and monitor, so key them carefully; the activity feed is its own surface (DDR 0234) and keys under its own ticket, not here. Moment/date labels (whenLabel) also wait on theen-NZdate-localization work.Acceptance
en → esflip re-renders it (one test per surface).Parent: #2121. Sibling of #2126 (which it builds on — reuse
dashboard/src/lib/seam.tsand thebackupsSeamcatalogue slice).Ruled by agent under ADR 0174 — veto anytime.
Triage:
enhancement+ready-for-agent, blocked by #2126.Why
ready-for-agent. Pure code + tests —internal/backup(run.go,pertarget.go,coverage.go,policy.go,replication.go) keyed, the matchingdashboard/src/components/backups/*screens rendered through the seam translator, catalogue entries, and a per-surface en→es flip test. No protected.sandcastle/path, host/droplet credential, live-infra op, or design-tier run, so notready-for-session. The design tier is present (ADR 0232 "design the i18n seam", DDR 0234), so notneeds-design. The task manifest carries noneeds_human_decision, so notready-for-human. Acceptance is provable by the dashboard parity guard (dashboard/tests/unit/i18n.test.ts) plus one flip test per surface.Why blocked by #2126. This ticket reuses
dashboard/src/lib/seam.tsand thebackupsSeamcatalogue slice from #2126 — but #2126's land was rolled back by the host (#283, "a no-op push to main") and the issue reopenedready-for-session, so that infra is not onmainyet (dashboard/src/lib/seam.tsdoes not exist today). #2135 cannot start until #2126 re-lands it. Set as a native Forgejo dependency solist-ready-tasks.shhides #2135 until #2126 closes.Why it is a two-way door. The labels and the dependency are reversible (relabel, or
DELETE …/issues/2135/dependencies); none is on the one-way-door list; and the ordering is provable — the swarm queue skips a blocked ticket, and #2135 reuses rather than re-createsseam.ts, so there is no second-writer conflict onmain.⚠️ independent reviewer for #2135 — verdict
malformedreview JSON
close-report for #2135 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
envelope
⚠️ independent reviewer for #2135 — verdict
malformedreview JSON
close-report for #2135 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
envelope
⚠️ independent reviewer for #2135 — verdict
malformedreview JSON
close-report for #2135 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
envelope
agent-blocked (close-report reviewer environment) — the work is committed, verified and pushed to the worker branch; only the issue-close gate could not run.
The slice is complete and green (see the three close-report envelopes already posted above):
internal/backupkeyed:pertarget.go(RunFailedView headline/outcome-labels/countedLine/failureNamed + GoneTargetView diagnosis/coverageImpact/row-detail/replacement-reason),coverage.go(rowAttention lines + drafted summary+targets + single-node floor),policy.go(the five RecommendTargets reasons),replication.go(grade labels + rowMatrixAttention). Attention lists gained a keyedAttentionLine{text,key,args}twin.backup.{runFailed,coverage,policy,replication,goneTarget}in all fivedashboard/src/i18n/backup/*.ts(en byte-identical to the Go prose; es/nl/fr/pt drafts) — parity guard green.useSeamText;dashboard/tests/unit/backupsCoverageSeamI18n.test.tshas one en→es flip per surface (6 tests).internal/backup/i18nseam_test.go+6.go test ./internal/backup/+go vet+gofmtclean; dashboardvue-tsc+ eslint + backup unit suites + i18n parity green.Pushed to worker branch
sandcastle/worker/20261104-120259-852161(commit20f71c08), so the host can promote it tomainby its normal post-run land.Blocker:
close-report.shrefused all three attempts withreviewer output was empty or unparseable — failing the close CLOSED (#197). The reviewer step (claudeinvoked by the gate) returns empty output in this sandbox — a reviewer-environment fault, not an envelope/claim failure (gates 1–9 were not the cause). I did not setCR_REVIEW_DISABLE(that would subvert the #197 quality gate).What a human must do to re-arm / close: confirm the worker-branch commit landed on
main(or re-runclose-report.shwhere the reviewerclaudeworks), then close #2135. The envelopes above carry the full verified claim set.