carlos / platform Public

Merge main into audit-bugs-2

# Conflicts:
#	internal/provision/testdata/plan14-root-reads-chain.tsv
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev bf9e8f4a828cc120118eb2572518f4c38afce1d1 parent e26b6b6parent 4a81517
79 files changed, +4,072 −310
  • .amadan/README.md +36 −1
  • .amadan/ci.d/50-govulncheck +25 −0
  • .amadan/govulncheck-exceptions.tsv +9 −0
  • AGENTS.md +7 −0
  • Makefile +28 −1
  • cmd/console/claim_sweep_test.go +1 −1
  • cmd/console/claimworkers_started_test.go +10 −1
  • cmd/console/hacapacity_test.go +30 −6
  • cmd/console/main.go +115 −77
  • cmd/console/plansponsor_test.go +1 −1
  • cmd/console/region_test.go +3 −3
  • cmd/console/stop.go +509 −0
  • cmd/console/stop_test.go +588 −0
  • docs/superpowers/notes/census-claims-ha-1192.tsv +7 −0
  • docs/superpowers/notes/census-proposal-audit-bugs-2.md +1 −1
  • docs/superpowers/notes/census-proposal-audit-edge-test-sleeps.md +11 −0
  • docs/superpowers/notes/census-proposal-fix-1193-wal-close-test.md +11 −0
  • docs/superpowers/notes/census-proposal-ha-1192.md +33 −0
  • docs/superpowers/notes/census-proposal-ha-generations-floor.md +16 −0
  • docs/superpowers/reviews/ASTRA-R1-ha-1192.md +42 −0
  • docs/superpowers/reviews/CHECK-BRIEF-audit-console-shutdown-R1-fix.md +30 −0
  • docs/superpowers/reviews/CHECK-audit-console-shutdown-R1-fix.md +41 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-ha-1192.md +117 −0
  • docs/superpowers/reviews/FINDINGS-audit-console-shutdown-R1.md +52 −0
  • docs/superpowers/reviews/FINDINGS-audit-edge-test-sleeps-R1.md +36 −0
  • docs/superpowers/reviews/FINDINGS-audit-govulncheck-R1.md +32 −0
  • docs/superpowers/reviews/LUNA-COPY-BRIEF-ha-1192.md +47 −0
  • docs/superpowers/reviews/LUNA-COPY-RESULT-ha-1192.md +5 −0
  • docs/superpowers/reviews/REVIEW-BRIEF-audit-console-shutdown.md +50 −0
  • docs/superpowers/reviews/REVIEW-BRIEF-audit-edge-test-sleeps.md +42 −0
  • docs/superpowers/reviews/REVIEW-BRIEF-audit-govulncheck.md +35 −0
  • docs/superpowers/specs/2026-11-09-group-roll-verb-design.md +1 −0
  • internal/console/fleetrelabel.go +5 −18
  • internal/console/geoipfollower.go +12 −5
  • internal/console/relayops.go +11 −2
  • internal/console/verifyreader.go +11 −4
  • internal/console/workerjoin_test.go +89 −0
  • internal/edge/forwardha.go +4 −1
  • internal/edge/forwardha_service_test.go +46 −6
  • internal/edge/forwardha_test.go +44 −10
  • internal/edge/lbhealth_test.go +75 −32
  • internal/grouproll/probe_test.go +3 −3
  • internal/grouproll/roll.go +41 −2
  • internal/grouproll/roll_test.go +62 −3
  • internal/grouproll/text.go +1 −0
  • internal/grouproll/text_test.go +4 −3
  • internal/hafresh/acquire.go +10 −0
  • internal/hafresh/acquire_test.go +63 −0
  • internal/hafresh/lock.go +40 −4
  • internal/hafresh/lock_test.go +35 −0
  • internal/host/agent.go +4 −0
  • internal/host/hadepartures.go +3 −0
  • internal/host/hadepartures_metrics.go +6 −0
  • internal/host/hadepartures_scan.go +77 −12
  • internal/host/hadepartures_trash_test.go +187 −0
  • internal/host/hadepartures_wiring.go +8 −0
  • internal/host/hadrain.go +41 −16
  • internal/host/hadrain_departed_test.go +134 −0
  • internal/lease/claimgeneration_snapshot_linux_test.go +9 −32
  • internal/lease/descriptors_test.go +48 −0
  • internal/lease/export_test.go +3 −0
  • internal/lease/fencegate.go +9 −0
  • internal/lease/fencegate_test.go +32 −0
  • internal/lease/ha_test.go +25 −0
  • internal/lease/legacytake.go +13 −6
  • internal/lease/release_snapshot_test.go +8 −20
  • internal/lease/tombstone.go +72 −32
  • internal/lease/tombstone_test.go +80 −0
  • internal/provision/reconcile.go +2 −5
  • internal/provision/testdata/plan14-root-reads-audit-bugs-2.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-audit-edge-test-sleeps.tsv +3 −0
  • internal/provision/testdata/plan14-root-reads-chain.tsv +5 −1
  • internal/provision/testdata/plan14-root-reads-fix-1193-wal-close-test.tsv +3 −0
  • internal/provision/testdata/plan14-root-reads-ha-1192.tsv +20 −0
  • internal/provision/testdata/plan14-root-reads-ha-generations-floor.tsv +9 −0
  • internal/release/trash.go +32 −0
  • internal/release/trashretired_test.go +71 −0
  • scripts/govulncheck-gate/main.go +416 −0
  • scripts/govulncheck-gate/main_test.go +224 −0

