carlos / platform Public

Merge main into design-account-name-hosts

Brings in 178dcfe5 (member backups slice 2a, #898).

Conflicts:
- internal/provision/plan9_b8_census_test.go: the write census tip stays
  accountSubdomainsWriteCensusInventory, which now builds on main's
  memberBackups2aWriteCensusInventory instead of
  memberBackups1WriteCensusInventory. No re-pin overlaps slice 2a's units.
- internal/provision/testdata/plan14-root-reads-chain.tsv: main's
  member-backups-2a line, then account-subdomains last, re-proposed with
  make census-propose on main's chain (seal b130b2d6 -> 165bf116). Only
  the internal/host envelope moved, from main's agent.go and other host
  changes; no unit digest changed. Not yet approved.

testdata/clireg-golden.jsonl and internal/host/agent.go merged cleanly;
TestCLIGolden passes without -record.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 32e90a94f021bf97ee59ebac869dd624b001effc parent 304b728parent 178dcfe
84 files changed, +9,416 −477
  • approved_member_backups_2a_copy_test.go +76 −0
  • docs/superpowers/notes/census-claims-member-backups-2a.tsv +39 −0
  • docs/superpowers/notes/census-proposal-account-subdomains.md +1 −1
  • docs/superpowers/notes/census-proposal-member-backups-2a.md +54 −0
  • docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-2a-R2.md +65 −0
  • docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-2a-R3.md +65 −0
  • docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-2a-R3b.md +21 −0
  • docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-2a.md +83 −0
  • docs/superpowers/notes/reviews/member-backups/CODEX-REVIEW-BRIEF-census-member-backups-2a-R2.md +54 −0
  • docs/superpowers/notes/reviews/member-backups/CODEX-REVIEW-BRIEF-census-member-backups-2a-R3.md +22 −0
  • docs/superpowers/notes/reviews/member-backups/CODEX-REVIEW-BRIEF-census-member-backups-2a-R3b.md +16 −0
  • docs/superpowers/notes/reviews/member-backups/CODEX-REVIEW-BRIEF-census-member-backups-2a.md +46 −0
  • docs/superpowers/plans/member-backups-slice2a-copy.json +40 −0
  • internal/activator/haduties.go +3 −18
  • internal/activator/hrw_golden_test.go +38 −0
  • internal/alerting/alerting_test.go +36 −0
  • internal/alerting/ruletext.go +66 −0
  • internal/boxchoice/hrw.go +30 −0
  • internal/boxchoice/hrw_test.go +56 −0
  • internal/boxself/boxself.go +307 −0
  • internal/boxself/boxself_test.go +313 −0
  • internal/boxself/io_linux.go +96 −0
  • internal/boxself/io_linux_test.go +360 −0
  • internal/boxself/io_other.go +15 −0
  • internal/console/alertdetail_test.go +55 −0
  • internal/console/alertengine_pass.go +16 −0
  • internal/console/alertnotify.go +22 −0
  • internal/console/alertpages.go +10 −0
  • internal/console/alertpages_test.go +37 −0
  • internal/console/alertsignals.go +3 −0
  • internal/dbreads/agent.go +3 −20
  • internal/dbreads/identity.go +65 −0
  • internal/dbreads/identity_test.go +180 −0
  • internal/dbverify/dbverify.go +310 −75
  • internal/dbverify/dbverify_test.go +529 −37
  • internal/edge/drillassign_test.go +209 −0
  • internal/host/agent.go +12 −13
  • internal/host/agententry.go +71 −1
  • internal/host/agententry_test.go +4 −1
  • internal/host/bootstrap.go +11 −4
  • internal/host/boxself_census_linux_test.go +137 −0
  • internal/host/claimcensus.go +14 −1
  • internal/host/haself_test.go +1 −1
  • internal/host/host_test.go +40 −6
  • internal/host/metrics_loop.go +48 −1
  • internal/host/movesland_test.go +88 −4
  • internal/host/movespass.go +4 −2
  • internal/host/units/carlos-hibernate-verify.service +20 −7
  • internal/host/verifyalert_test.go +79 −0
  • internal/host/verifyassign.go +113 −0
  • internal/host/verifyassign_test.go +310 −0
  • internal/hostbox/empty_census.go +52 −5
  • internal/hostbox/empty_census_classes_test.go +17 −1
  • internal/hostbox/migration_census_linux.go +7 −0
  • internal/hostops/mutation_classifier.go +1 −1
  • internal/hostops/verify_classifier_test.go +42 −0
  • internal/lease/check.go +218 −16
  • internal/lease/check_test.go +445 −3
  • internal/lease/lease.go +1 −12
  • internal/metrics/alert.go +9 −1
  • internal/metrics/verify.go +183 −0
  • internal/metrics/verify_linux_test.go +103 −0
  • internal/metrics/verify_test.go +254 −0
  • internal/moves/offline.go +1 −1
  • internal/ops/drillidentity.go +133 −0
  • internal/ops/hibernate_verify.go +581 −66
  • internal/ops/hibernate_verify_families_test.go +269 −0
  • internal/ops/hibernate_verify_restore_test.go +246 −0
  • internal/ops/hibernate_verify_run_test.go +364 −0
  • internal/ops/hibernate_verify_test.go +1,487 −90
  • internal/ops/localverify_linux_test.go +45 −0
  • internal/ops/ops.go +380 −75
  • internal/provision/account_subdomains_census_test.go +1 −1
  • internal/provision/member_backups_2a_census_test.go +71 −0
  • internal/provision/testdata/plan14-root-reads-account-subdomains.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-chain.tsv +2 −1
  • internal/provision/testdata/plan14-root-reads-member-backups-2a.tsv +68 −0
  • internal/release/changeindex.go +10 −1
  • internal/release/changeindex_test.go +5 −0
  • internal/safefile/file.go +19 −0
  • internal/safefile/reap_linux.go +49 −8
  • internal/safefile/reap_linux_test.go +52 −0
  • internal/safefile/reap_other.go +5 −0
  • testdata/clireg-golden.jsonl +2 −2
approved_member_backups_2a_copy_test.go

Loading diff…

docs/superpowers/notes/census-claims-member-backups-2a.tsv

Loading diff…

docs/superpowers/notes/census-proposal-account-subdomains.md

Loading diff…

docs/superpowers/notes/census-proposal-member-backups-2a.md

Loading diff…

docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-2a-R2.md

Loading diff…

docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-2a-R3.md

Loading diff…

docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-2a-R3b.md

Loading diff…

docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-2a.md

Loading diff…

docs/superpowers/notes/reviews/member-backups/CODEX-REVIEW-BRIEF-census-member-backups-2a-R2.md

Loading diff…

docs/superpowers/notes/reviews/member-backups/CODEX-REVIEW-BRIEF-census-member-backups-2a-R3.md

Loading diff…

docs/superpowers/notes/reviews/member-backups/CODEX-REVIEW-BRIEF-census-member-backups-2a-R3b.md

Loading diff…

docs/superpowers/notes/reviews/member-backups/CODEX-REVIEW-BRIEF-census-member-backups-2a.md

Loading diff…

docs/superpowers/plans/member-backups-slice2a-copy.json

Loading diff…

internal/activator/haduties.go

Loading diff…

internal/activator/hrw_golden_test.go

Loading diff…

internal/alerting/alerting_test.go

Loading diff…

internal/alerting/ruletext.go

Loading diff…

internal/boxchoice/hrw.go

Loading diff…

internal/boxchoice/hrw_test.go

Loading diff…

internal/boxself/boxself.go

Loading diff…

internal/boxself/boxself_test.go

Loading diff…

internal/boxself/io_linux.go

Loading diff…

internal/boxself/io_linux_test.go

Loading diff…

internal/boxself/io_other.go

Loading diff…

internal/console/alertdetail_test.go

Loading diff…

internal/console/alertengine_pass.go

Loading diff…

internal/console/alertnotify.go

Loading diff…

internal/console/alertpages.go

Loading diff…

internal/console/alertpages_test.go

Loading diff…

internal/console/alertsignals.go

Loading diff…

internal/dbreads/agent.go

Loading diff…

internal/dbreads/identity.go

Loading diff…

internal/dbreads/identity_test.go

Loading diff…

internal/dbverify/dbverify.go

Loading diff…

internal/dbverify/dbverify_test.go

Loading diff…

internal/edge/drillassign_test.go

Loading diff…

internal/host/agent.go

Loading diff…

internal/host/agententry.go

Loading diff…

internal/host/agententry_test.go

Loading diff…

internal/host/bootstrap.go

Loading diff…

internal/host/boxself_census_linux_test.go

Loading diff…

internal/host/claimcensus.go

Loading diff…

internal/host/haself_test.go

Loading diff…

internal/host/host_test.go

Loading diff…

internal/host/metrics_loop.go

Loading diff…

internal/host/movesland_test.go

Loading diff…

internal/host/movespass.go

Loading diff…

internal/host/units/carlos-hibernate-verify.service

Loading diff…

internal/host/verifyalert_test.go

Loading diff…

internal/host/verifyassign.go

Loading diff…

internal/host/verifyassign_test.go

Loading diff…

internal/hostbox/empty_census.go

Loading diff…

internal/hostbox/empty_census_classes_test.go

Loading diff…

internal/hostbox/migration_census_linux.go

Loading diff…

internal/hostops/mutation_classifier.go

Loading diff…

internal/hostops/verify_classifier_test.go

Loading diff…

internal/lease/check.go

Loading diff…

internal/lease/check_test.go

Loading diff…

internal/lease/lease.go

Loading diff…

internal/metrics/alert.go

Loading diff…

internal/metrics/verify.go

Loading diff…

internal/metrics/verify_linux_test.go

Loading diff…

internal/metrics/verify_test.go

Loading diff…

internal/moves/offline.go

Loading diff…

internal/ops/drillidentity.go

Loading diff…

internal/ops/hibernate_verify.go

Loading diff…

internal/ops/hibernate_verify_families_test.go

Loading diff…

internal/ops/hibernate_verify_restore_test.go

Loading diff…

internal/ops/hibernate_verify_run_test.go

Loading diff…

internal/ops/hibernate_verify_test.go

Loading diff…

internal/ops/localverify_linux_test.go

Loading diff…

internal/ops/ops.go

Loading diff…

internal/provision/account_subdomains_census_test.go

Loading diff…

internal/provision/member_backups_2a_census_test.go

Loading diff…

internal/provision/testdata/plan14-root-reads-account-subdomains.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-chain.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-member-backups-2a.tsv

Loading diff…

internal/release/changeindex.go

Loading diff…

internal/release/changeindex_test.go

Loading diff…

internal/safefile/file.go

Loading diff…

internal/safefile/reap_linux.go

Loading diff…

internal/safefile/reap_linux_test.go

Loading diff…

internal/safefile/reap_other.go

Loading diff…

testdata/clireg-golden.jsonl

Loading diff…