carlos / platform Public

ha: preserve departure census across restarts and inventory refreshes

Require fresh process evidence before completion, retain departed locks after placement changes, and preserve bounded page progress across identical inventory walks. Add regression and isolation witnesses and refresh the cumulative census proposal. Focused race checks, both cross-builds and census tests pass; the report records the full-package environment and timing failures.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 7d90969aeceebc7ee4583f454dcb98bed7e6f36d parent c06d166
8 files changed, +201 −54
  • docs/superpowers/notes/census-proposal-region-ha-p1b3b-t.md +16 −6
  • docs/superpowers/notes/census-region-ha-p1b3b-t-claims.md +17 −7
  • internal/host/hadepartures_scan.go +17 −6
  • internal/host/hadepartures_scan_test.go +92 −2
  • internal/host/hadepartures_wiring.go +4 −0
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-region-ha-p1b3b-t.tsv +44 −23
  • internal/registry/ha_scan.go +10 −9

CI passed — run details

Intent

Attributed to this commit: 22.1 g CO₂e (2,713,306 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on region-ha-p1b3b-duties, 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-p1b3b-t.md b/docs/superpowers/notes/census-proposal-region-ha-p1b3b-t.md
index c078b0868..256b13f9e 100644
--- a/docs/superpowers/notes/census-proposal-region-ha-p1b3b-t.md
+++ b/docs/superpowers/notes/census-proposal-region-ha-p1b3b-t.md
@@ -1,6 +1,6 @@
# Census approval: region-ha-p1b3b-t
-Ruling `census-ruling-region-ha-p1b3b-t`. The independent reviewer approves or rejects every change below, 72 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
+Ruling `census-ruling-region-ha-p1b3b-t`. The independent reviewer approves or rejects every change below, 82 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
| unit | change | read sites | what changed |
|---|---|---|---|
@@ -21,7 +21,7 @@ Ruling `census-ruling-region-ha-p1b3b-t`. The independent reviewer approves or r
| `internal/host/schedule_wiring.go` `activatorDeliverer.deliverSelected` | sites | +whole:Route ×2 | Wrap local delivery in WithDuty so lease loss returns a deferred control result before timer bookkeeping. Add whole-route arguments; no remote forwarding. |
| `internal/schedule/runner.go` `Runner.fire` | sites | -registry:Host ×4, -registry:Name ×2, -whole:Route ×5, -whole:Timer ×2 | Call WithDuty before token preparation; record non-deferred pre-delivery wake errors through the existing retry and event policy after timerStillDue. Adds spec and whole timer/route reads for record. Advance only known non-owner recurring occurrences through the existing registration/DueAt guard; no second outcome after callback execution. |
-Envelopes re-pinned: `.`, `internal/activator`, `internal/awsterminations`, `internal/boxchoice`, `internal/edge`, `internal/hadeparture`, `internal/host`, `internal/hostenv`, `internal/hostfiles`, `internal/lease`, `internal/provision`, `internal/registry`, `internal/schedule`, `internal/termfence`, `internal/timerspec`.
+Envelopes re-pinned: `.`, `internal/activator`, `internal/awsterminations`, `internal/boxchoice`, `internal/edge`, `internal/hadeparture`, `internal/host`, `internal/hostenv`, `internal/hostfiles`, `internal/lease`, `internal/provision`, `internal/registry`, `internal/release`, `internal/schedule`, `internal/termfence`, `internal/timerspec`.
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.
@@ -73,9 +73,14 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- new `internal/host/hadeparture_identity.go:departureIdentities.Resolve`: reads +registry:Account, +registry:Digest ×2, +registry:IID ×2, +registry:Observation, +registry:Raw, +registry:Ref ×2, +registry:Region ×2; written legacy, accepted-legacy, frozen
- new `internal/host/hadeparture_identity.go:departureIdentities.Walk`: reads +file:Walk, +registry:Blocked ×13, +registry:Cursor ×3, +registry:Failed, +registry:Keys ×9, +registry:Offset ×6, +registry:StartedAt ×7, +whole:HAIdentityWalk ×2; written legacy, accepted-legacy, frozen
- new `internal/host/hadeparture_identity.go:departureIdentities.verify`: reads +registry:Digest, +registry:IID, +registry:Observation ×2, +whole:HABoxIdentity ×6; written legacy, accepted-legacy, frozen
+- new `internal/host/hadepartures.go:Controller.ackDeparture`: reads +registry:Phase; written legacy, accepted-legacy, frozen
- new `internal/host/hadepartures.go:Controller.enqueue`: reads +whole:HADeparture; written legacy, accepted-legacy, frozen
-- new `internal/host/hadepartures.go:Controller.step`: reads +file:Walk, +registry:Body, +registry:IID ×4, +registry:Key ×2, +registry:LastBlocked, +registry:ReceivedAt ×2, +whole:HADeparture ×3, +whole:HAPendingTermination ×6, +whole:HATerminationInbox; written legacy, accepted-legacy, frozen
-- new `internal/host/hadepartures_wiring.go:armHADepartures`: reads +registry:Account, +registry:IID, +registry:Region; written legacy, accepted-legacy, frozen
+- new `internal/host/hadepartures.go:Controller.record`: reads +registry:Phase, +whole:HADeparture; written legacy, accepted-legacy, frozen
+- new `internal/host/hadepartures.go:Controller.step`: reads +file:Walk, +registry:Body, +registry:IID ×5, +registry:Key ×2, +registry:LastBlocked, +registry:ReceivedAt ×2, +whole:HADeparture ×3, +whole:HAPendingTermination ×6, +whole:HATerminationInbox; written legacy, accepted-legacy, frozen
+- new `internal/host/hadepartures_scan.go:Controller.ScanPass`: reads +registry:Cursor ×7, +registry:Generation ×4, +registry:Hosts ×8, +registry:InventoryGeneration, +registry:Lifetime, +registry:NotBefore ×5, +registry:Observed ×4, +registry:Phase ×6, +registry:RecordDigest ×2, +registry:Rescan ×7, +registry:Result ×3, +registry:Unresolved ×22, +registry:Version, +whole:HADeparture ×8, +whole:HADepartureHostScan ×14, +whole:HADepartureScan ×2; written legacy, accepted-legacy, frozen
+- new `internal/host/hadepartures_scan.go:Controller.complete`: reads +registry:Cursor ×2, +registry:DeleteUncertain ×4, +registry:EdgesETag ×3, +registry:Generation ×3, +registry:Hosts, +registry:InventoryGeneration, +registry:PermissionAlerted ×2, +registry:Phase ×8, +registry:Rescan ×2, +registry:Version, +whole:HADeparture ×5, +whole:HADepartureHostScan, +whole:HADepartureScan; written legacy, accepted-legacy, frozen
+- new `internal/host/hadepartures_scan.go:Controller.retryScan`: reads +whole:HADeparture; written legacy, accepted-legacy, frozen
+- new `internal/host/hadepartures_wiring.go:armHADepartures`: reads +registry:Account ×2, +registry:App, +registry:IID, +registry:Incarnation, +registry:Pool, +registry:Region ×2, +registry:Revision ×2, +registry:ServingSeq, +whole:DutyState, +whole:Pair ×3, +whole:Route ×2; written legacy, accepted-legacy, frozen
- new `internal/host/runs.go:runsWorker.dutyStillOwned`: reads +registry:HA, +registry:Host, +whole:Route; written legacy, accepted-legacy, frozen
- new `internal/host/runs.go:runsWorker.pickupOwned`: reads +whole:Route ×5; written legacy, accepted-legacy, frozen
- new `internal/hostfiles/wake.go:RegistryWake`: reads +whole:HAWakeImport ×3; written legacy, accepted-legacy, frozen
@@ -99,6 +104,7 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- new `internal/registry/ha_journal.go:Registry.LoadHAIdentityWalk`: reads +file:Walk, +registry:Walk, +whole:HAIdentityWalk; written legacy, accepted-legacy, frozen
- new `internal/registry/ha_journal.go:Registry.ParkTermination`: reads +whole:HAPendingTermination ×2; written legacy, accepted-legacy, frozen
- new `internal/registry/ha_journal.go:Registry.PendingDepartures`: reads +registry:Departures, +whole:HADeparture; written legacy, accepted-legacy, frozen
+- new `internal/registry/ha_journal.go:Registry.PendingTerminationCount`: reads +registry:Count; written legacy, accepted-legacy, frozen
- new `internal/registry/ha_journal.go:Registry.PendingTerminations`: reads +registry:Hints, +whole:HAPendingTermination; written legacy, accepted-legacy, frozen
- new `internal/registry/ha_journal.go:Registry.RemovePendingTermination`: reads +whole:HAPendingTermination ×2; written legacy, accepted-legacy, frozen
- new `internal/registry/ha_journal.go:Registry.RetryDeparture`: reads +registry:Found; written legacy, accepted-legacy, frozen
@@ -106,10 +112,14 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- new `internal/registry/ha_journal.go:Registry.SaveHAIdentity`: reads +whole:HABoxIdentity ×2; written legacy, accepted-legacy, frozen
- new `internal/registry/ha_journal.go:Registry.SaveHAIdentityWalk`: reads +file:Walk, +whole:HAIdentityWalk ×2; written legacy, accepted-legacy, frozen
- new `internal/registry/ha_journal.go:Registry.TerminationInbox`: reads +registry:Inbox, +whole:HATerminationInbox; written legacy, accepted-legacy, frozen
-- new `internal/registry/ha_journal.go:Registry.haJournal`: reads +file:QueryContext ×3, +file:QueryRowContext ×6, +file:Walk ×6, +registry:Account ×7, +registry:At ×16, +registry:Body ×4, +registry:Code ×3, +registry:Departure, +registry:Departures ×2, +registry:Digest, +registry:Found ×5, +registry:HAJournal, +registry:Hint ×3, +registry:Hints ×2, +registry:ID ×14, +registry:IID ×10, +registry:Identity ×4, +registry:Inbox ×2, +registry:InventoryGeneration, +registry:Key ×11, +registry:Keys ×2, +registry:LastError ×4, +registry:LastPage ×3, +registry:Limit ×9, +registry:MessageID, +registry:Next ×2, +registry:NextAttempt ×5, +registry:Offset ×2, +registry:Op, +registry:Page, +registry:Phase ×3, +registry:ProofDigest, +registry:ProofKey, +registry:Raw ×3, +registry:ReceivedAt ×6, +registry:Ref ×3, +registry:Region ×8, +registry:Walk ×6, +registry:remote ×2, +registry:sql ×10, +whole:HABoxIdentity ×5, +whole:HADeparture ×8, +whole:HAIdentityWalk ×6, +whole:HAPendingTermination ×6, +whole:HATerminationInbox ×3, +whole:haJournalRequest ×2, +whole:haJournalResponse ×56, +whole:remoteClient ×2; written legacy, accepted-legacy, frozen
+- new `internal/registry/ha_journal.go:Registry.haJournal`: reads +file:QueryContext ×3, +file:QueryRowContext ×8, +file:Walk ×6, +registry:Account ×7, +registry:At ×19, +registry:Body ×4, +registry:Code ×6, +registry:Count, +registry:Departure, +registry:Departures ×2, +registry:Digest, +registry:Found ×6, +registry:HAJournal, +registry:Hint ×3, +registry:Hints ×2, +registry:ID ×16, +registry:IID ×10, +registry:Identity ×4, +registry:Inbox ×2, +registry:InventoryGeneration, +registry:Key ×11, +registry:Keys ×2, +registry:LastError ×4, +registry:LastPage ×3, +registry:Limit ×9, +registry:MessageID, +registry:Next ×4, +registry:NextAttempt ×5, +registry:Offset ×2, +registry:Op, +registry:Page, +registry:Phase ×3, +registry:ProofDigest, +registry:ProofKey, +registry:Raw ×3, +registry:ReceivedAt ×6, +registry:Ref ×3, +registry:Region ×8, +registry:RetryCount ×4, +registry:Walk ×6, +registry:remote ×2, +registry:sql ×11, +whole:HABoxIdentity ×5, +whole:HADeparture ×10, +whole:HAIdentityWalk ×6, +whole:HAPendingTermination ×6, +whole:HATerminationInbox ×3, +whole:haJournalRequest ×3, +whole:haJournalResponse ×63, +whole:remoteClient ×2; written legacy, accepted-legacy, frozen
- new `internal/registry/ha_journal.go:Registry.migrateHAJournal`: reads +file:Exec, +registry:sql; written legacy, accepted-legacy, frozen
- new `internal/registry/ha_journal.go:type haJournalRequest`: reads +file:Walk; written legacy, accepted-legacy, frozen
- new `internal/registry/ha_journal.go:type haJournalResponse`: reads +file:Walk; written legacy, accepted-legacy, frozen
+- new `internal/registry/ha_scan.go:Registry.Departure`: reads +registry:Departures ×2, +whole:HADeparture ×2; written legacy, accepted-legacy, frozen
+- new `internal/registry/ha_scan.go:Registry.DepartureScan`: reads +registry:Scan, +whole:HADepartureScan; written legacy, accepted-legacy, frozen
+- new `internal/registry/ha_scan.go:Registry.SaveDepartureScan`: reads +whole:HADepartureScan ×2; written legacy, accepted-legacy, frozen
+- new `internal/registry/ha_scan.go:Registry.departureScanJournal`: reads +file:QueryRowContext ×3, +registry:Code ×2, +registry:Departures, +registry:ID ×6, +registry:LastError, +registry:LastPage, +registry:NextAttempt, +registry:Op ×2, +registry:Phase, +registry:Scan ×4, +registry:Version ×5, +registry:sql ×2, +whole:HADeparture ×3, +whole:HADepartureScan ×5, +whole:haJournalResponse ×14; written legacy, accepted-legacy, frozen
- new `internal/registry/timers.go:Registry.AdvanceDutyTimer`: reads +file:Exec, +registry:DueAt, +registry:Host, +registry:Kind, +registry:Name, +registry:NextAt ×2, +registry:Registration, +registry:remote, +registry:sql, +whole:remoteClient; written legacy, accepted-legacy, frozen
- new `internal/schedule/runner.go:OldDutyTick`: reads +registry:Kind, +whole:Timer; written legacy, accepted-legacy, frozen
- new `internal/schedule/runner.go:Runner.fireOwned`: reads +registry:Host ×4, +registry:Name ×2, +registry:Spec ×2, +whole:Route ×9, +whole:Timer ×8; written legacy, accepted-legacy, frozen
@@ -119,6 +129,6 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- reads `internal/hostfiles/wake.go:ImportWake`: +whole:HAWakeImport, -whole:Route, -whole:Timer ×3; keeps legacy, task accepted-legacy
- reads `internal/registry/remote_dispatch.go:Registry.dispatchRemote`: +registry:Adoption ×2, +registry:Changed ×5, +registry:Duty ×3, +registry:Expected, +registry:HAJournal ×2, +registry:Host ×9, +registry:Import, +registry:Lifetime ×5, +registry:Pair ×3, +registry:Receipt, +registry:Revision ×3, +registry:Wake ×2, +whole:DutyState ×3, +whole:HAAdoption ×2, +whole:HAWakeImport ×2, +whole:Pair ×3, +whole:haJournalRequest, +whole:haJournalResponse; keeps hint, task E2
-Seal: `7e30dee4fb52370555ad173512d7f03782f0fbed725a8a6bf4f7e31f52c23668` → `395a5de12dafae686aeaeddd07f84ba491b6404d2c875142fd3fbc84fe00ec4d`.
+Seal: `7e30dee4fb52370555ad173512d7f03782f0fbed725a8a6bf4f7e31f52c23668` → `d2abd8ad86ac914d399cf7625a0de4fd504b52896f8719cbc9e594fca914856d`.
Overlay: `internal/provision/testdata/plan14-root-reads-region-ha-p1b3b-t.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/docs/superpowers/notes/census-region-ha-p1b3b-t-claims.md b/docs/superpowers/notes/census-region-ha-p1b3b-t-claims.md
index ce62cbb70..128e3cf26 100644
--- a/docs/superpowers/notes/census-region-ha-p1b3b-t-claims.md
+++ b/docs/superpowers/notes/census-region-ha-p1b3b-t-claims.md
@@ -31,7 +31,7 @@ internal/activator/hatakeover.go:ExecBackend.ownerTerminated Read route Host for
internal/activator/haadopt.go:ExecBackend.adoptionCurrent Read the current registry route and authoritative lifetime index/record; compare Pair, account, app, DB path, kind and admission fields before effects. Refusal only.
internal/activator/haadopt.go:ExecBackend.adoptionWake Read only the configured files manifest and its validated wake object. Validate wire state and reuse only bytes already checked against an equal digest; never fetch DB, file-tree or secret objects.
internal/activator/haadopt.go:ExecBackend.bindDutyLifetime Read existing local duty revision and bind only current record facts to the registry Pair; changed binding invalidates old authority and receipt access. B2 fix r1: delegate to the shared DutyStore binding helper; the same current-record precondition and guarded Pair/revision binding remain.
-internal/activator/haadopt.go:Service.AdoptHost Serialize through the existing host operation state. Read local route/revision/receipt plus configured lock/manifest/wake objects; use only restricted ordinary acquire, exact guarded restore, ordinary unclean release and verified readback for adoption. No process launch, local-copy reuse or secret access. B3: pass the optional shared durable termination proof adapter into the existing restricted finalizer acquire. The adapter validates the exact classified peer and current host lifetime, uses the acquire data-bucket client, and cannot bypass expiry or CAS. No new read in this unit.
+internal/activator/haadopt.go:Service.AdoptHost Serialize through the existing host operation state. Read local route/revision/receipt plus configured lock/manifest/wake objects; use only restricted ordinary acquire, exact guarded restore, ordinary unclean release and verified readback for adoption. No process launch, local-copy reuse or secret access. B3: pass the optional shared durable termination proof adapter into the existing restricted finalizer acquire. The adapter validates the exact classified peer and current host lifetime, uses the acquire data-bucket client, and cannot bypass expiry or CAS. No new read in this unit. B4: A first scanner import may reuse its staging lock observation; the ordinary acquire still rereads and compares the exact ETag/generation and expiry. Existing receipt replay keeps its fresh read. No new read path or takeover authority.
internal/activator/haadopt.go:adoptionBackend Select the existing ExecBackend through SplitBackend using the route; no I/O.
internal/activator/haadopt.go:adoptionPair Read route Incarnation and ServingSeq for transaction comparisons; no I/O.
internal/activator/haduties.go:Service.dutyState Read the current registry route and existing authoritative lifetime before binding/loading the persistent DutyStore. Pending import never produces adopted basis. B2 fix r1: validate current route and authoritative lifetime for every DutyStore, including wrapped and remote stores; use interface Get/HADuty/BindHADuty instead of a concrete registry assertion. Existing record and local registry reads only.
@@ -65,7 +65,7 @@ internal/host/hadeparture_identity.go:departureIdentities.Resolve B3b: read immu
internal/host/hadeparture_identity.go:departureIdentities.Walk B3b: read immutable box bytes and local verified bindings; require AWS signature plus independent fixed/group binding, unique ref/iid, exact digest and known scope. Unknown walks persist one 1000-key page and at most 32 new GETs per turn; errors never prove absence. B3 fix r1: Read and persist per-ref/iid refusal candidates rather than a global record-validation failure. Unsigned fields only restrict unrelated classification; they never bind identity. Incomplete listing and unidentifiable fixed records keep affected unknown iids pending; known identities continue. Existing page and GET bounds remain.
internal/host/hadeparture_identity.go:departureIdentities.verify B3b: read immutable box bytes and local verified bindings; require AWS signature plus independent fixed/group binding, unique ref/iid, exact digest and known scope. Unknown walks persist one 1000-key page and at most 32 new GETs per turn; errors never prove absence.
internal/host/hadepartures.go:Controller.enqueue 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.
-internal/host/hadepartures.go:Controller.step 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.
+internal/host/hadepartures.go:Controller.step 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.
internal/registry/ha_journal.go:Registry.ClaimHAConfirmation B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay.
internal/registry/ha_journal.go:Registry.EnrollDeparture B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay.
internal/registry/ha_journal.go:Registry.HAIdentity B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay.
@@ -75,13 +75,23 @@ internal/registry/ha_journal.go:Registry.RetryDeparture B3b: read/write bounded
internal/registry/ha_journal.go:Registry.SaveHAIdentity B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay.
internal/registry/ha_journal.go:Registry.SaveHAIdentityWalk B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay.
internal/registry/ha_journal.go:Registry.TerminationInbox B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay.
-internal/registry/ha_journal.go:Registry.haJournal B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Add atomic compact hint enrollment, bounded due reads, received-time guarded removal and hourly page claims. Retain old inbox APIs for migration, no queue receipt or authority bit. All reads/writes stay in the existing SQLite registry with remote parity.
-internal/registry/ha_journal.go:Registry.migrateHAJournal B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Add compact per-account/region/iid pending rows to the existing registry, with durable retry and hourly page times. No new database path or receipt storage.
-internal/registry/ha_journal.go:type haJournalRequest B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Carry compact pending hints through the existing registry RPC, with no new authority.
-internal/registry/ha_journal.go:type haJournalResponse B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Return compact pending-hint pages from the existing registry RPC.
+internal/registry/ha_journal.go:Registry.haJournal B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Add atomic compact hint enrollment, bounded due reads, received-time guarded removal and hourly page claims. Retain old inbox APIs for migration, no queue receipt or authority bit. All reads/writes stay in the existing SQLite registry with remote parity. B4: Extend the existing registry journal/schema/RPC with scan state, guarded completion phases, durable bounded retry count and one receiver-wide identity summary claim/count. All state stays in the existing database; no queue receipt is persisted and no import/start authority is granted by an inbox entry.
+internal/registry/ha_journal.go:Registry.migrateHAJournal B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Add compact per-account/region/iid pending rows to the existing registry, with durable retry and hourly page times. No new database path or receipt storage. B4: Extend the existing registry journal/schema/RPC with scan state, guarded completion phases, durable bounded retry count and one receiver-wide identity summary claim/count. All state stays in the existing database; no queue receipt is persisted and no import/start authority is granted by an inbox entry.
+internal/registry/ha_journal.go:type haJournalRequest B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Carry compact pending hints through the existing registry RPC, with no new authority. B4: Extend the existing registry journal/schema/RPC with scan state, guarded completion phases, durable bounded retry count and one receiver-wide identity summary claim/count. All state stays in the existing database; no queue receipt is persisted and no import/start authority is granted by an inbox entry.
+internal/registry/ha_journal.go:type haJournalResponse B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Return compact pending-hint pages from the existing registry RPC. B4: Extend the existing registry journal/schema/RPC with scan state, guarded completion phases, durable bounded retry count and one receiver-wide identity summary claim/count. All state stays in the existing database; no queue receipt is persisted and no import/start authority is granted by an inbox entry.
internal/activator/hawake.go:ExecBackend.TerminationLifetime B3 fix r1: Read the host route from the existing registry and reuse isHA record/lifetime-index classification. Missing, legacy or lifetime-free hosts refuse. Inventory completeness is not takeover authority.
-internal/host/hadepartures_wiring.go:armHADepartures B3 fix r1: Install proof adapter, adoption identity and suspicion callbacks before asynchronous startup. Lazily retry the same deployment/data clients; lifetime callback reads only the current host through ExecBackend.TerminationLifetime. Add bounded structured paging for unresolved per-iid records. No new bucket, tenant input path or acquire bypass.
+internal/host/hadepartures_wiring.go:armHADepartures B3 fix r1: Install proof adapter, adoption identity and suspicion callbacks before asynchronous startup. Lazily retry the same deployment/data clients; lifetime callback reads only the current host through ExecBackend.TerminationLifetime. Add bounded structured paging for unresolved per-iid records. No new bucket, tenant input path or acquire bypass. B4: Wire the shared lock reader and existing AdoptHost entry. Read local route, Pair and duty revision only after authoritative inventory eligibility; bind its record lifetime and refuse missing/mismatched local routes. No route synthesis or pool widening.
internal/registry/ha_journal.go:Registry.ParkTermination B3 fix r1: Atomically coalesce a validated hint and retire its legacy inbox slot; no raw body, receipt or authority.
internal/registry/ha_journal.go:Registry.PendingTerminations B3 fix r1: Read at most 32 due compact hints from the existing database.
internal/registry/ha_journal.go:Registry.RemovePendingTermination B3 fix r1: Remove only the observed hint version; a newer receive cannot be deleted by an older walk.
internal/registry/ha_journal.go:Registry.RetryPendingTermination B3 fix r1: Persist 30s retry and once-hourly page claim in one existing-registry transaction.
+internal/host/hadepartures.go:Controller.ackDeparture B4: Inspect only local durable completion before acknowledging the current in-memory queue receipt. Never serialize a reusable receipt or use an incomplete journal row as completion.
+internal/host/hadepartures.go:Controller.record B4: Inspect only local durable completion before acknowledging the current in-memory queue receipt. Never serialize a reusable receipt or use an incomplete journal row as completion.
+internal/host/hadepartures_scan.go:Controller.ScanPass 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.
+internal/host/hadepartures_scan.go:Controller.complete 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.
+internal/host/hadepartures_scan.go:Controller.retryScan B4: Read only the bound departure to persist bounded retry timing and the existing hourly per-departure page claim. No completion authority.
+internal/registry/ha_journal.go:Registry.PendingTerminationCount B4: Extend the existing registry journal/schema/RPC with scan state, guarded completion phases, durable bounded retry count and one receiver-wide identity summary claim/count. All state stays in the existing database; no queue receipt is persisted and no import/start authority is granted by an inbox entry.
+internal/registry/ha_scan.go:Registry.Departure B4: Read/write versioned scan checkpoints in the existing SQLite registry and existing remote protocol. Atomically compare checkpoint version and phase ordering; retain original authority observations, host outcomes and deletion/index recovery state. No new filesystem path or executable input.
+internal/registry/ha_scan.go:Registry.DepartureScan B4: Read/write versioned scan checkpoints in the existing SQLite registry and existing remote protocol. Atomically compare checkpoint version and phase ordering; retain original authority observations, host outcomes and deletion/index recovery state. No new filesystem path or executable input.
+internal/registry/ha_scan.go:Registry.SaveDepartureScan B4: Read/write versioned scan checkpoints in the existing SQLite registry and existing remote protocol. Atomically compare checkpoint version and phase ordering; retain original authority observations, host outcomes and deletion/index recovery state. No new filesystem path or executable input.
+internal/registry/ha_scan.go:Registry.departureScanJournal B4: Read/write versioned scan checkpoints in the existing SQLite registry and existing remote protocol. Atomically compare checkpoint version and phase ordering; retain original authority observations, host outcomes and deletion/index recovery state. No new filesystem path or executable input.
diff --git a/internal/host/hadepartures_scan.go b/internal/host/hadepartures_scan.go
index fb40368bc..4eebbeaaf 100644
--- a/internal/host/hadepartures_scan.go
+++ b/internal/host/hadepartures_scan.go
@@ -85,7 +85,8 @@ func (c *Controller) ScanPass(ctx context.Context) (bool, error) {
return false, err
}
// A process restart requires a new qualifying inventory and a new full scan.
- generation := scanDigest(inv)
+ generation := departureInventoryDigest(inv)
+ s.InventoryGeneration = inv.Generation
if d.Phase == "pending" || s.Generation != generation {
s.Generation = generation
s.Cursor = 0
@@ -112,9 +113,6 @@ func (c *Controller) ScanPass(ctx context.Context) (bool, error) {
h := inv.Records[s.Cursor]
s.Cursor++
count++
- if h.Placement != d.Box.Scope.Placement {
- continue
- }
old, seen := s.Hosts[h.Host]
if seen && old.Lifetime != h.Lifetime {
delete(s.Hosts, h.Host)
@@ -241,7 +239,7 @@ func (c *Controller) ScanPass(ctx context.Context) (bool, error) {
return true, ctx.Err()
}
// A changed or incomplete published inventory invalidates the entire pass.
- if scanDigest(c.cfg.Inventory()) != generation {
+ if departureInventoryDigest(c.cfg.Inventory()) != generation {
s.Generation = ""
s.Cursor = 0
s.Rescan = false
@@ -326,13 +324,17 @@ func (c *Controller) complete(ctx context.Context, id string) error {
return errDepartureScope
}
if d.Phase == "authority_complete" {
+ if !c.evidence[id] {
+ return errDeparturePending
+ }
inv := c.cfg.Inventory()
- if !inv.FreshAfter(d.ObservedAt) || scanDigest(inv) != s.Generation {
+ if !inv.FreshAfter(d.ObservedAt) || departureInventoryDigest(inv) != s.Generation {
s.Cursor = 0
s.Rescan = false
s.Generation = ""
return save("scanning")
}
+ s.InventoryGeneration = inv.Generation
tag := d.EdgesETag
if s.EdgesETag != "" {
tag = s.EdgesETag
@@ -437,3 +439,12 @@ func (c *Controller) complete(ctx context.Context, id string) error {
func defaultDepartureReader(ctx context.Context, region string) (DepartureLockReader, error) {
return lease.NewLockReader(ctx, region)
}
+
+// A new walk of identical records does not invalidate completed lock reads.
+// Freshness is checked separately on every page and before deletion.
+func departureInventoryDigest(inv provision.InventorySnapshot) string {
+ return scanDigest(struct {
+ Complete bool
+ Records []provision.DepartureHost
+ }{inv.Complete, inv.Records})
+}
diff --git a/internal/host/hadepartures_scan_test.go b/internal/host/hadepartures_scan_test.go
index 92cd40fa3..e8080a960 100644
--- a/internal/host/hadepartures_scan_test.go
+++ b/internal/host/hadepartures_scan_test.go
@@ -463,6 +463,7 @@ func TestDepartureCoverageIsolationIntegrated(t *testing.T) {
}
func TestDepartureScannerDeath(t *testing.T) {
x := newScanRig(t, 2)
+ oldQueue := x.start(t, "old-receipt")
ctx, cancel := context.WithCancel(t.Context())
adopt := x.c.cfg.Adopt
x.c.cfg.Adopt = func(ctx context.Context, h provision.DepartureHost, d registry.HADeparture, v hafresh.View) (activator.AdoptResult, error) {
@@ -478,8 +479,12 @@ func TestDepartureScannerDeath(t *testing.T) {
y.locks = x.locks
y.store = x.store
y.inv = x.inv
+ newQueue := y.start(t, "redelivered-current-receipt")
y.pass(t)
y.pass(t)
+ if oldQueue.deleted.Load() != 0 || newQueue.deleted.Load() != 1 {
+ t.Fatal(oldQueue.deleted.Load(), newQueue.deleted.Load())
+ }
if y.imports != 1 {
t.Fatal("successor reimported or remaining lost", y.imports)
}
@@ -533,8 +538,7 @@ func TestDepartureNoEarlyDeleteCommitFailure(t *testing.T) {
}
}
func TestDepartureProductionImporter(t *testing.T) {
- old := lease.CurrentSelf()
- t.Cleanup(func() { lease.SetSelf(old) })
+ t.Cleanup(lease.ProcessStateForTest())
fx := locktest.NewLockFixture(t)
a, _, _ := departureArmFixture(t)
a.Self.Scope.DataBucket = fx.Bucket
@@ -670,3 +674,89 @@ func TestDepartureProductionImporter(t *testing.T) {
t.Fatal(d, err)
}
}
+
+func TestDepartureRestartCannotReuseAuthorityCheckpoint(t *testing.T) {
+ x := newScanRig(t, 1)
+ s := &completionStore{Store: x.store, raw: x.store, deny: true}
+ x.c.cfg.OpenStore = func(context.Context) (release.Store, error) { return s, nil }
+ x.pass(t)
+ _, _ = x.c.ScanPass(t.Context())
+ before := s.deletes
+ x.c.evidence = nil
+ s.deny = false
+ if err := x.c.Complete(t.Context(), x.d.ID); err == nil {
+ t.Fatal("restart reused authority checkpoint")
+ }
+ if s.deletes != before {
+ t.Fatal("restart deleted before fresh evidence and rescan")
+ }
+}
+
+func TestDepartureMovedPlacementRemainsInCensus(t *testing.T) {
+ x := newScanRig(t, 1)
+ x.inv.Records[0].Placement = "other"
+ for range 2 {
+ x.pass(t)
+ }
+ d, err := x.r.Departure(t.Context(), x.d.ID)
+ if err != nil || d.Phase == "complete" || x.locks.reads != 2 || x.imports != 0 {
+ t.Fatal(d.Phase, x.locks.reads, x.imports, err)
+ }
+}
+
+func TestDepartureBlockedDepartureDoesNotStopAnother(t *testing.T) {
+ x := newScanRig(t, 2)
+ x.inv.Records[0].Pool = "hapair"
+ other := x.d
+ other.ID = "other"
+ other.Box.Ref = "other"
+ other.Box.InstanceID = "i-2123456789abcdef0"
+ other.EdgesKey = "control/edges/other.json"
+ var err error
+ other.EdgesETag, err = x.store.Put(t.Context(), other.EdgesKey, []byte("other"), "")
+ if err != nil {
+ t.Fatal(err)
+ }
+ if err = x.r.EnrollDeparture(t.Context(), other, ""); err != nil {
+ t.Fatal(err)
+ }
+ x.c.evidence[other.ID] = true
+ h := x.inv.Records[1]
+ v := x.locks.views[h.Host]
+ v.Lock.Release.Box = other.Box.Ref
+ v.Lock.Release.IID = other.Box.InstanceID
+ v.Lock.Owner = hafresh.MarkerOwner(*v.Lock.Release)
+ x.locks.views[h.Host] = v
+ for range 6 {
+ x.pass(t)
+ }
+ dead, err := x.r.Departure(t.Context(), x.d.ID)
+ if err != nil || dead.Phase == "complete" {
+ t.Fatal(dead, err)
+ }
+ done, err := x.r.Departure(t.Context(), other.ID)
+ if err != nil || done.Phase != "complete" || x.imports != 1 {
+ t.Fatal(done, x.imports, err)
+ }
+}
+
+func TestDepartureStableInventoryRefreshPreservesProgress(t *testing.T) {
+ x := newScanRig(t, 33)
+ x.pass(t)
+ x.inv.Generation = "new-walk"
+ x.inv.WalkStartedAt = x.now
+ x.inv.SourceReadStartedAt = x.now
+ x.pass(t)
+ if x.imports != 33 || x.locks.reads != 33 {
+ t.Fatal("unchanged records reset progress", x.imports, x.locks.reads)
+ }
+ x.pass(t)
+ x.inv.Generation = "another-walk"
+ x.inv.WalkStartedAt = x.now
+ x.inv.SourceReadStartedAt = x.now
+ x.pass(t)
+ d, err := x.r.Departure(t.Context(), x.d.ID)
+ if err != nil || d.Phase != "complete" || x.locks.reads != 66 {
+ t.Fatal(d.Phase, x.locks.reads, err)
+ }
+}
diff --git a/internal/host/hadepartures_wiring.go b/internal/host/hadepartures_wiring.go
index 8e871e47f..f7dcc1c15 100644
--- a/internal/host/hadepartures_wiring.go
+++ b/internal/host/hadepartures_wiring.go
@@ -113,6 +113,10 @@ func armHADepartures(ctx context.Context, a departureArm) (*Controller, hadepart
messages := []string{fmt.Sprintf("Duties from box %s have not been recovered. The scan will retry automatically. Check the box's wake state before removing its records.", d.Box.Ref)}
for _, h := range hosts {
if h.Kind != "sidecar" {
+ if h.Placement != a.Self.Scope.Placement {
+ messages = append(messages, fmt.Sprintf("host=%s code=placement", h.Host))
+ continue
+ }
policy := LocalPolicy{Scope: a.Self.Scope, Pools: provision.ParseBoxPools(a.Getenv("CARLOS_POOLS"))}
if CanAdopt(h, policy) {
messages = append(messages, fmt.Sprintf("host=%s code=unsupported_wake", h.Host))
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index ebad280e2..7c929b1eb 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -67,4 +67,4 @@ plan14-root-reads-domains-zone-credentials.tsv 3b6cd29b87d2728254936722ab45fdadc
plan14-root-reads-devbox-identity.tsv 66a5df05f18f70c3162ad05aa316c1e69c0f053d54f8b682262c266d6aa50772
plan14-root-reads-region-ha-home-placement.tsv b0304f75d2c5f1b9818d0f282b89c00c00b33e3f9bf974031687527c191fb161
plan14-root-reads-storedoor-stream-get.tsv 7e30dee4fb52370555ad173512d7f03782f0fbed725a8a6bf4f7e31f52c23668
-plan14-root-reads-region-ha-p1b3b-t.tsv 395a5de12dafae686aeaeddd07f84ba491b6404d2c875142fd3fbc84fe00ec4d
+plan14-root-reads-region-ha-p1b3b-t.tsv d2abd8ad86ac914d399cf7625a0de4fd504b52896f8719cbc9e594fca914856d
diff --git a/internal/provision/testdata/plan14-root-reads-region-ha-p1b3b-t.tsv b/internal/provision/testdata/plan14-root-reads-region-ha-p1b3b-t.tsv
index 863e711f0..bff19651d 100644
--- a/internal/provision/testdata/plan14-root-reads-region-ha-p1b3b-t.tsv
+++ b/internal/provision/testdata/plan14-root-reads-region-ha-p1b3b-t.tsv
@@ -1,6 +1,6 @@
# Census overlay region-ha-p1b3b-t, written by census-propose (#369). census-ruling-region-ha-p1b3b-t, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-region-ha-p1b3b-t.md.
-# 9 body, 7 sites, 15 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
-# 72 new dispositions: 3 reads re-frozen at their disposition with the claim, 68 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 1 other.
+# 9 body, 7 sites, 16 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
+# 82 new dispositions: 3 reads re-frozen at their disposition with the claim, 78 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 1 other.
@legacy 76aeefcc3063f48d5e854bd81482a114455b6182ba9544399042a8cb07dbb79a internal/activator/activator.go Service.begin legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=Re-digested at the pre-land merge: the body includes main's own change under census ruling 292, with no further change from this branch. the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved;rev3=census-ruling-edge-request-records;basis=gains a req *http.Request parameter and one edge.MarkWoke(req) call on the path that starts a wake, so the edge's request record can say which request woke the app; no read added;rev3=census-ruling-remote-instance-metrics;basis=the entries-map insertion goes through putEntryLocked (which also notes the route's tenant in memory for the metrics sampler); no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: before an entry is made, a resident inside its backoff answers errResidentBackoff, and a rootfs row must pass the locked admission (rootfsRefusalLocked) and then the backend's rootfs gates off a.mu (rootfsStartRefusal, within the request's wait bound) before Acquire, Restore or the live link; the gate key is recorded on the entry; adds refusals before the lease only;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Read serving lease health through servingError: stateless generations use local lifecycle/process supervision, while stateful generations keep the existing lease checks. No new I/O.;rev3=census-ruling-region-ha-p1b3b-t;basis=Carry background-duty provenance into a new singleflight entry; a visitor waiting on its deferred refusal retries with ordinary visitor authority. No read added. registry:Host@1146,registry:Host@1457,registry:Host@3513,registry:Host@3670,registry:Host@562,whole:Route@2011,whole:Route@2098,whole:Route@2179,whole:Route@2440,whole:Route@2550,whole:Route@2724,whole:Route@3522,whole:Route@3529 6dfb9ff708ed5fc62b5184ff03fb2df8e1e9fe5d84244b4c9979f3c27f3d7168
@legacy ee74269fe59778aca77cdc1c5ccca3fb0cb3322a7e8de49686c4966a86388d6c internal/activator/activator.go Service.sweepOnce legacy accepted-legacy accepted-legacy;rev3=PROPOSED-seed;basis=census-ruling-FS-R6; registry remains legacy; PROPOSED-plans-2-box-limits: the sweep also narrows an entry's idle window to its account's plan idle through the SetIdleFor hook (never lengthens it; always-on workers and held probe entries are untouched; the hibernate, inflight and held-for-tick guards are unchanged).;rev3=census-ruling-plans-4c-box-throttle;basis=after the worker max_run branch, stops a non-worker entry past the plans continuous-awake ceiling (maxRunFor, passed the row), busy or not, never mid-command (plans 4c). One more whole-row read: the row handed to the hook, as idleFor already is. This bypasses the inflight and held-for-tick protections the idle stop keeps, on purpose: escalated by Astra and ACCEPTED by Paul (census owner), 2026-10-25.;rev3=census-ruling-plans-4d-lapse;basis=stops a live entry the turned-off hook names (never mid-command, never a move's active probe), stands down an exited worker it names instead of restarting it (Astra finding 4), and skips such rows in the due loop and the always-on arm so they are not woken (plans 4d). Four more whole-row reads: the row handed to the hook (a.disabled), as idleFor and maxRunFor already are. Only stops or skips.;rev3=census-ruling-remote-instance-metrics;basis=its two entries-map insertions go through putEntryLocked (which also notes the route's tenant in memory for the metrics sampler); no read added;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: one more call at the top, a.retryOwedMarkers() (harelease.go), which starts at most one background lease.RetryPending pass over owed region HA release markers, off a.mu; the due query, idle, max-run and lapse logic are unchanged; the same 38 sites, no read added; merge of origin/main d7ae1d76: main's change is kept as main has it (census-ruling-remote-instance-metrics: its two entries-map insertions go through putEntryLocked); this branch's change is the same as above; read sites the same 38, offsets moved;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: a resident (Route.Resident) is never stopped for idleness or by the continuous-awake ceiling; the due-wake check is left on Hibernate (comment); stops less, not more;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: an entry whose host has a release record open (the in-memory a.releaseOps[e.host]) is not stopped by its plan's turn-off, by idleness or by the continuous-awake ceiling until the record goes; one more sweep pass, reapReleaseOpsLocked, retries an unproven release's stop (through finishPendingStops); the same 39 read sites, no read added; stops less, not more;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 9 (PF-18): the four checks that left an entry with a run attached alone (e.cmd == nil) now read holdsAttachedLocked(e), a run or a session attached, so a session holds the idle sleep, the plans awake ceiling, the plans turned-off stop and the turned-off worker's stand-down as a run does; in-memory under a.mu; only keeps an entry awake longer; no read added, read sites unchanged;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Read serving lease health through servingError: stateless generations use local lifecycle/process supervision, while stateful generations keep the existing lease checks. No new I/O.;rev3=census-ruling-region-ha-p1b3b-t;basis=Tag due entries as background duties; the wake evaluates the gate off a.mu before acquire or token preparation. No read added. registry:Hibernate@10805,registry:Hibernate@14563,registry:Hibernate@23821,registry:Hibernate@5680,registry:Hibernate@7879,registry:Host@23890,registry:Host@23948,registry:Host@24415,registry:Host@24508,registry:Host@25260,registry:Host@25361,registry:Host@26425,registry:Host@26712,registry:Host@26768,registry:NextDue@25198,registry:Status@23837,whole:Route@10807,whole:Route@11666,whole:Route@14565,whole:Route@16498,whole:Route@18208,whole:Route@18398,whole:Route@18691,whole:Route@18863,whole:Route@19010,whole:Route@23221,whole:Route@23997,whole:Route@24912,whole:Route@25269,whole:Route@25276,whole:Route@26240,whole:Route@26541,whole:Route@26745,whole:Route@5491,whole:Route@5682,whole:Route@7712,whole:Route@7881,whole:Route@8074,whole:Route@8537 bb62b361b6dff7e47fa68665994a5b73860a499107a67c32af002c608bc936fd
@legacy ebed63ce52f359e7554f0fa5c285656548b89ff2aa30032636c28ec98d37fe65 internal/edge/wakeplacement.go homeMap.wakeSnapshot legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3a;basis=Project cold-wake candidates from one immutable cached edges fold using the local route's canonical host, release.RouteAccount and app. Reads only in-memory route fields, cached publication additions and mirrored signing keys; no filesystem, registry, store or root authority added. Reject malformed placement evidence independently of the unchanged holder decoder; preserve explicit local safety denials even when stale.;rev3=census-ruling-region-ha-home-placement;basis=none: accepts the omitted/empty home placement, refuses explicit null; same in-memory fold reads, no new read;rev3=census-ruling-region-ha-p1b3b-t;basis=Expose fresh compatible peer membership separately from per-host eligible serving entries for suppression invalidation. Existing home/pool/scope filtering remains; no new reads. registry:App@2370,registry:Host@1412,whole:Route@1443 35b52d47574c903f65776ba3c476ab38457c93caf027279263774e084023c03d
@@ -11,7 +11,7 @@
@legacy 0ba72f271652762c5d3515d89457c2a91ea61b7f21dcd3c8cb2c62db49012ee2 internal/activator/haadopt.go ExecBackend.adoptionCurrent legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Read the current registry route and authoritative lifetime index/record; compare Pair, account, app, DB path, kind and admission fields before effects. Refusal only. registry:Account@222,registry:Account@237,registry:App@251,registry:App@262,registry:DBPath@272,registry:DBPath@286,registry:HoldOp@322,registry:Host@128,registry:ImportGate@342,registry:Kind@299,registry:Kind@311,registry:Replica@366,registry:Status@401,registry:Tunnel@381,whole:Pair@214,whole:Route@174,whole:Route@202,whole:Route@487 5254a172500177ca70cdaa8a04eca26977bd3494d40354ac44904ad9dd4b9ff7
@legacy 9e1066b0701a2907ef3565ed3bb63789241af783a325fd8fa1c9f10d6568e806 internal/activator/haadopt.go ExecBackend.adoptionWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Read only the configured files manifest and its validated wake object. Validate wire state and reuse only bytes already checked against an equal digest; never fetch DB, file-tree or secret objects. registry:Sequence@1148,registry:Sequence@745,registry:WakeDigest@1168,registry:WakeDigest@646,registry:WakeDigest@684,whole:HAWakeImport@1137,whole:HAWakeImport@1198,whole:HAWakeImport@548,whole:HAWakeImport@646,whole:HAWakeImport@684,whole:HAWakeImport@732,whole:HAWakeImport@778 492e282c3a6c817c6818226bbd554c7ecb02c284b828bceb86edb21670d5927a
@legacy cf2302e7ec421ae1accbc18cfa570c46fbeef965c21077855db576f5f1b86636 internal/activator/haadopt.go ExecBackend.bindDutyLifetime legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Read existing local duty revision and bind only current record facts to the registry Pair; changed binding invalidates old authority and receipt access. B2 fix r1: delegate to the shared DutyStore binding helper; the same current-record precondition and guarded Pair/revision binding remain. whole:Route@164 3c2b541b493ce0a7d41941c05de80319702d7004ad3f06c109c5c6ab774dad03
-@legacy b24f20d5a6a168fadcafe60dae8945951c03963ba4a060a346eed78a6285ea30 internal/activator/haadopt.go Service.AdoptHost legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Serialize through the existing host operation state. Read local route/revision/receipt plus configured lock/manifest/wake objects; use only restricted ordinary acquire, exact guarded restore, ordinary unclean release and verified readback for adoption. No process launch, local-copy reuse or secret access. B3: pass the optional shared durable termination proof adapter into the existing restricted finalizer acquire. The adapter validates the exact classified peer and current host lifetime, uses the acquire data-bucket client, and cannot bypass expiry or CAS. No new read in this unit. registry:AcquiredGeneration@2326,registry:AcquiredGeneration@2699,registry:AcquiredGeneration@3477,registry:AcquiredGeneration@4089,registry:AcquiredGeneration@4180,registry:AcquiredGeneration@4819,registry:AcquiredGeneration@4910,registry:DepartureIID@1797,registry:DepartureIID@5418,registry:DepartureRef@1761,registry:DepartureRef@5402,registry:ExpectedPair@7536,registry:Host@1162,registry:Host@1258,registry:Host@1330,registry:Host@1399,registry:Host@1665,registry:Host@2040,registry:Host@2543,registry:Host@2880,registry:Host@3267,registry:Host@5231,registry:Host@5652,registry:Host@5837,registry:Host@6449,registry:Host@7298,registry:Host@7600,registry:Host@8163,registry:Host@861,registry:Host@959,registry:Lifetime@5454,registry:Lifetime@7505,registry:LockETag@5489,registry:LockGeneration@1833,registry:LockGeneration@5501,registry:Phase@2658,registry:Phase@2675,registry:Phase@3017,registry:Phase@3055,registry:Phase@3111,registry:Phase@4121,registry:Phase@4213,registry:Phase@4763,registry:Phase@4851,registry:Receipt@5478,registry:Revision@2899,registry:Revision@5466,registry:Sequence@2803,registry:Sequence@2823,registry:WakeDigest@2762,registry:WakeDigest@2784,whole:HAAdoption@2916,whole:HAAdoption@5793,whole:HAWakeImport@2745,whole:HAWakeImport@5373,whole:HAWakeImport@5389,whole:HAWakeImport@5397,whole:HAWakeImport@5671,whole:HAWakeImport@7307,whole:HAWakeImport@7609,whole:HAWakeImport@7701,whole:Pair@2893,whole:Pair@5665,whole:Pair@7542,whole:Pair@7562,whole:Route@1128,whole:Route@1171,whole:Route@1178,whole:Route@138,whole:Route@193,whole:Route@2475,whole:Route@3177,whole:Route@4490,whole:Route@453,whole:Route@531,whole:Route@5320,whole:Route@6592,whole:Route@6637,whole:Route@6809,whole:Route@723,whole:Route@7394,whole:Route@889 e43bac579369bb989e033798a2595ada412b77348a33a1e75bb2548828df86db
+@legacy 5da8daa93172865989a3657b4f02b6a700da8c5217643de1d337a6a893c7f5d7 internal/activator/haadopt.go Service.AdoptHost legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Serialize through the existing host operation state. Read local route/revision/receipt plus configured lock/manifest/wake objects; use only restricted ordinary acquire, exact guarded restore, ordinary unclean release and verified readback for adoption. No process launch, local-copy reuse or secret access. B3: pass the optional shared durable termination proof adapter into the existing restricted finalizer acquire. The adapter validates the exact classified peer and current host lifetime, uses the acquire data-bucket client, and cannot bypass expiry or CAS. No new read in this unit. B4: A first scanner import may reuse its staging lock observation; the ordinary acquire still rereads and compares the exact ETag/generation and expiry. Existing receipt replay keeps its fresh read. No new read path or takeover authority. registry:AcquiredGeneration@2549,registry:AcquiredGeneration@2922,registry:AcquiredGeneration@3700,registry:AcquiredGeneration@4312,registry:AcquiredGeneration@4403,registry:AcquiredGeneration@5042,registry:AcquiredGeneration@5133,registry:DepartureIID@1797,registry:DepartureIID@5641,registry:DepartureRef@1761,registry:DepartureRef@5625,registry:ExpectedPair@7759,registry:Host@1162,registry:Host@1258,registry:Host@1330,registry:Host@1399,registry:Host@1665,registry:Host@2040,registry:Host@2766,registry:Host@3103,registry:Host@3490,registry:Host@5454,registry:Host@5875,registry:Host@6060,registry:Host@6672,registry:Host@7521,registry:Host@7823,registry:Host@8386,registry:Host@861,registry:Host@959,registry:Lifetime@5677,registry:Lifetime@7728,registry:LockETag@5712,registry:LockGeneration@1833,registry:LockGeneration@5724,registry:Phase@2881,registry:Phase@2898,registry:Phase@3240,registry:Phase@3278,registry:Phase@3334,registry:Phase@4344,registry:Phase@4436,registry:Phase@4986,registry:Phase@5074,registry:Receipt@5701,registry:Revision@3122,registry:Revision@5689,registry:Sequence@3026,registry:Sequence@3046,registry:WakeDigest@2985,registry:WakeDigest@3007,whole:HAAdoption@3139,whole:HAAdoption@6016,whole:HAWakeImport@2968,whole:HAWakeImport@5596,whole:HAWakeImport@5612,whole:HAWakeImport@5620,whole:HAWakeImport@5894,whole:HAWakeImport@7530,whole:HAWakeImport@7832,whole:HAWakeImport@7924,whole:Pair@3116,whole:Pair@5888,whole:Pair@7765,whole:Pair@7785,whole:Route@1128,whole:Route@1171,whole:Route@1178,whole:Route@138,whole:Route@193,whole:Route@2698,whole:Route@3400,whole:Route@453,whole:Route@4713,whole:Route@531,whole:Route@5543,whole:Route@6815,whole:Route@6860,whole:Route@7032,whole:Route@723,whole:Route@7617,whole:Route@889 ef9f731116b61df9921b8a98e0b88f3e37e609fb22f569ee317419a3f8bb9f82
@legacy b77a83881e9c9b4683781ea536a6fd51448f76689edad3203ddff8f135619e5b internal/activator/haadopt.go Service.adoptionAwakeSuccessor legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Read the configured lock and current route/lifetime to recognize an already awake local successor with strictly later generation and independently bound ref/iid. Recheck HoldsAwake before returning Superseded; no registry or lease writes. registry:Host@259,registry:Host@747,whole:Route@680 8f6636a01e491f63ba53fb1e59934574d1294455205938fda8ec9904cd96f53e
@legacy 17d2ac28599c58a17d0ffe8e4363aea230de40796debec2e9c6d6678a76a6991 internal/activator/haadopt.go adoptionBackend legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Select the existing ExecBackend through SplitBackend using the route; no I/O. whole:Route@143,whole:Route@148 e39ed566dc3449f24f809a034b0c042a36fa725ecc363d3278a724b3a35efbaa
@legacy 5af143443d17393af4faf8cd0acf844bbce0fb0351c42f114e554c957a333de6 internal/activator/haadopt.go adoptionPair legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Read route Incarnation and ServingSeq for transaction comparisons; no I/O. registry:Incarnation@88,registry:ServingSeq@116 f483f537f1c75292004bcdc934e45f153f92df6935e082a16af6aabcc6f2a43f
@@ -35,9 +35,14 @@
@legacy 80cc150e254adf415691fabd092007d8c00d6b7d800e7ad310bd552d62c3ba3a internal/host/hadeparture_identity.go departureIdentities.Resolve legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read immutable box bytes and local verified bindings; require AWS signature plus independent fixed/group binding, unique ref/iid, exact digest and known scope. Unknown walks persist one 1000-key page and at most 32 new GETs per turn; errors never prove absence. registry:Account@556,registry:Digest@393,registry:Digest@588,registry:IID@348,registry:IID@533,registry:Observation@480,registry:Raw@279,registry:Ref@304,registry:Ref@507,registry:Region@322,registry:Region@661 96fd0a43aa8f8b142b57e16e8383321b5d0dc42291c296228b57542cc67da194
@legacy 0e305e719b65d4194c845e50c5849ab43a1743cd2df4aabad9a29deedf3ccb95 internal/host/hadeparture_identity.go departureIdentities.Walk legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read immutable box bytes and local verified bindings; require AWS signature plus independent fixed/group binding, unique ref/iid, exact digest and known scope. Unknown walks persist one 1000-key page and at most 32 new GETs per turn; errors never prove absence. B3 fix r1: Read and persist per-ref/iid refusal candidates rather than a global record-validation failure. Unsigned fields only restrict unrelated classification; they never bind identity. Incomplete listing and unidentifiable fixed records keep affected unknown iids pending; known identities continue. Existing page and GET bounds remain. file:Walk@30,registry:Blocked@1088,registry:Blocked@1107,registry:Blocked@1269,registry:Blocked@1288,registry:Blocked@1541,registry:Blocked@1560,registry:Blocked@1914,registry:Blocked@1933,registry:Blocked@2091,registry:Blocked@2110,registry:Blocked@2342,registry:Blocked@860,registry:Blocked@879,registry:Cursor@2377,registry:Cursor@483,registry:Cursor@769,registry:Failed@2256,registry:Keys@2178,registry:Keys@2215,registry:Keys@2388,registry:Keys@2399,registry:Keys@2412,registry:Keys@425,registry:Keys@632,registry:Keys@695,registry:Keys@727,registry:Offset@2162,registry:Offset@2427,registry:Offset@648,registry:Offset@680,registry:Offset@734,registry:Offset@746,registry:StartedAt@186,registry:StartedAt@211,registry:StartedAt@2272,registry:StartedAt@297,registry:StartedAt@380,registry:StartedAt@532,registry:StartedAt@592,whole:HAIdentityWalk@2301,whole:HAIdentityWalk@2488 28f88eb7de68d499a95223386180c981571077fb57b9a069c4a7fd3bb15523a2
@legacy 773746cc0c3c3b97ccc845825b3e98f6852fd22d935fc91fd2f016fb310bbd2e internal/host/hadeparture_identity.go departureIdentities.verify legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read immutable box bytes and local verified bindings; require AWS signature plus independent fixed/group binding, unique ref/iid, exact digest and known scope. Unknown walks persist one 1000-key page and at most 32 new GETs per turn; errors never prove absence. registry:Digest@1047,registry:IID@1034,registry:Observation@1505,registry:Observation@1521,whole:HABoxIdentity@1089,whole:HABoxIdentity@1310,whole:HABoxIdentity@1581,whole:HABoxIdentity@1607,whole:HABoxIdentity@1625,whole:HABoxIdentity@971 14fb2ded67c9bffd3bf067c1359c033eff54783dae250a4343fb0f9382e64b5d
+@legacy 12f0f89af546263dd78f7ce60118308fd43ef103dfbbd9d1e255837d33f7b2da internal/host/hadepartures.go Controller.ackDeparture legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Inspect only local durable completion before acknowledging the current in-memory queue receipt. Never serialize a reusable receipt or use an incomplete journal row as completion. registry:Phase@177 4f864b0711b24676b5c078fb1f16835809b56b7c372b84ce8328a10fc63936ed
@legacy 42dd5737593c53a854792b143e78799af4bb4e475ef7458cc151190f5305a9e8 internal/host/hadepartures.go Controller.enqueue 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. whole:HADeparture@1398 2abe74f070cc47e528a56696aaa3fa5a85a80b6f4bbb4cf564b4d23d7d0a578d
-@legacy 73a942657d35639add16ce433f213a8e8f429a4fd2e2cf5528f3c0e59337411c 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. file:Walk@2642,registry:Body@1904,registry:IID@2479,registry:IID@2896,registry:IID@3249,registry:IID@3536,registry:Key@2006,registry:Key@2242,registry:LastBlocked@2797,registry:ReceivedAt@2225,registry:ReceivedAt@3180,whole:HADeparture@3815,whole:HADeparture@4783,whole:HADeparture@5106,whole:HAPendingTermination@2420,whole:HAPendingTermination@2837,whole:HAPendingTermination@3091,whole:HAPendingTermination@3313,whole:HAPendingTermination@3419,whole:HAPendingTermination@3612,whole:HATerminationInbox@1864 b7e955728be5159a9e693b8034be55ede1792057491bf09121ae10688d454d99
-@legacy 8f202df93f473f9fea388647250619a06c5a8713b17183cdcc7911b8239ff200 internal/host/hadepartures_wiring.go armHADepartures legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3 fix r1: Install proof adapter, adoption identity and suspicion callbacks before asynchronous startup. Lazily retry the same deployment/data clients; lifetime callback reads only the current host through ExecBackend.TerminationLifetime. Add bounded structured paging for unresolved per-iid records. No new bucket, tenant input path or acquire bypass. registry:Account@3336,registry:IID@3357,registry:Region@3347 04ae5e96af238d141af9ad2acd2c66ece008156ac5f55b13dd888fb94f073404
+@legacy 146ab004d276b0cbeec8418587670cb84b2d0bb406d207ec1512151ea6a70ba1 internal/host/hadepartures.go Controller.record legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Inspect only local durable completion before acknowledging the current in-memory queue receipt. Never serialize a reusable receipt or use an incomplete journal row as completion. registry:Phase@726,whole:HADeparture@781 dacb56df365647ec11f3fcbf00d13e8b8d94f9c8eb70ff6092a32c31ffb5d63d
+@legacy b3afe0608be140b6f94a03f45d86eb4d0ea34a2b1888109283223feba99c4e18 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. file:Walk@2642,registry:Body@1904,registry:IID@2479,registry:IID@2896,registry:IID@3249,registry:IID@3282,registry:IID@3748,registry:Key@2006,registry:Key@2242,registry:LastBlocked@2797,registry:ReceivedAt@2225,registry:ReceivedAt@3180,whole:HADeparture@4100,whole:HADeparture@5068,whole:HADeparture@5391,whole:HAPendingTermination@2420,whole:HAPendingTermination@2837,whole:HAPendingTermination@3091,whole:HAPendingTermination@3374,whole:HAPendingTermination@3480,whole:HAPendingTermination@3824,whole:HATerminationInbox@1864 4491ef42cf9ea18b01d9ee07502611ccc02e1caacfeb4f01e29b9820aa14a467
+@legacy bbf27d8ed059d56fe6a4f8416e9b7f898026c1aa1a1092513e6422f6fa37d68e 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. registry:Cursor@1576,registry:Cursor@2160,registry:Cursor@2243,registry:Cursor@2255,registry:Cursor@5709,registry:Cursor@5815,registry:Cursor@6166,registry:Generation@1517,registry:Generation@1548,registry:Generation@5689,registry:Generation@5847,registry:Hosts@1632,registry:Hosts@1652,registry:Hosts@2291,registry:Hosts@2359,registry:Hosts@4254,registry:Hosts@4641,registry:Hosts@4930,registry:Hosts@5470,registry:InventoryGeneration@1450,registry:Lifetime@2320,registry:NotBefore@2669,registry:NotBefore@2710,registry:NotBefore@4222,registry:NotBefore@4611,registry:NotBefore@4894,registry:Observed@3765,registry:Observed@3919,registry:Observed@4494,registry:Observed@4528,registry:Phase@1096,registry:Phase@1493,registry:Phase@1710,registry:Phase@3479,registry:Phase@552,registry:Phase@592,registry:RecordDigest@2631,registry:RecordDigest@4551,registry:Rescan@1591,registry:Rescan@2611,registry:Rescan@3648,registry:Rescan@4668,registry:Rescan@5724,registry:Rescan@5881,registry:Rescan@6134,registry:Result@4192,registry:Result@4586,registry:Result@5436,registry:Unresolved@1610,registry:Unresolved@2540,registry:Unresolved@2730,registry:Unresolved@2923,registry:Unresolved@2987,registry:Unresolved@3098,registry:Unresolved@3426,registry:Unresolved@3687,registry:Unresolved@3836,registry:Unresolved@3954,registry:Unresolved@4030,registry:Unresolved@4142,registry:Unresolved@4682,registry:Unresolved@4761,registry:Unresolved@4955,registry:Unresolved@5199,registry:Unresolved@5322,registry:Unresolved@5743,registry:Unresolved@5773,registry:Unresolved@5997,registry:Unresolved@6145,registry:Unresolved@6182,registry:Version@5158,whole:HADeparture@1803,whole:HADeparture@1918,whole:HADeparture@2074,whole:HADeparture@268,whole:HADeparture@310,whole:HADeparture@3762,whole:HADeparture@5265,whole:HADeparture@6413,whole:HADepartureHostScan@1634,whole:HADepartureHostScan@1654,whole:HADepartureHostScan@2293,whole:HADepartureHostScan@2361,whole:HADepartureHostScan@2395,whole:HADepartureHostScan@4256,whole:HADepartureHostScan@4272,whole:HADepartureHostScan@4313,whole:HADepartureHostScan@4643,whole:HADepartureHostScan@4659,whole:HADepartureHostScan@4932,whole:HADepartureHostScan@4948,whole:HADepartureHostScan@5472,whole:HADepartureHostScan@5488,whole:HADepartureScan@5119,whole:HADepartureScan@6267 f5307d3dc3f9320c40faf90a0eead9974bbf4559fd4db7cf600c458333910bcc
+@legacy 00da0d113a746bdfb343f55d5899602a09568daa2266444dc54dde83d623060f 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. registry:Cursor@1125,registry:Cursor@2951,registry:DeleteUncertain@1327,registry:DeleteUncertain@2878,registry:DeleteUncertain@3127,registry:DeleteUncertain@3467,registry:EdgesETag@1277,registry:EdgesETag@1306,registry:EdgesETag@2853,registry:Generation@1107,registry:Generation@1161,registry:Generation@2908,registry:Hosts@4458,registry:InventoryGeneration@1212,registry:PermissionAlerted@3502,registry:PermissionAlerted@3530,registry:Phase@152,registry:Phase@3006,registry:Phase@4037,registry:Phase@422,registry:Phase@460,registry:Phase@495,registry:Phase@535,registry:Phase@918,registry:Rescan@1141,registry:Rescan@2930,registry:Version@407,whole:HADeparture@205,whole:HADeparture@3758,whole:HADeparture@3903,whole:HADeparture@4235,whole:HADeparture@4507,whole:HADepartureHostScan@4460,whole:HADepartureScan@385 e68cf3679f8406ab81d78db2a0aaf39fefeb7b36edf45a3335dfdd19b04fe95a
+@legacy 6ce9baef904e68b29fe1954a7855656cb96b90d85129c72c3ae866d62c6a1597 internal/host/hadepartures_scan.go Controller.retryScan legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read only the bound departure to persist bounded retry timing and the existing hourly per-departure page claim. No completion authority. whole:HADeparture@556 6a101e3b2eaa3b2e270f94cc405695d021629a8a4d12d49f9a607eb495af4f61
+@legacy 23bdb8d806b4ed6ffd8733c5fd60aec78871cdb23515eb1c0bbc9da6f2a2e271 internal/host/hadepartures_wiring.go armHADepartures legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3 fix r1: Install proof adapter, adoption identity and suspicion callbacks before asynchronous startup. Lazily retry the same deployment/data clients; lifetime callback reads only the current host through ExecBackend.TerminationLifetime. Add bounded structured paging for unresolved per-iid records. No new bucket, tenant input path or acquire bypass. B4: Wire the shared lock reader and existing AdoptHost entry. Read local route, Pair and duty revision only after authoritative inventory eligibility; bind its record lifetime and refuse missing/mismatched local routes. No route synthesis or pool widening. registry:Account@3494,registry:Account@7029,registry:App@7056,registry:IID@3515,registry:Incarnation@7216,registry:Pool@7075,registry:Region@3505,registry:Region@7096,registry:Revision@7451,registry:Revision@7848,registry:ServingSeq@7244,whole:DutyState@7570,whole:Pair@7433,whole:Pair@7826,whole:Pair@7832,whole:Route@7016,whole:Route@7725 cdfee30d90a7080e23a03638b0770886fcdf76998d08fd4345233350bd28059f
@legacy e154d74a30627fba72d2c1f0dd79786d939df5bb9d54a7866d799ec855d90465 internal/host/runs.go runsWorker.dutyStillOwned legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Read route HA/host and existing service classification; after sink construction require an HA route still held awake locally before RunPick. Refusal only. registry:HA@309,registry:Host@287,whole:Route@237 d7b9c563b32e042e798ffbd98633be9a8eb13eaa68b574693be5937b1cd95ded
@legacy 32bf4eac2498036ddb8b662a319b1ea1af72c75509b3c62ae283614b635abdc4 internal/host/runs.go runsWorker.pickupOwned legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Gate pickup and detached exec. When the detached gate refuses before exec, finish with the existing RefusedIncarnation result, close the picked sink and forget the active handle. Existing guarded sink Finish and cleanup paths are reused; no new input or path read. whole:Route@1180,whole:Route@1946,whole:Route@2020,whole:Route@2288,whole:Route@956 8e426a60b8e738d2dec98df9788d37bcaecbc9726c745e22a39e17ddd9abfdee
@legacy 2631277f66e8a62ef010f25c2373081a1b660891dac60b7500bef99b9dbe6f93 internal/hostfiles/wake.go RegistryWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Convert wire timers into registry rows, checking wake version/host and shared timer grammar before effects; no I/O. B2 fix r1: adoption keeps strict validation after shared wire conversion; no I/O added. whole:HAWakeImport@142,whole:HAWakeImport@164,whole:HAWakeImport@201 4846985dc07c4bb0a2668caf66abbef5e7677b90ce6d689e60ea0612bce3b51b
@@ -61,6 +66,7 @@
@legacy f16823860a6ccd4a035ef80f424b7f817b62d7eb169627d94ee02c5d3eb24aea internal/registry/ha_journal.go Registry.LoadHAIdentityWalk legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. file:Walk@153,registry:Walk@153,whole:HAIdentityWalk@157 d69d9bc8c006eeee4405cae920cad99ae801784edcdc7a0a39cab63323dc9ea2
@legacy ce9175af5084867bf7b5adf2af970be88aef3ecb249d0556c5a4bd8e967294c2 internal/registry/ha_journal.go Registry.ParkTermination legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3 fix r1: Atomically coalesce a validated hint and retire its legacy inbox slot; no raw body, receipt or authority. whole:HAPendingTermination@162,whole:HAPendingTermination@168 3a67e7c2a10f28a798d7cf5c53fdabb465d12cd17e89c7a57d0d701a57105430
@legacy 37d3273369f7b36398d3c0d344d94afd6879b26fee0cbe629ca080a8df2372c1 internal/registry/ha_journal.go Registry.PendingDepartures legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. registry:Departures@201,whole:HADeparture@205 8f92d6a1eabe3a3efe1a8432488202638562d5a4abf57bed88bba92744f08f0f
+@legacy 27f40bfbeb050c94b798e05032c10f83d0f343ea1786dbdfc9a16a42c4d823f6 internal/registry/ha_journal.go Registry.PendingTerminationCount legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Extend the existing registry journal/schema/RPC with scan state, guarded completion phases, durable bounded retry count and one receiver-wide identity summary claim/count. All state stays in the existing database; no queue receipt is persisted and no import/start authority is granted by an inbox entry. registry:Count@153 9dec908b7f19341743e206cfba86b005b273dcca3fa45125c2b2f29afb991153
@legacy aadc1a7cec38493a94f8176c7d89d23cf412ccc5c28d5e4853343d4891d67ae7 internal/registry/ha_journal.go Registry.PendingTerminations legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3 fix r1: Read at most 32 due compact hints from the existing database. registry:Hints@210,whole:HAPendingTermination@214 023074b7cbe8181d5e30613cb7b96870b31270a720e9edd0f104c34d837169f2
@legacy 5cb8e8516edcb7eb868b201c6c18d7101e1ad27b81bbb8db858209e276fefc16 internal/registry/ha_journal.go Registry.RemovePendingTermination legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3 fix r1: Remove only the observed hint version; a newer receive cannot be deleted by an older walk. whole:HAPendingTermination@161,whole:HAPendingTermination@167 4a7a692ab0553f215c9476672f512ee543073fba4f65c062ca0d7f8a58d21f65
@legacy 0492fedf6ddd50973a0ef89222c0247613c385c9f55e728627fde81e59936c6d internal/registry/ha_journal.go Registry.RetryDeparture legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. registry:Found@257 925e1db8e59d35b0b00ded0808cc5b51657fd6b318cd5c33ccde27941861a79e
@@ -68,10 +74,14 @@
@legacy 5f4efd3eadaa2db04fae73a550cf053d62841d01540e4c2e903950017a28e90e internal/registry/ha_journal.go Registry.SaveHAIdentity legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. whole:HABoxIdentity@146,whole:HABoxIdentity@156 0830d1f3450aa0bcb0f68ba3f9ced1c37312505564e4b06069bf9484770992cf
@legacy bbeb1a01bd37abc79e377553e01a274362a922ea6d6c8d3150685e8440d34d12 internal/registry/ha_journal.go Registry.SaveHAIdentityWalk legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. file:Walk@147,whole:HAIdentityWalk@147,whole:HAIdentityWalk@153 3964525d39325734e0eefd6130022314f8260316ceacbf2b3282b39fb1565e41
@legacy 16b76c533e43012710a953e182c13bd363eafad69830325c719e0c719e8b1b98 internal/registry/ha_journal.go Registry.TerminationInbox legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. registry:Inbox@205,whole:HATerminationInbox@209 5a2aca28aae1664ef5ff06613df4b22f87bb4272358e89a29df5f41e26688802
-@legacy 62f6fd4ae099958d7cda3d63cadc4db708ada09226584a6bb389c7f5f0782e50 internal/registry/ha_journal.go Registry.haJournal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Add atomic compact hint enrollment, bounded due reads, received-time guarded removal and hourly page claims. Retain old inbox APIs for migration, no queue receipt or authority bit. All reads/writes stay in the existing SQLite registry with remote parity. file:QueryContext@1154,file:QueryContext@5519,file:QueryContext@7353,file:QueryRowContext@10368,file:QueryRowContext@2940,file:QueryRowContext@3718,file:QueryRowContext@4796,file:QueryRowContext@4996,file:QueryRowContext@9518,file:Walk@10004,file:Walk@10027,file:Walk@10048,file:Walk@10068,file:Walk@10141,file:Walk@10564,registry:Account@1544,registry:Account@1969,registry:Account@2337,registry:Account@2708,registry:Account@298,registry:Account@778,registry:Account@8831,registry:At@1371,registry:At@2330,registry:At@2377,registry:At@2673,registry:At@3174,registry:At@3191,registry:At@3268,registry:At@3930,registry:At@4314,registry:At@4531,registry:At@5341,registry:At@5360,registry:At@5709,registry:At@7540,registry:At@8362,registry:At@8387,registry:Body@4493,registry:Body@4652,registry:Body@5321,registry:Body@5902,registry:Code@2700,registry:Code@6367,registry:Code@8688,registry:Departure@6405,registry:Departures@8000,registry:Departures@8024,registry:Digest@8911,registry:Found@2505,registry:Found@4410,registry:Found@8523,registry:Found@9792,registry:Found@9824,registry:HAJournal@225,registry:Hint@1834,registry:Hint@2051,registry:Hint@282,registry:Hints@1750,registry:Hints@1769,registry:ID@3031,registry:ID@3489,registry:ID@3815,registry:ID@4296,registry:ID@4455,registry:ID@4473,registry:ID@4641,registry:ID@5315,registry:ID@8369,registry:ID@8696,registry:ID@9628,registry:ID@9634,registry:ID@9839,registry:ID@9853,registry:IID@1567,registry:IID@1990,registry:IID@2358,registry:IID@2729,registry:IID@366,registry:IID@385,registry:IID@799,registry:IID@8816,registry:IID@9312,registry:IID@9907,registry:Identity@8785,registry:Identity@9775,registry:Identity@9861,registry:Identity@9907,registry:Inbox@6053,registry:Inbox@6072,registry:InventoryGeneration@3275,registry:Key@5876,registry:Key@6209,registry:Key@6375,registry:Key@7095,registry:Key@7190,registry:Key@898,registry:Key@9640,registry:Key@9647,registry:Key@9883,registry:Key@9898,registry:Key@993,registry:Keys@10004,registry:Keys@10068,registry:LastError@1594,registry:LastError@5925,registry:LastError@6631,registry:LastError@7907,registry:LastPage@1716,registry:LastPage@6604,registry:LastPage@7966,registry:Limit@1079,registry:Limit@1094,registry:Limit@1378,registry:Limit@5444,registry:Limit@5459,registry:Limit@5716,registry:Limit@7278,registry:Limit@7293,registry:Limit@7547,registry:MessageID@5886,registry:Next@6358,registry:Next@8679,registry:NextAttempt@1679,registry:NextAttempt@6014,registry:NextAttempt@6650,registry:NextAttempt@7041,registry:NextAttempt@7929,registry:Offset@10027,registry:Offset@10048,registry:Op@254,registry:Page@8201,registry:Phase@3304,registry:Phase@6582,registry:Phase@7888,registry:ProofDigest@6481,registry:ProofKey@6461,registry:Raw@8872,registry:Raw@8896,registry:Raw@8955,registry:ReceivedAt@1645,registry:ReceivedAt@2009,registry:ReceivedAt@399,registry:ReceivedAt@5978,registry:ReceivedAt@818,registry:ReceivedAt@845,registry:Ref@8801,registry:Ref@9305,registry:Ref@9861,registry:Region@1556,registry:Region@1980,registry:Region@2348,registry:Region@2719,registry:Region@322,registry:Region@344,registry:Region@789,registry:Region@8850,registry:Walk@10004,registry:Walk@10027,registry:Walk@10048,registry:Walk@10068,registry:Walk@10141,registry:Walk@10564,registry:remote@111,registry:remote@142,registry:sql@10197,registry:sql@10368,registry:sql@1154,registry:sql@1852,registry:sql@5519,registry:sql@6138,registry:sql@6248,registry:sql@7353,registry:sql@9075,registry:sql@9518,whole:HABoxIdentity@8787,whole:HABoxIdentity@9023,whole:HABoxIdentity@9779,whole:HABoxIdentity@9865,whole:HABoxIdentity@9911,whole:HADeparture@3133,whole:HADeparture@3349,whole:HADeparture@6407,whole:HADeparture@6705,whole:HADeparture@7847,whole:HADeparture@8004,whole:HADeparture@8028,whole:HADeparture@8040,whole:HAIdentityWalk@10006,whole:HAIdentityWalk@10029,whole:HAIdentityWalk@10050,whole:HAIdentityWalk@10070,whole:HAIdentityWalk@10143,whole:HAIdentityWalk@10568,whole:HAPendingTermination@1754,whole:HAPendingTermination@1773,whole:HAPendingTermination@1780,whole:HAPendingTermination@1836,whole:HAPendingTermination@2053,whole:HAPendingTermination@284,whole:HATerminationInbox@6057,whole:HATerminationInbox@6076,whole:HATerminationInbox@6083,whole:haJournalRequest@196,whole:haJournalRequest@207,whole:haJournalResponse@10093,whole:haJournalResponse@10175,whole:haJournalResponse@1023,whole:haJournalResponse@10502,whole:haJournalResponse@10597,whole:haJournalResponse@10626,whole:haJournalResponse@1119,whole:haJournalResponse@1413,whole:haJournalResponse@1630,whole:haJournalResponse@2130,whole:haJournalResponse@230,whole:haJournalResponse@2426,whole:haJournalResponse@2492,whole:haJournalResponse@2758,whole:haJournalResponse@2880,whole:haJournalResponse@3071,whole:haJournalResponse@3158,whole:haJournalResponse@3229,whole:haJournalResponse@3378,whole:haJournalResponse@3517,whole:haJournalResponse@3643,whole:haJournalResponse@3902,whole:haJournalResponse@3955,whole:haJournalResponse@433,whole:haJournalResponse@4377,whole:haJournalResponse@4557,whole:haJournalResponse@4737,whole:haJournalResponse@4918,whole:haJournalResponse@4958,whole:haJournalResponse@5100,whole:haJournalResponse@5162,whole:haJournalResponse@527,whole:haJournalResponse@5393,whole:haJournalResponse@5484,whole:haJournalResponse@5751,whole:haJournalResponse@5963,whole:haJournalResponse@6558,whole:haJournalResponse@6734,whole:haJournalResponse@6817,whole:haJournalResponse@7079,whole:haJournalResponse@7220,whole:haJournalResponse@7318,whole:haJournalResponse@7582,whole:haJournalResponse@7803,whole:haJournalResponse@7873,whole:haJournalResponse@8163,whole:haJournalResponse@8438,whole:haJournalResponse@8508,whole:haJournalResponse@8724,whole:haJournalResponse@882,whole:haJournalResponse@8975,whole:haJournalResponse@9052,whole:haJournalResponse@9351,whole:haJournalResponse@9417,whole:haJournalResponse@9452,whole:haJournalResponse@9713,whole:remoteClient@113,whole:remoteClient@144 1b4807ffa0d1797f5a865f9536ad2c21f49cddf0d95b1c767920cbe780600260
-@legacy 06fac8613e932dd4b64e8f28f55f564f06b7ece0e3560158f4326a9690e05034 internal/registry/ha_journal.go Registry.migrateHAJournal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Add compact per-account/region/iid pending rows to the existing registry, with durable retry and hourly page times. No new database path or receipt storage. file:Exec@57,registry:sql@57 d7af8a83e7ada4afbe4c3c570dc5da84978c99f2ba689867f8de2830966756b3
-@legacy 176f4eb8774a78e07b32ad7da98e2f3633a0798831b92f9be0145a2f064db393 internal/registry/ha_journal.go type haJournalRequest legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Carry compact pending hints through the existing registry RPC, with no new authority. file:Walk@224 8a86816d871aea456d6c1041ea85bbbbfe0db30d8ba332fc8dffcd0f9b2e1a4e
-@legacy ce1a153748c87c297cdacdd8bde8ef5ae554c026f2bd28f4c34476c4e043c852 internal/registry/ha_journal.go type haJournalResponse legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Return compact pending-hint pages from the existing registry RPC. file:Walk@153 f7de0de74e39a22195ce82b7e7cdd811382efbc06dc9034182fe2078cb84ba6b
+@legacy a6be7d6565da6440d8f3d614b10f3f7c02c6462d372b5c70a0206dd28e5570e2 internal/registry/ha_journal.go Registry.haJournal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Add atomic compact hint enrollment, bounded due reads, received-time guarded removal and hourly page claims. Retain old inbox APIs for migration, no queue receipt or authority bit. All reads/writes stay in the existing SQLite registry with remote parity. B4: Extend the existing registry journal/schema/RPC with scan state, guarded completion phases, durable bounded retry count and one receiver-wide identity summary claim/count. All state stays in the existing database; no queue receipt is persisted and no import/start authority is granted by an inbox entry. file:QueryContext@1372,file:QueryContext@6108,file:QueryContext@7942,file:QueryRowContext@10892,file:QueryRowContext@11742,file:QueryRowContext@289,file:QueryRowContext@3529,file:QueryRowContext@4307,file:QueryRowContext@5385,file:QueryRowContext@5585,file:QueryRowContext@8812,file:Walk@11378,file:Walk@11401,file:Walk@11422,file:Walk@11442,file:Walk@11515,file:Walk@11938,registry:Account@10205,registry:Account@1762,registry:Account@2187,registry:Account@2555,registry:Account@3297,registry:Account@516,registry:Account@996,registry:At@1589,registry:At@2548,registry:At@2595,registry:At@2936,registry:At@2955,registry:At@3262,registry:At@3763,registry:At@3780,registry:At@3857,registry:At@4519,registry:At@4903,registry:At@5120,registry:At@5930,registry:At@5949,registry:At@6298,registry:At@8129,registry:At@9233,registry:At@9736,registry:At@9761,registry:Body@5082,registry:Body@5241,registry:Body@5910,registry:Body@6491,registry:Code@10062,registry:Code@3289,registry:Code@6956,registry:Code@9024,registry:Code@9052,registry:Code@9072,registry:Count@370,registry:Departure@6994,registry:Departures@8589,registry:Departures@8613,registry:Digest@10285,registry:Found@11166,registry:Found@11198,registry:Found@2723,registry:Found@3090,registry:Found@4999,registry:Found@9897,registry:HAJournal@225,registry:Hint@2052,registry:Hint@2269,registry:Hint@500,registry:Hints@1968,registry:Hints@1987,registry:ID@10070,registry:ID@11002,registry:ID@11008,registry:ID@11213,registry:ID@11227,registry:ID@3620,registry:ID@4078,registry:ID@4404,registry:ID@4885,registry:ID@5044,registry:ID@5062,registry:ID@5230,registry:ID@5904,registry:ID@8881,registry:ID@9525,registry:ID@9743,registry:IID@1017,registry:IID@10190,registry:IID@10686,registry:IID@11281,registry:IID@1785,registry:IID@2208,registry:IID@2576,registry:IID@3318,registry:IID@584,registry:IID@603,registry:Identity@10159,registry:Identity@11149,registry:Identity@11235,registry:Identity@11281,registry:Inbox@6642,registry:Inbox@6661,registry:InventoryGeneration@3864,registry:Key@11014,registry:Key@11021,registry:Key@1116,registry:Key@11257,registry:Key@11272,registry:Key@1211,registry:Key@6465,registry:Key@6798,registry:Key@6964,registry:Key@7684,registry:Key@7779,registry:Keys@11378,registry:Keys@11442,registry:LastError@1812,registry:LastError@6514,registry:LastError@7220,registry:LastError@8496,registry:LastPage@1934,registry:LastPage@7193,registry:LastPage@8555,registry:Limit@1297,registry:Limit@1312,registry:Limit@1596,registry:Limit@6033,registry:Limit@6048,registry:Limit@6305,registry:Limit@7867,registry:Limit@7882,registry:Limit@8136,registry:MessageID@6475,registry:Next@10053,registry:Next@6947,registry:Next@9289,registry:Next@9304,registry:NextAttempt@1897,registry:NextAttempt@6603,registry:NextAttempt@7239,registry:NextAttempt@7630,registry:NextAttempt@8518,registry:Offset@11401,registry:Offset@11422,registry:Op@254,registry:Page@9575,registry:Phase@3893,registry:Phase@7171,registry:Phase@8477,registry:ProofDigest@7070,registry:ProofKey@7050,registry:Raw@10246,registry:Raw@10270,registry:Raw@10329,registry:ReceivedAt@1036,registry:ReceivedAt@1063,registry:ReceivedAt@1863,registry:ReceivedAt@2227,registry:ReceivedAt@617,registry:ReceivedAt@6567,registry:Ref@10175,registry:Ref@10679,registry:Ref@11235,registry:Region@1007,registry:Region@10224,registry:Region@1774,registry:Region@2198,registry:Region@2566,registry:Region@3308,registry:Region@540,registry:Region@562,registry:RetryCount@9098,registry:RetryCount@9252,registry:RetryCount@9328,registry:RetryCount@9347,registry:Walk@11378,registry:Walk@11401,registry:Walk@11422,registry:Walk@11442,registry:Walk@11515,registry:Walk@11938,registry:remote@111,registry:remote@142,registry:sql@10449,registry:sql@10892,registry:sql@11571,registry:sql@11742,registry:sql@1372,registry:sql@2070,registry:sql@289,registry:sql@6108,registry:sql@6727,registry:sql@6837,registry:sql@7942,whole:HABoxIdentity@10161,whole:HABoxIdentity@10397,whole:HABoxIdentity@11153,whole:HABoxIdentity@11239,whole:HABoxIdentity@11285,whole:HADeparture@3722,whole:HADeparture@3938,whole:HADeparture@6996,whole:HADeparture@7294,whole:HADeparture@8436,whole:HADeparture@8593,whole:HADeparture@8617,whole:HADeparture@8629,whole:HADeparture@8983,whole:HADeparture@9397,whole:HAIdentityWalk@11380,whole:HAIdentityWalk@11403,whole:HAIdentityWalk@11424,whole:HAIdentityWalk@11444,whole:HAIdentityWalk@11517,whole:HAIdentityWalk@11942,whole:HAPendingTermination@1972,whole:HAPendingTermination@1991,whole:HAPendingTermination@1998,whole:HAPendingTermination@2054,whole:HAPendingTermination@2271,whole:HAPendingTermination@502,whole:HATerminationInbox@6646,whole:HATerminationInbox@6665,whole:HATerminationInbox@6672,whole:haJournalRequest@196,whole:haJournalRequest@207,whole:haJournalRequest@476,whole:haJournalResponse@10098,whole:haJournalResponse@10349,whole:haJournalResponse@10426,whole:haJournalResponse@10725,whole:haJournalResponse@10791,whole:haJournalResponse@10826,whole:haJournalResponse@1100,whole:haJournalResponse@11087,whole:haJournalResponse@11467,whole:haJournalResponse@11549,whole:haJournalResponse@11876,whole:haJournalResponse@11971,whole:haJournalResponse@12000,whole:haJournalResponse@1241,whole:haJournalResponse@1337,whole:haJournalResponse@1631,whole:haJournalResponse@1848,whole:haJournalResponse@230,whole:haJournalResponse@2348,whole:haJournalResponse@2644,whole:haJournalResponse@2710,whole:haJournalResponse@3006,whole:haJournalResponse@3075,whole:haJournalResponse@3347,whole:haJournalResponse@3469,whole:haJournalResponse@3660,whole:haJournalResponse@3747,whole:haJournalResponse@3818,whole:haJournalResponse@390,whole:haJournalResponse@3967,whole:haJournalResponse@4106,whole:haJournalResponse@4232,whole:haJournalResponse@4491,whole:haJournalResponse@4544,whole:haJournalResponse@4966,whole:haJournalResponse@5146,whole:haJournalResponse@5326,whole:haJournalResponse@5507,whole:haJournalResponse@5547,whole:haJournalResponse@5689,whole:haJournalResponse@5751,whole:haJournalResponse@5982,whole:haJournalResponse@6073,whole:haJournalResponse@6340,whole:haJournalResponse@651,whole:haJournalResponse@6552,whole:haJournalResponse@7147,whole:haJournalResponse@7323,whole:haJournalResponse@7406,whole:haJournalResponse@745,whole:haJournalResponse@7668,whole:haJournalResponse@7809,whole:haJournalResponse@7907,whole:haJournalResponse@8171,whole:haJournalResponse@8392,whole:haJournalResponse@8462,whole:haJournalResponse@8752,whole:haJournalResponse@8921,whole:haJournalResponse@9008,whole:haJournalResponse@9428,whole:haJournalResponse@9554,whole:haJournalResponse@9812,whole:haJournalResponse@9882,whole:remoteClient@113,whole:remoteClient@144 ca46baec35186a39601ae3b782766c08f5476e1c0f4b7c727fa396f676ef2c76
+@legacy f4be706e6a9fd0052c0047bdce81708b7dea5f320d633351a41cc8b08138315f internal/registry/ha_journal.go Registry.migrateHAJournal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Add compact per-account/region/iid pending rows to the existing registry, with durable retry and hourly page times. No new database path or receipt storage. B4: Extend the existing registry journal/schema/RPC with scan state, guarded completion phases, durable bounded retry count and one receiver-wide identity summary claim/count. All state stays in the existing database; no queue receipt is persisted and no import/start authority is granted by an inbox entry. file:Exec@57,registry:sql@57 908269abe556b65187bfe8472e3a0fc187cd4d393a39fb0e1ae96d93bbbf5732
+@legacy 0846757b3b6d55ae3840c0d2f7bc7f0bd2d65d18f7d5eeb12bd4cbcb85747989 internal/registry/ha_journal.go type haJournalRequest legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Carry compact pending hints through the existing registry RPC, with no new authority. B4: Extend the existing registry journal/schema/RPC with scan state, guarded completion phases, durable bounded retry count and one receiver-wide identity summary claim/count. All state stays in the existing database; no queue receipt is persisted and no import/start authority is granted by an inbox entry. file:Walk@224 90f9a7d36396dbab45329af08fa6cf62fa9b57e280854ffcfff86f62dab35bb5
+@legacy 3583838d09725a53dc1286eefdf8f58625dd56de81df29b9788c5e124c613e32 internal/registry/ha_journal.go type haJournalResponse legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Return compact pending-hint pages from the existing registry RPC. B4: Extend the existing registry journal/schema/RPC with scan state, guarded completion phases, durable bounded retry count and one receiver-wide identity summary claim/count. All state stays in the existing database; no queue receipt is persisted and no import/start authority is granted by an inbox entry. file:Walk@197 b940765a049b21fa944ea9c2a98150001bfe1284c110bb057715a4e113704e7d
+@legacy 0c8a3d7a92916bb2f972f2d7e9052a5ab94db031c904ceae4c4bdb7654bf66bd internal/registry/ha_scan.go Registry.Departure legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read/write versioned scan checkpoints in the existing SQLite registry and existing remote protocol. Atomically compare checkpoint version and phase ordering; retain original authority observations, host outcomes and deletion/index recovery state. No new filesystem path or executable input. registry:Departures@213,registry:Departures@284,whole:HADeparture@217,whole:HADeparture@288 9641dcf0192c05212b76d7b77344529cb93c5cc2ad63ff548ad99ef8f01afece
+@legacy 1d57692d03b9259232b0b60624b6f7e6264c53ae5661e16fcf0335e50f1d37c9 internal/registry/ha_scan.go Registry.DepartureScan legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read/write versioned scan checkpoints in the existing SQLite registry and existing remote protocol. Atomically compare checkpoint version and phase ordering; retain original authority observations, host outcomes and deletion/index recovery state. No new filesystem path or executable input. registry:Scan@168,whole:HADepartureScan@172 b426bd8aa4a758f1be69ee479167f71449ae83dbc92789ba055c6ec274b3521f
+@legacy d9309f573bc4d00264fd37e111977e047cf9455078d719f658a228fbc388e6bc internal/registry/ha_scan.go Registry.SaveDepartureScan legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read/write versioned scan checkpoints in the existing SQLite registry and existing remote protocol. Atomically compare checkpoint version and phase ordering; retain original authority observations, host outcomes and deletion/index recovery state. No new filesystem path or executable input. whole:HADepartureScan@186,whole:HADepartureScan@192 11aca6e901a5856f0fff93b9536ecff857d9c07852b72b071bf552a2b893bbec
+@legacy c5cb937664f3b0d82b607cb96f5c93b7b146a2009b3441ef882f1024e16814c4 internal/registry/ha_scan.go Registry.departureScanJournal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read/write versioned scan checkpoints in the existing SQLite registry and existing remote protocol. Atomically compare checkpoint version and phase ordering; retain original authority observations, host outcomes and deletion/index recovery state. No new filesystem path or executable input. file:QueryRowContext@1096,file:QueryRowContext@218,file:QueryRowContext@723,registry:Code@1598,registry:Code@2298,registry:Departures@621,registry:ID@1166,registry:ID@1886,registry:ID@2044,registry:ID@2306,registry:ID@330,registry:ID@800,registry:LastError@531,registry:LastPage@588,registry:NextAttempt@552,registry:Op@122,registry:Op@680,registry:Phase@513,registry:Scan@1644,registry:Scan@1756,registry:Scan@2050,registry:Scan@927,registry:Version@1652,registry:Version@1756,registry:Version@1898,registry:Version@2033,registry:Version@2050,registry:sql@218,registry:sql@723,whole:HADeparture@471,whole:HADeparture@625,whole:HADeparture@652,whole:HADepartureScan@1646,whole:HADepartureScan@1691,whole:HADepartureScan@1758,whole:HADepartureScan@2052,whole:HADepartureScan@931,whole:haJournalResponse@1035,whole:haJournalResponse@1208,whole:haJournalResponse@1617,whole:haJournalResponse@1720,whole:haJournalResponse@2095,whole:haJournalResponse@2163,whole:haJournalResponse@2197,whole:haJournalResponse@2335,whole:haJournalResponse@2355,whole:haJournalResponse@405,whole:haJournalResponse@498,whole:haJournalResponse@664,whole:haJournalResponse@865,whole:haJournalResponse@950 db0e5a1d1460bd4ee24a1d4ee4b127ff2a1a98c4bb7948bb95adefcf93b68cba
@legacy 15e8e57aa35412027f3907fd0de751274f9e72641e5c16f6da4b88cb2acf7a37 internal/registry/timers.go Registry.AdvanceDutyTimer legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Update only local recurring timer progress with registration, DueAt and NextAt comparisons. Read timer fields and existing registry sql/remote handles; no last-delivery stamp, once deletion or external path. file:Exec@218,registry:DueAt@416,registry:Host@384,registry:Kind@143,registry:Name@392,registry:NextAt@171,registry:NextAt@425,registry:Registration@400,registry:remote@77,registry:sql@218,whole:remoteClient@79 ce0f893ed21cc2f5df3ca365f9b27d9904b969fd8fff1d68b4cd4f4676d0bb69
@legacy 7c6c9fedebd681f46078f51a51142fb1c5df461465e20fb86abf88bf3a2bb964 internal/schedule/runner.go OldDutyTick legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Read timer kind and natural due occurrence; only recurring occurrences at least 15 minutes old qualify. No writes. registry:Kind@82,whole:Timer@71 b7f99aa2e76858e06675d9aa6b9266600423714cfd7585860eeed12021eaa0f0
@legacy 351bcef78f571f8c2b6d857aa635cc7e6806782b7a9741ec83fd10c7696da63f internal/schedule/runner.go Runner.fireOwned legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Existing fire body moved beneath admission; deferred delivery now returns without recording a failure. Same token preparation, parsing, guarded row checks and delivery authority. registry:Host@248,registry:Host@390,registry:Host@696,registry:Host@842,registry:Name@257,registry:Name@399,registry:Spec@153,registry:Spec@265,whole:Route@1010,whole:Route@1207,whole:Route@1509,whole:Route@1572,whole:Route@1776,whole:Route@667,whole:Route@747,whole:Route@773,whole:Route@884,whole:Timer@1014,whole:Timer@113,whole:Timer@1211,whole:Timer@1311,whole:Timer@1513,whole:Timer@1780,whole:Timer@322,whole:Timer@888 6cfedad07127980fe70c6206ec8e2f994c2b6ffc2017b60ddaaeba4faeb0e25f
@@ -96,7 +106,7 @@ internal/registry/registry.go Registry.migrate legacy accepted-legacy accepted-l
internal/activator/haadopt.go ExecBackend.adoptionCurrent legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Read the current registry route and authoritative lifetime index/record; compare Pair, account, app, DB path, kind and admission fields before effects. Refusal only. registry:Account@222,registry:Account@237,registry:App@251,registry:App@262,registry:DBPath@272,registry:DBPath@286,registry:HoldOp@322,registry:Host@128,registry:ImportGate@342,registry:Kind@299,registry:Kind@311,registry:Replica@366,registry:Status@401,registry:Tunnel@381,whole:Pair@214,whole:Route@174,whole:Route@202,whole:Route@487 5254a172500177ca70cdaa8a04eca26977bd3494d40354ac44904ad9dd4b9ff7
internal/activator/haadopt.go ExecBackend.adoptionWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Read only the configured files manifest and its validated wake object. Validate wire state and reuse only bytes already checked against an equal digest; never fetch DB, file-tree or secret objects. registry:Sequence@1148,registry:Sequence@745,registry:WakeDigest@1168,registry:WakeDigest@646,registry:WakeDigest@684,whole:HAWakeImport@1137,whole:HAWakeImport@1198,whole:HAWakeImport@548,whole:HAWakeImport@646,whole:HAWakeImport@684,whole:HAWakeImport@732,whole:HAWakeImport@778 492e282c3a6c817c6818226bbd554c7ecb02c284b828bceb86edb21670d5927a
internal/activator/haadopt.go ExecBackend.bindDutyLifetime legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Read existing local duty revision and bind only current record facts to the registry Pair; changed binding invalidates old authority and receipt access. B2 fix r1: delegate to the shared DutyStore binding helper; the same current-record precondition and guarded Pair/revision binding remain. whole:Route@164 3c2b541b493ce0a7d41941c05de80319702d7004ad3f06c109c5c6ab774dad03
-internal/activator/haadopt.go Service.AdoptHost legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Serialize through the existing host operation state. Read local route/revision/receipt plus configured lock/manifest/wake objects; use only restricted ordinary acquire, exact guarded restore, ordinary unclean release and verified readback for adoption. No process launch, local-copy reuse or secret access. B3: pass the optional shared durable termination proof adapter into the existing restricted finalizer acquire. The adapter validates the exact classified peer and current host lifetime, uses the acquire data-bucket client, and cannot bypass expiry or CAS. No new read in this unit. registry:AcquiredGeneration@2326,registry:AcquiredGeneration@2699,registry:AcquiredGeneration@3477,registry:AcquiredGeneration@4089,registry:AcquiredGeneration@4180,registry:AcquiredGeneration@4819,registry:AcquiredGeneration@4910,registry:DepartureIID@1797,registry:DepartureIID@5418,registry:DepartureRef@1761,registry:DepartureRef@5402,registry:ExpectedPair@7536,registry:Host@1162,registry:Host@1258,registry:Host@1330,registry:Host@1399,registry:Host@1665,registry:Host@2040,registry:Host@2543,registry:Host@2880,registry:Host@3267,registry:Host@5231,registry:Host@5652,registry:Host@5837,registry:Host@6449,registry:Host@7298,registry:Host@7600,registry:Host@8163,registry:Host@861,registry:Host@959,registry:Lifetime@5454,registry:Lifetime@7505,registry:LockETag@5489,registry:LockGeneration@1833,registry:LockGeneration@5501,registry:Phase@2658,registry:Phase@2675,registry:Phase@3017,registry:Phase@3055,registry:Phase@3111,registry:Phase@4121,registry:Phase@4213,registry:Phase@4763,registry:Phase@4851,registry:Receipt@5478,registry:Revision@2899,registry:Revision@5466,registry:Sequence@2803,registry:Sequence@2823,registry:WakeDigest@2762,registry:WakeDigest@2784,whole:HAAdoption@2916,whole:HAAdoption@5793,whole:HAWakeImport@2745,whole:HAWakeImport@5373,whole:HAWakeImport@5389,whole:HAWakeImport@5397,whole:HAWakeImport@5671,whole:HAWakeImport@7307,whole:HAWakeImport@7609,whole:HAWakeImport@7701,whole:Pair@2893,whole:Pair@5665,whole:Pair@7542,whole:Pair@7562,whole:Route@1128,whole:Route@1171,whole:Route@1178,whole:Route@138,whole:Route@193,whole:Route@2475,whole:Route@3177,whole:Route@4490,whole:Route@453,whole:Route@531,whole:Route@5320,whole:Route@6592,whole:Route@6637,whole:Route@6809,whole:Route@723,whole:Route@7394,whole:Route@889 e43bac579369bb989e033798a2595ada412b77348a33a1e75bb2548828df86db
+internal/activator/haadopt.go Service.AdoptHost legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Serialize through the existing host operation state. Read local route/revision/receipt plus configured lock/manifest/wake objects; use only restricted ordinary acquire, exact guarded restore, ordinary unclean release and verified readback for adoption. No process launch, local-copy reuse or secret access. B3: pass the optional shared durable termination proof adapter into the existing restricted finalizer acquire. The adapter validates the exact classified peer and current host lifetime, uses the acquire data-bucket client, and cannot bypass expiry or CAS. No new read in this unit. B4: A first scanner import may reuse its staging lock observation; the ordinary acquire still rereads and compares the exact ETag/generation and expiry. Existing receipt replay keeps its fresh read. No new read path or takeover authority. registry:AcquiredGeneration@2549,registry:AcquiredGeneration@2922,registry:AcquiredGeneration@3700,registry:AcquiredGeneration@4312,registry:AcquiredGeneration@4403,registry:AcquiredGeneration@5042,registry:AcquiredGeneration@5133,registry:DepartureIID@1797,registry:DepartureIID@5641,registry:DepartureRef@1761,registry:DepartureRef@5625,registry:ExpectedPair@7759,registry:Host@1162,registry:Host@1258,registry:Host@1330,registry:Host@1399,registry:Host@1665,registry:Host@2040,registry:Host@2766,registry:Host@3103,registry:Host@3490,registry:Host@5454,registry:Host@5875,registry:Host@6060,registry:Host@6672,registry:Host@7521,registry:Host@7823,registry:Host@8386,registry:Host@861,registry:Host@959,registry:Lifetime@5677,registry:Lifetime@7728,registry:LockETag@5712,registry:LockGeneration@1833,registry:LockGeneration@5724,registry:Phase@2881,registry:Phase@2898,registry:Phase@3240,registry:Phase@3278,registry:Phase@3334,registry:Phase@4344,registry:Phase@4436,registry:Phase@4986,registry:Phase@5074,registry:Receipt@5701,registry:Revision@3122,registry:Revision@5689,registry:Sequence@3026,registry:Sequence@3046,registry:WakeDigest@2985,registry:WakeDigest@3007,whole:HAAdoption@3139,whole:HAAdoption@6016,whole:HAWakeImport@2968,whole:HAWakeImport@5596,whole:HAWakeImport@5612,whole:HAWakeImport@5620,whole:HAWakeImport@5894,whole:HAWakeImport@7530,whole:HAWakeImport@7832,whole:HAWakeImport@7924,whole:Pair@3116,whole:Pair@5888,whole:Pair@7765,whole:Pair@7785,whole:Route@1128,whole:Route@1171,whole:Route@1178,whole:Route@138,whole:Route@193,whole:Route@2698,whole:Route@3400,whole:Route@453,whole:Route@4713,whole:Route@531,whole:Route@5543,whole:Route@6815,whole:Route@6860,whole:Route@7032,whole:Route@723,whole:Route@7617,whole:Route@889 ef9f731116b61df9921b8a98e0b88f3e37e609fb22f569ee317419a3f8bb9f82
internal/activator/haadopt.go Service.adoptionAwakeSuccessor legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Read the configured lock and current route/lifetime to recognize an already awake local successor with strictly later generation and independently bound ref/iid. Recheck HoldsAwake before returning Superseded; no registry or lease writes. registry:Host@259,registry:Host@747,whole:Route@680 8f6636a01e491f63ba53fb1e59934574d1294455205938fda8ec9904cd96f53e
internal/activator/haadopt.go adoptionBackend legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Select the existing ExecBackend through SplitBackend using the route; no I/O. whole:Route@143,whole:Route@148 e39ed566dc3449f24f809a034b0c042a36fa725ecc363d3278a724b3a35efbaa
internal/activator/haadopt.go adoptionPair legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Read route Incarnation and ServingSeq for transaction comparisons; no I/O. registry:Incarnation@88,registry:ServingSeq@116 f483f537f1c75292004bcdc934e45f153f92df6935e082a16af6aabcc6f2a43f
@@ -120,9 +130,14 @@ internal/host/hadeparture_identity.go departureIdentities.Proof legacy accepted-
internal/host/hadeparture_identity.go departureIdentities.Resolve legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read immutable box bytes and local verified bindings; require AWS signature plus independent fixed/group binding, unique ref/iid, exact digest and known scope. Unknown walks persist one 1000-key page and at most 32 new GETs per turn; errors never prove absence. registry:Account@556,registry:Digest@393,registry:Digest@588,registry:IID@348,registry:IID@533,registry:Observation@480,registry:Raw@279,registry:Ref@304,registry:Ref@507,registry:Region@322,registry:Region@661 96fd0a43aa8f8b142b57e16e8383321b5d0dc42291c296228b57542cc67da194
internal/host/hadeparture_identity.go departureIdentities.Walk legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read immutable box bytes and local verified bindings; require AWS signature plus independent fixed/group binding, unique ref/iid, exact digest and known scope. Unknown walks persist one 1000-key page and at most 32 new GETs per turn; errors never prove absence. B3 fix r1: Read and persist per-ref/iid refusal candidates rather than a global record-validation failure. Unsigned fields only restrict unrelated classification; they never bind identity. Incomplete listing and unidentifiable fixed records keep affected unknown iids pending; known identities continue. Existing page and GET bounds remain. file:Walk@30,registry:Blocked@1088,registry:Blocked@1107,registry:Blocked@1269,registry:Blocked@1288,registry:Blocked@1541,registry:Blocked@1560,registry:Blocked@1914,registry:Blocked@1933,registry:Blocked@2091,registry:Blocked@2110,registry:Blocked@2342,registry:Blocked@860,registry:Blocked@879,registry:Cursor@2377,registry:Cursor@483,registry:Cursor@769,registry:Failed@2256,registry:Keys@2178,registry:Keys@2215,registry:Keys@2388,registry:Keys@2399,registry:Keys@2412,registry:Keys@425,registry:Keys@632,registry:Keys@695,registry:Keys@727,registry:Offset@2162,registry:Offset@2427,registry:Offset@648,registry:Offset@680,registry:Offset@734,registry:Offset@746,registry:StartedAt@186,registry:StartedAt@211,registry:StartedAt@2272,registry:StartedAt@297,registry:StartedAt@380,registry:StartedAt@532,registry:StartedAt@592,whole:HAIdentityWalk@2301,whole:HAIdentityWalk@2488 28f88eb7de68d499a95223386180c981571077fb57b9a069c4a7fd3bb15523a2
internal/host/hadeparture_identity.go departureIdentities.verify legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read immutable box bytes and local verified bindings; require AWS signature plus independent fixed/group binding, unique ref/iid, exact digest and known scope. Unknown walks persist one 1000-key page and at most 32 new GETs per turn; errors never prove absence. registry:Digest@1047,registry:IID@1034,registry:Observation@1505,registry:Observation@1521,whole:HABoxIdentity@1089,whole:HABoxIdentity@1310,whole:HABoxIdentity@1581,whole:HABoxIdentity@1607,whole:HABoxIdentity@1625,whole:HABoxIdentity@971 14fb2ded67c9bffd3bf067c1359c033eff54783dae250a4343fb0f9382e64b5d
+internal/host/hadepartures.go Controller.ackDeparture legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Inspect only local durable completion before acknowledging the current in-memory queue receipt. Never serialize a reusable receipt or use an incomplete journal row as completion. registry:Phase@177 4f864b0711b24676b5c078fb1f16835809b56b7c372b84ce8328a10fc63936ed
internal/host/hadepartures.go Controller.enqueue 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. whole:HADeparture@1398 2abe74f070cc47e528a56696aaa3fa5a85a80b6f4bbb4cf564b4d23d7d0a578d
-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. file:Walk@2642,registry:Body@1904,registry:IID@2479,registry:IID@2896,registry:IID@3249,registry:IID@3536,registry:Key@2006,registry:Key@2242,registry:LastBlocked@2797,registry:ReceivedAt@2225,registry:ReceivedAt@3180,whole:HADeparture@3815,whole:HADeparture@4783,whole:HADeparture@5106,whole:HAPendingTermination@2420,whole:HAPendingTermination@2837,whole:HAPendingTermination@3091,whole:HAPendingTermination@3313,whole:HAPendingTermination@3419,whole:HAPendingTermination@3612,whole:HATerminationInbox@1864 b7e955728be5159a9e693b8034be55ede1792057491bf09121ae10688d454d99
-internal/host/hadepartures_wiring.go armHADepartures legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3 fix r1: Install proof adapter, adoption identity and suspicion callbacks before asynchronous startup. Lazily retry the same deployment/data clients; lifetime callback reads only the current host through ExecBackend.TerminationLifetime. Add bounded structured paging for unresolved per-iid records. No new bucket, tenant input path or acquire bypass. registry:Account@3336,registry:IID@3357,registry:Region@3347 04ae5e96af238d141af9ad2acd2c66ece008156ac5f55b13dd888fb94f073404
+internal/host/hadepartures.go Controller.record legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Inspect only local durable completion before acknowledging the current in-memory queue receipt. Never serialize a reusable receipt or use an incomplete journal row as completion. registry:Phase@726,whole:HADeparture@781 dacb56df365647ec11f3fcbf00d13e8b8d94f9c8eb70ff6092a32c31ffb5d63d
+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. file:Walk@2642,registry:Body@1904,registry:IID@2479,registry:IID@2896,registry:IID@3249,registry:IID@3282,registry:IID@3748,registry:Key@2006,registry:Key@2242,registry:LastBlocked@2797,registry:ReceivedAt@2225,registry:ReceivedAt@3180,whole:HADeparture@4100,whole:HADeparture@5068,whole:HADeparture@5391,whole:HAPendingTermination@2420,whole:HAPendingTermination@2837,whole:HAPendingTermination@3091,whole:HAPendingTermination@3374,whole:HAPendingTermination@3480,whole:HAPendingTermination@3824,whole:HATerminationInbox@1864 4491ef42cf9ea18b01d9ee07502611ccc02e1caacfeb4f01e29b9820aa14a467
+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. registry:Cursor@1576,registry:Cursor@2160,registry:Cursor@2243,registry:Cursor@2255,registry:Cursor@5709,registry:Cursor@5815,registry:Cursor@6166,registry:Generation@1517,registry:Generation@1548,registry:Generation@5689,registry:Generation@5847,registry:Hosts@1632,registry:Hosts@1652,registry:Hosts@2291,registry:Hosts@2359,registry:Hosts@4254,registry:Hosts@4641,registry:Hosts@4930,registry:Hosts@5470,registry:InventoryGeneration@1450,registry:Lifetime@2320,registry:NotBefore@2669,registry:NotBefore@2710,registry:NotBefore@4222,registry:NotBefore@4611,registry:NotBefore@4894,registry:Observed@3765,registry:Observed@3919,registry:Observed@4494,registry:Observed@4528,registry:Phase@1096,registry:Phase@1493,registry:Phase@1710,registry:Phase@3479,registry:Phase@552,registry:Phase@592,registry:RecordDigest@2631,registry:RecordDigest@4551,registry:Rescan@1591,registry:Rescan@2611,registry:Rescan@3648,registry:Rescan@4668,registry:Rescan@5724,registry:Rescan@5881,registry:Rescan@6134,registry:Result@4192,registry:Result@4586,registry:Result@5436,registry:Unresolved@1610,registry:Unresolved@2540,registry:Unresolved@2730,registry:Unresolved@2923,registry:Unresolved@2987,registry:Unresolved@3098,registry:Unresolved@3426,registry:Unresolved@3687,registry:Unresolved@3836,registry:Unresolved@3954,registry:Unresolved@4030,registry:Unresolved@4142,registry:Unresolved@4682,registry:Unresolved@4761,registry:Unresolved@4955,registry:Unresolved@5199,registry:Unresolved@5322,registry:Unresolved@5743,registry:Unresolved@5773,registry:Unresolved@5997,registry:Unresolved@6145,registry:Unresolved@6182,registry:Version@5158,whole:HADeparture@1803,whole:HADeparture@1918,whole:HADeparture@2074,whole:HADeparture@268,whole:HADeparture@310,whole:HADeparture@3762,whole:HADeparture@5265,whole:HADeparture@6413,whole:HADepartureHostScan@1634,whole:HADepartureHostScan@1654,whole:HADepartureHostScan@2293,whole:HADepartureHostScan@2361,whole:HADepartureHostScan@2395,whole:HADepartureHostScan@4256,whole:HADepartureHostScan@4272,whole:HADepartureHostScan@4313,whole:HADepartureHostScan@4643,whole:HADepartureHostScan@4659,whole:HADepartureHostScan@4932,whole:HADepartureHostScan@4948,whole:HADepartureHostScan@5472,whole:HADepartureHostScan@5488,whole:HADepartureScan@5119,whole:HADepartureScan@6267 f5307d3dc3f9320c40faf90a0eead9974bbf4559fd4db7cf600c458333910bcc
+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. registry:Cursor@1125,registry:Cursor@2951,registry:DeleteUncertain@1327,registry:DeleteUncertain@2878,registry:DeleteUncertain@3127,registry:DeleteUncertain@3467,registry:EdgesETag@1277,registry:EdgesETag@1306,registry:EdgesETag@2853,registry:Generation@1107,registry:Generation@1161,registry:Generation@2908,registry:Hosts@4458,registry:InventoryGeneration@1212,registry:PermissionAlerted@3502,registry:PermissionAlerted@3530,registry:Phase@152,registry:Phase@3006,registry:Phase@4037,registry:Phase@422,registry:Phase@460,registry:Phase@495,registry:Phase@535,registry:Phase@918,registry:Rescan@1141,registry:Rescan@2930,registry:Version@407,whole:HADeparture@205,whole:HADeparture@3758,whole:HADeparture@3903,whole:HADeparture@4235,whole:HADeparture@4507,whole:HADepartureHostScan@4460,whole:HADepartureScan@385 e68cf3679f8406ab81d78db2a0aaf39fefeb7b36edf45a3335dfdd19b04fe95a
+internal/host/hadepartures_scan.go Controller.retryScan legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read only the bound departure to persist bounded retry timing and the existing hourly per-departure page claim. No completion authority. whole:HADeparture@556 6a101e3b2eaa3b2e270f94cc405695d021629a8a4d12d49f9a607eb495af4f61
+internal/host/hadepartures_wiring.go armHADepartures legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3 fix r1: Install proof adapter, adoption identity and suspicion callbacks before asynchronous startup. Lazily retry the same deployment/data clients; lifetime callback reads only the current host through ExecBackend.TerminationLifetime. Add bounded structured paging for unresolved per-iid records. No new bucket, tenant input path or acquire bypass. B4: Wire the shared lock reader and existing AdoptHost entry. Read local route, Pair and duty revision only after authoritative inventory eligibility; bind its record lifetime and refuse missing/mismatched local routes. No route synthesis or pool widening. registry:Account@3494,registry:Account@7029,registry:App@7056,registry:IID@3515,registry:Incarnation@7216,registry:Pool@7075,registry:Region@3505,registry:Region@7096,registry:Revision@7451,registry:Revision@7848,registry:ServingSeq@7244,whole:DutyState@7570,whole:Pair@7433,whole:Pair@7826,whole:Pair@7832,whole:Route@7016,whole:Route@7725 cdfee30d90a7080e23a03638b0770886fcdf76998d08fd4345233350bd28059f
internal/host/runs.go runsWorker.dutyStillOwned legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Read route HA/host and existing service classification; after sink construction require an HA route still held awake locally before RunPick. Refusal only. registry:HA@309,registry:Host@287,whole:Route@237 d7b9c563b32e042e798ffbd98633be9a8eb13eaa68b574693be5937b1cd95ded
internal/host/runs.go runsWorker.pickupOwned legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Gate pickup and detached exec. When the detached gate refuses before exec, finish with the existing RefusedIncarnation result, close the picked sink and forget the active handle. Existing guarded sink Finish and cleanup paths are reused; no new input or path read. whole:Route@1180,whole:Route@1946,whole:Route@2020,whole:Route@2288,whole:Route@956 8e426a60b8e738d2dec98df9788d37bcaecbc9726c745e22a39e17ddd9abfdee
internal/hostfiles/wake.go RegistryWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Convert wire timers into registry rows, checking wake version/host and shared timer grammar before effects; no I/O. B2 fix r1: adoption keeps strict validation after shared wire conversion; no I/O added. whole:HAWakeImport@142,whole:HAWakeImport@164,whole:HAWakeImport@201 4846985dc07c4bb0a2668caf66abbef5e7677b90ce6d689e60ea0612bce3b51b
@@ -146,6 +161,7 @@ internal/registry/ha_journal.go Registry.HAIdentity legacy accepted-legacy accep
internal/registry/ha_journal.go Registry.LoadHAIdentityWalk legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. file:Walk@153,registry:Walk@153,whole:HAIdentityWalk@157 d69d9bc8c006eeee4405cae920cad99ae801784edcdc7a0a39cab63323dc9ea2
internal/registry/ha_journal.go Registry.ParkTermination legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3 fix r1: Atomically coalesce a validated hint and retire its legacy inbox slot; no raw body, receipt or authority. whole:HAPendingTermination@162,whole:HAPendingTermination@168 3a67e7c2a10f28a798d7cf5c53fdabb465d12cd17e89c7a57d0d701a57105430
internal/registry/ha_journal.go Registry.PendingDepartures legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. registry:Departures@201,whole:HADeparture@205 8f92d6a1eabe3a3efe1a8432488202638562d5a4abf57bed88bba92744f08f0f
+internal/registry/ha_journal.go Registry.PendingTerminationCount legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Extend the existing registry journal/schema/RPC with scan state, guarded completion phases, durable bounded retry count and one receiver-wide identity summary claim/count. All state stays in the existing database; no queue receipt is persisted and no import/start authority is granted by an inbox entry. registry:Count@153 9dec908b7f19341743e206cfba86b005b273dcca3fa45125c2b2f29afb991153
internal/registry/ha_journal.go Registry.PendingTerminations legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3 fix r1: Read at most 32 due compact hints from the existing database. registry:Hints@210,whole:HAPendingTermination@214 023074b7cbe8181d5e30613cb7b96870b31270a720e9edd0f104c34d837169f2
internal/registry/ha_journal.go Registry.RemovePendingTermination legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3 fix r1: Remove only the observed hint version; a newer receive cannot be deleted by an older walk. whole:HAPendingTermination@161,whole:HAPendingTermination@167 4a7a692ab0553f215c9476672f512ee543073fba4f65c062ca0d7f8a58d21f65
internal/registry/ha_journal.go Registry.RetryDeparture legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. registry:Found@257 925e1db8e59d35b0b00ded0808cc5b51657fd6b318cd5c33ccde27941861a79e
@@ -153,10 +169,14 @@ internal/registry/ha_journal.go Registry.RetryPendingTermination legacy accepted
internal/registry/ha_journal.go Registry.SaveHAIdentity legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. whole:HABoxIdentity@146,whole:HABoxIdentity@156 0830d1f3450aa0bcb0f68ba3f9ced1c37312505564e4b06069bf9484770992cf
internal/registry/ha_journal.go Registry.SaveHAIdentityWalk legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. file:Walk@147,whole:HAIdentityWalk@147,whole:HAIdentityWalk@153 3964525d39325734e0eefd6130022314f8260316ceacbf2b3282b39fb1565e41
internal/registry/ha_journal.go Registry.TerminationInbox legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. registry:Inbox@205,whole:HATerminationInbox@209 5a2aca28aae1664ef5ff06613df4b22f87bb4272358e89a29df5f41e26688802
-internal/registry/ha_journal.go Registry.haJournal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Add atomic compact hint enrollment, bounded due reads, received-time guarded removal and hourly page claims. Retain old inbox APIs for migration, no queue receipt or authority bit. All reads/writes stay in the existing SQLite registry with remote parity. file:QueryContext@1154,file:QueryContext@5519,file:QueryContext@7353,file:QueryRowContext@10368,file:QueryRowContext@2940,file:QueryRowContext@3718,file:QueryRowContext@4796,file:QueryRowContext@4996,file:QueryRowContext@9518,file:Walk@10004,file:Walk@10027,file:Walk@10048,file:Walk@10068,file:Walk@10141,file:Walk@10564,registry:Account@1544,registry:Account@1969,registry:Account@2337,registry:Account@2708,registry:Account@298,registry:Account@778,registry:Account@8831,registry:At@1371,registry:At@2330,registry:At@2377,registry:At@2673,registry:At@3174,registry:At@3191,registry:At@3268,registry:At@3930,registry:At@4314,registry:At@4531,registry:At@5341,registry:At@5360,registry:At@5709,registry:At@7540,registry:At@8362,registry:At@8387,registry:Body@4493,registry:Body@4652,registry:Body@5321,registry:Body@5902,registry:Code@2700,registry:Code@6367,registry:Code@8688,registry:Departure@6405,registry:Departures@8000,registry:Departures@8024,registry:Digest@8911,registry:Found@2505,registry:Found@4410,registry:Found@8523,registry:Found@9792,registry:Found@9824,registry:HAJournal@225,registry:Hint@1834,registry:Hint@2051,registry:Hint@282,registry:Hints@1750,registry:Hints@1769,registry:ID@3031,registry:ID@3489,registry:ID@3815,registry:ID@4296,registry:ID@4455,registry:ID@4473,registry:ID@4641,registry:ID@5315,registry:ID@8369,registry:ID@8696,registry:ID@9628,registry:ID@9634,registry:ID@9839,registry:ID@9853,registry:IID@1567,registry:IID@1990,registry:IID@2358,registry:IID@2729,registry:IID@366,registry:IID@385,registry:IID@799,registry:IID@8816,registry:IID@9312,registry:IID@9907,registry:Identity@8785,registry:Identity@9775,registry:Identity@9861,registry:Identity@9907,registry:Inbox@6053,registry:Inbox@6072,registry:InventoryGeneration@3275,registry:Key@5876,registry:Key@6209,registry:Key@6375,registry:Key@7095,registry:Key@7190,registry:Key@898,registry:Key@9640,registry:Key@9647,registry:Key@9883,registry:Key@9898,registry:Key@993,registry:Keys@10004,registry:Keys@10068,registry:LastError@1594,registry:LastError@5925,registry:LastError@6631,registry:LastError@7907,registry:LastPage@1716,registry:LastPage@6604,registry:LastPage@7966,registry:Limit@1079,registry:Limit@1094,registry:Limit@1378,registry:Limit@5444,registry:Limit@5459,registry:Limit@5716,registry:Limit@7278,registry:Limit@7293,registry:Limit@7547,registry:MessageID@5886,registry:Next@6358,registry:Next@8679,registry:NextAttempt@1679,registry:NextAttempt@6014,registry:NextAttempt@6650,registry:NextAttempt@7041,registry:NextAttempt@7929,registry:Offset@10027,registry:Offset@10048,registry:Op@254,registry:Page@8201,registry:Phase@3304,registry:Phase@6582,registry:Phase@7888,registry:ProofDigest@6481,registry:ProofKey@6461,registry:Raw@8872,registry:Raw@8896,registry:Raw@8955,registry:ReceivedAt@1645,registry:ReceivedAt@2009,registry:ReceivedAt@399,registry:ReceivedAt@5978,registry:ReceivedAt@818,registry:ReceivedAt@845,registry:Ref@8801,registry:Ref@9305,registry:Ref@9861,registry:Region@1556,registry:Region@1980,registry:Region@2348,registry:Region@2719,registry:Region@322,registry:Region@344,registry:Region@789,registry:Region@8850,registry:Walk@10004,registry:Walk@10027,registry:Walk@10048,registry:Walk@10068,registry:Walk@10141,registry:Walk@10564,registry:remote@111,registry:remote@142,registry:sql@10197,registry:sql@10368,registry:sql@1154,registry:sql@1852,registry:sql@5519,registry:sql@6138,registry:sql@6248,registry:sql@7353,registry:sql@9075,registry:sql@9518,whole:HABoxIdentity@8787,whole:HABoxIdentity@9023,whole:HABoxIdentity@9779,whole:HABoxIdentity@9865,whole:HABoxIdentity@9911,whole:HADeparture@3133,whole:HADeparture@3349,whole:HADeparture@6407,whole:HADeparture@6705,whole:HADeparture@7847,whole:HADeparture@8004,whole:HADeparture@8028,whole:HADeparture@8040,whole:HAIdentityWalk@10006,whole:HAIdentityWalk@10029,whole:HAIdentityWalk@10050,whole:HAIdentityWalk@10070,whole:HAIdentityWalk@10143,whole:HAIdentityWalk@10568,whole:HAPendingTermination@1754,whole:HAPendingTermination@1773,whole:HAPendingTermination@1780,whole:HAPendingTermination@1836,whole:HAPendingTermination@2053,whole:HAPendingTermination@284,whole:HATerminationInbox@6057,whole:HATerminationInbox@6076,whole:HATerminationInbox@6083,whole:haJournalRequest@196,whole:haJournalRequest@207,whole:haJournalResponse@10093,whole:haJournalResponse@10175,whole:haJournalResponse@1023,whole:haJournalResponse@10502,whole:haJournalResponse@10597,whole:haJournalResponse@10626,whole:haJournalResponse@1119,whole:haJournalResponse@1413,whole:haJournalResponse@1630,whole:haJournalResponse@2130,whole:haJournalResponse@230,whole:haJournalResponse@2426,whole:haJournalResponse@2492,whole:haJournalResponse@2758,whole:haJournalResponse@2880,whole:haJournalResponse@3071,whole:haJournalResponse@3158,whole:haJournalResponse@3229,whole:haJournalResponse@3378,whole:haJournalResponse@3517,whole:haJournalResponse@3643,whole:haJournalResponse@3902,whole:haJournalResponse@3955,whole:haJournalResponse@433,whole:haJournalResponse@4377,whole:haJournalResponse@4557,whole:haJournalResponse@4737,whole:haJournalResponse@4918,whole:haJournalResponse@4958,whole:haJournalResponse@5100,whole:haJournalResponse@5162,whole:haJournalResponse@527,whole:haJournalResponse@5393,whole:haJournalResponse@5484,whole:haJournalResponse@5751,whole:haJournalResponse@5963,whole:haJournalResponse@6558,whole:haJournalResponse@6734,whole:haJournalResponse@6817,whole:haJournalResponse@7079,whole:haJournalResponse@7220,whole:haJournalResponse@7318,whole:haJournalResponse@7582,whole:haJournalResponse@7803,whole:haJournalResponse@7873,whole:haJournalResponse@8163,whole:haJournalResponse@8438,whole:haJournalResponse@8508,whole:haJournalResponse@8724,whole:haJournalResponse@882,whole:haJournalResponse@8975,whole:haJournalResponse@9052,whole:haJournalResponse@9351,whole:haJournalResponse@9417,whole:haJournalResponse@9452,whole:haJournalResponse@9713,whole:remoteClient@113,whole:remoteClient@144 1b4807ffa0d1797f5a865f9536ad2c21f49cddf0d95b1c767920cbe780600260
-internal/registry/ha_journal.go Registry.migrateHAJournal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Add compact per-account/region/iid pending rows to the existing registry, with durable retry and hourly page times. No new database path or receipt storage. file:Exec@57,registry:sql@57 d7af8a83e7ada4afbe4c3c570dc5da84978c99f2ba689867f8de2830966756b3
-internal/registry/ha_journal.go type haJournalRequest legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Carry compact pending hints through the existing registry RPC, with no new authority. file:Walk@224 8a86816d871aea456d6c1041ea85bbbbfe0db30d8ba332fc8dffcd0f9b2e1a4e
-internal/registry/ha_journal.go type haJournalResponse legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Return compact pending-hint pages from the existing registry RPC. file:Walk@153 f7de0de74e39a22195ce82b7e7cdd811382efbc06dc9034182fe2078cb84ba6b
+internal/registry/ha_journal.go Registry.haJournal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Add atomic compact hint enrollment, bounded due reads, received-time guarded removal and hourly page claims. Retain old inbox APIs for migration, no queue receipt or authority bit. All reads/writes stay in the existing SQLite registry with remote parity. B4: Extend the existing registry journal/schema/RPC with scan state, guarded completion phases, durable bounded retry count and one receiver-wide identity summary claim/count. All state stays in the existing database; no queue receipt is persisted and no import/start authority is granted by an inbox entry. file:QueryContext@1372,file:QueryContext@6108,file:QueryContext@7942,file:QueryRowContext@10892,file:QueryRowContext@11742,file:QueryRowContext@289,file:QueryRowContext@3529,file:QueryRowContext@4307,file:QueryRowContext@5385,file:QueryRowContext@5585,file:QueryRowContext@8812,file:Walk@11378,file:Walk@11401,file:Walk@11422,file:Walk@11442,file:Walk@11515,file:Walk@11938,registry:Account@10205,registry:Account@1762,registry:Account@2187,registry:Account@2555,registry:Account@3297,registry:Account@516,registry:Account@996,registry:At@1589,registry:At@2548,registry:At@2595,registry:At@2936,registry:At@2955,registry:At@3262,registry:At@3763,registry:At@3780,registry:At@3857,registry:At@4519,registry:At@4903,registry:At@5120,registry:At@5930,registry:At@5949,registry:At@6298,registry:At@8129,registry:At@9233,registry:At@9736,registry:At@9761,registry:Body@5082,registry:Body@5241,registry:Body@5910,registry:Body@6491,registry:Code@10062,registry:Code@3289,registry:Code@6956,registry:Code@9024,registry:Code@9052,registry:Code@9072,registry:Count@370,registry:Departure@6994,registry:Departures@8589,registry:Departures@8613,registry:Digest@10285,registry:Found@11166,registry:Found@11198,registry:Found@2723,registry:Found@3090,registry:Found@4999,registry:Found@9897,registry:HAJournal@225,registry:Hint@2052,registry:Hint@2269,registry:Hint@500,registry:Hints@1968,registry:Hints@1987,registry:ID@10070,registry:ID@11002,registry:ID@11008,registry:ID@11213,registry:ID@11227,registry:ID@3620,registry:ID@4078,registry:ID@4404,registry:ID@4885,registry:ID@5044,registry:ID@5062,registry:ID@5230,registry:ID@5904,registry:ID@8881,registry:ID@9525,registry:ID@9743,registry:IID@1017,registry:IID@10190,registry:IID@10686,registry:IID@11281,registry:IID@1785,registry:IID@2208,registry:IID@2576,registry:IID@3318,registry:IID@584,registry:IID@603,registry:Identity@10159,registry:Identity@11149,registry:Identity@11235,registry:Identity@11281,registry:Inbox@6642,registry:Inbox@6661,registry:InventoryGeneration@3864,registry:Key@11014,registry:Key@11021,registry:Key@1116,registry:Key@11257,registry:Key@11272,registry:Key@1211,registry:Key@6465,registry:Key@6798,registry:Key@6964,registry:Key@7684,registry:Key@7779,registry:Keys@11378,registry:Keys@11442,registry:LastError@1812,registry:LastError@6514,registry:LastError@7220,registry:LastError@8496,registry:LastPage@1934,registry:LastPage@7193,registry:LastPage@8555,registry:Limit@1297,registry:Limit@1312,registry:Limit@1596,registry:Limit@6033,registry:Limit@6048,registry:Limit@6305,registry:Limit@7867,registry:Limit@7882,registry:Limit@8136,registry:MessageID@6475,registry:Next@10053,registry:Next@6947,registry:Next@9289,registry:Next@9304,registry:NextAttempt@1897,registry:NextAttempt@6603,registry:NextAttempt@7239,registry:NextAttempt@7630,registry:NextAttempt@8518,registry:Offset@11401,registry:Offset@11422,registry:Op@254,registry:Page@9575,registry:Phase@3893,registry:Phase@7171,registry:Phase@8477,registry:ProofDigest@7070,registry:ProofKey@7050,registry:Raw@10246,registry:Raw@10270,registry:Raw@10329,registry:ReceivedAt@1036,registry:ReceivedAt@1063,registry:ReceivedAt@1863,registry:ReceivedAt@2227,registry:ReceivedAt@617,registry:ReceivedAt@6567,registry:Ref@10175,registry:Ref@10679,registry:Ref@11235,registry:Region@1007,registry:Region@10224,registry:Region@1774,registry:Region@2198,registry:Region@2566,registry:Region@3308,registry:Region@540,registry:Region@562,registry:RetryCount@9098,registry:RetryCount@9252,registry:RetryCount@9328,registry:RetryCount@9347,registry:Walk@11378,registry:Walk@11401,registry:Walk@11422,registry:Walk@11442,registry:Walk@11515,registry:Walk@11938,registry:remote@111,registry:remote@142,registry:sql@10449,registry:sql@10892,registry:sql@11571,registry:sql@11742,registry:sql@1372,registry:sql@2070,registry:sql@289,registry:sql@6108,registry:sql@6727,registry:sql@6837,registry:sql@7942,whole:HABoxIdentity@10161,whole:HABoxIdentity@10397,whole:HABoxIdentity@11153,whole:HABoxIdentity@11239,whole:HABoxIdentity@11285,whole:HADeparture@3722,whole:HADeparture@3938,whole:HADeparture@6996,whole:HADeparture@7294,whole:HADeparture@8436,whole:HADeparture@8593,whole:HADeparture@8617,whole:HADeparture@8629,whole:HADeparture@8983,whole:HADeparture@9397,whole:HAIdentityWalk@11380,whole:HAIdentityWalk@11403,whole:HAIdentityWalk@11424,whole:HAIdentityWalk@11444,whole:HAIdentityWalk@11517,whole:HAIdentityWalk@11942,whole:HAPendingTermination@1972,whole:HAPendingTermination@1991,whole:HAPendingTermination@1998,whole:HAPendingTermination@2054,whole:HAPendingTermination@2271,whole:HAPendingTermination@502,whole:HATerminationInbox@6646,whole:HATerminationInbox@6665,whole:HATerminationInbox@6672,whole:haJournalRequest@196,whole:haJournalRequest@207,whole:haJournalRequest@476,whole:haJournalResponse@10098,whole:haJournalResponse@10349,whole:haJournalResponse@10426,whole:haJournalResponse@10725,whole:haJournalResponse@10791,whole:haJournalResponse@10826,whole:haJournalResponse@1100,whole:haJournalResponse@11087,whole:haJournalResponse@11467,whole:haJournalResponse@11549,whole:haJournalResponse@11876,whole:haJournalResponse@11971,whole:haJournalResponse@12000,whole:haJournalResponse@1241,whole:haJournalResponse@1337,whole:haJournalResponse@1631,whole:haJournalResponse@1848,whole:haJournalResponse@230,whole:haJournalResponse@2348,whole:haJournalResponse@2644,whole:haJournalResponse@2710,whole:haJournalResponse@3006,whole:haJournalResponse@3075,whole:haJournalResponse@3347,whole:haJournalResponse@3469,whole:haJournalResponse@3660,whole:haJournalResponse@3747,whole:haJournalResponse@3818,whole:haJournalResponse@390,whole:haJournalResponse@3967,whole:haJournalResponse@4106,whole:haJournalResponse@4232,whole:haJournalResponse@4491,whole:haJournalResponse@4544,whole:haJournalResponse@4966,whole:haJournalResponse@5146,whole:haJournalResponse@5326,whole:haJournalResponse@5507,whole:haJournalResponse@5547,whole:haJournalResponse@5689,whole:haJournalResponse@5751,whole:haJournalResponse@5982,whole:haJournalResponse@6073,whole:haJournalResponse@6340,whole:haJournalResponse@651,whole:haJournalResponse@6552,whole:haJournalResponse@7147,whole:haJournalResponse@7323,whole:haJournalResponse@7406,whole:haJournalResponse@745,whole:haJournalResponse@7668,whole:haJournalResponse@7809,whole:haJournalResponse@7907,whole:haJournalResponse@8171,whole:haJournalResponse@8392,whole:haJournalResponse@8462,whole:haJournalResponse@8752,whole:haJournalResponse@8921,whole:haJournalResponse@9008,whole:haJournalResponse@9428,whole:haJournalResponse@9554,whole:haJournalResponse@9812,whole:haJournalResponse@9882,whole:remoteClient@113,whole:remoteClient@144 ca46baec35186a39601ae3b782766c08f5476e1c0f4b7c727fa396f676ef2c76
+internal/registry/ha_journal.go Registry.migrateHAJournal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Add compact per-account/region/iid pending rows to the existing registry, with durable retry and hourly page times. No new database path or receipt storage. B4: Extend the existing registry journal/schema/RPC with scan state, guarded completion phases, durable bounded retry count and one receiver-wide identity summary claim/count. All state stays in the existing database; no queue receipt is persisted and no import/start authority is granted by an inbox entry. file:Exec@57,registry:sql@57 908269abe556b65187bfe8472e3a0fc187cd4d393a39fb0e1ae96d93bbbf5732
+internal/registry/ha_journal.go type haJournalRequest legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Carry compact pending hints through the existing registry RPC, with no new authority. B4: Extend the existing registry journal/schema/RPC with scan state, guarded completion phases, durable bounded retry count and one receiver-wide identity summary claim/count. All state stays in the existing database; no queue receipt is persisted and no import/start authority is granted by an inbox entry. file:Walk@224 90f9a7d36396dbab45329af08fa6cf62fa9b57e280854ffcfff86f62dab35bb5
+internal/registry/ha_journal.go type haJournalResponse legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B3b: read/write bounded termination inbox, pending departures, verified identity cache and retry/cursor state in the existing SQLite registry with remote parity. No reusable receipt, arbitrary path, import/completion/start authority; retries and page times survive replay. B3 fix r1: Return compact pending-hint pages from the existing registry RPC. B4: Extend the existing registry journal/schema/RPC with scan state, guarded completion phases, durable bounded retry count and one receiver-wide identity summary claim/count. All state stays in the existing database; no queue receipt is persisted and no import/start authority is granted by an inbox entry. file:Walk@197 b940765a049b21fa944ea9c2a98150001bfe1284c110bb057715a4e113704e7d
+internal/registry/ha_scan.go Registry.Departure legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read/write versioned scan checkpoints in the existing SQLite registry and existing remote protocol. Atomically compare checkpoint version and phase ordering; retain original authority observations, host outcomes and deletion/index recovery state. No new filesystem path or executable input. registry:Departures@213,registry:Departures@284,whole:HADeparture@217,whole:HADeparture@288 9641dcf0192c05212b76d7b77344529cb93c5cc2ad63ff548ad99ef8f01afece
+internal/registry/ha_scan.go Registry.DepartureScan legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read/write versioned scan checkpoints in the existing SQLite registry and existing remote protocol. Atomically compare checkpoint version and phase ordering; retain original authority observations, host outcomes and deletion/index recovery state. No new filesystem path or executable input. registry:Scan@168,whole:HADepartureScan@172 b426bd8aa4a758f1be69ee479167f71449ae83dbc92789ba055c6ec274b3521f
+internal/registry/ha_scan.go Registry.SaveDepartureScan legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read/write versioned scan checkpoints in the existing SQLite registry and existing remote protocol. Atomically compare checkpoint version and phase ordering; retain original authority observations, host outcomes and deletion/index recovery state. No new filesystem path or executable input. whole:HADepartureScan@186,whole:HADepartureScan@192 11aca6e901a5856f0fff93b9536ecff857d9c07852b72b071bf552a2b893bbec
+internal/registry/ha_scan.go Registry.departureScanJournal legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=B4: Read/write versioned scan checkpoints in the existing SQLite registry and existing remote protocol. Atomically compare checkpoint version and phase ordering; retain original authority observations, host outcomes and deletion/index recovery state. No new filesystem path or executable input. file:QueryRowContext@1096,file:QueryRowContext@218,file:QueryRowContext@723,registry:Code@1598,registry:Code@2298,registry:Departures@621,registry:ID@1166,registry:ID@1886,registry:ID@2044,registry:ID@2306,registry:ID@330,registry:ID@800,registry:LastError@531,registry:LastPage@588,registry:NextAttempt@552,registry:Op@122,registry:Op@680,registry:Phase@513,registry:Scan@1644,registry:Scan@1756,registry:Scan@2050,registry:Scan@927,registry:Version@1652,registry:Version@1756,registry:Version@1898,registry:Version@2033,registry:Version@2050,registry:sql@218,registry:sql@723,whole:HADeparture@471,whole:HADeparture@625,whole:HADeparture@652,whole:HADepartureScan@1646,whole:HADepartureScan@1691,whole:HADepartureScan@1758,whole:HADepartureScan@2052,whole:HADepartureScan@931,whole:haJournalResponse@1035,whole:haJournalResponse@1208,whole:haJournalResponse@1617,whole:haJournalResponse@1720,whole:haJournalResponse@2095,whole:haJournalResponse@2163,whole:haJournalResponse@2197,whole:haJournalResponse@2335,whole:haJournalResponse@2355,whole:haJournalResponse@405,whole:haJournalResponse@498,whole:haJournalResponse@664,whole:haJournalResponse@865,whole:haJournalResponse@950 db0e5a1d1460bd4ee24a1d4ee4b127ff2a1a98c4bb7948bb95adefcf93b68cba
internal/registry/timers.go Registry.AdvanceDutyTimer legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Update only local recurring timer progress with registration, DueAt and NextAt comparisons. Read timer fields and existing registry sql/remote handles; no last-delivery stamp, once deletion or external path. file:Exec@218,registry:DueAt@416,registry:Host@384,registry:Kind@143,registry:Name@392,registry:NextAt@171,registry:NextAt@425,registry:Registration@400,registry:remote@77,registry:sql@218,whole:remoteClient@79 ce0f893ed21cc2f5df3ca365f9b27d9904b969fd8fff1d68b4cd4f4676d0bb69
internal/schedule/runner.go OldDutyTick legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Read timer kind and natural due occurrence; only recurring occurrences at least 15 minutes old qualify. No writes. registry:Kind@82,whole:Timer@71 b7f99aa2e76858e06675d9aa6b9266600423714cfd7585860eeed12021eaa0f0
internal/schedule/runner.go Runner.fireOwned legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Existing fire body moved beneath admission; deferred delivery now returns without recording a failure. Same token preparation, parsing, guarded row checks and delivery authority. registry:Host@248,registry:Host@390,registry:Host@696,registry:Host@842,registry:Name@257,registry:Name@399,registry:Spec@153,registry:Spec@265,whole:Route@1010,whole:Route@1207,whole:Route@1509,whole:Route@1572,whole:Route@1776,whole:Route@667,whole:Route@747,whole:Route@773,whole:Route@884,whole:Timer@1014,whole:Timer@113,whole:Timer@1211,whole:Timer@1311,whole:Timer@1513,whole:Timer@1780,whole:Timer@322,whole:Timer@888 6cfedad07127980fe70c6206ec8e2f994c2b6ffc2017b60ddaaeba4faeb0e25f
@@ -172,18 +192,19 @@ internal/activator/hawake.go ExecBackend.acquireClassified legacy accepted-legac
internal/host/schedule_wiring.go activatorDeliverer.deliverSelected legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-region-ha-p1b3b-t;basis=Wrap local delivery in WithDuty so lease loss returns a deferred control result before timer bookkeeping. Add whole-route arguments; no remote forwarding. registry:Host@539,registry:Host@821,registry:Socket@185,registry:Socket@2615,registry:Socket@861,whole:Route@1741,whole:Route@1865,whole:Route@1941,whole:Route@2014,whole:Route@759 afd339dd7acde53dc86f0f55c0a83fa41845bb23825b94ac7fb11ace3330b648
internal/schedule/runner.go Runner.fire hint E2 accepted-legacy;rev3=census-ruling-moves-offline-fixes;basis=root-route (main: J1) PROPOSED E46: captured claim selection and root journal mutation; root RPC outside service host exclusion; SQL/route data never grants root authority. Executing identity: service controller; root for inventory/retirement callbacks. moves-offline-fixes: with Skip set (only the agent's runner sets it, scheduleSkip), the row is read again before the token and a skipped host gets no token and no record; class and task unchanged;rev3=census-ruling-region-ha-p1b3b-t;basis=Call WithDuty before token preparation; record non-deferred pre-delivery wake errors through the existing retry and event policy after timerStillDue. Adds spec and whole timer/route reads for record. Advance only known non-owner recurring occurrences through the existing registration/DueAt guard; no second outcome after callback execution. registry:Spec@410,registry:Spec@626,whole:Route@125,whole:Route@200,whole:Route@269,whole:Route@454,whole:Timer@129,whole:Timer@273,whole:Timer@374,whole:Timer@458,whole:Timer@589,whole:Timer@801 7e8eb8e42de11c2c7a6f21d02a424875f74809343673be4e0009624765d63ac2
@coverage . 895e6060cdffcb52b0f697d61048fa3d5e349f033e3df8bd70fd428a9c042aa6
-@coverage internal/activator 53099eb3416e78b78b642508f9238c39a964e5703bda858ba8a672bde2314149
+@coverage internal/activator fcf7a7248e4dfa70fbccb2112c26358c0d818b3f1f4504f14930c968d84bf62a
@coverage internal/awsterminations 61f7e5a5f85d4eed6b855f7b9f3061c72ee0c23b871745d4ab0c75fd16f7c20d
@coverage internal/boxchoice 6b3d6aaacf54a2c2705f5c93d7799e0d9790712e165c90ead6de91e845ae8b09
@coverage internal/edge 6c07ae94aeedd5a5fed9cab1c2cc8c2997fd0f49ae280f94da01ce6bc84f28f3
-@coverage internal/hadeparture a1d64e071e205b51acd7df2d35ed885a418dc55d2eb441f233c9dc8ddd2c69b8
-@coverage internal/host c05e44b979abbb257fb417e78c6e53cb8d468e5084ddc35a1518a054b910fd8f
+@coverage internal/hadeparture 96414c792279b1616004f4d5a3ec00b5eb9f7da3a71888c5a70f85f6649ab0e4
+@coverage internal/host 50ed2adf575cec265cf08d41c48592dd4a5f3e93ba12bb9fe52a6a7e07bdbc1a
@coverage internal/hostenv 73e273b78febb9102acb9baf06b441e5001b70f5c96b38fefc64bb50c6e726a7
@coverage internal/hostfiles 21a32d89c6143031af13cb18bc1a2227353ed8595ab23bde7abd1e9d2df92eaf
-@coverage internal/lease 35133982926a6887e789700db4830b0ee344c17ec4027df1cbc0947fd9489d4e
+@coverage internal/lease acbfc3f1b82807209a60fb03ebf3fbacae40ddca6eba808e36750f1f5e0a412c
@coverage internal/provision ff304ed0b6c9445a18262ace1880fcbb2d536b49131a600a06257947bc2062ca
-@coverage internal/registry d1e244ed689578707b19528d264d5ff97e4d20f8455d3aa2ba55cc0a82b52ed9
+@coverage internal/registry 7748d4a47468851d3292449f18e3b206242f949cf1b4aa2e7afb9b6848a401a8
+@coverage internal/release d2764eeff642215672aa658ec9c10abb4d0f361bcaf2fa33238326869a3a0256
@coverage internal/schedule 45287d297f4431ec8eaa3f515ce684d5e447f99845cfa1207e4386d4897b7f3d
-@coverage internal/termfence 65b394bfc5e0ef2a96a6485da371cfee06234f689a6d5228ec1f6290707d2c72
+@coverage internal/termfence 7c996207d2d79356e5278d5bb38b636242428abd5db91a15394699546da39645
@coverage internal/timerspec 66b07dd7c4e64c11458e56e54b0c982f1baba37ea3f0ceebd3b009d170c438d9
-@fields ?,A,Account,Accounts,AcquiredGeneration,AddedAt,Addr,Addrs,Adoption,Alias,Aliases,Alive,AllowAbsent,App,Archives,Args,AssetGen,AssetsOff,Assigned,At,Attempts,B,Backing,Basis,Binding,Blocked,Body,Bucket,BuildState,By,Callback,CallbackError,CallbackFailed,Canary,Caps,CertExpiresAt,Changed,Channel,CheckedAt,Claim,ClaimIncarnation,ClaimOwner,ClaimOwnership,ClaimRowID,ClaimStamp,Class,Code,Column,Contents,CreatedAt,Cursor,DBPath,DNSCheckedAt,DNSStatus,Deadline,Default,Demand,Departure,DepartureIID,DepartureRef,Departures,Digest,DoneBefore,DrainingSince,Due,DueAt,Duty,EgressAllow,Env,EnvBefore,Environment,Error,ErrorKind,ExcludeHosts,ExpectGood,ExpectOp,ExpectPair,Expected,ExpectedPair,F,Failed,FenceGen,Field,Fleet,FleetBox,FleetBoxes,FleetLabel,Fleets,Found,From,FromDB,FromOp,FromSock,Gate,GoodDemand,GoodDigest,GoodVersion,HA,HAJournal,Hash,Health,Held,Hibernate,Hint,Hints,HoldOp,HolderEpoch,HolderIID,HolderRef,Host,Hosts,ID,IID,Id,IdValue,Identity,Idle,IdleSeconds,Import,ImportGate,Inbox,Incarnation,InventoryGeneration,Journal,Keep,Key,KeyFP,Keys,Kind,Label,LabelledAt,LastAt,LastBlocked,LastError,LastMs,LastPage,LastStatus,Lifetime,Limit,LockETag,LockGeneration,MaxRun,MaxRunSeconds,MessageID,Method,Moved,Ms,Name,Next,NextAt,NextAttempt,NextDue,NextGood,NextValue,NotBefore,Now,Number,Number64,Observation,Observed,ObservedValue,Offset,Old,On,OnConflict,Op,Original,Owner,Ownership,P,Page,Pair,Path,Paths,Phase,Platform,PolicyExpiresAt,Pool,Prefix,Prev,PrevVersion,ProofDigest,ProofKey,Provisioned,Pub,RDs,RateLimit,Raw,Receipt,ReceivedAt,RecordKey,Ref,Region,Regional,Registration,Replica,Replicas,Replication,Retirement,Revision,Route,Routes,Row,Rows,Runtime,SecretsKeyFP,SecretsKeySetAt,SecretsKeySetBy,SecretsPub,Seed,SeedID,SeedSource,Sequence,ServingSeq,ServingVersion,Size,Slug,Socket,Spec,Sqid,StartedAt,State,Stateless,Status,StatusNamed,Steering,StringMap,T,TValue,Tags,Target,Targets,Text,Timer,Timers,Times,To,ToDB,ToOp,ToSock,TokenHash,Tunnel,Type,Unit,UpdateSettings,Ver,Version,ViewKey,W,Wake,WakeDigest,WakeIncarnation,Walk,Wildcards,closed,conn,connect,ctx,d,dec,done,enc,full,input,mu,output,path,readOnly,remote,sql,wait
+@fields ?,A,Account,Accounts,AcquiredGeneration,AddedAt,Addr,Addrs,Adoption,Alias,Aliases,Alive,AllowAbsent,App,Archives,Args,AssetGen,AssetsOff,Assigned,At,Attempts,B,Backing,Basis,Binding,Blocked,Body,Bucket,BuildState,By,Callback,CallbackError,CallbackFailed,Canary,Caps,CertExpiresAt,Changed,Channel,CheckedAt,Claim,ClaimIncarnation,ClaimOwner,ClaimOwnership,ClaimRowID,ClaimStamp,Class,Code,Column,Contents,Count,CreatedAt,Cursor,DBPath,DNSCheckedAt,DNSStatus,Deadline,Default,DeleteUncertain,Demand,Departure,DepartureIID,DepartureRef,Departures,Digest,DoneBefore,DrainingSince,Due,DueAt,Duty,EdgesETag,EgressAllow,Env,EnvBefore,Environment,Error,ErrorKind,ExcludeHosts,ExpectGood,ExpectOp,ExpectPair,Expected,ExpectedPair,F,Failed,FenceGen,Field,Fleet,FleetBox,FleetBoxes,FleetLabel,Fleets,Found,From,FromDB,FromOp,FromSock,Gate,Generation,GoodDemand,GoodDigest,GoodVersion,HA,HAJournal,Hash,Health,Held,Hibernate,Hint,Hints,HoldOp,HolderEpoch,HolderIID,HolderRef,Host,Hosts,ID,IID,Id,IdValue,Identity,Idle,IdleSeconds,Import,ImportGate,Inbox,Incarnation,InventoryGeneration,Journal,Keep,Key,KeyFP,Keys,Kind,Label,LabelledAt,LastAt,LastBlocked,LastError,LastMs,LastPage,LastStatus,Lifetime,Limit,LockETag,LockGeneration,MaxRun,MaxRunSeconds,MessageID,Method,Moved,Ms,Name,Next,NextAt,NextAttempt,NextDue,NextGood,NextValue,NotBefore,Now,Number,Number64,Observation,Observed,ObservedValue,Offset,Old,On,OnConflict,Op,Original,Owner,Ownership,P,Page,Pair,Path,Paths,PermissionAlerted,Phase,Platform,PolicyExpiresAt,Pool,Prefix,Prev,PrevVersion,ProofDigest,ProofKey,Provisioned,Pub,RDs,RateLimit,Raw,Receipt,ReceivedAt,RecordDigest,RecordKey,Ref,Region,Regional,Registration,Replica,Replicas,Replication,Rescan,Result,Retirement,RetryCount,Revision,Route,Routes,Row,Rows,Runtime,Scan,SecretsKeyFP,SecretsKeySetAt,SecretsKeySetBy,SecretsPub,Seed,SeedID,SeedSource,Sequence,ServingSeq,ServingVersion,Size,Slug,Socket,Spec,Sqid,StartedAt,State,Stateless,Status,StatusNamed,Steering,StringMap,T,TValue,Tags,Target,Targets,Text,Timer,Timers,Times,To,ToDB,ToOp,ToSock,TokenHash,Tunnel,Type,Unit,Unresolved,UpdateSettings,Ver,Version,ViewKey,W,Wake,WakeDigest,WakeIncarnation,Walk,Wildcards,closed,conn,connect,ctx,d,dec,done,enc,full,input,mu,output,path,readOnly,remote,sql,wait
diff --git a/internal/registry/ha_scan.go b/internal/registry/ha_scan.go
index d9cd0fa5f..ffaa44d56 100644
--- a/internal/registry/ha_scan.go
+++ b/internal/registry/ha_scan.go
@@ -17,15 +17,16 @@ type HADepartureHostScan struct {
NotBefore time.Time
}
type HADepartureScan struct {
- Version uint64
- Generation string
- Cursor int
- Rescan bool
- Unresolved int
- Hosts map[string]HADepartureHostScan
- DeleteUncertain bool
- EdgesETag string
- PermissionAlerted bool
+ Version uint64
+ Generation string
+ InventoryGeneration string
+ Cursor int
+ Rescan bool
+ Unresolved int
+ Hosts map[string]HADepartureHostScan
+ DeleteUncertain bool
+ EdgesETag string
+ PermissionAlerted bool
}
func (r *Registry) Departure(ctx context.Context, id string) (HADeparture, error) {