member backups slice 2a: nightly restore drills, per box, with alerts (#898)
The hibernate-verify drill is armed by default. Each box publishes its own record, control/verify/<ref>.json (no more boxes erasing each other's verdicts in control/restore-verify.json). Every verdict is bound to the instance identity it tested by an identity bracket around the read, per record family (instances incl. resident, pooled and fleet-placed; sidecars). Restores are pinned to the planned transaction, run oldest first inside a 45-minute deadline, publish every 10 minutes and acknowledge only successful uploads. Group boxes drill only the hosts the HA duties' HRW assigns them (agent-written verify-assign.json); a box whose identity file is stale refuses. Only proven damage is "failed"; storage faults are "unverified". Root takes nothing from <data>/monitor (ls284). Three operator alerts: verify_failed, verify_unverified (3 runs), verify_coverage (7 days). Not released: arming happens at the next roll. Reviews: Astra per task; final Astra + Fable 5.2, fix wave and residuals re-reviewed; census member-backups-2a approved on #280 (rounds 1-3 and a re-confirmation). Copy approved by Paul. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Squashed from member-backups-2a into main.
approved_member_backups_2a_copy_test.go+76 −0docs/superpowers/notes/census-claims-member-backups-2a.tsv+39 −0docs/superpowers/notes/census-proposal-member-backups-2a.md+54 −0docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-2a-R2.md+65 −0docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-2a-R3.md+65 −0docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-2a-R3b.md+21 −0docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-2a.md+83 −0docs/superpowers/notes/reviews/member-backups/CODEX-REVIEW-BRIEF-census-member-backups-2a-R2.md+54 −0docs/superpowers/notes/reviews/member-backups/CODEX-REVIEW-BRIEF-census-member-backups-2a-R3.md+22 −0docs/superpowers/notes/reviews/member-backups/CODEX-REVIEW-BRIEF-census-member-backups-2a-R3b.md+16 −0docs/superpowers/notes/reviews/member-backups/CODEX-REVIEW-BRIEF-census-member-backups-2a.md+46 −0docs/superpowers/plans/member-backups-slice2a-copy.json+40 −0internal/activator/haduties.go+3 −18internal/activator/hrw_golden_test.go+38 −0internal/alerting/alerting_test.go+36 −0internal/alerting/ruletext.go+66 −0internal/boxchoice/hrw.go+30 −0internal/boxchoice/hrw_test.go+56 −0internal/boxself/boxself.go+307 −0internal/boxself/boxself_test.go+313 −0internal/boxself/io_linux.go+96 −0internal/boxself/io_linux_test.go+360 −0internal/boxself/io_other.go+15 −0internal/console/alertdetail_test.go+55 −0internal/console/alertengine_pass.go+16 −0internal/console/alertnotify.go+22 −0internal/console/alertpages.go+10 −0internal/console/alertpages_test.go+37 −0internal/console/alertsignals.go+3 −0internal/dbreads/agent.go+3 −20internal/dbreads/identity.go+65 −0internal/dbreads/identity_test.go+180 −0internal/dbverify/dbverify.go+310 −75internal/dbverify/dbverify_test.go+529 −37internal/edge/drillassign_test.go+209 −0internal/host/agent.go+12 −13internal/host/agententry.go+71 −1internal/host/agententry_test.go+4 −1internal/host/bootstrap.go+11 −4internal/host/boxself_census_linux_test.go+137 −0internal/host/claimcensus.go+14 −1internal/host/haself_test.go+1 −1internal/host/host_test.go+40 −6internal/host/metrics_loop.go+48 −1internal/host/movesland_test.go+88 −4internal/host/movespass.go+4 −2internal/host/units/carlos-hibernate-verify.service+20 −7internal/host/verifyalert_test.go+79 −0internal/host/verifyassign.go+113 −0internal/host/verifyassign_test.go+310 −0internal/hostbox/empty_census.go+52 −5internal/hostbox/empty_census_classes_test.go+17 −1internal/hostbox/migration_census_linux.go+7 −0internal/hostops/mutation_classifier.go+1 −1internal/hostops/verify_classifier_test.go+42 −0internal/lease/check.go+218 −16internal/lease/check_test.go+445 −3internal/lease/lease.go+1 −12internal/metrics/alert.go+9 −1internal/metrics/verify.go+183 −0internal/metrics/verify_linux_test.go+103 −0internal/metrics/verify_test.go+254 −0internal/moves/offline.go+1 −1internal/ops/drillidentity.go+133 −0internal/ops/hibernate_verify.go+581 −66internal/ops/hibernate_verify_families_test.go+269 −0internal/ops/hibernate_verify_restore_test.go+246 −0internal/ops/hibernate_verify_run_test.go+364 −0internal/ops/hibernate_verify_test.go+1,487 −90internal/ops/localverify_linux_test.go+45 −0internal/ops/ops.go+380 −75internal/provision/member_backups_2a_census_test.go+71 −0internal/provision/plan9_b8_census_test.go+1 −1internal/provision/testdata/plan14-root-reads-chain.tsv+1 −0internal/provision/testdata/plan14-root-reads-member-backups-2a.tsv+68 −0internal/release/changeindex.go+10 −1internal/release/changeindex_test.go+5 −0internal/safefile/file.go+19 −0internal/safefile/reap_linux.go+49 −8internal/safefile/reap_linux_test.go+52 −0internal/safefile/reap_other.go+5 −0testdata/clireg-golden.jsonl+2 −2
CI passed — run details
approved_member_backups_2a_copy_test.goLoading diff…
docs/superpowers/notes/census-claims-member-backups-2a.tsvLoading diff…
docs/superpowers/notes/census-proposal-member-backups-2a.mdLoading diff…
docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-2a-R2.mdLoading diff…
docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-2a-R3.mdLoading diff…
docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-2a-R3b.mdLoading diff…
docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-2a.mdLoading diff…
docs/superpowers/notes/reviews/member-backups/CODEX-REVIEW-BRIEF-census-member-backups-2a-R2.mdLoading diff…
docs/superpowers/notes/reviews/member-backups/CODEX-REVIEW-BRIEF-census-member-backups-2a-R3.mdLoading diff…
docs/superpowers/notes/reviews/member-backups/CODEX-REVIEW-BRIEF-census-member-backups-2a-R3b.mdLoading diff…
docs/superpowers/notes/reviews/member-backups/CODEX-REVIEW-BRIEF-census-member-backups-2a.mdLoading diff…
docs/superpowers/plans/member-backups-slice2a-copy.jsonLoading diff…
internal/activator/haduties.goLoading diff…
internal/activator/hrw_golden_test.goLoading diff…
internal/alerting/alerting_test.goLoading diff…
internal/alerting/ruletext.goLoading diff…
internal/boxchoice/hrw.goLoading diff…
internal/boxchoice/hrw_test.goLoading diff…
internal/boxself/boxself.goLoading diff…
internal/boxself/boxself_test.goLoading diff…
internal/boxself/io_linux.goLoading diff…
internal/boxself/io_linux_test.goLoading diff…
internal/boxself/io_other.goLoading diff…
internal/console/alertdetail_test.goLoading diff…
internal/console/alertengine_pass.goLoading diff…
internal/console/alertnotify.goLoading diff…
internal/console/alertpages.goLoading diff…
internal/console/alertpages_test.goLoading diff…
internal/console/alertsignals.goLoading diff…
internal/dbreads/agent.goLoading diff…
internal/dbreads/identity.goLoading diff…
internal/dbreads/identity_test.goLoading diff…
internal/dbverify/dbverify.goLoading diff…
internal/dbverify/dbverify_test.goLoading diff…
internal/edge/drillassign_test.goLoading diff…
internal/host/agent.goLoading diff…
internal/host/agententry.goLoading diff…
internal/host/agententry_test.goLoading diff…
internal/host/bootstrap.goLoading diff…
internal/host/boxself_census_linux_test.goLoading diff…
internal/host/claimcensus.goLoading diff…
internal/host/haself_test.goLoading diff…
internal/host/host_test.goLoading diff…
internal/host/metrics_loop.goLoading diff…
internal/host/movesland_test.goLoading diff…
internal/host/movespass.goLoading diff…
internal/host/units/carlos-hibernate-verify.serviceLoading diff…
internal/host/verifyalert_test.goLoading diff…
internal/host/verifyassign.goLoading diff…
internal/host/verifyassign_test.goLoading diff…
internal/hostbox/empty_census.goLoading diff…
internal/hostbox/empty_census_classes_test.goLoading diff…
internal/hostbox/migration_census_linux.goLoading diff…
internal/hostops/mutation_classifier.goLoading diff…
internal/hostops/verify_classifier_test.goLoading diff…
internal/lease/check.goLoading diff…
internal/lease/check_test.goLoading diff…
internal/lease/lease.goLoading diff…
internal/metrics/alert.goLoading diff…
internal/metrics/verify.goLoading diff…
internal/metrics/verify_linux_test.goLoading diff…
internal/metrics/verify_test.goLoading diff…
internal/moves/offline.goLoading diff…
internal/ops/drillidentity.goLoading diff…
internal/ops/hibernate_verify.goLoading diff…
internal/ops/hibernate_verify_families_test.goLoading diff…
internal/ops/hibernate_verify_restore_test.goLoading diff…
internal/ops/hibernate_verify_run_test.goLoading diff…
internal/ops/hibernate_verify_test.goLoading diff…
internal/ops/localverify_linux_test.goLoading diff…
internal/ops/ops.goLoading diff…
internal/provision/member_backups_2a_census_test.goLoading diff…
internal/provision/plan9_b8_census_test.goLoading diff…
internal/provision/testdata/plan14-root-reads-chain.tsvLoading diff…
internal/provision/testdata/plan14-root-reads-member-backups-2a.tsvLoading diff…
internal/release/changeindex.goLoading diff…
internal/release/changeindex_test.goLoading diff…
internal/safefile/file.goLoading diff…
internal/safefile/reap_linux.goLoading diff…
internal/safefile/reap_linux_test.goLoading diff…
internal/safefile/reap_other.goLoading diff…
testdata/clireg-golden.jsonlLoading diff…