carlos / platform Public

region HA DR-5: Astra R1 fixes and census proposal

P1: only a group reference can be proven departed; a fixed reference
(including the departing box itself) that may serve the pool keeps the
departure blocked, since a replacement can publish under it.
P2: a pass that reserved a departure and then waits no longer stops the
step from scanning the next due one.
P2: the N6 test publishes inventory rounds during recovery, checks both
queue acks, and covers a lock changing between walks (advancing successor
supersedes; same generation stays blocked) and a fixed-ref replacement.
Census overlay region-ha-dr5.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev ee89058578e2adc50c9d84d9cfd6c98c46c103b9 parent a3a4fa2
7 files changed, +202 −14
  • docs/superpowers/notes/census-proposal-region-ha-dr5.md +25 −0
  • docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md +2 −2
  • internal/host/hadepartures.go +10 −6
  • internal/host/hadepartures_dr5_test.go +139 −1
  • internal/host/hadepartures_scan.go +11 −5
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −0
  • internal/provision/testdata/plan14-root-reads-region-ha-dr5.tsv +14 −0

CI passed — run details

Intent

Human

<task-notification> <task-id>bniy2mg3n</task-id> <tool-use-id>toolu_018jNhV3kCqW9SG4VmtXkG7w</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/ab9165e6-6d36-4d3d-bb2d-70e5360d614e/tasks/bniy2mg3n.output</output-file> <status>completed</status> <summary>Background command "Wait for Astra review to finish" completed (exit code 0)</summary> </task-notification>

Human

<task-notification> <task-id>bfctjs9s4</task-id> <tool-use-id>toolu_01CJvgthpJ9NNxvrCY7YKBmb</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/ab9165e6-6d36-4d3d-bb2d-70e5360d614e/tasks/bfctjs9s4.output</output-file> <status>completed</status> <summary>Background command "Wait for CI verdict" completed (exit code 0)</summary> </task-notification>

