ha: add root-runner departure lifecycle witnesses
Exercise partial and completed adopter death with independent registries and real nested scheduled recovery. Retain pending age across reobservation, cover independent queue completion, and correct the sequential-departure simulation setup.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 files changed,
+711
−54
docs/superpowers/notes/census-proposal-region-ha-p1b3b-t.md+11 −5docs/superpowers/notes/census-region-ha-p1b3b-t-claims.md+13 −8internal/host/hadepartures_metrics_test.go+11 −0internal/host/hadepartures_production_test.go+131 −3internal/host/hadepartures_root_linux_test.go+447 −0internal/host/haplacement_root_linux_test.go+15 −1internal/provision/testdata/plan14-root-reads-chain.tsv+1 −1internal/provision/testdata/plan14-root-reads-region-ha-p1b3b-t.tsv+33 −22internal/registry/ha_journal.go+11 −2internal/sim/regionha/duties_model_test.go+30 −10internal/sim/regionha/duties_test.go+8 −0internal/sim/regionha/duty_boundaries_test.go+0 −2
Intent
Human
Check Astra B4 fix round 4 (task-B4-astra-fix4.md/.log) and CI for P1b-3b slice T; ledger progress.md in /home/paulca/amadan.net/carlos/platform/.claude/worktrees/region-ha-p1b3b-duties/.superpowers/sdd/2026-11-03-region-ha-p1b3b-duties/; run Bash with sandbox off (bwrap mount error); continue SDD (scoped re-review r5 via the B4 Opus reviewer).
docs/superpowers/notes/census-proposal-region-ha-p1b3b-t.mdLoading diff…
docs/superpowers/notes/census-region-ha-p1b3b-t-claims.mdLoading diff…
internal/host/hadepartures_metrics_test.goLoading diff…
internal/host/hadepartures_production_test.goLoading diff…
internal/host/hadepartures_root_linux_test.goLoading diff…
internal/host/haplacement_root_linux_test.goLoading diff…
internal/provision/testdata/plan14-root-reads-chain.tsvLoading diff…
internal/provision/testdata/plan14-root-reads-region-ha-p1b3b-t.tsvLoading diff…
internal/registry/ha_journal.goLoading diff…
internal/sim/regionha/duties_model_test.goLoading diff…
internal/sim/regionha/duties_test.goLoading diff…
internal/sim/regionha/duty_boundaries_test.goLoading diff…