CI passed — run details

.amadan/README.md

Loading diff…

.amadan/ci.d/50-govulncheck

Loading diff…

.amadan/govulncheck-exceptions.tsv

Loading diff…

AGENTS.md

Loading diff…

Makefile

Loading diff…

cmd/console/claim_sweep_test.go

Loading diff…

cmd/console/claimworkers_started_test.go

Loading diff…

cmd/console/hacapacity_test.go

Loading diff…

cmd/console/main.go

Loading diff…

cmd/console/plansponsor_test.go

Loading diff…

cmd/console/region_test.go

Loading diff…

cmd/console/stop.go

Loading diff…

cmd/console/stop_test.go

Loading diff…

docs/superpowers/notes/census-claims-ha-1192.tsv

Loading diff…

docs/superpowers/notes/census-proposal-audit-bugs-2.md

Loading diff…

docs/superpowers/notes/census-proposal-audit-edge-test-sleeps.md

Loading diff…

docs/superpowers/notes/census-proposal-fix-1193-wal-close-test.md

Loading diff…

docs/superpowers/notes/census-proposal-ha-1192.md

Loading diff…

docs/superpowers/notes/census-proposal-ha-generations-floor.md

Loading diff…

docs/superpowers/reviews/ASTRA-R1-ha-1192.md

Loading diff…

docs/superpowers/reviews/CHECK-BRIEF-audit-console-shutdown-R1-fix.md

Loading diff…

docs/superpowers/reviews/CHECK-audit-console-shutdown-R1-fix.md

Loading diff…

docs/superpowers/reviews/CODEX-REVIEW-BRIEF-ha-1192.md

Loading diff…

docs/superpowers/reviews/FINDINGS-audit-console-shutdown-R1.md

Loading diff…

docs/superpowers/reviews/FINDINGS-audit-edge-test-sleeps-R1.md

Loading diff…

docs/superpowers/reviews/FINDINGS-audit-govulncheck-R1.md

Loading diff…

docs/superpowers/reviews/LUNA-COPY-BRIEF-ha-1192.md

Loading diff…

docs/superpowers/reviews/LUNA-COPY-RESULT-ha-1192.md

Loading diff…

docs/superpowers/reviews/REVIEW-BRIEF-audit-console-shutdown.md

Loading diff…

docs/superpowers/reviews/REVIEW-BRIEF-audit-edge-test-sleeps.md

Loading diff…

docs/superpowers/reviews/REVIEW-BRIEF-audit-govulncheck.md

Loading diff…

docs/superpowers/specs/2026-11-09-group-roll-verb-design.md

Loading diff…

internal/console/fleetrelabel.go

Loading diff…

internal/console/geoipfollower.go

Loading diff…

internal/console/relayops.go

Loading diff…

internal/console/verifyreader.go

Loading diff…

internal/console/workerjoin_test.go

Loading diff…

internal/edge/forwardha.go

Loading diff…

internal/edge/forwardha_service_test.go

Loading diff…

internal/edge/forwardha_test.go

Loading diff…

internal/edge/lbhealth_test.go

Loading diff…

internal/grouproll/probe_test.go

Loading diff…

internal/grouproll/roll.go

Loading diff…

internal/grouproll/roll_test.go

Loading diff…

internal/grouproll/text.go

Loading diff…

internal/grouproll/text_test.go

Loading diff…

internal/hafresh/acquire.go

Loading diff…

internal/hafresh/acquire_test.go

Loading diff…

internal/hafresh/lock.go

Loading diff…

internal/hafresh/lock_test.go

Loading diff…

internal/host/agent.go

Loading diff…

internal/host/hadepartures.go

Loading diff…

internal/host/hadepartures_metrics.go

Loading diff…

internal/host/hadepartures_scan.go

Loading diff…

internal/host/hadepartures_trash_test.go

Loading diff…

internal/host/hadepartures_wiring.go

Loading diff…

internal/host/hadrain.go

Loading diff…

internal/host/hadrain_departed_test.go

Loading diff…

internal/lease/claimgeneration_snapshot_linux_test.go

Loading diff…

internal/lease/descriptors_test.go

Loading diff…

internal/lease/export_test.go

Loading diff…

internal/lease/fencegate.go

Loading diff…

internal/lease/fencegate_test.go

Loading diff…

internal/lease/ha_test.go

Loading diff…

internal/lease/legacytake.go

Loading diff…

internal/lease/release_snapshot_test.go

Loading diff…

internal/lease/tombstone.go

Loading diff…

internal/lease/tombstone_test.go

Loading diff…

internal/provision/reconcile.go

Loading diff…

internal/provision/testdata/plan14-root-reads-audit-bugs-2.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-audit-edge-test-sleeps.tsv

Loading diff…

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

Loading diff…

internal/provision/testdata/plan14-root-reads-fix-1193-wal-close-test.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-ha-1192.tsv

Loading diff…

internal/provision/testdata/plan14-root-reads-ha-generations-floor.tsv

Loading diff…

internal/release/trash.go

Loading diff…

internal/release/trashretired_test.go

Loading diff…

scripts/govulncheck-gate/main.go

Loading diff…

scripts/govulncheck-gate/main_test.go

Loading diff…