Attributed to this commit: 39.6 g CO₂e (4,662,849 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on fix/region-ha-dr5, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.

diff --git a/docs/superpowers/notes/census-proposal-region-ha-dr5.md b/docs/superpowers/notes/census-proposal-region-ha-dr5.md
new file mode 100644
index 000000000..6756b861d
--- /dev/null
+++ b/docs/superpowers/notes/census-proposal-region-ha-dr5.md
@@ -0,0 +1,25 @@
+# Census approval: region-ha-dr5
+
+Ruling `census-ruling-region-ha-dr5`. The independent reviewer approves or rejects every change below, 3 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
+
+| unit | change | read sites | what changed |
+|---|---|---|---|
+| `internal/host/hadepartures_scan.go` `Controller.ScanPass` | sites | +registry:Hosts, +registry:Rescan, +registry:Result, +whole:HADeparture, +whole:HADepartureHostScan ×2 | DR-5 spec 7.5: a host this box cannot adopt only because of its pool is recorded unserved (Result) when the in-memory departure view shows no possible server; reads local journal departure rows and scan Hosts/Rescan only. No import, no lock write, no new remote read; the rescan is due at once. |
+
+Envelopes re-pinned: `internal/edge`, `internal/hadeparture`, `internal/host`.
+
+Review: a model from the other family than the author reads the branch's diff against main on the amadan.net remote (`origin` or `amadan`, whichever points at amadan.net) and gives a verdict for every unit and every re-pinned envelope above. For a unit, compare the change with its recorded disposition and basis below; for an envelope, read every changed function in the package and what it reaches. Reject if the change lets root open, run, query or follow anything it did not before from a path or input a tenant, an app or a box agent can create, write or name; if it weakens a check, refusal, validation, argument or environment the basis relies on; or if the diff cannot settle either. Otherwise approve. Record each verdict on #280 with the tip. A rejected unit goes back to the author to correct; nothing escalates to the census owner.
+
+Recorded dispositions, which each change must still satisfy:
+
+- `internal/host/hadepartures_scan.go` `Controller.ScanPass`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read authoritative pre-filter inventory, exact canonical lock revisions through one page reader, local scan checkpoints and adoption receipts. Persist source identity before the sole AdoptHost importer; validate later successor identity/lifetime/generation and require a fresh full zero-match rescan. Unknown state, unsupported hosts and missing previously matched locks refuse completion. No process launch or tenancy expansion. Preserve checkpoints across walks of identical record bytes; persist the current inventory generation separately and recheck source freshness/completeness before every page and deletion. Placement changes cannot filter the lock census. Fix r1/P15: classify legacy and unrelated locks as zero only before any D match; keep strict successor checks for previously matched hosts and hold malformed HA identities. Compare read start to expiry. Resume authority-complete deletion without rescanning unchanged inventory; persist evidence and scan errors with bounded retry. B4 fix r2: Inventory-only waits request the existing hourly page only after observed evidence is older than ChangeIndexBackstop plus 10 percent. Freshness and completion gates are unchanged; no new read. B5: Route the unchanged AdoptHost callback through measured telemetry; no new authority or lock read.;rev3=census-ruling-region-ha-p3b;basis=Gate and register the existing departure scan with admission before any work. Existing registry/object reads remain, closed members do not import, and shutdown cancels/joins registered work; no new root input.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: when a departure is blocked only on inventory freshness, signals the bounded early backstop round (global 60 s spacing, three per evidence) instead of waiting for the 30 min backstop. FreshAfter/I3 gates unchanged; no walk inside the step; no new read.;rev3=census-ruling-region-ha-g3-fixes;basis=Track current record revisions across inventory publications; separate lease waits from blockers and persist Cursor as zero for rollback. Drop removed records from coverage while retaining adoption or validated-successor gates for current hosts. Use the bounded lock-prefix listing only after validating every current host prefix; preserve per-host reads for known duties and fall back to the existing 32-host scan when listing evidence is unavailable. Cache listing evidence only in this process under scanMu, invalidate it on blocked work or inventory changes, and permit 128 reads with proven listing coverage. Added reads include departure LastError, host scan state and registry Hosts; the new remote read is a bounded LIST of the configured lock prefix in the existing data bucket.
+
+New dispositions, which census-propose wrote and the reviewer checks against the unit's reads and the diff:
+
+- new `internal/host/hadepartures_scan.go:Controller.unserved`: reads +whole:HADeparture; written legacy, accepted-legacy, frozen
+- reads `internal/host/hadepartures.go:Controller.step`: +registry:NextAttempt ×2, +whole:HADeparture ×5; keeps legacy, task accepted-legacy
+- reads `internal/host/hadepartures_scan.go:Controller.complete`: +registry:Result; keeps legacy, task accepted-legacy
+
+Seal: `e820ef22ac677cd49aa9ca3f70d6bca9dea061bce3184ca86f0a3fc98f8de0eb` → `5f700de430db23d47fc08305b14d6ecc33e4b419353a2bfdb2cb893c41ce8206`.
+
+Overlay: `internal/provision/testdata/plan14-root-reads-region-ha-dr5.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md b/docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md
index 31e0ac505..1e7f3f067 100644
--- a/docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md
+++ b/docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md
@@ -344,7 +344,7 @@ No duty files exist, and nothing is published for transfer. The wake state (time
**The rule.** A host whose lock names the departed box is **unserved** when all of these hold, and the scanning box then records it as discharged without importing it:
1. The lock is a release marker naming the departed box, clean or not, or a held lock whose expiry the scanning box has seen pass. The scan already waits for expiry before any adoption (§9.4); it waits the same way here.
2. The scanning box could adopt the host if it served the host's pool: same placement, an HA record with a lifetime, an instance or a sidecar whose placement rule this box meets, and this box is not denied. Every other refusal keeps blocking, as today.
-3. No box that could adopt it remains. The scanning box's departure view is complete, and every box in it with the same region, placement, data bucket and secrets key fingerprint either publishes known `served_pools` without the host's pool, or has a departure enrolled in this box's journal (its termination is proven). A box whose `served_pools` is missing or malformed counts as a possible server, so it keeps the departure blocked.
+3. No box that could adopt it remains. The scanning box's departure view is complete, and every box in it with the same region, placement, data bucket and secrets key fingerprint either publishes known `served_pools` without the host's pool, or is a group member with a departure enrolled in this box's journal (its termination is proven). Only a group reference can be proven gone: it names one instance forever. A fixed reference is reused by its replacement, which an earlier incarnation's proof says nothing about, so a fixed box that serves or may serve the pool always keeps the departure blocked, including when the departing box is itself fixed (Astra DR-5 R1 P1). A box whose `served_pools` is missing or malformed counts as a possible server, so it keeps the departure blocked.
An unserved host gets no import, and its lock is not touched. The departure then finishes as §9.3 says: edges file, index, status snapshot (DR-2) and queue message. The scan logs one diagnostic per host (`ha_departure_unserved`). It sends no page, because the operator removed the pool's last server.
@@ -363,7 +363,7 @@ An unserved host gets no import, and its lock is not touched. The departure then
- an inventory round asked for inside the 60-second spacing was dropped rather than deferred, so a departure whose evidence came 30 seconds after another's waited for a later round;
- the full lock rescan after a clean adoption pass waited a further 30 seconds.
-DR-5 changes all three. A step scans every due departure (up to 8, within the step's budget). An inventory request inside the spacing is kept and starts when the spacing ends; the spacing and the limit of three rounds per piece of evidence stay. The rescan is due as soon as the adoption pass is saved. The bound is **3 minutes from termination proof to edges file and status snapshot gone, under record churn**, with a production-wired test of the N6 shape (whole group gone, a fixed box with no named pools, churn writes) asserting it and asserting Route 53 steering unchanged.
+DR-5 changes all three. A step scans every due departure (up to 8, within the step's budget); a departure that waits, for inventory or a lease, does not stop the next one. An inventory request inside the spacing is kept and starts when the spacing ends; the spacing and the limit of three rounds per piece of evidence stay. The rescan is due as soon as the adoption pass is saved. The bound is **3 minutes from termination proof to edges file and status snapshot gone, under record churn**, with a production-wired test of the N6 shape (whole group gone, a fixed box with no named pools, churn writes) asserting it and asserting Route 53 steering unchanged.
## 8. Per-instance files (H6)
diff --git a/internal/host/hadepartures.go b/internal/host/hadepartures.go
index 7e0540566..9bcce556f 100644
--- a/internal/host/hadepartures.go
+++ b/internal/host/hadepartures.go
@@ -480,19 +480,23 @@ func (c *Controller) step(ctx context.Context) error {
// DR-5: scan every due departure in this step (at most
// departuresPerStep), so departures never take turns across steps.
// Each pass reserves its departure first, so the loop advances.
- // One departure's error does not hold the others.
+ // One departure's error does not hold the others. A pass that
+ // reserved its departure (even one that then waits, say for
+ // inventory) moves its next attempt; a pass that did not reserve
+ // (not admitted) leaves the same row due, and the loop stops.
var errs error
- for range departuresPerStep {
+ var last registry.HADeparture
+ for i := range departuresPerStep {
due, err := c.cfg.Registry.PendingDepartures(ctx, c.now(), 1)
if err != nil || len(due) == 0 || ctx.Err() != nil {
return errors.Join(errs, err)
}
- worked, err := c.ScanPass(ctx)
- errs = errors.Join(errs, err)
- if !worked && err == nil {
- // Not admitted, or nothing reserved: stop rather than spin.
+ if i > 0 && due[0].ID == last.ID && due[0].NextAttempt.Equal(last.NextAttempt) {
break
}
+ last = due[0]
+ _, err = c.ScanPass(ctx)
+ errs = errors.Join(errs, err)
}
return errs
}
diff --git a/internal/host/hadepartures_dr5_test.go b/internal/host/hadepartures_dr5_test.go
index 908bfde55..d739ee4bc 100644
--- a/internal/host/hadepartures_dr5_test.go
+++ b/internal/host/hadepartures_dr5_test.go
@@ -47,6 +47,9 @@ type dr5Rig struct {
walkDone time.Time
unserved int
logs []string
+ // fixedDeparture: the fixed box's own departure keeps its edges file
+ // (never deleted automatically) and reports that on every step.
+ fixedDeparture bool
}
const (
@@ -59,6 +62,7 @@ type dr5Options struct {
livePeer string // "": none; "serves": served_pools ["ha"]; "unknown": served_pools missing
incompleteView bool
otherPlacement bool // A also released a pool "ha" host placed in another region
+ fixedPeer bool // a fixed box serving "ha" whose earlier incarnation departed
}
func newDR5Rig(t *testing.T, o dr5Options) *dr5Rig {
@@ -104,6 +108,13 @@ func newDR5Rig(t *testing.T, o dr5Options) *dr5Rig {
t.Fatal(err)
}
x.bID = departureID(x.c.cfg.DeploymentBucket, obs.Box)
+ // B's own termination message (A's arrived through the queue at start).
+ x.c.receiptMu.Lock()
+ if x.c.receipts == nil {
+ x.c.receipts = map[string]string{}
+ }
+ x.c.receipts[x.b.InstanceID] = x.queue.queue
+ x.c.receiptMu.Unlock()
// The shared-pool host (record 0) was released by B: self adopts it.
x.putMarker(t, x.records[0].Host, x.b, 3)
// Pool "ha" hosts released by A, as N6 found them.
@@ -145,6 +156,30 @@ func newDR5Rig(t *testing.T, o dr5Options) *dr5Rig {
case "unknown":
view.Peers = append(view.Peers, hadeparture.BoxObservation{Known: true, Box: hadeparture.Box{Ref: x.peer.Ref, Scope: x.peer.Scope}})
}
+ if o.fixedPeer {
+ x.fixedDeparture = true
+ // A fixed box bound in CARLOS_HA_FIXED_BOX_IDENTITIES has a proven,
+ // enrolled departure; its reference now publishes a replacement that
+ // serves "ha". The old proof says nothing about the replacement.
+ fixed := hadeparture.Box{Ref: "fixedha", InstanceID: "i-5123456789abcdef0", Account: a.Self.Account, Scope: a.Self.Scope}
+ x.c.cfg.Identities.Fixed[fixed.Ref] = fixed.InstanceID
+ _, rec := x.signer.Record(t, fixed.Ref, fixed.Account, fixed.Scope.CloudRegion, fixed.InstanceID)
+ if _, e := x.store.Put(ctx, boxid.Key(fixed.Ref), rec, ""); e != nil {
+ t.Fatal(e)
+ }
+ fTag, e := x.store.Put(ctx, "control/edges/"+fixed.Ref+".json", dr5MemberEdges(fixed), "")
+ if e != nil {
+ t.Fatal(e)
+ }
+ fobs, e := x.c.cfg.Identities.Observe(ctx, hadeparture.BoxObservation{Known: true, Box: fixed, EdgesKey: "control/edges/" + fixed.Ref + ".json", EdgesETag: fTag})
+ if e != nil {
+ t.Fatal(e)
+ }
+ if e = x.c.Enqueue(ctx, fobs); e != nil {
+ t.Fatal(e)
+ }
+ view.Peers = append(view.Peers, hadeparture.BoxObservation{Known: true, Box: hadeparture.Box{Ref: fixed.Ref, Scope: fixed.Scope}, ServedPools: hadeparture.EncodePools([]string{"ha"}), PoolsKnown: true})
+ }
if err = x.c.Tick(ctx, view); err != nil {
t.Fatal(err)
}
@@ -267,6 +302,11 @@ func (x *dr5Rig) run(t *testing.T, limit time.Duration, each func(at time.Durati
}
default:
}
+ // Index-driven publication with churn: a regular round every 60 s,
+ // besides the rounds the scan requests.
+ if x.walkDone.IsZero() && at%(60*time.Second) == 40*time.Second {
+ x.walkFrom, x.walkDone = x.now, x.now.Add(dr5Walk)
+ }
if !x.walkDone.IsZero() && !x.now.Before(x.walkDone) {
x.round(t, x.walkFrom)
x.walkDone = time.Time{}
@@ -277,7 +317,7 @@ func (x *dr5Rig) run(t *testing.T, limit time.Duration, each func(at time.Durati
}
// Steps start just after T, the first one after enrollment.
if at%(30*time.Second) == 2*time.Second {
- if err := x.c.step(t.Context()); err != nil && !errors.Is(err, errDeparturePending) {
+ if err := x.c.step(t.Context()); err != nil && !errors.Is(err, errDeparturePending) && !(x.fixedDeparture && errors.Is(err, errDepartureIdentity)) {
t.Fatalf("step at T+%s: %v", at, err)
}
if doneA == 0 && x.phase(t, x.id) == "complete" {
@@ -286,6 +326,15 @@ func (x *dr5Rig) run(t *testing.T, limit time.Duration, each func(at time.Durati
if doneB == 0 && x.phase(t, x.bID) == "complete" {
doneB = at
}
+ complete := 0
+ for _, d := range []time.Duration{doneA, doneB} {
+ if d != 0 {
+ complete++
+ }
+ }
+ if _, _, acks := x.queue.counts(); acks != complete {
+ t.Fatalf("T+%s: %d acks for %d complete departures", at, acks, complete)
+ }
}
if each != nil {
each(at)
@@ -338,6 +387,15 @@ func TestDepartureDR5WholeGroupGone(t *testing.T) {
}
zone := r53.snapshot()
doneA, doneB := x.run(t, 5*time.Minute, func(at time.Duration) {
+ // The first step reobserves both departures: one waiting for
+ // inventory does not hold the other (Astra DR-5 R1 P2).
+ if at == 2*time.Second {
+ for _, id := range []string{x.id, x.bID} {
+ if d, e := x.a.Registry.Departure(t.Context(), id); e != nil || d.LastError != "inventory" {
+ t.Fatalf("departure %s not scanned in the first step: %+v %v", id, d, e)
+ }
+ }
+ }
if tc.o.heldUntil > 0 && at < tc.o.heldUntil && x.phase(t, x.id) == "complete" {
t.Fatalf("A finished at T+%s before its held lock expired at T+%s", at, tc.o.heldUntil)
}
@@ -384,6 +442,7 @@ func TestDepartureDR5StaysBlocked(t *testing.T) {
{"peer_served_pools_missing", dr5Options{livePeer: "unknown"}},
{"incomplete_view", dr5Options{incompleteView: true}},
{"other_placement", dr5Options{otherPlacement: true}},
+ {"fixed_ref_replacement_serves_pool", dr5Options{fixedPeer: true}},
} {
t.Run(tc.name, func(t *testing.T) {
x := newDR5Rig(t, tc.o)
@@ -512,3 +571,82 @@ func (f *dr5Route53) ChangeTagsForResource(_ context.Context, in *route53.Change
f.tags[aws.ToString(in.ResourceId)] = append(f.tags[aws.ToString(in.ResourceId)], in.AddTags...)
return &route53.ChangeTagsForResourceOutput{}, nil
}
+
+// A lock that changes between A's walks after one host was found unserved:
+// an advancing successor supersedes it as today; a non-advancing rewrite
+// keeps the departure blocked (Astra DR-5 R1 P2).
+func TestDepartureDR5SuccessorBetweenWalks(t *testing.T) {
+ for _, tc := range []struct {
+ name string
+ gen int64
+ advance bool
+ }{
+ {"advancing_successor", 9, true},
+ {"same_generation", 5, false},
+ } {
+ t.Run(tc.name, func(t *testing.T) {
+ // The held lock on the first "ha" host keeps A's walk open until
+ // T+100 s, so the second host's lock can change between walks.
+ x := newDR5Rig(t, dr5Options{heldUntil: 100 * time.Second})
+ host := x.haHosts[1]
+ changed := false
+ doneA, doneB := x.run(t, 5*time.Minute, func(at time.Duration) {
+ if changed || at < 40*time.Second {
+ return
+ }
+ scan, e := x.a.Registry.DepartureScan(t.Context(), x.id)
+ if e != nil {
+ t.Fatal(e)
+ }
+ if scan.Hosts[host].Result != departureUnserved {
+ return
+ }
+ if x.phase(t, x.id) == "complete" {
+ t.Fatal("A finished before its held lock expired")
+ }
+ x.putHeld(t, host, x.peer, tc.gen, x.now.Add(time.Hour))
+ changed = true
+ })
+ if !changed {
+ t.Fatal("the host was never recorded unserved")
+ }
+ if doneB == 0 {
+ t.Fatal("B did not finish")
+ }
+ if tc.advance {
+ if doneA == 0 || doneA > dr5Bound {
+ t.Fatalf("A not finished within %s after a valid successor: %s", dr5Bound, doneA)
+ }
+ scan, e := x.a.Registry.DepartureScan(t.Context(), x.id)
+ if e != nil || scan.Hosts[host].Result != "superseded" {
+ t.Fatalf("successor not recorded: %+v %v", scan.Hosts[host], e)
+ }
+ return
+ }
+ if doneA != 0 {
+ t.Fatalf("A finished at T+%s after a non-advancing rewrite", doneA)
+ }
+ })
+ }
+}
+
+// A fixed departing reference is never proof that its pool lost a server:
+// a replacement may publish under it (Astra DR-5 R1 P1).
+func TestDepartureDR5FixedRefsNeverProven(t *testing.T) {
+ x := newDR5Rig(t, dr5Options{})
+ memo := map[string]bool{}
+ fixed := registry.HADeparture{Departure: hadeparture.Departure{Box: hadeparture.Box{Ref: "fixedha", InstanceID: "i-5123456789abcdef0", Account: x.a.Self.Account, Scope: x.a.Self.Scope}}}
+ if x.c.provenDeparted(t.Context(), fixed, "fixedha", memo) {
+ t.Fatal("fixed departing reference counted as proven")
+ }
+ group := x.row(t)
+ if !x.c.provenDeparted(t.Context(), group, x.dead.Ref, map[string]bool{}) {
+ t.Fatal("departing group reference not proven")
+ }
+ if !x.c.provenDeparted(t.Context(), group, x.b.Ref, map[string]bool{}) {
+ t.Fatal("enrolled group peer not proven")
+ }
+ if x.c.provenDeparted(t.Context(), group, x.peer.Ref, map[string]bool{}) {
+ t.Fatal("live group peer counted as proven")
+ }
+}
diff --git a/internal/host/hadepartures_scan.go b/internal/host/hadepartures_scan.go
index 2c8d3b9d6..bd1efc914 100644
--- a/internal/host/hadepartures_scan.go
+++ b/internal/host/hadepartures_scan.go
@@ -431,17 +431,23 @@ func (c *Controller) unserved(ctx context.Context, d registry.HADeparture, h pro
}
// provenDeparted reports a departure enrolled in this box's journal for the
-// current incarnation of ref. Enrollment requires termination proof.
+// box named ref. Enrollment requires termination proof. Only a group
+// reference qualifies: it names one account and instance forever, so its
+// proof covers every edges file published under it. A fixed reference is
+// reused by its replacement, which a proof about an earlier incarnation
+// says nothing about (Astra DR-5 R1 P1), so a fixed box that may serve the
+// pool always keeps the departure blocked.
func (c *Controller) provenDeparted(ctx context.Context, d registry.HADeparture, ref string, memo map[string]bool) bool {
- if ref == d.Box.Ref {
- return true
- }
if known, ok := memo[ref]; ok {
return known
}
memo[ref] = false
+ if ref == d.Box.Ref {
+ memo[ref] = ref == groupReferenceOf(d.Box.Account, d.Box.InstanceID)
+ return memo[ref]
+ }
o, ok, err := c.cfg.Identities.Resolve(ctx, ref, "")
- if err != nil || !ok || !o.Known || o.PlacementNull {
+ if err != nil || !ok || !o.Known || o.PlacementNull || o.Box.Ref != ref || ref != groupReferenceOf(o.Box.Account, o.Box.InstanceID) {
return false
}
if _, err = c.cfg.Registry.Departure(ctx, departureID(c.cfg.DeploymentBucket, o.Box)); err != nil {
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index 2f64c1076..2ccc9259c 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -124,3 +124,4 @@ plan14-root-reads-region-ha-graceful-terminate-t1.tsv 3273ecae03559a8d450027f4cd
plan14-root-reads-region-ha-graceful-terminate-t2.tsv 687cf7744aecdf8a238dcdb80562b0ef191b3e247c28851de44c01866dbeca13
plan14-root-reads-static-sweep-periodic.tsv 3dc3f6657527133a251c028772315bdd333b04c318fbbc6d90ef5047f15408ed
plan14-root-reads-agent-login-link.tsv e820ef22ac677cd49aa9ca3f70d6bca9dea061bce3184ca86f0a3fc98f8de0eb
+plan14-root-reads-region-ha-dr5.tsv 5f700de430db23d47fc08305b14d6ecc33e4b419353a2bfdb2cb893c41ce8206
diff --git a/internal/provision/testdata/plan14-root-reads-region-ha-dr5.tsv b/internal/provision/testdata/plan14-root-reads-region-ha-dr5.tsv
new file mode 100644
index 000000000..ff4c8b9cf
--- /dev/null
+++ b/internal/provision/testdata/plan14-root-reads-region-ha-dr5.tsv
@@ -0,0 +1,14 @@
+# Census overlay region-ha-dr5, written by census-propose (#369). census-ruling-region-ha-dr5, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-region-ha-dr5.md.
+# 0 body, 1 sites, 3 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
+# 3 new dispositions: 2 reads re-frozen at their disposition with the claim, 1 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other.
+@legacy 7f842c66968b4bde381264f9314a984c738d693f5462e631485914f2847d97d5 internal/host/hadepartures_scan.go Controller.unserved legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-dr5;basis=DR-5 spec 7.5 rules 2-3: reads the policy, the in-memory departure view, local identity bindings (Resolve) and local journal departure rows; group references only count as proven gone. No remote read, no root input from tenants. whole:HADeparture@818 e7d3be108620a819fac614b85980739d6dc6053afc7d21864f4d8c84091f0159
+@legacy 64696ef227105be80a2318eafb57825f9e8f0b9763ee910f77363737f3cbe39a internal/host/hadepartures.go Controller.step legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: resolve bound same-scope identities, persist validated termination proof before enrollment, and replay bounded pending work outside consumer/fold locks. Existing regional data client and shared cache; inventory only restricts completion, never lifecycle. B3 fix r1: Describe before proof access on suspicion paths. Normalize validated legacy inbox entries in atomic transactions, process bounded per-iid pending pages, and persist hourly escalation. Delete unrelated rows only after complete applicable walks and guarded received timestamps. Acquire/completion authority unchanged. B4: Count unresolved durable hints for the globally throttled summary and call the bounded scanner outside the fold. Acknowledge unrelated hints only after complete applicable discovery; complete departure acknowledgment reads durable state. B4 fix r3: Include refused fixed-box replacements in the existing structured receiver summary, sharing its persisted hourly page claim with pending hints. Read only local refusal state and registry page state; no additional cloud request or completion authority.;rev3=census-ruling-region-ha-p3b;basis=Register admitted departure work and cancel/join it during closure before existing confirmation/import processing. Existing 23 read sites and lease/termination proofs remain; no new root input or takeover permission.;rev3=census-ruling-region-ha-g2-fixes;basis=Include identity and underlying paging errors in existing failure logs; new IID field read only, no new external read or termination authority.;rev3=census-ruling-region-ha-dr5;basis=DR-5: scans every due departure per step (at most 8), reading departure rows from the local journal (PendingDepartures) to detect progress; same ScanPass per departure, no new remote read. file:Walk@2717,registry:Body@1979,registry:IID@2554,registry:IID@2971,registry:IID@3324,registry:IID@3357,registry:IID@4038,registry:IID@4196,registry:Key@2081,registry:Key@2317,registry:LastBlocked@2872,registry:NextAttempt@5620,registry:NextAttempt@5645,registry:ReceivedAt@2300,registry:ReceivedAt@3255,whole:HADeparture@5510,whole:HADeparture@5596,whole:HADeparture@5620,whole:HADeparture@5683,whole:HADeparture@5690,whole:HADeparture@5898,whole:HADeparture@6866,whole:HADeparture@7189,whole:HAPendingTermination@2495,whole:HAPendingTermination@2912,whole:HAPendingTermination@3166,whole:HAPendingTermination@3449,whole:HAPendingTermination@3555,whole:HAPendingTermination@4114,whole:HAPendingTermination@4730,whole:HATerminationInbox@1939 277d5872fe89124b960a7957f0c2595d983f2dbdb8379c812d7df3f5be5081dd
+@legacy 4c6597aebce8d4d14eb913c74e7b30f4f34919ca2e786c14eb915034e2c972eb internal/host/hadepartures_scan.go Controller.complete legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read the durable departure/scan and current inventory, then conditionally delete only the retained exact edges key/revision. Reread uncertain results and refuse replacement identities. Persist deletion and acknowledged index phases before complete; queue receipts stay in memory and only complete rows acknowledge. Fresh process evidence is required before authority checkpoint reuse. Fix r1/P15: ignore the old scan-level ETag override and delete only the original departure ETag. Exact-key readback retries the same tag; a changed tag is never deleted and advances only with a different verified iid under the same ref/account/scope, otherwise holds and pages. Persist permission fault episodes; route completion faults through bounded retry. No new filesystem or executable input. B4 fix r4/P18 supersedes fixed-ref deletion: only the deterministic account/iid group reference may delete its retained exact ETag. Every other ref performs an exact-key GET and stays pending unless absent or the existing verified newer-incarnation check succeeds; the live replacement file is left intact. Group revision changes stay pending. No new key or authority read. B5: Increment completion counter only after the durable complete phase; C4 ordering stays after that commit.;rev3=census-ruling-region-ha-p3b;basis=Require registered admitted work before completing a departure or acknowledging it. Existing coverage, inventory, lease and successor reads remain; closed members defer rather than clear obligations.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: drops the per-departure nudge bookkeeping (moved to a fixed-size global limiter). Completion gates, exact-ETag deletion and reads unchanged.;rev3=census-ruling-region-ha-g3-fixes;basis=Require current inventory visit coverage and re-read group edges before conditional deletion. Verify identity and scope before rebinding a changed ETag; preserve fixed-ref retention and exact-ETag deletion. Reads scan EdgesETag and coverage state; no new object key or read source.;rev3=census-ruling-region-ha-dr2;basis=DR-2: after the edges phases, calls retireStatusSnapshot, which for a deterministic account/iid group reference only does one GET of status/boxes/<ref>.json in the deployment store and a conditional delete of that exact revision (ETag). Best-effort and time-bounded (at most 5 s, always leaving 2 s of the step for the completion save; Astra R1 P2): any failure or timeout is logged and never holds completion, paging or acknowledgement. Fixed refs untouched. No filesystem, executable or new authority read; no change to the edges deletion, completion gates or ordering.;rev3=census-ruling-region-ha-dr5;basis=DR-5: the completion log counts imported hosts only (reads scan Hosts Result); no behaviour change. registry:DeleteUncertain@3813,registry:DeleteUncertain@4198,registry:EdgesETag@1894,registry:EdgesETag@2906,registry:Hosts@5049,registry:InventoryGeneration@1846,registry:PermissionAlerted@2426,registry:PermissionAlerted@3559,registry:PermissionAlerted@4342,registry:PermissionAlerted@4746,registry:PermissionAlerted@841,registry:PermissionAlerted@883,registry:Phase@1002,registry:Phase@1042,registry:Phase@1538,registry:Phase@262,registry:Phase@3692,registry:Phase@4460,registry:Phase@680,registry:Phase@950,registry:Phase@967,registry:Result@5064,registry:Version@665,whole:HADeparture@2846,whole:HADeparture@315,whole:HADeparture@442,whole:HADeparture@4872,whole:HADeparture@5226,whole:HADepartureHostScan@5051,whole:HADepartureScan@1718,whole:HADepartureScan@643 e6229100c8ebc330751408bfe14f3e453310a927155509c496c630870a0b269b
+@legacy 8fb7c1c742120e2de584eef28bef6b6c99f40843ec65c490fbe19b5c3ed46ed2 internal/host/hadepartures_scan.go Controller.ScanPass legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read authoritative pre-filter inventory, exact canonical lock revisions through one page reader, local scan checkpoints and adoption receipts. Persist source identity before the sole AdoptHost importer; validate later successor identity/lifetime/generation and require a fresh full zero-match rescan. Unknown state, unsupported hosts and missing previously matched locks refuse completion. No process launch or tenancy expansion. Preserve checkpoints across walks of identical record bytes; persist the current inventory generation separately and recheck source freshness/completeness before every page and deletion. Placement changes cannot filter the lock census. Fix r1/P15: classify legacy and unrelated locks as zero only before any D match; keep strict successor checks for previously matched hosts and hold malformed HA identities. Compare read start to expiry. Resume authority-complete deletion without rescanning unchanged inventory; persist evidence and scan errors with bounded retry. B4 fix r2: Inventory-only waits request the existing hourly page only after observed evidence is older than ChangeIndexBackstop plus 10 percent. Freshness and completion gates are unchanged; no new read. B5: Route the unchanged AdoptHost callback through measured telemetry; no new authority or lock read.;rev3=census-ruling-region-ha-p3b;basis=Gate and register the existing departure scan with admission before any work. Existing registry/object reads remain, closed members do not import, and shutdown cancels/joins registered work; no new root input.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: when a departure is blocked only on inventory freshness, signals the bounded early backstop round (global 60 s spacing, three per evidence) instead of waiting for the 30 min backstop. FreshAfter/I3 gates unchanged; no walk inside the step; no new read.;rev3=census-ruling-region-ha-g3-fixes;basis=Track current record revisions across inventory publications; separate lease waits from blockers and persist Cursor as zero for rollback. Drop removed records from coverage while retaining adoption or validated-successor gates for current hosts. Use the bounded lock-prefix listing only after validating every current host prefix; preserve per-host reads for known duties and fall back to the existing 32-host scan when listing evidence is unavailable. Cache listing evidence only in this process under scanMu, invalidate it on blocked work or inventory changes, and permit 128 reads with proven listing coverage. Added reads include departure LastError, host scan state and registry Hosts; the new remote read is a bounded LIST of the configured lock prefix in the existing data bucket.;rev3=census-ruling-region-ha-dr5;basis=DR-5 spec 7.5: a host this box cannot adopt only because of its pool is recorded unserved (Result) when the in-memory departure view shows no possible server; reads local journal departure rows and scan Hosts/Rescan only. No import, no lock write, no new remote read; the rescan is due at once. registry:Cursor@2032,registry:Cursor@2122,registry:Cursor@9032,registry:Generation@2094,registry:Generation@8297,registry:Hosts@2306,registry:Hosts@2326,registry:Hosts@3329,registry:Hosts@3949,registry:Hosts@4017,registry:Hosts@6025,registry:Hosts@6412,registry:Hosts@6870,registry:Hosts@6984,registry:Hosts@7742,registry:InventoryGeneration@1913,registry:LastError@2902,registry:Lifetime@3978,registry:NotBefore@2191,registry:NotBefore@3877,registry:NotBefore@4350,registry:NotBefore@4391,registry:NotBefore@4416,registry:NotBefore@5993,registry:NotBefore@6382,registry:NotBefore@6834,registry:NotBefore@6900,registry:NotBefore@8706,registry:NotBefore@8760,registry:NotBefore@9085,registry:Observed@5564,registry:Observed@5711,registry:Observed@6265,registry:Observed@6299,registry:Phase@1448,registry:Phase@2049,registry:Phase@2384,registry:Phase@5281,registry:Phase@634,registry:Phase@689,registry:Phase@729,registry:RecordDigest@3259,registry:RecordDigest@4312,registry:RecordDigest@6322,registry:Rescan@2137,registry:Rescan@4292,registry:Rescan@5450,registry:Rescan@7164,registry:Rescan@8483,registry:Rescan@8871,registry:Rescan@8924,registry:Result@5963,registry:Result@6357,registry:Result@6950,registry:Result@7708,registry:Unresolved@2156,registry:Unresolved@3783,registry:Unresolved@7766,registry:Unresolved@8354,registry:Unresolved@8599,registry:Unresolved@8882,registry:Unresolved@9048,registry:Version@7440,registry:Visited@2073,registry:Visited@2219,registry:Visited@3234,registry:Visited@3734,registry:Visited@3810,registry:Visited@3904,registry:Visited@7793,registry:Visited@9114,registry:Waiting@2175,registry:Waiting@8614,registry:Waiting@8689,registry:Waiting@8903,registry:Waiting@9068,whole:HADeparture@1111,whole:HADeparture@1230,whole:HADeparture@1415,whole:HADeparture@1704,whole:HADeparture@2517,whole:HADeparture@2714,whole:HADeparture@2870,whole:HADeparture@3005,whole:HADeparture@350,whole:HADeparture@392,whole:HADeparture@5561,whole:HADeparture@6664,whole:HADeparture@7408,whole:HADeparture@7544,whole:HADeparture@7900,whole:HADeparture@914,whole:HADeparture@9331,whole:HADeparture@9500,whole:HADepartureHostScan@2308,whole:HADepartureHostScan@2328,whole:HADepartureHostScan@3331,whole:HADepartureHostScan@3951,whole:HADepartureHostScan@4019,whole:HADepartureHostScan@4053,whole:HADepartureHostScan@6027,whole:HADepartureHostScan@6043,whole:HADepartureHostScan@6084,whole:HADepartureHostScan@6414,whole:HADepartureHostScan@6430,whole:HADepartureHostScan@6872,whole:HADepartureHostScan@6888,whole:HADepartureHostScan@6986,whole:HADepartureHostScan@7002,whole:HADepartureHostScan@7744,whole:HADepartureHostScan@7760,whole:HADepartureScan@7345,whole:HADepartureScan@8288,whole:HADepartureScan@9265,whole:HADepartureVisit@2075,whole:HADepartureVisit@2221,whole:HADepartureVisit@3236,whole:HADepartureVisit@3736,whole:HADepartureVisit@3754,whole:HADepartureVisit@3812,whole:HADepartureVisit@3830,whole:HADepartureVisit@3906,whole:HADepartureVisit@3924,whole:HADepartureVisit@7795,whole:HADepartureVisit@7813,whole:HADepartureVisit@9116 d5e9f4748365fdb80b58221d5bdc286bd422b5d969f0d436c3107c3dbd92b415
+internal/host/hadepartures_scan.go Controller.unserved legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-dr5;basis=DR-5 spec 7.5 rules 2-3: reads the policy, the in-memory departure view, local identity bindings (Resolve) and local journal departure rows; group references only count as proven gone. No remote read, no root input from tenants. whole:HADeparture@818 e7d3be108620a819fac614b85980739d6dc6053afc7d21864f4d8c84091f0159
+internal/host/hadepartures.go Controller.step legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: resolve bound same-scope identities, persist validated termination proof before enrollment, and replay bounded pending work outside consumer/fold locks. Existing regional data client and shared cache; inventory only restricts completion, never lifecycle. B3 fix r1: Describe before proof access on suspicion paths. Normalize validated legacy inbox entries in atomic transactions, process bounded per-iid pending pages, and persist hourly escalation. Delete unrelated rows only after complete applicable walks and guarded received timestamps. Acquire/completion authority unchanged. B4: Count unresolved durable hints for the globally throttled summary and call the bounded scanner outside the fold. Acknowledge unrelated hints only after complete applicable discovery; complete departure acknowledgment reads durable state. B4 fix r3: Include refused fixed-box replacements in the existing structured receiver summary, sharing its persisted hourly page claim with pending hints. Read only local refusal state and registry page state; no additional cloud request or completion authority.;rev3=census-ruling-region-ha-p3b;basis=Register admitted departure work and cancel/join it during closure before existing confirmation/import processing. Existing 23 read sites and lease/termination proofs remain; no new root input or takeover permission.;rev3=census-ruling-region-ha-g2-fixes;basis=Include identity and underlying paging errors in existing failure logs; new IID field read only, no new external read or termination authority.;rev3=census-ruling-region-ha-dr5;basis=DR-5: scans every due departure per step (at most 8), reading departure rows from the local journal (PendingDepartures) to detect progress; same ScanPass per departure, no new remote read. file:Walk@2717,registry:Body@1979,registry:IID@2554,registry:IID@2971,registry:IID@3324,registry:IID@3357,registry:IID@4038,registry:IID@4196,registry:Key@2081,registry:Key@2317,registry:LastBlocked@2872,registry:NextAttempt@5620,registry:NextAttempt@5645,registry:ReceivedAt@2300,registry:ReceivedAt@3255,whole:HADeparture@5510,whole:HADeparture@5596,whole:HADeparture@5620,whole:HADeparture@5683,whole:HADeparture@5690,whole:HADeparture@5898,whole:HADeparture@6866,whole:HADeparture@7189,whole:HAPendingTermination@2495,whole:HAPendingTermination@2912,whole:HAPendingTermination@3166,whole:HAPendingTermination@3449,whole:HAPendingTermination@3555,whole:HAPendingTermination@4114,whole:HAPendingTermination@4730,whole:HATerminationInbox@1939 277d5872fe89124b960a7957f0c2595d983f2dbdb8379c812d7df3f5be5081dd
+internal/host/hadepartures_scan.go Controller.complete legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read the durable departure/scan and current inventory, then conditionally delete only the retained exact edges key/revision. Reread uncertain results and refuse replacement identities. Persist deletion and acknowledged index phases before complete; queue receipts stay in memory and only complete rows acknowledge. Fresh process evidence is required before authority checkpoint reuse. Fix r1/P15: ignore the old scan-level ETag override and delete only the original departure ETag. Exact-key readback retries the same tag; a changed tag is never deleted and advances only with a different verified iid under the same ref/account/scope, otherwise holds and pages. Persist permission fault episodes; route completion faults through bounded retry. No new filesystem or executable input. B4 fix r4/P18 supersedes fixed-ref deletion: only the deterministic account/iid group reference may delete its retained exact ETag. Every other ref performs an exact-key GET and stays pending unless absent or the existing verified newer-incarnation check succeeds; the live replacement file is left intact. Group revision changes stay pending. No new key or authority read. B5: Increment completion counter only after the durable complete phase; C4 ordering stays after that commit.;rev3=census-ruling-region-ha-p3b;basis=Require registered admitted work before completing a departure or acknowledging it. Existing coverage, inventory, lease and successor reads remain; closed members defer rather than clear obligations.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: drops the per-departure nudge bookkeeping (moved to a fixed-size global limiter). Completion gates, exact-ETag deletion and reads unchanged.;rev3=census-ruling-region-ha-g3-fixes;basis=Require current inventory visit coverage and re-read group edges before conditional deletion. Verify identity and scope before rebinding a changed ETag; preserve fixed-ref retention and exact-ETag deletion. Reads scan EdgesETag and coverage state; no new object key or read source.;rev3=census-ruling-region-ha-dr2;basis=DR-2: after the edges phases, calls retireStatusSnapshot, which for a deterministic account/iid group reference only does one GET of status/boxes/<ref>.json in the deployment store and a conditional delete of that exact revision (ETag). Best-effort and time-bounded (at most 5 s, always leaving 2 s of the step for the completion save; Astra R1 P2): any failure or timeout is logged and never holds completion, paging or acknowledgement. Fixed refs untouched. No filesystem, executable or new authority read; no change to the edges deletion, completion gates or ordering.;rev3=census-ruling-region-ha-dr5;basis=DR-5: the completion log counts imported hosts only (reads scan Hosts Result); no behaviour change. registry:DeleteUncertain@3813,registry:DeleteUncertain@4198,registry:EdgesETag@1894,registry:EdgesETag@2906,registry:Hosts@5049,registry:InventoryGeneration@1846,registry:PermissionAlerted@2426,registry:PermissionAlerted@3559,registry:PermissionAlerted@4342,registry:PermissionAlerted@4746,registry:PermissionAlerted@841,registry:PermissionAlerted@883,registry:Phase@1002,registry:Phase@1042,registry:Phase@1538,registry:Phase@262,registry:Phase@3692,registry:Phase@4460,registry:Phase@680,registry:Phase@950,registry:Phase@967,registry:Result@5064,registry:Version@665,whole:HADeparture@2846,whole:HADeparture@315,whole:HADeparture@442,whole:HADeparture@4872,whole:HADeparture@5226,whole:HADepartureHostScan@5051,whole:HADepartureScan@1718,whole:HADepartureScan@643 e6229100c8ebc330751408bfe14f3e453310a927155509c496c630870a0b269b
+internal/host/hadepartures_scan.go Controller.ScanPass legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read authoritative pre-filter inventory, exact canonical lock revisions through one page reader, local scan checkpoints and adoption receipts. Persist source identity before the sole AdoptHost importer; validate later successor identity/lifetime/generation and require a fresh full zero-match rescan. Unknown state, unsupported hosts and missing previously matched locks refuse completion. No process launch or tenancy expansion. Preserve checkpoints across walks of identical record bytes; persist the current inventory generation separately and recheck source freshness/completeness before every page and deletion. Placement changes cannot filter the lock census. Fix r1/P15: classify legacy and unrelated locks as zero only before any D match; keep strict successor checks for previously matched hosts and hold malformed HA identities. Compare read start to expiry. Resume authority-complete deletion without rescanning unchanged inventory; persist evidence and scan errors with bounded retry. B4 fix r2: Inventory-only waits request the existing hourly page only after observed evidence is older than ChangeIndexBackstop plus 10 percent. Freshness and completion gates are unchanged; no new read. B5: Route the unchanged AdoptHost callback through measured telemetry; no new authority or lock read.;rev3=census-ruling-region-ha-p3b;basis=Gate and register the existing departure scan with admission before any work. Existing registry/object reads remain, closed members do not import, and shutdown cancels/joins registered work; no new root input.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: when a departure is blocked only on inventory freshness, signals the bounded early backstop round (global 60 s spacing, three per evidence) instead of waiting for the 30 min backstop. FreshAfter/I3 gates unchanged; no walk inside the step; no new read.;rev3=census-ruling-region-ha-g3-fixes;basis=Track current record revisions across inventory publications; separate lease waits from blockers and persist Cursor as zero for rollback. Drop removed records from coverage while retaining adoption or validated-successor gates for current hosts. Use the bounded lock-prefix listing only after validating every current host prefix; preserve per-host reads for known duties and fall back to the existing 32-host scan when listing evidence is unavailable. Cache listing evidence only in this process under scanMu, invalidate it on blocked work or inventory changes, and permit 128 reads with proven listing coverage. Added reads include departure LastError, host scan state and registry Hosts; the new remote read is a bounded LIST of the configured lock prefix in the existing data bucket.;rev3=census-ruling-region-ha-dr5;basis=DR-5 spec 7.5: a host this box cannot adopt only because of its pool is recorded unserved (Result) when the in-memory departure view shows no possible server; reads local journal departure rows and scan Hosts/Rescan only. No import, no lock write, no new remote read; the rescan is due at once. registry:Cursor@2032,registry:Cursor@2122,registry:Cursor@9032,registry:Generation@2094,registry:Generation@8297,registry:Hosts@2306,registry:Hosts@2326,registry:Hosts@3329,registry:Hosts@3949,registry:Hosts@4017,registry:Hosts@6025,registry:Hosts@6412,registry:Hosts@6870,registry:Hosts@6984,registry:Hosts@7742,registry:InventoryGeneration@1913,registry:LastError@2902,registry:Lifetime@3978,registry:NotBefore@2191,registry:NotBefore@3877,registry:NotBefore@4350,registry:NotBefore@4391,registry:NotBefore@4416,registry:NotBefore@5993,registry:NotBefore@6382,registry:NotBefore@6834,registry:NotBefore@6900,registry:NotBefore@8706,registry:NotBefore@8760,registry:NotBefore@9085,registry:Observed@5564,registry:Observed@5711,registry:Observed@6265,registry:Observed@6299,registry:Phase@1448,registry:Phase@2049,registry:Phase@2384,registry:Phase@5281,registry:Phase@634,registry:Phase@689,registry:Phase@729,registry:RecordDigest@3259,registry:RecordDigest@4312,registry:RecordDigest@6322,registry:Rescan@2137,registry:Rescan@4292,registry:Rescan@5450,registry:Rescan@7164,registry:Rescan@8483,registry:Rescan@8871,registry:Rescan@8924,registry:Result@5963,registry:Result@6357,registry:Result@6950,registry:Result@7708,registry:Unresolved@2156,registry:Unresolved@3783,registry:Unresolved@7766,registry:Unresolved@8354,registry:Unresolved@8599,registry:Unresolved@8882,registry:Unresolved@9048,registry:Version@7440,registry:Visited@2073,registry:Visited@2219,registry:Visited@3234,registry:Visited@3734,registry:Visited@3810,registry:Visited@3904,registry:Visited@7793,registry:Visited@9114,registry:Waiting@2175,registry:Waiting@8614,registry:Waiting@8689,registry:Waiting@8903,registry:Waiting@9068,whole:HADeparture@1111,whole:HADeparture@1230,whole:HADeparture@1415,whole:HADeparture@1704,whole:HADeparture@2517,whole:HADeparture@2714,whole:HADeparture@2870,whole:HADeparture@3005,whole:HADeparture@350,whole:HADeparture@392,whole:HADeparture@5561,whole:HADeparture@6664,whole:HADeparture@7408,whole:HADeparture@7544,whole:HADeparture@7900,whole:HADeparture@914,whole:HADeparture@9331,whole:HADeparture@9500,whole:HADepartureHostScan@2308,whole:HADepartureHostScan@2328,whole:HADepartureHostScan@3331,whole:HADepartureHostScan@3951,whole:HADepartureHostScan@4019,whole:HADepartureHostScan@4053,whole:HADepartureHostScan@6027,whole:HADepartureHostScan@6043,whole:HADepartureHostScan@6084,whole:HADepartureHostScan@6414,whole:HADepartureHostScan@6430,whole:HADepartureHostScan@6872,whole:HADepartureHostScan@6888,whole:HADepartureHostScan@6986,whole:HADepartureHostScan@7002,whole:HADepartureHostScan@7744,whole:HADepartureHostScan@7760,whole:HADepartureScan@7345,whole:HADepartureScan@8288,whole:HADepartureScan@9265,whole:HADepartureVisit@2075,whole:HADepartureVisit@2221,whole:HADepartureVisit@3236,whole:HADepartureVisit@3736,whole:HADepartureVisit@3754,whole:HADepartureVisit@3812,whole:HADepartureVisit@3830,whole:HADepartureVisit@3906,whole:HADepartureVisit@3924,whole:HADepartureVisit@7795,whole:HADepartureVisit@7813,whole:HADepartureVisit@9116 d5e9f4748365fdb80b58221d5bdc286bd422b5d969f0d436c3107c3dbd92b415
+@coverage internal/edge 606121c04922bdd826c5ecec3e2c1a34fe0d4c4972da03b21ec4522f701881eb
+@coverage internal/hadeparture 2ad007bad5ec3ca5b3df1c4303de384e5fe3732a2fa9c006af0f44589a9a8e17
+@coverage internal/host 79d6ee4faabfc4707b91634e243f3ba5757c04f56a9debed341f5387974103e9