carlos / platform Public

census: card and overlay for held-requests Task 5

Claims for the drain driver, the drain verbs and the start fence: the
new drain, fence and drain-socket units; MoveState, waitMove and
releaseHAClean record the report's hold and clean facts; ServeHTTP counts
requests for the connection drain. Re-proposed with
NAME=region-ha-held-build from the cumulative branch claims.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev ceb5f234f6e070afd2b3a9e132c3e3a79699ee2c parent 1b2d635
3 files changed, +70 −16
  • docs/superpowers/notes/census-proposal-region-ha-held-build.md +23 −3
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-region-ha-held-build.tsv +46 −12

Intent

Attributed to this commit: 37.1 g CO₂e (4,775,673 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on region-ha-held-build, 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-held-build.md b/docs/superpowers/notes/census-proposal-region-ha-held-build.md
index 7ee40ac0d..abff1224a 100644
--- a/docs/superpowers/notes/census-proposal-region-ha-held-build.md
+++ b/docs/superpowers/notes/census-proposal-region-ha-held-build.md
@@ -1,6 +1,6 @@
# Census approval: region-ha-held-build
-Ruling `census-ruling-region-ha-held-build`. The independent reviewer approves or rejects every change below, 27 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
+Ruling `census-ruling-region-ha-held-build`. The independent reviewer approves or rejects every change below, 41 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
| unit | change | read sites | what changed |
|---|---|---|---|
@@ -10,8 +10,11 @@ Ruling `census-ruling-region-ha-held-build`. The independent reviewer approves o
| `internal/activator/haforward.go` `Service.NoteForward` | body | unchanged (3) | returns early, changing nothing, for a ForwardSilent outcome from a peer the edge fold shows draining (spec 25.5 Silence); all other outcomes unchanged; no read added |
| `internal/activator/haforward.go` `Service.decideForward` | body | unchanged (9) | the wake snapshot is LocalDenied also when IsDraining(); only narrows local placement; no read added |
| `internal/activator/haleaseloss.go` `Service.latchHALossLocked` | body | unchanged (4) | region HA held-requests Task 2: after latching a loss, pokeMoveLocked wakes that host's held requests so they get the F-A answer; in memory only; no read added |
-| `internal/host/agent.go` `runAgent` | body | unchanged (9) | wires the drain state: svc.SetDrainingSource(boxDrain.IsDraining), svc.SetPeerDrainView(e.PeerDraining), e.SetPeerDrainedHook(svc.DropHoldersNaming); in-memory only; no read added |
+| `internal/activator/harelease.go` `Service.releaseHAClean` | body | unchanged (6) | region HA held-requests Task 5: records the written marker's clean flag on the entry (haReleaseClean) beside haReleased, for the drain report; no read added |
+| `internal/edge/edge.go` `RunWithActivatorReady` | body | unchanged (5) | region HA held-requests Task 5: registers the https and http servers with the connection drain (conns.serve) so a drain can close idle keep-alive connections; no read added |
+| `internal/host/agent.go` `runAgent` | body | unchanged (9) | wires the drain state: svc.SetDrainingSource(boxDrain.IsDraining), svc.SetPeerDrainView(e.PeerDraining), e.SetPeerDrainedHook(svc.DropHoldersNaming); in-memory only; no read added; region HA held-requests Task 5: on group members, starts the drain driver over the activator, the edge and boxDrain, and serves its root-only drain socket; no read added beyond the socket's own |
| `internal/host/edgesfile.go` `edgesFileWriteClaims` | body | unchanged (67) | writes also when DrainPublishRequired, and reports the written drain state, its ha_drain mark (transaction and publication id) and generation to DrainSource (in-memory); the file gains ha_drained and ha_drain beside the existing draining; no read added. held-requests Task 4: sets the constant ha_take=1 on the box's own file when its in-memory capabilities include region-ha-1 (this build's edge answers take requests); not from config or any read; a report other edges read, not a root decision; no read added |
+| `internal/host/group_maintenance_verbs.go` `groupMaintenanceCommand.run` | body | unchanged (1) | region HA held-requests Task 5: dispatches the new drain, drain --cancel and fence-clear verbs under the existing root, group-marker and apply-lock checks; reads only the transaction argument |
| `internal/activator/activator.go` `Service.WakeWorker` | sites | -registry:Host ×4, -whole:Route ×4 | Task 4 fix round 1: now a one-line wrapper, wakeWorker(context.Background(), rt); its body moved unchanged to wakeWorker; behaviour and reads unchanged |
| `internal/edge/forwardha.go` `Edge.frontForwardHA` | sites | +whole:Route | held-requests Task 3: calls forwardHAFollow instead of forwardHAAndNote, and when a handover answer named this box returns false so the request takes the existing local path (only when the route is locally pool-eligible); the same route reads; no read added |
| `internal/edge/haingress.go` `Edge.routeHAIngress` | sites | +whole:Route | region HA held-requests Task 2: just before frontForwardHAIngress, the handover decision moveGate runs on the already-resolved primary route rt (whole Route passed in memory); it can only hold the request, answer it with an existing refusal or forward it to a confirmed holder over the existing signed hop; no store or filesystem read added |
@@ -28,8 +31,11 @@ Recorded dispositions, which each change must still satisfy:
- `internal/activator/haforward.go` `Service.NoteForward`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Ignore canceled forwards; classify connected-holder silence for bounded revalidation and refuse stale local-entry shortcuts by pool; reads cached route under the existing locks, no external read.
- `internal/activator/haforward.go` `Service.decideForward`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): new: the second half of the old ForwardTarget body, moved unchanged: turns a holder resolution into the edge's ForwardDecision (the HA view and host reads it already made). Moved, not widened; no new read.;rev3=census-ruling-region-ha-g2-fixes;basis=Pass local eligibility into both placement decisions; supplied route only, no new external read.
- `internal/activator/haleaseloss.go` `Service.latchHALossLocked`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Retain loss state and close refusal waiters for the exact HA entry; read cached Route.HA and route value, no external read.
+- `internal/activator/harelease.go` `Service.releaseHAClean`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-p1a;basis=new: an HA entry's release, in order: host slice read empty through haHostEmpty (else errHostSliceUnproven and nothing written; the same check, moved into that helper by final fix F1), stop and join the files publisher, its final publish (2 min budget), the replica's final sync (Finish, 30 s), the local release record, then the release marker PUT (10 s), clean only when the final publish was complete and the sync and record succeeded; a failed PUT is a persisted lease obligation; +registry:Host, +whole:Route x4;rev3=census-ruling-region-ha-p1b3b-t;basis=Record advisory local-release basis only after ReleaseMarker succeeds. Add a whole-route argument to local duty bookkeeping; release order and lease authority unchanged.;rev3=census-ruling-region-ha-g2-fixes;basis=Latch unexpected lease loss before release and mark intentional release so ErrSpent alone is not treated as loss; no new read.;rev3=census-ruling-region-ha-graceful-terminate-t2;basis=Cap Final, Finish and marker contexts by the shutdown deadline and reserves; keep calls synchronous and stop proof unchanged; record successful marker completion under the service mutex. No read added.
+- `internal/edge/edge.go` `RunWithActivatorReady`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-certwarm-wake;basis=registers the cert warm's nudge on OnReload and on the home map's new served-hosts wake (#386); nudge only sends on a buffered channel; no read added, same 5 sites;rev3=census-ruling-edge-roll-blip;basis=the :80/:443 (and dev) listeners are bound on the calling goroutine with net.Listen via listen()/listenAddr (same empty-address defaults as ListenAndServe) before the serve goroutines, which now call Serve/ServeTLS on them, and one log line names the bound addresses; no read added, same 5 sites;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): the inline home-map arming (newHomeMap, one boot Refresh, Store, run) moves unchanged into the new Edge.ArmHomeMap and is called here as e.ArmHomeMap(); same refresh, same timeout, same order. The reads are moved, none added.;rev3=census-ruling-agent-start-demo-1;basis=Logs the combined explicit wildcard parents through demoWildcardDomains; no new watcher or read loop.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: invoke the local admission Close before HTTP/HTTPS draining and door shutdown in both dev and normal listeners. Preserve merged main's startup behavior and its census basis; the same five read sites, no new reads.;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: defer stopping and joining the edge's replica jobs at shutdown. Existing five direct read sites unchanged; no new reader or authority.;rev3=census-ruling-region-ha-p3b;basis=Wrap dev, HTTP and HTTPS listeners through ConfigureGroupHairpin before serving. Indirectly read protected root boot identity and group-ingress.json; kernel local/peer addresses mark local ingress, never HTTP headers. Agent edge uses verified public source for accounting; direct read sites unchanged and absent marker keeps original listeners. CI fix removes interface enumeration: local peer must match snapshot primary IPv4, an ingress IPv4 installed locally by root, or loopback; kernel destination must still be an ingress EIP on port 80/443. Merge 45cebde4 retains deferred stopReplicaProbes alongside group listener wrapping and shutdown admission closure.;rev3=census-ruling-demo-api-site-route;basis=Change the startup failure context from load routes to initialize because origin validation now runs during construction. Existing five read sites unchanged; no new read or runtime authority.;rev3=census-ruling-region-ha-graceful-terminate-t2;basis=Invoke the agent shutdown timestamp hook synchronously at SIGTERM/SIGINT receipt before closing admission in dev and TLS paths. No read added.
- `internal/host/agent.go` `runAgent`: authority, task B,C,D,F. Basis: rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): builds the box's lifetime judge once (newBoxJudge, nil with host claims on) and hands it to the seed placement, the moves and runs workers and every loop it starts; read sites unchanged, offsets moved; B,C,D,F authority retained; self-serve moves 1 Task 8: derives the box's lifetimes switch from the judge once (lifetimes := boxJudge != nil) and hands it to the edges file loop; read sites unchanged, offsets moved;rev3=census-ruling-plans-4d-lapse;basis=arms two more plans hooks from the same snapshot: e.SetPlanDisabledFor(planDisabledFor) beside SetPlanGovernedFor, and svc.SetDisabledFor(planDisabledRoute) beside SetMaxRunFor (plans 4d); the reads live in those units (plans-4d-units decision); read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 9b81d97b (with main's plan rate ceiling, edge request records, regional box names, self-serve moves plan 1, plans 4d-1 lapse and its other later changes under main's own census rulings) plus the rootfs placement wiring in the activator start: an agentRootfs built from eb.NestedOK, CARLOS_DEPLOYMENT_SINGLE_TENANT, CARLOS_POOLS, the claim flag, swapArming's answer, the control client's /ready/rootfs and, on a fleet box whose identity resolved, fleetOwnerCheck over the deploy store main already opens for the fleet label (fleetStore), then arm and armedRootfs.Store; this body reads nothing new itself; the closures it wires read later, at a rootfs wake and each status tick: GET /ready/rootfs over the control socket, NestedOK's checks, and release.FleetOwnerKey for the judged row's own account and this box's fleet from the deploy store;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Tasks 7 and 11, #329 plan 3 Task 7 and plan 1 Task 7's policy cache: the control client is built once and handed to eb.Control, to the status tick (egressStatus) and to a new egressNudgeLoop goroutine; armSizeSource(svc, "/sys/fs/cgroup") after the activator Service; armPolicyCache() after armChangeIndex; statusLoop takes egressStatus. The reads are those units' own (decision rows); this body reads nothing new: the same five sites, offsets moved, in the agent; B,C,D,F authority retained.;rev3=census-ruling-remote-instance-metrics;basis=builds the metrics loop's owners closure (metricsOwners over the agent's registry, the activator and cgm.Leftover) when an activator exists and hands it to metricsLoop; reads nothing new itself;rev3=census-ruling-edge-asset-cache-3;basis=adds file:Statfs. runAgent keeps its authority (B,C,D,F). The new site is assetcache.Statfs, an exported assetcache.FS interface value (var Statfs FS = statfsFS{}), not a function value and not a call in runAgent: the ready hook passes it to armEdgeAssetCache as the store's filesystem, and armEdgeAssetCache calls its Space method on the configured data directory (dataDir(): $CARLOS_DATA_DIR, else /data), which calls unix.Statfs there (statfsFS.Space, accepted legacy at census-ruling-edge-asset-cache-2). No request-supplied pathname reaches it.;rev3=census-ruling-remote-metrics-nested;basis=main's body (merged origin/main acfa4f80, under main's own census rulings) plus: snapshots the nested layout (snapshotNestedUnits over /sys/fs/cgroup/carlos.slice/carlos-instances.slice) once at start, before the activator, and hands the metrics loop a unitSources struct (stamped units, routeHostNames, that root and the snapshot); reads nothing new itself;rev3=census-ruling-region-ha-p1a;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): wires region HA P1a into the activator: cfg.Record = haRecordFacts(openDeployStore, boxJudge) (the box's lifetime judge this body already builds with newBoxJudge, nil with host claims on; CI fix) and cfg.Self = lease.CurrentSelf; eb.Lifetimes (the process's lifetime index), eb.Registry, eb.StartupSwept (seedSweptAtStart.Load), eb.FilesStore from newProductionFilesStore (now lease.NewFilesStore, rootaws-loaded, a log line on failure) and lease.SetObligationDir(<data>/.ha-owed) (logged on failure; HA acquires then refuse); this body reads nothing new itself, the same five sites; the reads are those units' own (haRecordFacts and lease's SetObligationDir are new rows on this card); merge of origin/main d7ae1d76: main's own later changes to this body are kept as main has them, under main's rulings (census-ruling-remote-instance-metrics: the metricsOwners closure for metricsLoop; census-ruling-edge-asset-cache-3: the +file:Statfs site, assetcache.Statfs handed to the asset ready hook); this branch's change is the same as above;rev3=census-ruling-region-ha-p1b1;basis=region HA P1b-1: builds one termfence.Confirmer (Self from lease.CurrentSelf at each call, EC2 DescribeInstances method only, client from rootaws.LoadDefaultConfig with retries off, built lazily on first use) and sets eb.OwnerTerminated; this body reads nothing new itself, the same six sites;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the startup Sweep literal hands its answer to startupSwept, which logs as before and, only on a clean sweep, marks rootfs admission swept (MarkRootfsSwept); same Sweep call, no read added;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (controller ruling after branch review R1, and Paul's R2 ruling): sets svc.Fleet = fleetWakeFor(os.Getenv, identity, identErr, fleetStore) from the identity it already resolves once and the deployment store the fleet loops already opened, and logs an ERROR naming the identity error when the box is on a fleet with an invalid identity. fleetWakeFor reads CARLOS_REGION and CARLOS_FLEET from the same environment. Read sites unchanged (6). Agent, not root; a platform box is unchanged.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 12: one call more beside armRunsPass, armInteractivePass(svc, reg, rolloutSink, boxJudge), in the same activator Configure hook, handing it the same box judge; fix round 1 (Astra P2, shutdown): after svc.Shutdown(ctx), shutdownInteractive(ctx) ends and joins every interactive session under the same shutdown budget; the worker's own reads are its units' (interactive.go); this body reads nothing new, the same six sites; merge of origin/main 6f1f6ca6: main's svc.Fleet = fleetWakeFor(...) and its invalid-identity ERROR line are kept as main has them (census-ruling-managed-fleets-1b); this branch's change is the same as above; read sites unchanged (6);rev3=census-ruling-fix-set-aside-exdev;basis=set-aside EXDEV fix: one field more on the agent ExecBackend literal, RawInstanceDir: layout.RawInstanceDir (a pure path join: <dataDir>/.instances/<InstanceID(host)>), so the start rule set-aside moves a copy out through the raw directory instead of through the nosymfollow bind; this body reads nothing new, the same six sites;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 3: one more assignment beside eb.FilesStore: eb.EscrowKey = haEscrowKey(os.Getenv("CARLOS_SECRETS_KEY")), the agent's own environment parsed by appconfig.ParsePrivateKey as the moves pass parses it (unset or unparseable: a log line and nil, and HA publication refuses on the box). No path is opened or read, no read site added; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 4: one more goroutine beside configSyncLoop: go escrowLoop(agentCtx, reg, svc), the escrow sweep every 30 s over the same registry and Service. This body reads nothing new itself; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 5: one more call beside eb.EscrowKey: wireRawSecretPages(eb, PageOperator, metricsBoxLabel(os.Getenv, readMachineID())), which sets eb.OnRawSecret to page an operator (alerting.Page through PageOperator, LevelIncident) on its own goroutine with a 20 s timeout; metricsBoxLabel and readMachineID are the reads this body already makes for the moves refusal log; no new read site; the same six sites, offsets moved; B,C,D,F authority retained. Merge of origin/main 90c4d3aa: main's own later changes to this body are kept as main has them, under main's rulings; this branch's change is the same as above. Merge of origin/main 00bf5b8c (fleet set-aside EXDEV fix): main's change to this body is kept as main has it, under its own census ruling; this branch's change is unchanged.;rev3=census-ruling-probe-burst-limit;basis=two more sink wirings beside setAnalyticsSink: setProtectionSink(e.SetProtectionRecordOnly) and setAssetOwnersSource(e.AssetOwners), function values the telemetry pass calls; this body reads nothing new, the same six sites; authority B,C,D,F retained; no new root read or write kind;rev3=census-ruling-region-ha-p1b3a;basis=Arm HA placement exactly once on the existing Service before activatorStart and edges publication, wiring AwakeApps and the PageOperator callback; existing six read sites unchanged, no new root authority.;rev3=census-ruling-stateless-replicas-1;basis=Final review I3: start the concrete coordinator's renewal worker with agent setup; existing closeReplicaCoordinator shutdown cancels and joins it before release. No new read sites or credentials. Merge origin/main c59715e7: retain main's armHAPlacement(svc, PageOperator) wiring beside the existing activator setup; stateless coordinator and shutdown wiring remain. Same read sites; no new root read or credential.;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): in the edge-ready callback, calls act.SetHeldWakeHook(e.HeldWake) when act is non-nil (installing the non-blocking wake callback) and stores e.HeldStreamsForStatus in heldStreamsSource. Wiring of in-memory callbacks only; no read added.;rev3=census-ruling-region-ha-p1b3b-t;basis=Wire Service.SetDutyView to the live edge DutySnapshot in the ready callback. No new read; no new loop or cloud operation. B2 wires the registry as the persistent DutyStore before service startup; no new cloud or filesystem path. B3b: arm one journal-backed termination consumer before service startup using agentCtx and the shared confirmer; expose edge tick and join at edge shutdown. No new direct read sites.;rev3=census-ruling-agent-start-demo-1;basis=Passes the existing registry, data store and hibernation prefix into the demo worker, and the existing instance-control client into the demo before-exec hook. No alternate data store or polling loop. Merge resolution against origin/main 9bd45488 retains main's HA departure controller, lifecycle and duty wiring alongside the demo data store and worker; no read site added by the resolution.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: install closed fixed admission before every launch source, bind activator/backend and edge, wire the real termination Started lifecycle and role reader after the change index; close before cancellation/child shutdown. No new external reads or cloud authority. Fix R1: move bind/lifecycle/edge-option wiring into wireAgentAdmission and worker listing into runWorkerBootPassAfterAdmission. Worker boot waits for admission before listing then uses unchanged bounded wakes and per-host serialization; whole Route read moves to the helper. No new storage, cloud, or root execution authority. Preserve merged main's agent wiring and census basis; the branch removes one whole Route use by moving worker iteration to the helper, with no added read kind.;rev3=census-ruling-stateless-replicas-2;basis=Slice 3b: arms a fleet-only worker using the existing registry, activator, backend and authenticated console transport. Owned worker stops and joins at shutdown. No new bucket reader. merge of origin/main 9b8b2c50: retain HA duty/departure lifecycle, wake-slot and existing agent wiring alongside the replica placement worker; no new read introduced by resolution. merge of origin/main 6be08467: Retain main demo configuration, admission, build and expiry wiring alongside the replica worker; merge-only body change, no additional read. merge of origin/main 7920cccf: Retain main box-role/group admission wiring and boot publication beside the owned replica worker and shutdown; main moves the boot registry List into runWorkerBootPassAfterAdmission, removing its inline whole Route site. No new read introduced by conflict resolution.;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 M3: retain the private snapshot source and cancel/join ownership, but use the replica-health-specific retry loop. It logs its first failure only and retains the existing exponential backoff capped at 30 seconds; unsupported builds return nil. Existing five direct read sites unchanged; no new credentials, bucket reader or app lifecycle action. Fix round 1 Q20: publish Edge.ReplicaSnapshots as a separate in-memory status source, leaving the tenant-visible Upstreams source unchanged. No new external reader or authority.;rev3=census-ruling-region-ha-p3b;basis=Load root-written group marker/configuration, configure signed boot binding and agent receipt completer, wire cancellable admission into departure work and expose cached GroupReaderSnapshot. New indirect boot reads use protected root files; agent-owned receipt controls duplicate initial completion only, never root restart permission. Same five direct sites. Merge 45cebde4 retains the replica health socket lifecycle and setReplicaSource beside GroupReaderSnapshot; no extra read beyond main.;rev3=census-ruling-agent-start-demo-2;basis=agent.go:309-329 opens demo-traffic.db beside the operator-configured registry when a demo domain exists, closes it at shutdown and wires drain-before-purge; :1010-1019 shares the worker and write gate; :1164-1177 installs the fleet identity and closed-until-worker serving callback. One added whole Route pass; the new indirect filesystem/SQL reads are claimed in openDemoTraffic and worker/store units. No request chooses the database pathname.;rev3=census-ruling-region-ha-p1b3b-s;basis=Wire the service duty view to authoritative cached sidecar manifest placement in LifetimeIndex and the edge sidecar projection; missing policy denies duty. Existing instance duty wiring remains.;rev3=census-ruling-region-ha-g2-t3;basis=T3a: wire eb.Page = PageOperator beside OwnerTerminated before departures arm, so suspect-holder pages work if departure setup fails; no new read; existing nine sites and authority unchanged; pages through the existing sink. T3b: publish the same backend through an atomic pointer for the metrics observer, and clear it on return; no new external read or authority.;rev3=census-ruling-agent-start-demo-3;basis=Wire the claim activator and root snapshot client into the demo worker; pass moved readiness to status reporting. Census read-site delta: unchanged (9).;rev3=census-ruling-region-ha-g2-fixes;basis=Wire local pool evidence, live withdrawal activator, startup ingress scan and alias publication, and edge lookup; no new direct sites; new indirect record/claim reads use existing store/judge paths described in ingress helpers.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: starts the existing record-view backstop loop with a departure-inventory listener (non-blocking, coalesced signal) even without an armed RecordView; it requests the existing full pass (backstopFullDue) there. Same nine read sites; no new read or authority.;rev3=census-ruling-region-ha-graceful-terminate-t2;basis=Derive one signal-time deadline with a 90-second budget; cap departure stop and startup/seed/service shutdown joins by it. No read added.;rev3=census-ruling-static-sweep-periodic;basis=in the edge-ready callback, publishes e.LargestStaticTree in staticTreeSource for the disk alert line (diskAlertFrac in the metrics loop); in-memory wiring only, no read added; read sites unchanged (9)
- `internal/host/edgesfile.go` `edgesFileWriteClaims`: authority, task F,J1. Basis: rev3=census-ruling-self-serve-moves-1;basis=root-route;kept=F;scope=protected-decision-only; the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): region-ha-2a's body, which with the box's lifetimes switch on also publishes each served row's lifetime pair (registry:Incarnation and registry:ServingSeq, two new sites on the rows it already lists) and an alias's or served catch-all's primary's pair, and names that primary as target_host whatever the switch; a report the edge orders unstamped entries by, not a decision; no record, /data, release or claim read added; F,J1 authority retained; self-serve moves 1 Task 8;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 8: takes a localAddrs reader (instancectl.LocalAddresses in production, which reads /proc/net/fib_trie and /proc/net/if_inet6 in the agent) and publishes its non-loopback entries as the edges file's addrs before the write gate (boxAddrs, no read of its own), so an address change writes once. The same 44 sites, offsets moved; no record, /data, release or claim read added; a report the console's egress grant check reads, not a root decision; F,J1 authority retained.;rev3=census-ruling-edge-asset-cache-3;basis=starts with assets = assets.active(), so a policy whose box has not opened its asset store publishes no assets blocks and reads no manifests, and copies the decision's Primary (the route host the block was decided for, drift D4) into the published assets block; read sites unchanged (44); no read added. Merged onto main's #328 body, which takes the localAddrs reader: the assets.active() line sits after that signature and the loop passes pub and instancectl.LocalAddresses;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: the claims argument (*edgesClaims) becomes addrs (AddressSource) and the applyEdgesClaims(ctx, claims, routes, hosts) call is deleted with edgesclaims.go, which is the one whole:Route site removed: no host claim is read and every served row publishes as with region HA off; the box-address publication is the same code reading addrs.BoxAddresses() instead of claims.addrs; a report the edge reads, not a root decision; no read added; merge of origin/main d7ae1d76: main's edge asset cache plan 3 body is kept (census-ruling-edge-asset-cache-3): the first line is assets = assets.active(), so a policy whose store has not opened publishes no assets blocks and reads no manifests, and edgesFileLoop passes pub (assets.active() for that tick) in the assets argument; main's claims *edgesClaims argument is this branch's addrs AddressSource, and no edgesClaims, applyEdgesClaims or hostclaim reference remains;rev3=census-ruling-alias-wake-338;basis=#338 follow-up: skips publishing a platform alias edge.PlatformAliasFold refuses (and so anything attached to it); reads the same route listing;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 6 and its fix rounds: publishes by FleetArmVerdict (via fleetRefusedFor): withheld rows left out; a forward host's path rows left out of its owner; no assets for forward rows; the alias loop replays Reload's alias fold from the served rows so a chained alias carries its root primary's owner; certRefused and parentRefused leave out a refused claim's wildcard parent (+registry:Alias x5, +registry:Host x4, +whole:Route, +whole:RouteAlias x2, +whole:RoutePath x7, +whole:WildcardDomain). Rows already read in the pass; keeps authority F,J1; publishes less, never more.;rev3=census-ruling-probe-burst-limit;basis=sets the constant BurstNotices=true on the box's own edges file (this build's edge answers probe-burst notices, so peers may send them); not from config or any read; the same 65 sites; a report other edges read, not a root decision; F,J1 authority retained; no new root read or write kind;rev3=census-ruling-region-ha-p3a;basis=Publish one injected role snapshot with box_role/admitted/drained; retain legacy route and alias rows during booting, cutting namespace withdrawal under the 2026-11-04 ruling; acknowledge the exact published tuple only after PUT; existing registry reads unchanged.;rev3=census-ruling-region-ha-p2b;basis=region HA P2b-1 T0 (Q1 ruling): before building the comparison copy and the body, a nil NamedPools on the identity becomes []string{} so the additive named_pools field is always an explicit array; the list itself is computed once at arm by edgesFileEligibility from the same provisionTickConfig(os.Getenv) parse as serves_shared_pool (CARLOS_POOLS through provision.ParseBoxPools, filtered to nonempty provision.ValidPool names, sorted, unique). A report the console reads for create admission, not a root decision; no record, /data, release or claim read added; read sites unchanged (65); F,J1 authority retained. One-off cost: the first pass after the upgrade writes once per box (seeded gate null vs []).;rev3=census-ruling-region-ha-p3b;basis=Require cached GroupReadersReady before first group publication and append additive names-2 capability even for supplied identities. Agent writes the same edges object/index with existing registry reads; known readers come from root boot configuration, snapshot from existing fold, no added GET/LIST or root authority.;rev3=census-ruling-region-ha-g2-fixes;basis=Omit non-forward, non-platform-alias rows outside local served pools from home publication; added Host/Pool field reads and local configuration use, existing registry/store operations retained.
+- `internal/host/group_maintenance_verbs.go` `groupMaintenanceCommand.run`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-p3b2;basis=Reads the operator's permit JSON from stdin (≤4096 B) for the permit verb, validated by the guard's own validators against the verified root marker before a root-only write.
- `internal/activator/activator.go` `Service.WakeWorker`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-carlos-run;basis=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-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-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-p3a;basis=P3a Task 3: check local tenant admission and start permission before lease/restore, preserving already-awake reuse during drain and existing serialization. Whole Route passes to the local predicate; no new filesystem or store read.;rev3=census-ruling-region-ha-g2-fixes;basis=Check latched HA loss and schedule bounded recovery before worker wake; route passed to the separately claimed loss helpers.
- `internal/edge/forwardha.go` `Edge.frontForwardHA`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-p1b2;basis=new (region HA P1b-2): the agent's edge decides at the front door whether to forward a visitor request: reads the route's HA flag and host from the box's own registry row and asks the activator; forwards only to a box in view over the existing signed hop; root never calls it;rev3=census-ruling-region-ha-dead-holder-backoff;basis=ForwardTarget returns a ForwardDecision (Ref, Refuse, Gen); a Refuse is answered at the front door with the existing unreachable answer (503, Retry-After: 10, same body, via answerHolderUnreachable), with no forward, dial, note or per-request step. A forward passes the decision to forwardHA and NoteForward carries Ref and Gen back. The round-1 connection callback (NoteConnected) is gone: the dial bound now lives in forwardTransport's forwardDialGate, which coalesces TCP dials per holder address in memory. The same 5 read sites; no new read; root never calls it.;rev3=census-ruling-region-ha-p1b3a;basis=Pass the existing route to a lazy cached wakeSnapshot closure, handle explicit local denial before all accounting, and refuse a disappeared Placement choice rather than falling through locally; whole Route read only, no new store or filesystem operation and no root authority.;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): for a marked request to a hibernating HA route it uses the new HAForwarderFromMemory (ForwardTargetFromMemory) instead of ForwardTarget, so the hold path makes no holder-lock read; a non-stream marked request is left to this box's classification, and a holder not known from memory is answered with the one-retry event. The unmarked path is unchanged. Reads only the request mark and the already-loaded route and home map; no read added.;rev3=census-ruling-region-ha-followups;basis=Report detached TCP/TLS failure after a canceled Placement or Recovery request through the existing NoteForward classifier, preserving Ref, Gen and PeerGen. Reuse the route Host to correlate the late result; no new storage read or routing authority.;rev3=census-ruling-region-ha-g2-fixes;basis=Share forwarding observation helper and refuse disappearance of a selected peer when local pool-ineligible; existing route input, two Host reads moved to helper.
- `internal/edge/haingress.go` `Edge.routeHAIngress`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Resolve exact/alias/catchall authority and bind projected primary identity for HA forwarding. A zero projection permits an existing non-activator-owned upstream to continue its ordinary path; managed rows still refuse. New in-memory Host and route reads only.
@@ -37,6 +43,8 @@ Recorded dispositions, which each change must still satisfy:
New dispositions, which census-propose wrote and the reviewer checks against the unit's reads and the diff:
- new `internal/activator/activator.go:Service.wakeWorker`: reads +registry:Host ×4, +whole:Route ×5; written legacy, accepted-legacy, frozen
+- new `internal/activator/hadrainmove.go:Service.DrainHosts`: reads +registry:Host ×3, +whole:Route ×8; written legacy, accepted-legacy, frozen
+- new `internal/activator/hadrainmove.go:Service.DrainTakeOwner`: reads +whole:Route ×2; written legacy, accepted-legacy, frozen
- new `internal/activator/handover.go:Service.BeginMove`: reads +whole:Route ×3; written legacy, accepted-legacy, frozen
- new `internal/activator/handover.go:Service.ConfirmMoveHolder`: reads +registry:Host, +whole:Route ×4; written legacy, accepted-legacy, frozen
- new `internal/activator/handover.go:Service.MoveState`: reads +registry:Host, +whole:Route ×5; written legacy, accepted-legacy, frozen
@@ -56,14 +64,26 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- new `internal/edge/forwardha.go:Edge.forwardHAStreaming`: reads +whole:Route ×3; written legacy, accepted-legacy, frozen
- new `internal/edge/forwardha.go:Edge.handoverInRegion`: reads +whole:Route; written legacy, accepted-legacy, frozen
- new `internal/edge/hadrain.go:Edge.serveHAControl`: reads +file:ReadAll; written legacy, accepted-legacy, frozen
+- new `internal/edge/hadrainconns.go:Edge.DrainSnapshot`: reads +whole:Route; written legacy, accepted-legacy, frozen
- new `internal/edge/handover.go:Edge.moveGate`: reads +registry:HA, +registry:Host ×2, +whole:Route ×4; written legacy, accepted-legacy, frozen
- new `internal/edge/handover.go:Edge.moveSnapshot`: reads +whole:Route; written legacy, accepted-legacy, frozen
- new `internal/edge/hatake.go:Edge.takeHost`: reads +registry:Host, +whole:Route ×6; written legacy, accepted-legacy, frozen
- new `internal/edge/hatake.go:Edge.takeWorker`: reads +registry:Host, +registry:Status ×2, +whole:Route ×2; written legacy, accepted-legacy, frozen
- new `internal/edge/replay.go:streamedBody.Read`: reads +file:Read ×2; written legacy, accepted-legacy, frozen
+- new `internal/host/hadrain.go:drainDriver.move`: reads +registry:Host ×7, +whole:Route ×7; written legacy, accepted-legacy, frozen
+- new `internal/host/hadrain.go:drainDriver.moveOne`: reads +registry:Host, +whole:Route; written legacy, accepted-legacy, frozen
+- new `internal/host/hadrain.go:drainDriver.take`: reads +registry:App, +registry:Host ×2, +whole:Route ×3; written legacy, accepted-legacy, frozen
+- new `internal/host/hadrain.go:newIncarnation`: reads +file:Read; written legacy, accepted-legacy, frozen
+- new `internal/host/hadrain_socket.go:drainClient.call`: reads +file:ReadAll; written legacy, accepted-legacy, frozen
+- new `internal/host/hadrain_socket.go:drainDriver.handler`: reads +file:ReadAll; written legacy, accepted-legacy, frozen
+- new `internal/host/hadrain_socket_linux.go:serveHADrain`: reads +file:Lstat, +file:Open; written legacy, accepted-legacy, frozen
+- new `internal/host/hadrainfence_linux.go:fenceLocation.install`: reads +file:Openat2, +file:Read; written legacy, accepted-legacy, frozen
+- new `internal/host/hadrainfence_linux.go:fenceLocation.openDir`: reads +file:Fstat, +file:Openat2 ×2; written legacy, accepted-legacy, frozen
+- new `internal/host/hadrainfence_linux.go:fenceLocation.read`: reads +file:Fstat ×2, +file:Openat2 ×2, +file:ReadAll; written legacy, accepted-legacy, frozen
+- new `internal/host/hadrainfence_linux.go:openFenceParent`: reads +file:Fstat, +file:Openat2 ×2; written legacy, accepted-legacy, frozen
- reads `internal/edge/edge.go:Edge.ServeHTTP`: +registry:HA ×2, +registry:Host, +whole:Route ×4; keeps legacy, task accepted-legacy
- reads `internal/edge/forwardha.go:Edge.forwardHAAndNote`: -registry:Host ×3, +whole:Route; keeps legacy, task accepted-legacy
-Seal: `75fb3eb24d0bf3a8405b929675d919ec88f15386d43e9ff687ce138a7ed968a4` → `a9a4ed800c163a4e3d6d0e3e3a9f592f865d51cfc088b6a22ac88b2062d51fac`.
+Seal: `75fb3eb24d0bf3a8405b929675d919ec88f15386d43e9ff687ce138a7ed968a4` → `f95cf651eca15e9e9d34cacadeabbd7f7636100c9e2ae1ce32165d5ebadac236`.
Overlay: `internal/provision/testdata/plan14-root-reads-region-ha-held-build.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index f0a96b0bf..3619b38e6 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -130,4 +130,4 @@ plan14-root-reads-instance-syscall-filter.tsv b970bb28c5a633d2572a1da549030e9258
plan14-root-reads-instance-restore-658-cli.tsv b970bb28c5a633d2572a1da549030e9258cfdabb6322ddffdd0ebf41b56c464c
plan14-root-reads-instance-stop-execstop-528.tsv 75fb3eb24d0bf3a8405b929675d919ec88f15386d43e9ff687ce138a7ed968a4
plan14-root-reads-region-ha-shutting-down-retry.tsv 75fb3eb24d0bf3a8405b929675d919ec88f15386d43e9ff687ce138a7ed968a4
-plan14-root-reads-region-ha-held-build.tsv a9a4ed800c163a4e3d6d0e3e3a9f592f865d51cfc088b6a22ac88b2062d51fac
+plan14-root-reads-region-ha-held-build.tsv f95cf651eca15e9e9d34cacadeabbd7f7636100c9e2ae1ce32165d5ebadac236
diff --git a/internal/provision/testdata/plan14-root-reads-region-ha-held-build.tsv b/internal/provision/testdata/plan14-root-reads-region-ha-held-build.tsv
index 102770504..cf120b441 100644
--- a/internal/provision/testdata/plan14-root-reads-region-ha-held-build.tsv
+++ b/internal/provision/testdata/plan14-root-reads-region-ha-held-build.tsv
@@ -1,19 +1,24 @@
# Census overlay region-ha-held-build, written by census-propose (#369). census-ruling-region-ha-held-build, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-region-ha-held-build.md.
-# 8 body, 3 sites, 4 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
-# 27 new dispositions: 2 reads re-frozen at their disposition with the claim, 25 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other.
+# 11 body, 3 sites, 4 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
+# 41 new dispositions: 2 reads re-frozen at their disposition with the claim, 39 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other.
@legacy cf55ebdbd229c4a4ed2533fa4c184f700dbfc35d1ecc70b28b2bc80e67e8e275 internal/activator/activator.go Service.serve legacy accepted-legacy accepted-legacy;rev3=census-ruling-hotfix281;basis=Startup repeats the existing Kind and Hibernate checks; error logging moved to serveWakeError. A request held through startup re-reads its own route's Socket and Addr and can only refuse (wake-timeout 503) when recovery moved them; agent-side, deny-only, no root decision.;rev3=census-ruling-edge-request-records;basis=passes the member request r to begin's new req parameter; no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the activator-managed test is Route.ActivatorOwned instead of Kind and Hibernate inline, so a resident rootfs instance is the activator's; same deploy-safety for binary rows;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2: a verified HA hop this box cannot serve gets the holder diagnostic; two new whole:Route sites pass the route to answerForwarded/noteNoHolder; no new kind of read;rev3=census-ruling-region-ha-g2-fixes;basis=Refuse latched HA lease loss before startup wait or proxy accounting, and schedule bounded recovery; reads supplied route, no new external read here.;rev3=census-ruling-region-ha-held-build;basis=region HA held-requests Task 2: after begin succeeds, edge.ReleaseMoveTicket(r) ends the request's in-memory admission ticket; on the sidecar path the same after BeginSidecarRequest; no read added registry:Addr@1131,registry:Addr@1145,registry:Host@1056,registry:Host@1256,registry:Socket@1102,registry:Socket@1118,whole:Route@1081,whole:Route@1190,whole:Route@1324,whole:Route@198,whole:Route@261,whole:Route@2873,whole:Route@2974,whole:Route@298,whole:Route@3788,whole:Route@3851,whole:Route@526 aa0786cb4f635aa33ea7c0ef884d82d9d43c0de1a47bc2c441e5c83fa93578be
@legacy 4ce180eb76cb536e1b2ad70762386957efbe1be9c002f0e4a1537f87d6f16944 internal/activator/haduties.go Service.dutyInput legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b3b-t;basis=Read HA classification/lifetime from the existing backend and route host, HA, replica, tunnel, import gate and status; read advisory DutyStore state and cached home projection outside a.mu. No new filesystem or bucket path. B2 aliases DutyState to registry.DutyState, exposing existing state-field reads to this census; ownership/restriction decisions are unchanged.;rev3=census-ruling-region-ha-g2-fixes;basis=Apply LocalEligible before legacy/HA duty shortcuts: HA and Provisioned routes require pool membership, operator-placed non-HA routes keep their prior behavior; no new direct I/O.;rev3=census-ruling-region-ha-held-build;basis=LocalDenied also when IsDraining() (this box in the planned-handover drain state); only narrows duty and adoption starts; no read added registry:Basis@1349,registry:HA@326,registry:HolderEpoch@1584,registry:HolderIID@1426,registry:HolderIID@1628,registry:HolderRef@1362,registry:HolderRef@1412,registry:HolderRef@1614,registry:Host@122,registry:Host@1280,registry:Host@592,registry:Host@658,registry:ImportGate@891,registry:NotBefore@1654,registry:NotBefore@1710,registry:Replica@858,registry:Status@915,registry:Status@934,registry:Tunnel@872,registry:ViewKey@1457,whole:DutyState@1327,whole:DutyState@1738,whole:Route@1086,whole:Route@152,whole:Route@231,whole:Route@298,whole:Route@394,whole:Route@686 bd5eb406a50f93e2fe8d5db0044d77a727b0d614dc5186237dd2ac30f192c8c1
@legacy 6a044da8b179661c9a4889dcbac79d34c21e0b2c0b9021f9c717526d04b366f1 internal/activator/haforward.go Service.NoteForward legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Ignore canceled forwards; classify connected-holder silence for bounded revalidation and refuse stale local-entry shortcuts by pool; reads cached route under the existing locks, no external read.;rev3=census-ruling-region-ha-held-build;basis=returns early, changing nothing, for a ForwardSilent outcome from a peer the edge fold shows draining (spec 25.5 Silence); all other outcomes unchanged; no read added whole:Route@1242,whole:Route@1253,whole:Route@1325 6063c04005c985b5976f9da2de4efb7fb5fbb1a82f1c5cbc189e451b1003a1bc
@legacy ed7e6b37c5c678bcb10532daee5ceaeabb08a6e9c81641b2f46d42195a4ed35a internal/activator/haforward.go Service.decideForward legacy accepted-legacy accepted-legacy;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): new: the second half of the old ForwardTarget body, moved unchanged: turns a holder resolution into the edge's ForwardDecision (the HA view and host reads it already made). Moved, not widened; no new read.;rev3=census-ruling-region-ha-g2-fixes;basis=Pass local eligibility into both placement decisions; supplied route only, no new external read.;rev3=census-ruling-region-ha-held-build;basis=the wake snapshot is LocalDenied also when IsDraining(); only narrows local placement; no read added registry:Host@1248,registry:Host@1396,registry:Host@1569,registry:Host@1860,registry:Host@1983,whole:Route@1038,whole:Route@1787,whole:Route@1825,whole:Route@990 915a0efc9f5ea2acaa0ef983cceb6dc741763054f707c3a6da3328b3eade8d8e
@legacy 1341eacf8b809c3e097cf15229a1264879f8fa63b097adf2ea136f35e40400a7 internal/activator/haleaseloss.go Service.latchHALossLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Retain loss state and close refusal waiters for the exact HA entry; read cached Route.HA and route value, no external read.;rev3=census-ruling-region-ha-held-build;basis=region HA held-requests Task 2: after latching a loss, pokeMoveLocked wakes that host's held requests so they get the F-A answer; in memory only; no read added registry:HA@147,whole:Route@149,whole:Route@571,whole:Route@580 d05e19ffc5bea1644df6b4473e2e61debed26977926b13ca1481f5393b6d529c
+@legacy 182e4b31973840202982b9f5eceae23c187345e5573fed6f602e6b3964215d9a internal/activator/harelease.go Service.releaseHAClean legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1a;basis=new: an HA entry's release, in order: host slice read empty through haHostEmpty (else errHostSliceUnproven and nothing written; the same check, moved into that helper by final fix F1), stop and join the files publisher, its final publish (2 min budget), the replica's final sync (Finish, 30 s), the local release record, then the release marker PUT (10 s), clean only when the final publish was complete and the sync and record succeeded; a failed PUT is a persisted lease obligation; +registry:Host, +whole:Route x4;rev3=census-ruling-region-ha-p1b3b-t;basis=Record advisory local-release basis only after ReleaseMarker succeeds. Add a whole-route argument to local duty bookkeeping; release order and lease authority unchanged.;rev3=census-ruling-region-ha-g2-fixes;basis=Latch unexpected lease loss before release and mark intentional release so ErrSpent alone is not treated as loss; no new read.;rev3=census-ruling-region-ha-graceful-terminate-t2;basis=Cap Final, Finish and marker contexts by the shutdown deadline and reserves; keep calls synchronous and stop proof unchanged; record successful marker completion under the service mutex. No read added.;rev3=census-ruling-region-ha-held-build;basis=region HA held-requests Task 5: records the written marker's clean flag on the entry (haReleaseClean) beside haReleased, for the drain report; no read added registry:Host@2101,whole:Route@102,whole:Route@1122,whole:Route@1260,whole:Route@2010,whole:Route@244 1e43140ee5241be5b058f9632fb10e9f383580f3aae2787f96c9316fa03116ba
+@legacy 06da9e42006f46968c4150400baa0f6740aae2fa299ba9a8a2cecc54542b501c internal/edge/edge.go RunWithActivatorReady legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-certwarm-wake;basis=registers the cert warm's nudge on OnReload and on the home map's new served-hosts wake (#386); nudge only sends on a buffered channel; no read added, same 5 sites;rev3=census-ruling-edge-roll-blip;basis=the :80/:443 (and dev) listeners are bound on the calling goroutine with net.Listen via listen()/listenAddr (same empty-address defaults as ListenAndServe) before the serve goroutines, which now call Serve/ServeTLS on them, and one log line names the bound addresses; no read added, same 5 sites;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): the inline home-map arming (newHomeMap, one boot Refresh, Store, run) moves unchanged into the new Edge.ArmHomeMap and is called here as e.ArmHomeMap(); same refresh, same timeout, same order. The reads are moved, none added.;rev3=census-ruling-agent-start-demo-1;basis=Logs the combined explicit wildcard parents through demoWildcardDomains; no new watcher or read loop.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: invoke the local admission Close before HTTP/HTTPS draining and door shutdown in both dev and normal listeners. Preserve merged main's startup behavior and its census basis; the same five read sites, no new reads.;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: defer stopping and joining the edge's replica jobs at shutdown. Existing five direct read sites unchanged; no new reader or authority.;rev3=census-ruling-region-ha-p3b;basis=Wrap dev, HTTP and HTTPS listeners through ConfigureGroupHairpin before serving. Indirectly read protected root boot identity and group-ingress.json; kernel local/peer addresses mark local ingress, never HTTP headers. Agent edge uses verified public source for accounting; direct read sites unchanged and absent marker keeps original listeners. CI fix removes interface enumeration: local peer must match snapshot primary IPv4, an ingress IPv4 installed locally by root, or loopback; kernel destination must still be an ingress EIP on port 80/443. Merge 45cebde4 retains deferred stopReplicaProbes alongside group listener wrapping and shutdown admission closure.;rev3=census-ruling-demo-api-site-route;basis=Change the startup failure context from load routes to initialize because origin validation now runs during construction. Existing five read sites unchanged; no new read or runtime authority.;rev3=census-ruling-region-ha-graceful-terminate-t2;basis=Invoke the agent shutdown timestamp hook synchronously at SIGTERM/SIGINT receipt before closing admission in dev and TLS paths. No read added.;rev3=census-ruling-region-ha-held-build;basis=region HA held-requests Task 5: registers the https and http servers with the connection drain (conns.serve) so a drain can close idle keep-alive connections; no read added data-literal@129,data-literal@148,data-literal@284,data-literal@417,file:Open@1013 44ab284d7d989386f244332c09977cdb55bb293c949fb85da040404ba480e5cc
+@legacy a946f7feed139ccbd30e0c2e35e69d48b1aeb998d31fb1d6b776b3e17870be4c internal/host/group_maintenance_verbs.go groupMaintenanceCommand.run legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b2;basis=Reads the operator's permit JSON from stdin (≤4096 B) for the permit verb, validated by the guard's own validators against the verified root marker before a root-only write.;rev3=census-ruling-region-ha-held-build;basis=region HA held-requests Task 5: dispatches the new drain, drain --cancel and fence-clear verbs under the existing root, group-marker and apply-lock checks; reads only the transaction argument file:ReadAll@1913 7fee4a37adc58567cfbd5695a858353f33eaca77e9d2627ce9a1135dfa309527
@legacy dc74395bb2b1a02de171db3f8641027c0010075142d4d8eb235c9171af918423 internal/activator/activator.go Service.wakeWorker legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new (held-requests Task 4 fix round 1): WakeWorker's former body, with a ctx that also ends its two waits (awaitWake on a waking entry, and the wait on a stopping one); WakeWorker passes Background, so its waits are as before; ctx never reaches the detached wake; the same route and registry reads as WakeWorker; no read added registry:Host@1057,registry:Host@1087,registry:Host@1562,registry:Host@1971,whole:Route@1146,whole:Route@129,whole:Route@1538,whole:Route@408,whole:Route@464 8cafd93e4e79b098a850849ec147c9b5ebcd22402d555b1a36f7fa96af640814
+@legacy e385cc92508ae571ac94a45072acc193032ef6339c808dd9940d3d082097d97f internal/activator/hadrainmove.go Service.DrainHosts legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: in-memory list of awake entries (route, worker flag, in-flight, last active) under a.mu, plus the lifetime and lease generation from the backend's in-memory HA acquire state; no external read; authorizes nothing registry:Host@675,registry:Host@953,registry:Host@973,whole:Route@235,whole:Route@279,whole:Route@288,whole:Route@548,whole:Route@612,whole:Route@682,whole:Route@960,whole:Route@980 2283e4f9a15afb2a9fc3831bea5940965cb3f73190bcfbd13a6e3e37d3c148d7
+@legacy 9d424da3d8c1c51d02e326eddc3b53ddd7071cea44cdb7cb8bcadf340e6b332e internal/activator/hadrainmove.go Service.DrainTakeOwner legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: the take timeout's one lock.json read through the existing holder lock reader (readHolderView, bounded by holderReadTimeout) and otherHolder; reads only; not an input to hafresh.DecideAcquire whole:Route@141,whole:Route@319 196ea23c92df2b1711d7e4cfa9a41ac492477831d9a6deb915e019bedf1def6a
@legacy 5896e7e97cac6bf2756de49db779da235cada39570bddc977ad284c90480f5c4 internal/activator/handover.go Service.BeginMove legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: Task 5 driver API; sets in-memory holding for an awake HA entry; refuses on a latched loss; no read. Fix round 1: records the awake entry's route (in memory) as the move's lifetime identity; no read added whole:Route@331,whole:Route@489,whole:Route@498 6fe76f9686ba393b91d6f6efe3cf2a7ceee69191b6b7173c19035d8bda89a73f
@legacy eb7f805e4b866dc403f3bc203d3d2b9f0069c7de94c4a7706c3fea6b7f8b0248 internal/activator/handover.go Service.ConfirmMoveHolder legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: coalesced (one per host per 5 s) read of the host's lock.json through the existing holder lock reader (readHolderView, the same read ForwardTarget makes on a miss), only for a host this box marked taken; reads only; never writes or acquires. Fix round 1: refuses, with no read, unless the request's route is the move's lifetime (sameMoveLifetime); only narrows when the lock is read registry:Host@269,whole:Route@224,whole:Route@351,whole:Route@358,whole:Route@801 5f041c23833685cd2ffc18492747b835aaaa6fd0650d8f1a67534cdab23d1644
-@legacy 34e7da0d6fd76cf94fc91990f462062e6a507ba446c58aefd26fd4b0430e5663 internal/activator/handover.go Service.MoveState legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: the memory-only handover decision under a.mu: loss latch (haLeaseRefusalLocked), then move phase, caps and bounds; reads the supplied route's Host and identity; no external read; authorizes nothing (not an input to hafresh.DecideAcquire). Fix round 1: a move applies only to the route lifetime it was begun for (sameMoveLifetime); any other lifetime gets none; no read added registry:Host@139,whole:Route@184,whole:Route@191,whole:Route@223,whole:Route@262,whole:Route@702 ca98ee7ca5b09b36b3b2360ff189e6fef4a5ac04484660dc4368692a7695da13
+@legacy 87ef9d1f940edddfb1e1f74abfb69f157acfc6ab18e6267d04fc1074cdd6b350 internal/activator/handover.go Service.MoveState legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: the memory-only handover decision under a.mu: loss latch (haLeaseRefusalLocked), then move phase, caps and bounds; reads the supplied route's Host and identity; no external read; authorizes nothing (not an input to hafresh.DecideAcquire). Fix round 1: a move applies only to the route lifetime it was begun for (sameMoveLifetime); any other lifetime gets none; no read added; region HA held-requests Task 5: counts requests answered at once with today's answer for a moving host (DrainHoldStats.RefusedAtOnce) under a.mu; memory only; no read added registry:Host@139,whole:Route@184,whole:Route@191,whole:Route@223,whole:Route@262,whole:Route@834 2b187dcc11a75c3499cdcd16761fd1d3368734668e469df6b2950f3666d619fc
@legacy b2979c14841073c55b52037aa5939b018fe52a31e37224688393fe2976af9bf7 internal/activator/handover.go Service.moveDecideLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: MoveState's per-phase answer; reads the supplied route and in-memory move state, the loss latch and the holder cache; no external read. Fix round 1: refuses a hold re-check whose route is not the move's lifetime; no read added registry:Host@699,whole:Route@147,whole:Route@154,whole:Route@248 26e9d419a9799a2c099fbd04cf68a129608d3d46f975cd979c13be453a801a87
@legacy 7f4e7f5f57f61a9cf10366d1b5ecfb0d259dc931a5f124c66821ed4e5ab7526f internal/activator/handover.go Service.moveNoneLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: issues an in-memory admission ticket when this box has an entry for the same route (samePoolRoute); no external read. Fix round 1: the ticket's end is once-only (sync.Once); no read added registry:Host@259,registry:Host@279,registry:Host@88,whole:Route@131 f362b7451f5966be8815e732a03b00043ff81b92e3d21574790f10b1535179dc
@legacy e75960a04db9e7ce784bcc27f0b85a1ad1831758c07987c84febbf652e8be126 internal/activator/handover.go Service.readMoveHolder legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: ConfirmMoveHolder's one lock read (existing readHolderView, bounded by holderReadTimeout) and its reading through otherHolder and DecidePlacement with LocalDenied; reads only; authorizes nothing whole:Route@409,whole:Route@963,whole:Route@996 3f59d6e470312678682fced857969e8e4aec359fd622d32ac081dac6570f74da
-@legacy 1ee4ec42b4c7b11bf062810412ad7ecc3920737b469ada236b8776bd6104b97f internal/activator/handover.go Service.waitMove legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: a held request's bounded wait on in-memory state; no read whole:Route@308,whole:Route@549 51784ee39903fe8d6685b4c376f2065a3fa76998b881020e3798755478c117e4
+@legacy b2466c552cab52914b56f3b484fd63cca0b5c3a5672e72120e1e04704737c34f internal/activator/handover.go Service.waitMove legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: a held request's bounded wait on in-memory state; no read; region HA held-requests Task 5: records the hold's duration (Longest) and a held request that ended with today's answer (Todays) under a.mu, for the drain report; memory only; no read added whole:Route@552,whole:Route@804 ff0e3acc416f8c6a8069573a1e61d21c56b3d6f44f3b3b32c11ccf3f3390dace
@legacy 1dffd7b92663ee5f3675ba30ee4063679e8561f16907d505c244e3271f350bb7 internal/activator/handover.go sameMoveLifetime legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new (fix round 1): compares two in-memory routes' Host, Account (EffectiveAccount), App, Incarnation and ServingSeq; reads nothing else; only narrows which requests a move applies to registry:Account@114,registry:Account@158,registry:App@175,registry:App@188,registry:Host@63,registry:Host@77,registry:Incarnation@198,registry:Incarnation@219,registry:ServingSeq@237,registry:ServingSeq@257 1c996c6cdce819f0196684ddf21da2860321518e467193571f6f996a8207c87f
@legacy 65b9ef8d3ca13a1a019337df88eb0995670cb568713faac27dbb8c0f85ab8564 internal/activator/hatake.go ExecBackend.haTakeLifetime legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new (held-requests Task 4): the take's lifetime check through the existing isHA classification (lifetime index, else the existing Config.Record read); returns the lifetime id and HA flag; no new read kind; only refuses whole:Route@128 fd0acc5f1e831833241c87a43325ca53dca07a3a98a49973585646c939d0cffd
@legacy a15f20c966855ac6fc21084aace8ea5f6fef3a01cfc1b8ba5e5b6592d181f5a1 internal/activator/hatake.go Service.TakeHost legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new (held-requests Task 4): the take receiver; refuses before any lock request unless this box serves the route's pool (LocalEligible), is admitted, is not draining, and haTakeLifetime matches the named lifetime; then the existing begin (the ordinary wake, whose acquire is the existing HA acquire, hafresh.DecideAcquire; nothing from the request feeds it); answers this box's ref and the generation its acquire wrote (in-memory haWakes view), or the holder and generation of a held answer; passes the route in memory; no store or filesystem read of its own. Task 4 fix round 1: the wake is takeWake (an instance through begin, a sidecar row through wakeWorker); the same checks first; no read added registry:Host@789,whole:Route@152,whole:Route@313,whole:Route@587,whole:Route@731 2b01cd90126c1049a1334913d38ad4233739ce67c1f6c34ba775cde34e21755f
@@ -26,12 +31,24 @@
@legacy 117cbaf4814c2f8d1d5a76d674368008c78e9db44f04677225fa236b18812c2c internal/edge/forwardha.go Edge.forwardHAStreaming legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new (held-requests Task 3): the draining box's release of a client request to the confirmed holder through the existing front forward, with the body streamed as before and never copied or replayed; passes the whole route in memory; no read added whole:Route@215,whole:Route@242,whole:Route@246 25428d3720986a7103a2990e0dc4c3dc9217d00bca684fef610f58db3c23500f
@legacy 974aff241ca9f5e0e1cfb0f09cf4918f3bb7e5d3790dab0d2ecd6a8b1c244757 internal/edge/forwardha.go Edge.handoverInRegion legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new (held-requests Task 3): parses X-Carlos-Handover (ParseHandover) and checks its ref: this box's own label, or a box in the in-memory view (boxInView) passing handoverAuthority; passes the route in memory; no store or filesystem read whole:Route@356 255bf92b4ba6f58c2e03260bb743a2db2f23f03d97387c8902575f38c72c03e8
@legacy ae42dccdd93c7733e157874d2f27cbfb3eb39ba40754827ad450e62361f90aa1 internal/edge/hadrain.go Edge.serveHAControl legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: answers a signed drain ask. Reads the request body (io.ReadAll under MaxBytesReader 4 KiB and a 2 s read deadline), verifies its own mesh-key MAC, requires a phase (draining or drained) and a nonzero publication id, and may refresh the edges fold (the existing refreshHosts: LIST plus GET of control/edges/ in the deployment bucket); reads no local file; answers JSON seen true or false, or a bare 404. Fix round 1: the ask names phase and publication id instead of a generation. held-requests Task 4: accepts POST /.carlos/ha-take beside /.carlos/ha-drain, with the same bounded body read; the signature is verified over the request's own path (one of the two reserved constants), then a take goes to serveHATake (strict JSON with transaction, asker, host, lifetime and a positive marker generation, else a bare 404); no read added here file:ReadAll@703 a698e721e43c7b6372fa857db869688f49052d58718488f2a9317f88c30eac7e
+@legacy 2864c1c457240ddbbf60838d2f9af0bdc62cdc5b4bb8eb2cc66ea41f409207e9 internal/edge/hadrainconns.go Edge.DrainSnapshot legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: the existing in-memory wake snapshot for the supplied route, with this box local-denied and removed from Serving; no read added whole:Route@115 02bad6fa199758d9f132b558d3ae35bc7d43ce802640adf022878ee20cd62dd1
@legacy e1fb0d29fada82cb299ca18f09cb848d6f7b44c4c4553115d09fe67108e9d04b internal/edge/handover.go Edge.moveGate legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: the edge's handover decision: asks the activator's MoveState about the supplied route, waits on a hold, then answers with an existing approved refusal through handoverExit, the handover answer to a verified hop, or the existing front forward to the confirmed holder; reads the route's HA flag and Host in memory; no store or filesystem read. Fix round 1: the whole taken-client front forward runs inside handoverExit; no read added. held-requests Task 3: before a handover answer to a hop marked replayable, reads and discards that hop's request body when its length is known and at most 64 KiB (drainReplayable, bounded at 1 s by a read deadline); the taken-client release uses forwardHAStreaming (body streamed as before); no store or filesystem read added. Task 3 fix round 1: the pre-answer body read (drainReplayable) is removed; moveGate reads no request body before any answer; no read added registry:HA@184,registry:Host@262,registry:Host@673,whole:Route@1853,whole:Route@326,whole:Route@834,whole:Route@853 e7fd64e3154d25db09cce2125445a8a8105a79c9a622c9102d67c005d69230f3
@legacy 2f70a5019b21fa97887bce0cf93f6076f0aa94cee0d4192772d288353a57859a internal/edge/handover.go Edge.moveSnapshot legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: the existing in-memory wake snapshot for the supplied route, as frontForwardHA builds it; no read added whole:Route@220 015e5a34763d17429558559c90d32dbfdec160a589335b8cfa88b543cccea110
@legacy a1a09baca3faaf3e6dd7bef94470a450af2a63e60e249cbd3f59f6b96045a067 internal/edge/hatake.go Edge.takeHost legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new (held-requests Task 4): finds the take's route by exact host in the in-memory route table (no catch-all, no alias: the row's own Host must equal the asked host), requires it hibernate-managed and not via a tunnel, and hands the whole route in memory to the activator's TakeHost; no store or filesystem read; only refuses or delegates. Task 4 fix round 1: when the in-memory table has no hibernating row for the host, an always-on worker is resolved through takeWorker (the host\'s own sidecar row in the registry); the whole route passed in memory; no read of its own registry:Host@231,whole:Route@234,whole:Route@296,whole:Route@304,whole:Route@361,whole:Route@366,whole:Route@504 8b15e34b830c9beee3bc1923828fc69f15739b04982e1bb843aa75cf01345438
@legacy f92cb1b126f1dc58178c3e909a55841a6ea3aacefa5f2dcd66a0603c422e9d9d internal/edge/hatake.go Edge.takeWorker legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new (held-requests Task 4 fix round 1): one local registry read, Registry.Get(host), only for a signed take the in-memory route table did not answer; accepts only the host's own sidecar row in status ready or empty (as AlwaysOnWorkers selects); the row is handed to the activator's TakeHost and never enters HTTP routing; only refuses or delegates registry:Host@178,registry:Status@217,registry:Status@236,whole:Route@165,whole:Route@305 8f345e9d9ba21aea8d63fe0f0e59e770e3a40c4ebb1f89ffe5798f9ab08f9009
@legacy 4cc2b7e14bfba6dcc1ccde2b89006343d2bcb7cf31b85973ccffb96eda11bf04 internal/edge/replay.go streamedBody.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new (held-requests Task 3 fix round 1): reads the client's request body it wraps (an http.Request body, not a file) and counts bytes in memory to note its end; opens, runs and follows nothing file:Read@23,file:Read@64 8e0d729ae71f10d4264c1e65ca8478f89e19dfb492008f51578f8850d60bc6f4
-@legacy 181f0e973996731d9833e1f1e4d27402c8366d893e450750e604623d1a703f84 internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only.;rev3=census-ruling-tunnel-websockets;basis=Deletes the Carlos-Upgrade marker header from incoming requests and puts the upgrade admission (host, path, the entry tenancy, all in hand) on a tunnel arm request. For a login POST on an ungated ArmTunnel row it reads the visitor request body (bounded by gate.MaxFormBody, 413 past it; a request body, not a file) and resolves next against the entry Reload built (Gate, Route); the bytes pass on only when loginPassesThrough holds (spec 7, Tasks 3, 5 and 6).;rev3=census-ruling-console-protection-tab;basis=one more call in the observer defer, observeGuardCount(up.route, out), beside the observeRecords call that files the guard Match: it passes on the route row the defer already holds (+whole:Route) and the request outcome to the usage meter, which counts the check in memory. Called whether or not the request was unbilled, as observeRecords is. Nothing is opened, read or followed; no new kind of read; no check, refusal or serving decision changes.;rev3=census-ruling-probe-burst-limit;basis=answers a probe-burst notice POST (serveBurstNotice) ahead of every route for a non-door caller; builds the guard state for up.route and stamps its account and app (RouteAccount, App) for the cool-down's this-app/other-app label; for a catalogue match on a non-static or tunnelled route, offers the burst rule (in-memory limiter, burstDecide: 429 or a watch verdict, never a block for a fleet or forward row); the observer defer calls noteBurst(up.route, ...); the added sites are the route value already in hand (+registry:App, +whole:Route x5); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): parses the request's query once (stripHoldMarker) to record the carlos_hold=1 mark in the request context; calls classifyHold on the upstream already resolved from the loaded map (the +whole:Route is that in-memory Route), including a second pass for a login POST; gives a marked request on a door-refused route the plain 404; adds the hold branch (planThrottleAdmit, rateAdmit, serveHeld) after the gate; and excludes marked requests from the shared cache. Reads only the request and the already-loaded upstream map; no registry or bucket read added.;rev3=census-ruling-region-ha-p3a;basis=Complete the P3a cut: an exact peer name with no dial target answers the approved admission 503 before local wildcard dispatch or asset serving. ExactHome and lookupHome stop fallback at a present non-dial entry; backhaulTo refuses an empty target before signing or dialing. Retain Task 3 local admission and fixed platform/unit exemptions. Two added whole Route uses feed the local in-memory admission predicate; existing Route values and store/path reads are unchanged.;rev3=census-ruling-stateless-coordinator-route;basis=P24/P25: POST only, exact /api/fleet/replicas/ prefix on the reserved tunnel host calls the existing local console proxy only for an unescaped, already-clean path; malformed forms remain on the hub. No new read sites relative to origin/main. Merge with main 3487d6f6 retains its region HA admission checks before routing and after login target lookup, its empty-home refusal, and their two existing whole:Route reads; these change this unit's digest relative to the previously approved branch tip 92b24a7d.;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: pass the already-resolved Route to the reserved replica-probe handler after acceptHop and existing admissionRefuses, requiring tunnel context plus private marker and refusing door/backhaul ingress. Added whole Route use only; scrub marker before forwarding; HA calls remain unchanged.;rev3=census-ruling-region-ha-p3b;basis=Resolve local aliases/catch-alls with cached peer name ownership before serving. Add registry Account/App/ClaimStamp/Host/Incarnation/ServingSeq and six whole Route references for NameClaim; inputs are agent registry rows/edges publications used by unprivileged edge, not root permits. Closed owners retain names and return 503; aware remote owner cannot fall through on missing transport, while legacy hop/door behavior remains. Merge 45cebde4 retains authenticated replica probes after local admission and before ordinary name resolution; probe authentication still requires the tunnel context.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1901 enters the protected demo path before ordinary exits; :2012-2015 rechecks the selected marked Route after lookup. Added whole Route use routes demos through serving checks, counters and policy; no new registry query or file open in this unit.;rev3=census-ruling-demo-api-site-route;basis=Reserve the configured site API namespace after hop verification and control-header scrubbing, before ordinary static, cache, billing and tenant dispatch. Validate hop field shape and delegate only allowlisted operations to the dedicated console path with verified client attribution and console admission. The alias helper enables HTTP/1.1 full duplex so an early console refusal does not wait for upload EOF. Existing 56 read sites unchanged; no new registry, bucket or file read.;rev3=census-ruling-region-ha-g2-fixes;basis=Consult HA ingress after region admission and before miss/alias backhaul; no new direct read; routing-only metadata does not create an upstream.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3/W4: backhaul and door calls pass the owner the door checked into backhaulTo; the §6.5 holder follow (once, GET/HEAD or an unswitched upgrade, no body) and one connect-failure fallback dial only boxes in the holder region's view (same Region/Placement/DataBucket, HomeEligible, fresh) for that owner. Holder name comes only from the TLS-verified signed hop answer; app-set X-Carlos-Holder stays stripped. Routing only; the receiving box still re-checks the lease. No new read site.;rev3=census-ruling-region-ha-held-build;basis=first branch: a request for the reserved control paths /.carlos/ha-drain and /.carlos/ha-take goes to serveHAControl and returns (refused unless a signed ask); no request on those paths reaches a route, a forward or an app; no read added here. region HA held-requests Task 2: X-Carlos-Replayable is read from verified hops only and deleted from every request; just before frontForwardHA, moveGate runs for an HA hibernating route (route HA, Host and the whole Route passed in memory) and can only hold, refuse with an existing answer or front-forward to the confirmed holder; ReleaseMoveTicket before serveHeld; no store or filesystem read added file:ReadAll@18072,registry:Account@8968,registry:App@24229,registry:App@8992,registry:ClaimStamp@9022,registry:Gate@17046,registry:Gate@28620,registry:Gate@28680,registry:Gate@28738,registry:HA@12792,registry:HA@13123,registry:Host@13162,registry:Host@28723,registry:Host@9199,registry:ImportGate@36307,registry:Incarnation@9057,registry:Kind@23091,registry:Kind@26529,registry:Kind@36249,registry:Kind@36278,registry:ServingSeq@9091,whole:Route@12795,whole:Route@12889,whole:Route@13126,whole:Route@13165,whole:Route@16941,whole:Route@17052,whole:Route@19869,whole:Route@20653,whole:Route@21111,whole:Route@21303,whole:Route@23094,whole:Route@24155,whole:Route@24221,whole:Route@24232,whole:Route@24485,whole:Route@24580,whole:Route@24656,whole:Route@24700,whole:Route@25002,whole:Route@25032,whole:Route@26532,whole:Route@26817,whole:Route@28623,whole:Route@28683,whole:Route@28726,whole:Route@28741,whole:Route@29843,whole:Route@31906,whole:Route@36252,whole:Route@36281,whole:Route@36310,whole:Route@36342,whole:Route@38190,whole:Route@7042,whole:Route@7141,whole:Route@7236,whole:Route@8971,whole:Route@8995,whole:Route@9025,whole:Route@9060,whole:Route@9094,whole:Route@9202 30a6c4dac4c55ac4aff95b775639abfe2616ccd097cc04180b47b47a3e323e8b
+@legacy d1cc1034ba6ef668116704889cd250e9a282ad6efd77f1414d2609354657a122 internal/host/hadrain.go drainDriver.move legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: drain steps 2-5 over the activator and edge APIs; reads route Host/App from the activator's in-memory DrainHosts and the fence state; no store or file read of its own registry:Host@1026,registry:Host@1128,registry:Host@1378,registry:Host@1473,registry:Host@1560,registry:Host@1629,registry:Host@1840,whole:Route@1028,whole:Route@1130,whole:Route@1380,whole:Route@1475,whole:Route@1562,whole:Route@1631,whole:Route@1842 102e459431d86669d01b0a56c9736c05cdafd2082fd28ef64e2b5a316651fdd7
+@legacy 14ba755ab0d841f04745b9a989638363c64449e6ab20dee7377d6a5d94f58a71 internal/host/hadrain.go drainDriver.moveOne legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: one host's move (BeginMove, tickets and in-flight wait, DrainStop, take, SetMoveTaken or SetMoveLeft); reads the in-memory route Host; no read of its own registry:Host@135,whole:Route@137 8864f71149172fc84a69f8f19f37150283be9c2545af40ba3133f07b7ddfd297
+@legacy d2f4ef0ee1c439dd67f05c9dce48710b7b6021bd55d084b74df0949c619b8641 internal/host/hadrain.go drainDriver.take legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: successor choice (ChooseRoomiest over the in-memory drain snapshot among peers that answer takes and are not draining), the signed take, and on a timeout one DrainTakeOwner lock read; reads route Host/App in memory registry:App@571,registry:Host@545,registry:Host@711,whole:Route@1105,whole:Route@125,whole:Route@158 f68db0cdcfba54d082b07517c788a059ac8326ab53983666ebcf79a70a8655e6
+@legacy 6186adafae20db50adfdf289c023799fc414dd76c1e6c7bd89b79db9a4619510 internal/host/hadrain.go newIncarnation legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: 16 random bytes from crypto/rand for the agent's incarnation; not a file read file:Read@61 32ca897808b96ae347289759b271cc59c099010b32792d9718739dde08f44835
+@legacy e5b59e41c54b84f68f8f85d7656e848ec3cf47849125b88ef8907f874260bd64 internal/host/hadrain_socket.go drainClient.call legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: root verb client: reads the agent drain socket's HTTP response body, bounded to 4 MiB; not a file read file:ReadAll@552 fdf043168e644ec9118aca5ee92b04957a77dfda91d815d18e941d4b3036f63d
+@legacy 65d4e49a758fd6592af4020c4d5158f6cd1a7ab0cce2e4295b74078a61bb39fd internal/host/hadrain_socket.go drainDriver.handler legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: agent drain socket handler: reads the request body bounded to 4 KiB, strict JSON with one transaction field; served only to a peer SO_PEERCRED reports as root; not a file read file:ReadAll@722 642e5314cdd3cc05f789b91b44fe981c874eb0fedc099f08a9ccd4d6fd2e9e37
+@legacy 0839e28f113acda04839f0e9f581c961270841cf6370f0a37c26debb7cd08055 internal/host/hadrain_socket_linux.go serveHADrain legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: agent-side: Lstat and open of its own 0700 socket directory under /run/carlos for a flock, as serveReplicaHealth does; no tenant or root file read file:Lstat@181,file:Open@433 a9e2bda502b2845a65824570d9afe4d2bdd18f4bda7c76e9db8e52a1861c2627
+@legacy e6bb200428a5904ba23eb85c836a4c117a34cc2fb2ed1609b2dbc3f70d4380d3 internal/host/hadrainfence_linux.go fenceLocation.install legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: root verb: writes fence.json (0644) by O_EXCL temp file, fsync and RENAME_NOREPLACE in the fence directory; reads the existing fence first and refuses another transaction's file:Openat2@703,file:Read@568 001cace56ac0d4129f8101729f0a5b80896a549db216a79cabd4728147dc85bb
+@legacy 995b265d59830c9a3e8ea7637811e853343fe43db9e60133a504d000d7c74e51 internal/host/hadrainfence_linux.go fenceLocation.openDir legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: root verb: opens (and creates 0755) the fence directory under protected ancestors by descriptor, checking owner and mode file:Fstat@1049,file:Openat2@509,file:Openat2@777 59ec2b075300f3ec504c2b29a3760c40cb235ef4c929caabe7ed24c38d730d67
+@legacy a22356cc58b0224ab6f0332c795902b9ebf3c4a7d8f7aeeeb2298e2134003e50 internal/host/hadrainfence_linux.go fenceLocation.read legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: the start fence read: /run/carlos-group-fence and its fence.json by descriptor with RESOLVE_NO_SYMLINKS/BENEATH, owner root, not group/other-writable, one link, at most 1 KiB, strict JSON; anything unexpected fences (fail closed) file:Fstat@368,file:Fstat@874,file:Openat2@518,file:Openat2@55,file:ReadAll@1079 2d265e900de23ff7a30afd5f1896313a964ca106cff3957afc162788123265e9
+@legacy d93a397d2af9802b2061bd86184eac3aa59c4a6c90ceea039aa73c3a7e0c63e2 internal/host/hadrainfence_linux.go openFenceParent legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: opens the fence directory's ancestors by descriptor from root with RESOLVE_NO_SYMLINKS, each owned by root (or the test owner) and not group/other-writable file:Fstat@316,file:Openat2@677,file:Openat2@77 e4d2e67d6e9fa6c7ead3f2e8a82bb7458b71d76e90004c84321cc5cda6c996be
+@legacy aac644c4bed8d91c3ceff71401c7f1895b172395b59d6a53f3d5fd38354bbdae internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only.;rev3=census-ruling-tunnel-websockets;basis=Deletes the Carlos-Upgrade marker header from incoming requests and puts the upgrade admission (host, path, the entry tenancy, all in hand) on a tunnel arm request. For a login POST on an ungated ArmTunnel row it reads the visitor request body (bounded by gate.MaxFormBody, 413 past it; a request body, not a file) and resolves next against the entry Reload built (Gate, Route); the bytes pass on only when loginPassesThrough holds (spec 7, Tasks 3, 5 and 6).;rev3=census-ruling-console-protection-tab;basis=one more call in the observer defer, observeGuardCount(up.route, out), beside the observeRecords call that files the guard Match: it passes on the route row the defer already holds (+whole:Route) and the request outcome to the usage meter, which counts the check in memory. Called whether or not the request was unbilled, as observeRecords is. Nothing is opened, read or followed; no new kind of read; no check, refusal or serving decision changes.;rev3=census-ruling-probe-burst-limit;basis=answers a probe-burst notice POST (serveBurstNotice) ahead of every route for a non-door caller; builds the guard state for up.route and stamps its account and app (RouteAccount, App) for the cool-down's this-app/other-app label; for a catalogue match on a non-static or tunnelled route, offers the burst rule (in-memory limiter, burstDecide: 429 or a watch verdict, never a block for a fleet or forward row); the observer defer calls noteBurst(up.route, ...); the added sites are the route value already in hand (+registry:App, +whole:Route x5); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): parses the request's query once (stripHoldMarker) to record the carlos_hold=1 mark in the request context; calls classifyHold on the upstream already resolved from the loaded map (the +whole:Route is that in-memory Route), including a second pass for a login POST; gives a marked request on a door-refused route the plain 404; adds the hold branch (planThrottleAdmit, rateAdmit, serveHeld) after the gate; and excludes marked requests from the shared cache. Reads only the request and the already-loaded upstream map; no registry or bucket read added.;rev3=census-ruling-region-ha-p3a;basis=Complete the P3a cut: an exact peer name with no dial target answers the approved admission 503 before local wildcard dispatch or asset serving. ExactHome and lookupHome stop fallback at a present non-dial entry; backhaulTo refuses an empty target before signing or dialing. Retain Task 3 local admission and fixed platform/unit exemptions. Two added whole Route uses feed the local in-memory admission predicate; existing Route values and store/path reads are unchanged.;rev3=census-ruling-stateless-coordinator-route;basis=P24/P25: POST only, exact /api/fleet/replicas/ prefix on the reserved tunnel host calls the existing local console proxy only for an unescaped, already-clean path; malformed forms remain on the hub. No new read sites relative to origin/main. Merge with main 3487d6f6 retains its region HA admission checks before routing and after login target lookup, its empty-home refusal, and their two existing whole:Route reads; these change this unit's digest relative to the previously approved branch tip 92b24a7d.;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: pass the already-resolved Route to the reserved replica-probe handler after acceptHop and existing admissionRefuses, requiring tunnel context plus private marker and refusing door/backhaul ingress. Added whole Route use only; scrub marker before forwarding; HA calls remain unchanged.;rev3=census-ruling-region-ha-p3b;basis=Resolve local aliases/catch-alls with cached peer name ownership before serving. Add registry Account/App/ClaimStamp/Host/Incarnation/ServingSeq and six whole Route references for NameClaim; inputs are agent registry rows/edges publications used by unprivileged edge, not root permits. Closed owners retain names and return 503; aware remote owner cannot fall through on missing transport, while legacy hop/door behavior remains. Merge 45cebde4 retains authenticated replica probes after local admission and before ordinary name resolution; probe authentication still requires the tunnel context.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1901 enters the protected demo path before ordinary exits; :2012-2015 rechecks the selected marked Route after lookup. Added whole Route use routes demos through serving checks, counters and policy; no new registry query or file open in this unit.;rev3=census-ruling-demo-api-site-route;basis=Reserve the configured site API namespace after hop verification and control-header scrubbing, before ordinary static, cache, billing and tenant dispatch. Validate hop field shape and delegate only allowlisted operations to the dedicated console path with verified client attribution and console admission. The alias helper enables HTTP/1.1 full duplex so an early console refusal does not wait for upload EOF. Existing 56 read sites unchanged; no new registry, bucket or file read.;rev3=census-ruling-region-ha-g2-fixes;basis=Consult HA ingress after region admission and before miss/alias backhaul; no new direct read; routing-only metadata does not create an upstream.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3/W4: backhaul and door calls pass the owner the door checked into backhaulTo; the §6.5 holder follow (once, GET/HEAD or an unswitched upgrade, no body) and one connect-failure fallback dial only boxes in the holder region's view (same Region/Placement/DataBucket, HomeEligible, fresh) for that owner. Holder name comes only from the TLS-verified signed hop answer; app-set X-Carlos-Holder stays stripped. Routing only; the receiving box still re-checks the lease. No new read site.;rev3=census-ruling-region-ha-held-build;basis=first branch: a request for the reserved control paths /.carlos/ha-drain and /.carlos/ha-take goes to serveHAControl and returns (refused unless a signed ask); no request on those paths reaches a route, a forward or an app; no read added here. region HA held-requests Task 2: X-Carlos-Replayable is read from verified hops only and deleted from every request; just before frontForwardHA, moveGate runs for an HA hibernating route (route HA, Host and the whole Route passed in memory) and can only hold, refuse with an existing answer or front-forward to the confirmed holder; ReleaseMoveTicket before serveHeld; no store or filesystem read added; region HA held-requests Task 5: after the HA control-path branch, every request is counted by the connection drain (conns.track: a cancellable request context, and Connection: close only while draining); memory only; no read added file:ReadAll@18266,registry:Account@9162,registry:App@24423,registry:App@9186,registry:ClaimStamp@9216,registry:Gate@17240,registry:Gate@28814,registry:Gate@28874,registry:Gate@28932,registry:HA@12986,registry:HA@13317,registry:Host@13356,registry:Host@28917,registry:Host@9393,registry:ImportGate@36501,registry:Incarnation@9251,registry:Kind@23285,registry:Kind@26723,registry:Kind@36443,registry:Kind@36472,registry:ServingSeq@9285,whole:Route@12989,whole:Route@13083,whole:Route@13320,whole:Route@13359,whole:Route@17135,whole:Route@17246,whole:Route@20063,whole:Route@20847,whole:Route@21305,whole:Route@21497,whole:Route@23288,whole:Route@24349,whole:Route@24415,whole:Route@24426,whole:Route@24679,whole:Route@24774,whole:Route@24850,whole:Route@24894,whole:Route@25196,whole:Route@25226,whole:Route@26726,whole:Route@27011,whole:Route@28817,whole:Route@28877,whole:Route@28920,whole:Route@28935,whole:Route@30037,whole:Route@32100,whole:Route@36446,whole:Route@36475,whole:Route@36504,whole:Route@36536,whole:Route@38384,whole:Route@7236,whole:Route@7335,whole:Route@7430,whole:Route@9165,whole:Route@9189,whole:Route@9219,whole:Route@9254,whole:Route@9288,whole:Route@9396 a18b7ab411e5ec2256bf5b2954c81e205ea1ce19b858f8b74fac3b7f99b1dd53
@legacy f78036fdc1d47e9f51d0ed7755280e704b2bd0d8bf74756880d618eeaaef8bb3 internal/edge/forwardha.go Edge.forwardHAAndNote legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=New extracted forward helper reports dial/silent/final-header outcomes against supplied route Host; existing signed hop only, no new file/store read or request replay.;rev3=census-ruling-region-ha-held-build;basis=held-requests Task 3: now a thin wrapper over forwardHAFollow (its old body is forwardHANoted); a handover answer naming this box is reported as ForwardNotInView so callers give their existing answer; passes the route in memory; no read added whole:Route@196 826fab956712ec3348e9aac13898400219dcc948e768b638b457d563ce51949b
@legacy 6952458a99cf962dcd6f9bf0ed2e6c1918857e5773c16270c0480f4af0779e9c internal/activator/activator.go Service.WakeWorker legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=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-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-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-p3a;basis=P3a Task 3: check local tenant admission and start permission before lease/restore, preserving already-awake reuse during drain and existing serialization. Whole Route passes to the local predicate; no new filesystem or store read.;rev3=census-ruling-region-ha-g2-fixes;basis=Check latched HA loss and schedule bounded recovery before worker wake; route passed to the separately claimed loss helpers.;rev3=census-ruling-region-ha-held-build;basis=Task 4 fix round 1: now a one-line wrapper, wakeWorker(context.Background(), rt); its body moved unchanged to wakeWorker; behaviour and reads unchanged whole:Route@99 74e6c176e875798b68f7d28a398c40421c726305788188873f2ea9382a9d315c
@legacy d827d4e494c6712ea2b572cdf71a99180342e8d4ffb35027656353e9a86319a9 internal/edge/forwardha.go Edge.frontForwardHA legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b2;basis=new (region HA P1b-2): the agent's edge decides at the front door whether to forward a visitor request: reads the route's HA flag and host from the box's own registry row and asks the activator; forwards only to a box in view over the existing signed hop; root never calls it;rev3=census-ruling-region-ha-dead-holder-backoff;basis=ForwardTarget returns a ForwardDecision (Ref, Refuse, Gen); a Refuse is answered at the front door with the existing unreachable answer (503, Retry-After: 10, same body, via answerHolderUnreachable), with no forward, dial, note or per-request step. A forward passes the decision to forwardHA and NoteForward carries Ref and Gen back. The round-1 connection callback (NoteConnected) is gone: the dial bound now lives in forwardTransport's forwardDialGate, which coalesces TCP dials per holder address in memory. The same 5 read sites; no new read; root never calls it.;rev3=census-ruling-region-ha-p1b3a;basis=Pass the existing route to a lazy cached wakeSnapshot closure, handle explicit local denial before all accounting, and refuse a disappeared Placement choice rather than falling through locally; whole Route read only, no new store or filesystem operation and no root authority.;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): for a marked request to a hibernating HA route it uses the new HAForwarderFromMemory (ForwardTargetFromMemory) instead of ForwardTarget, so the hold path makes no holder-lock read; a non-stream marked request is left to this box's classification, and a holder not known from memory is answered with the one-retry event. The unmarked path is unchanged. Reads only the request mark and the already-loaded route and home map; no read added.;rev3=census-ruling-region-ha-followups;basis=Report detached TCP/TLS failure after a canceled Placement or Recovery request through the existing NoteForward classifier, preserving Ref, Gen and PeerGen. Reuse the route Host to correlate the late result; no new storage read or routing authority.;rev3=census-ruling-region-ha-g2-fixes;basis=Share forwarding observation helper and refuse disappearance of a selected peer when local pool-ineligible; existing route input, two Host reads moved to helper.;rev3=census-ruling-region-ha-held-build;basis=held-requests Task 3: calls forwardHAFollow instead of forwardHAAndNote, and when a handover answer named this box returns false so the request takes the existing local path (only when the route is locally pool-eligible); the same route reads; no read added registry:HA@225,registry:Hibernate@584,whole:Route@1244,whole:Route@1368,whole:Route@1602,whole:Route@1651,whole:Route@1856,whole:Route@228,whole:Route@515,whole:Route@587 43b47f419e9d094f67e9fb1737b9988efb7d732f09a52884197726a31cc68b85
@@ -42,16 +59,21 @@ internal/activator/haduties.go Service.dutyInput legacy accepted-legacy accepted
internal/activator/haforward.go Service.NoteForward legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Ignore canceled forwards; classify connected-holder silence for bounded revalidation and refuse stale local-entry shortcuts by pool; reads cached route under the existing locks, no external read.;rev3=census-ruling-region-ha-held-build;basis=returns early, changing nothing, for a ForwardSilent outcome from a peer the edge fold shows draining (spec 25.5 Silence); all other outcomes unchanged; no read added whole:Route@1242,whole:Route@1253,whole:Route@1325 6063c04005c985b5976f9da2de4efb7fb5fbb1a82f1c5cbc189e451b1003a1bc
internal/activator/haforward.go Service.decideForward legacy accepted-legacy accepted-legacy;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): new: the second half of the old ForwardTarget body, moved unchanged: turns a holder resolution into the edge's ForwardDecision (the HA view and host reads it already made). Moved, not widened; no new read.;rev3=census-ruling-region-ha-g2-fixes;basis=Pass local eligibility into both placement decisions; supplied route only, no new external read.;rev3=census-ruling-region-ha-held-build;basis=the wake snapshot is LocalDenied also when IsDraining(); only narrows local placement; no read added registry:Host@1248,registry:Host@1396,registry:Host@1569,registry:Host@1860,registry:Host@1983,whole:Route@1038,whole:Route@1787,whole:Route@1825,whole:Route@990 915a0efc9f5ea2acaa0ef983cceb6dc741763054f707c3a6da3328b3eade8d8e
internal/activator/haleaseloss.go Service.latchHALossLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Retain loss state and close refusal waiters for the exact HA entry; read cached Route.HA and route value, no external read.;rev3=census-ruling-region-ha-held-build;basis=region HA held-requests Task 2: after latching a loss, pokeMoveLocked wakes that host's held requests so they get the F-A answer; in memory only; no read added registry:HA@147,whole:Route@149,whole:Route@571,whole:Route@580 d05e19ffc5bea1644df6b4473e2e61debed26977926b13ca1481f5393b6d529c
-internal/host/agent.go runAgent authority B,C,D,F rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): builds the box's lifetime judge once (newBoxJudge, nil with host claims on) and hands it to the seed placement, the moves and runs workers and every loop it starts; read sites unchanged, offsets moved; B,C,D,F authority retained; self-serve moves 1 Task 8: derives the box's lifetimes switch from the judge once (lifetimes := boxJudge != nil) and hands it to the edges file loop; read sites unchanged, offsets moved;rev3=census-ruling-plans-4d-lapse;basis=arms two more plans hooks from the same snapshot: e.SetPlanDisabledFor(planDisabledFor) beside SetPlanGovernedFor, and svc.SetDisabledFor(planDisabledRoute) beside SetMaxRunFor (plans 4d); the reads live in those units (plans-4d-units decision); read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 9b81d97b (with main's plan rate ceiling, edge request records, regional box names, self-serve moves plan 1, plans 4d-1 lapse and its other later changes under main's own census rulings) plus the rootfs placement wiring in the activator start: an agentRootfs built from eb.NestedOK, CARLOS_DEPLOYMENT_SINGLE_TENANT, CARLOS_POOLS, the claim flag, swapArming's answer, the control client's /ready/rootfs and, on a fleet box whose identity resolved, fleetOwnerCheck over the deploy store main already opens for the fleet label (fleetStore), then arm and armedRootfs.Store; this body reads nothing new itself; the closures it wires read later, at a rootfs wake and each status tick: GET /ready/rootfs over the control socket, NestedOK's checks, and release.FleetOwnerKey for the judged row's own account and this box's fleet from the deploy store;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Tasks 7 and 11, #329 plan 3 Task 7 and plan 1 Task 7's policy cache: the control client is built once and handed to eb.Control, to the status tick (egressStatus) and to a new egressNudgeLoop goroutine; armSizeSource(svc, "/sys/fs/cgroup") after the activator Service; armPolicyCache() after armChangeIndex; statusLoop takes egressStatus. The reads are those units' own (decision rows); this body reads nothing new: the same five sites, offsets moved, in the agent; B,C,D,F authority retained.;rev3=census-ruling-remote-instance-metrics;basis=builds the metrics loop's owners closure (metricsOwners over the agent's registry, the activator and cgm.Leftover) when an activator exists and hands it to metricsLoop; reads nothing new itself;rev3=census-ruling-edge-asset-cache-3;basis=adds file:Statfs. runAgent keeps its authority (B,C,D,F). The new site is assetcache.Statfs, an exported assetcache.FS interface value (var Statfs FS = statfsFS{}), not a function value and not a call in runAgent: the ready hook passes it to armEdgeAssetCache as the store's filesystem, and armEdgeAssetCache calls its Space method on the configured data directory (dataDir(): $CARLOS_DATA_DIR, else /data), which calls unix.Statfs there (statfsFS.Space, accepted legacy at census-ruling-edge-asset-cache-2). No request-supplied pathname reaches it.;rev3=census-ruling-remote-metrics-nested;basis=main's body (merged origin/main acfa4f80, under main's own census rulings) plus: snapshots the nested layout (snapshotNestedUnits over /sys/fs/cgroup/carlos.slice/carlos-instances.slice) once at start, before the activator, and hands the metrics loop a unitSources struct (stamped units, routeHostNames, that root and the snapshot); reads nothing new itself;rev3=census-ruling-region-ha-p1a;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): wires region HA P1a into the activator: cfg.Record = haRecordFacts(openDeployStore, boxJudge) (the box's lifetime judge this body already builds with newBoxJudge, nil with host claims on; CI fix) and cfg.Self = lease.CurrentSelf; eb.Lifetimes (the process's lifetime index), eb.Registry, eb.StartupSwept (seedSweptAtStart.Load), eb.FilesStore from newProductionFilesStore (now lease.NewFilesStore, rootaws-loaded, a log line on failure) and lease.SetObligationDir(<data>/.ha-owed) (logged on failure; HA acquires then refuse); this body reads nothing new itself, the same five sites; the reads are those units' own (haRecordFacts and lease's SetObligationDir are new rows on this card); merge of origin/main d7ae1d76: main's own later changes to this body are kept as main has them, under main's rulings (census-ruling-remote-instance-metrics: the metricsOwners closure for metricsLoop; census-ruling-edge-asset-cache-3: the +file:Statfs site, assetcache.Statfs handed to the asset ready hook); this branch's change is the same as above;rev3=census-ruling-region-ha-p1b1;basis=region HA P1b-1: builds one termfence.Confirmer (Self from lease.CurrentSelf at each call, EC2 DescribeInstances method only, client from rootaws.LoadDefaultConfig with retries off, built lazily on first use) and sets eb.OwnerTerminated; this body reads nothing new itself, the same six sites;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the startup Sweep literal hands its answer to startupSwept, which logs as before and, only on a clean sweep, marks rootfs admission swept (MarkRootfsSwept); same Sweep call, no read added;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (controller ruling after branch review R1, and Paul's R2 ruling): sets svc.Fleet = fleetWakeFor(os.Getenv, identity, identErr, fleetStore) from the identity it already resolves once and the deployment store the fleet loops already opened, and logs an ERROR naming the identity error when the box is on a fleet with an invalid identity. fleetWakeFor reads CARLOS_REGION and CARLOS_FLEET from the same environment. Read sites unchanged (6). Agent, not root; a platform box is unchanged.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 12: one call more beside armRunsPass, armInteractivePass(svc, reg, rolloutSink, boxJudge), in the same activator Configure hook, handing it the same box judge; fix round 1 (Astra P2, shutdown): after svc.Shutdown(ctx), shutdownInteractive(ctx) ends and joins every interactive session under the same shutdown budget; the worker's own reads are its units' (interactive.go); this body reads nothing new, the same six sites; merge of origin/main 6f1f6ca6: main's svc.Fleet = fleetWakeFor(...) and its invalid-identity ERROR line are kept as main has them (census-ruling-managed-fleets-1b); this branch's change is the same as above; read sites unchanged (6);rev3=census-ruling-fix-set-aside-exdev;basis=set-aside EXDEV fix: one field more on the agent ExecBackend literal, RawInstanceDir: layout.RawInstanceDir (a pure path join: <dataDir>/.instances/<InstanceID(host)>), so the start rule set-aside moves a copy out through the raw directory instead of through the nosymfollow bind; this body reads nothing new, the same six sites;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 3: one more assignment beside eb.FilesStore: eb.EscrowKey = haEscrowKey(os.Getenv("CARLOS_SECRETS_KEY")), the agent's own environment parsed by appconfig.ParsePrivateKey as the moves pass parses it (unset or unparseable: a log line and nil, and HA publication refuses on the box). No path is opened or read, no read site added; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 4: one more goroutine beside configSyncLoop: go escrowLoop(agentCtx, reg, svc), the escrow sweep every 30 s over the same registry and Service. This body reads nothing new itself; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 5: one more call beside eb.EscrowKey: wireRawSecretPages(eb, PageOperator, metricsBoxLabel(os.Getenv, readMachineID())), which sets eb.OnRawSecret to page an operator (alerting.Page through PageOperator, LevelIncident) on its own goroutine with a 20 s timeout; metricsBoxLabel and readMachineID are the reads this body already makes for the moves refusal log; no new read site; the same six sites, offsets moved; B,C,D,F authority retained. Merge of origin/main 90c4d3aa: main's own later changes to this body are kept as main has them, under main's rulings; this branch's change is the same as above. Merge of origin/main 00bf5b8c (fleet set-aside EXDEV fix): main's change to this body is kept as main has it, under its own census ruling; this branch's change is unchanged.;rev3=census-ruling-probe-burst-limit;basis=two more sink wirings beside setAnalyticsSink: setProtectionSink(e.SetProtectionRecordOnly) and setAssetOwnersSource(e.AssetOwners), function values the telemetry pass calls; this body reads nothing new, the same six sites; authority B,C,D,F retained; no new root read or write kind;rev3=census-ruling-region-ha-p1b3a;basis=Arm HA placement exactly once on the existing Service before activatorStart and edges publication, wiring AwakeApps and the PageOperator callback; existing six read sites unchanged, no new root authority.;rev3=census-ruling-stateless-replicas-1;basis=Final review I3: start the concrete coordinator's renewal worker with agent setup; existing closeReplicaCoordinator shutdown cancels and joins it before release. No new read sites or credentials. Merge origin/main c59715e7: retain main's armHAPlacement(svc, PageOperator) wiring beside the existing activator setup; stateless coordinator and shutdown wiring remain. Same read sites; no new root read or credential.;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): in the edge-ready callback, calls act.SetHeldWakeHook(e.HeldWake) when act is non-nil (installing the non-blocking wake callback) and stores e.HeldStreamsForStatus in heldStreamsSource. Wiring of in-memory callbacks only; no read added.;rev3=census-ruling-region-ha-p1b3b-t;basis=Wire Service.SetDutyView to the live edge DutySnapshot in the ready callback. No new read; no new loop or cloud operation. B2 wires the registry as the persistent DutyStore before service startup; no new cloud or filesystem path. B3b: arm one journal-backed termination consumer before service startup using agentCtx and the shared confirmer; expose edge tick and join at edge shutdown. No new direct read sites.;rev3=census-ruling-agent-start-demo-1;basis=Passes the existing registry, data store and hibernation prefix into the demo worker, and the existing instance-control client into the demo before-exec hook. No alternate data store or polling loop. Merge resolution against origin/main 9bd45488 retains main's HA departure controller, lifecycle and duty wiring alongside the demo data store and worker; no read site added by the resolution.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: install closed fixed admission before every launch source, bind activator/backend and edge, wire the real termination Started lifecycle and role reader after the change index; close before cancellation/child shutdown. No new external reads or cloud authority. Fix R1: move bind/lifecycle/edge-option wiring into wireAgentAdmission and worker listing into runWorkerBootPassAfterAdmission. Worker boot waits for admission before listing then uses unchanged bounded wakes and per-host serialization; whole Route read moves to the helper. No new storage, cloud, or root execution authority. Preserve merged main's agent wiring and census basis; the branch removes one whole Route use by moving worker iteration to the helper, with no added read kind.;rev3=census-ruling-stateless-replicas-2;basis=Slice 3b: arms a fleet-only worker using the existing registry, activator, backend and authenticated console transport. Owned worker stops and joins at shutdown. No new bucket reader. merge of origin/main 9b8b2c50: retain HA duty/departure lifecycle, wake-slot and existing agent wiring alongside the replica placement worker; no new read introduced by resolution. merge of origin/main 6be08467: Retain main demo configuration, admission, build and expiry wiring alongside the replica worker; merge-only body change, no additional read. merge of origin/main 7920cccf: Retain main box-role/group admission wiring and boot publication beside the owned replica worker and shutdown; main moves the boot registry List into runWorkerBootPassAfterAdmission, removing its inline whole Route site. No new read introduced by conflict resolution.;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 M3: retain the private snapshot source and cancel/join ownership, but use the replica-health-specific retry loop. It logs its first failure only and retains the existing exponential backoff capped at 30 seconds; unsupported builds return nil. Existing five direct read sites unchanged; no new credentials, bucket reader or app lifecycle action. Fix round 1 Q20: publish Edge.ReplicaSnapshots as a separate in-memory status source, leaving the tenant-visible Upstreams source unchanged. No new external reader or authority.;rev3=census-ruling-region-ha-p3b;basis=Load root-written group marker/configuration, configure signed boot binding and agent receipt completer, wire cancellable admission into departure work and expose cached GroupReaderSnapshot. New indirect boot reads use protected root files; agent-owned receipt controls duplicate initial completion only, never root restart permission. Same five direct sites. Merge 45cebde4 retains the replica health socket lifecycle and setReplicaSource beside GroupReaderSnapshot; no extra read beyond main.;rev3=census-ruling-agent-start-demo-2;basis=agent.go:309-329 opens demo-traffic.db beside the operator-configured registry when a demo domain exists, closes it at shutdown and wires drain-before-purge; :1010-1019 shares the worker and write gate; :1164-1177 installs the fleet identity and closed-until-worker serving callback. One added whole Route pass; the new indirect filesystem/SQL reads are claimed in openDemoTraffic and worker/store units. No request chooses the database pathname.;rev3=census-ruling-region-ha-p1b3b-s;basis=Wire the service duty view to authoritative cached sidecar manifest placement in LifetimeIndex and the edge sidecar projection; missing policy denies duty. Existing instance duty wiring remains.;rev3=census-ruling-region-ha-g2-t3;basis=T3a: wire eb.Page = PageOperator beside OwnerTerminated before departures arm, so suspect-holder pages work if departure setup fails; no new read; existing nine sites and authority unchanged; pages through the existing sink. T3b: publish the same backend through an atomic pointer for the metrics observer, and clear it on return; no new external read or authority.;rev3=census-ruling-agent-start-demo-3;basis=Wire the claim activator and root snapshot client into the demo worker; pass moved readiness to status reporting. Census read-site delta: unchanged (9).;rev3=census-ruling-region-ha-g2-fixes;basis=Wire local pool evidence, live withdrawal activator, startup ingress scan and alias publication, and edge lookup; no new direct sites; new indirect record/claim reads use existing store/judge paths described in ingress helpers.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: starts the existing record-view backstop loop with a departure-inventory listener (non-blocking, coalesced signal) even without an armed RecordView; it requests the existing full pass (backstopFullDue) there. Same nine read sites; no new read or authority.;rev3=census-ruling-region-ha-graceful-terminate-t2;basis=Derive one signal-time deadline with a 90-second budget; cap departure stop and startup/seed/service shutdown joins by it. No read added.;rev3=census-ruling-static-sweep-periodic;basis=in the edge-ready callback, publishes e.LargestStaticTree in staticTreeSource for the disk alert line (diskAlertFrac in the metrics loop); in-memory wiring only, no read added; read sites unchanged (9);rev3=census-ruling-region-ha-held-build;basis=wires the drain state: svc.SetDrainingSource(boxDrain.IsDraining), svc.SetPeerDrainView(e.PeerDraining), e.SetPeerDrainedHook(svc.DropHoldersNaming); in-memory only; no read added file:Exec@19204,file:Open@1707,file:Statfs@50791,registry:App@12803,registry:Host@46827,whole:Route@12795,whole:Route@45670,whole:Route@46950,whole:Route@47012 720a577f668d4515fa88cf1ff1799d969d0e144c3feba7b31b25b279827f3d85
+internal/activator/harelease.go Service.releaseHAClean legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1a;basis=new: an HA entry's release, in order: host slice read empty through haHostEmpty (else errHostSliceUnproven and nothing written; the same check, moved into that helper by final fix F1), stop and join the files publisher, its final publish (2 min budget), the replica's final sync (Finish, 30 s), the local release record, then the release marker PUT (10 s), clean only when the final publish was complete and the sync and record succeeded; a failed PUT is a persisted lease obligation; +registry:Host, +whole:Route x4;rev3=census-ruling-region-ha-p1b3b-t;basis=Record advisory local-release basis only after ReleaseMarker succeeds. Add a whole-route argument to local duty bookkeeping; release order and lease authority unchanged.;rev3=census-ruling-region-ha-g2-fixes;basis=Latch unexpected lease loss before release and mark intentional release so ErrSpent alone is not treated as loss; no new read.;rev3=census-ruling-region-ha-graceful-terminate-t2;basis=Cap Final, Finish and marker contexts by the shutdown deadline and reserves; keep calls synchronous and stop proof unchanged; record successful marker completion under the service mutex. No read added.;rev3=census-ruling-region-ha-held-build;basis=region HA held-requests Task 5: records the written marker's clean flag on the entry (haReleaseClean) beside haReleased, for the drain report; no read added registry:Host@2101,whole:Route@102,whole:Route@1122,whole:Route@1260,whole:Route@2010,whole:Route@244 1e43140ee5241be5b058f9632fb10e9f383580f3aae2787f96c9316fa03116ba
+internal/edge/edge.go RunWithActivatorReady legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-certwarm-wake;basis=registers the cert warm's nudge on OnReload and on the home map's new served-hosts wake (#386); nudge only sends on a buffered channel; no read added, same 5 sites;rev3=census-ruling-edge-roll-blip;basis=the :80/:443 (and dev) listeners are bound on the calling goroutine with net.Listen via listen()/listenAddr (same empty-address defaults as ListenAndServe) before the serve goroutines, which now call Serve/ServeTLS on them, and one log line names the bound addresses; no read added, same 5 sites;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): the inline home-map arming (newHomeMap, one boot Refresh, Store, run) moves unchanged into the new Edge.ArmHomeMap and is called here as e.ArmHomeMap(); same refresh, same timeout, same order. The reads are moved, none added.;rev3=census-ruling-agent-start-demo-1;basis=Logs the combined explicit wildcard parents through demoWildcardDomains; no new watcher or read loop.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: invoke the local admission Close before HTTP/HTTPS draining and door shutdown in both dev and normal listeners. Preserve merged main's startup behavior and its census basis; the same five read sites, no new reads.;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: defer stopping and joining the edge's replica jobs at shutdown. Existing five direct read sites unchanged; no new reader or authority.;rev3=census-ruling-region-ha-p3b;basis=Wrap dev, HTTP and HTTPS listeners through ConfigureGroupHairpin before serving. Indirectly read protected root boot identity and group-ingress.json; kernel local/peer addresses mark local ingress, never HTTP headers. Agent edge uses verified public source for accounting; direct read sites unchanged and absent marker keeps original listeners. CI fix removes interface enumeration: local peer must match snapshot primary IPv4, an ingress IPv4 installed locally by root, or loopback; kernel destination must still be an ingress EIP on port 80/443. Merge 45cebde4 retains deferred stopReplicaProbes alongside group listener wrapping and shutdown admission closure.;rev3=census-ruling-demo-api-site-route;basis=Change the startup failure context from load routes to initialize because origin validation now runs during construction. Existing five read sites unchanged; no new read or runtime authority.;rev3=census-ruling-region-ha-graceful-terminate-t2;basis=Invoke the agent shutdown timestamp hook synchronously at SIGTERM/SIGINT receipt before closing admission in dev and TLS paths. No read added.;rev3=census-ruling-region-ha-held-build;basis=region HA held-requests Task 5: registers the https and http servers with the connection drain (conns.serve) so a drain can close idle keep-alive connections; no read added data-literal@129,data-literal@148,data-literal@284,data-literal@417,file:Open@1013 44ab284d7d989386f244332c09977cdb55bb293c949fb85da040404ba480e5cc
+internal/host/agent.go runAgent authority B,C,D,F rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): builds the box's lifetime judge once (newBoxJudge, nil with host claims on) and hands it to the seed placement, the moves and runs workers and every loop it starts; read sites unchanged, offsets moved; B,C,D,F authority retained; self-serve moves 1 Task 8: derives the box's lifetimes switch from the judge once (lifetimes := boxJudge != nil) and hands it to the edges file loop; read sites unchanged, offsets moved;rev3=census-ruling-plans-4d-lapse;basis=arms two more plans hooks from the same snapshot: e.SetPlanDisabledFor(planDisabledFor) beside SetPlanGovernedFor, and svc.SetDisabledFor(planDisabledRoute) beside SetMaxRunFor (plans 4d); the reads live in those units (plans-4d-units decision); read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 9b81d97b (with main's plan rate ceiling, edge request records, regional box names, self-serve moves plan 1, plans 4d-1 lapse and its other later changes under main's own census rulings) plus the rootfs placement wiring in the activator start: an agentRootfs built from eb.NestedOK, CARLOS_DEPLOYMENT_SINGLE_TENANT, CARLOS_POOLS, the claim flag, swapArming's answer, the control client's /ready/rootfs and, on a fleet box whose identity resolved, fleetOwnerCheck over the deploy store main already opens for the fleet label (fleetStore), then arm and armedRootfs.Store; this body reads nothing new itself; the closures it wires read later, at a rootfs wake and each status tick: GET /ready/rootfs over the control socket, NestedOK's checks, and release.FleetOwnerKey for the judged row's own account and this box's fleet from the deploy store;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Tasks 7 and 11, #329 plan 3 Task 7 and plan 1 Task 7's policy cache: the control client is built once and handed to eb.Control, to the status tick (egressStatus) and to a new egressNudgeLoop goroutine; armSizeSource(svc, "/sys/fs/cgroup") after the activator Service; armPolicyCache() after armChangeIndex; statusLoop takes egressStatus. The reads are those units' own (decision rows); this body reads nothing new: the same five sites, offsets moved, in the agent; B,C,D,F authority retained.;rev3=census-ruling-remote-instance-metrics;basis=builds the metrics loop's owners closure (metricsOwners over the agent's registry, the activator and cgm.Leftover) when an activator exists and hands it to metricsLoop; reads nothing new itself;rev3=census-ruling-edge-asset-cache-3;basis=adds file:Statfs. runAgent keeps its authority (B,C,D,F). The new site is assetcache.Statfs, an exported assetcache.FS interface value (var Statfs FS = statfsFS{}), not a function value and not a call in runAgent: the ready hook passes it to armEdgeAssetCache as the store's filesystem, and armEdgeAssetCache calls its Space method on the configured data directory (dataDir(): $CARLOS_DATA_DIR, else /data), which calls unix.Statfs there (statfsFS.Space, accepted legacy at census-ruling-edge-asset-cache-2). No request-supplied pathname reaches it.;rev3=census-ruling-remote-metrics-nested;basis=main's body (merged origin/main acfa4f80, under main's own census rulings) plus: snapshots the nested layout (snapshotNestedUnits over /sys/fs/cgroup/carlos.slice/carlos-instances.slice) once at start, before the activator, and hands the metrics loop a unitSources struct (stamped units, routeHostNames, that root and the snapshot); reads nothing new itself;rev3=census-ruling-region-ha-p1a;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): wires region HA P1a into the activator: cfg.Record = haRecordFacts(openDeployStore, boxJudge) (the box's lifetime judge this body already builds with newBoxJudge, nil with host claims on; CI fix) and cfg.Self = lease.CurrentSelf; eb.Lifetimes (the process's lifetime index), eb.Registry, eb.StartupSwept (seedSweptAtStart.Load), eb.FilesStore from newProductionFilesStore (now lease.NewFilesStore, rootaws-loaded, a log line on failure) and lease.SetObligationDir(<data>/.ha-owed) (logged on failure; HA acquires then refuse); this body reads nothing new itself, the same five sites; the reads are those units' own (haRecordFacts and lease's SetObligationDir are new rows on this card); merge of origin/main d7ae1d76: main's own later changes to this body are kept as main has them, under main's rulings (census-ruling-remote-instance-metrics: the metricsOwners closure for metricsLoop; census-ruling-edge-asset-cache-3: the +file:Statfs site, assetcache.Statfs handed to the asset ready hook); this branch's change is the same as above;rev3=census-ruling-region-ha-p1b1;basis=region HA P1b-1: builds one termfence.Confirmer (Self from lease.CurrentSelf at each call, EC2 DescribeInstances method only, client from rootaws.LoadDefaultConfig with retries off, built lazily on first use) and sets eb.OwnerTerminated; this body reads nothing new itself, the same six sites;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the startup Sweep literal hands its answer to startupSwept, which logs as before and, only on a clean sweep, marks rootfs admission swept (MarkRootfsSwept); same Sweep call, no read added;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (controller ruling after branch review R1, and Paul's R2 ruling): sets svc.Fleet = fleetWakeFor(os.Getenv, identity, identErr, fleetStore) from the identity it already resolves once and the deployment store the fleet loops already opened, and logs an ERROR naming the identity error when the box is on a fleet with an invalid identity. fleetWakeFor reads CARLOS_REGION and CARLOS_FLEET from the same environment. Read sites unchanged (6). Agent, not root; a platform box is unchanged.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 12: one call more beside armRunsPass, armInteractivePass(svc, reg, rolloutSink, boxJudge), in the same activator Configure hook, handing it the same box judge; fix round 1 (Astra P2, shutdown): after svc.Shutdown(ctx), shutdownInteractive(ctx) ends and joins every interactive session under the same shutdown budget; the worker's own reads are its units' (interactive.go); this body reads nothing new, the same six sites; merge of origin/main 6f1f6ca6: main's svc.Fleet = fleetWakeFor(...) and its invalid-identity ERROR line are kept as main has them (census-ruling-managed-fleets-1b); this branch's change is the same as above; read sites unchanged (6);rev3=census-ruling-fix-set-aside-exdev;basis=set-aside EXDEV fix: one field more on the agent ExecBackend literal, RawInstanceDir: layout.RawInstanceDir (a pure path join: <dataDir>/.instances/<InstanceID(host)>), so the start rule set-aside moves a copy out through the raw directory instead of through the nosymfollow bind; this body reads nothing new, the same six sites;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 3: one more assignment beside eb.FilesStore: eb.EscrowKey = haEscrowKey(os.Getenv("CARLOS_SECRETS_KEY")), the agent's own environment parsed by appconfig.ParsePrivateKey as the moves pass parses it (unset or unparseable: a log line and nil, and HA publication refuses on the box). No path is opened or read, no read site added; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 4: one more goroutine beside configSyncLoop: go escrowLoop(agentCtx, reg, svc), the escrow sweep every 30 s over the same registry and Service. This body reads nothing new itself; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 5: one more call beside eb.EscrowKey: wireRawSecretPages(eb, PageOperator, metricsBoxLabel(os.Getenv, readMachineID())), which sets eb.OnRawSecret to page an operator (alerting.Page through PageOperator, LevelIncident) on its own goroutine with a 20 s timeout; metricsBoxLabel and readMachineID are the reads this body already makes for the moves refusal log; no new read site; the same six sites, offsets moved; B,C,D,F authority retained. Merge of origin/main 90c4d3aa: main's own later changes to this body are kept as main has them, under main's rulings; this branch's change is the same as above. Merge of origin/main 00bf5b8c (fleet set-aside EXDEV fix): main's change to this body is kept as main has it, under its own census ruling; this branch's change is unchanged.;rev3=census-ruling-probe-burst-limit;basis=two more sink wirings beside setAnalyticsSink: setProtectionSink(e.SetProtectionRecordOnly) and setAssetOwnersSource(e.AssetOwners), function values the telemetry pass calls; this body reads nothing new, the same six sites; authority B,C,D,F retained; no new root read or write kind;rev3=census-ruling-region-ha-p1b3a;basis=Arm HA placement exactly once on the existing Service before activatorStart and edges publication, wiring AwakeApps and the PageOperator callback; existing six read sites unchanged, no new root authority.;rev3=census-ruling-stateless-replicas-1;basis=Final review I3: start the concrete coordinator's renewal worker with agent setup; existing closeReplicaCoordinator shutdown cancels and joins it before release. No new read sites or credentials. Merge origin/main c59715e7: retain main's armHAPlacement(svc, PageOperator) wiring beside the existing activator setup; stateless coordinator and shutdown wiring remain. Same read sites; no new root read or credential.;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): in the edge-ready callback, calls act.SetHeldWakeHook(e.HeldWake) when act is non-nil (installing the non-blocking wake callback) and stores e.HeldStreamsForStatus in heldStreamsSource. Wiring of in-memory callbacks only; no read added.;rev3=census-ruling-region-ha-p1b3b-t;basis=Wire Service.SetDutyView to the live edge DutySnapshot in the ready callback. No new read; no new loop or cloud operation. B2 wires the registry as the persistent DutyStore before service startup; no new cloud or filesystem path. B3b: arm one journal-backed termination consumer before service startup using agentCtx and the shared confirmer; expose edge tick and join at edge shutdown. No new direct read sites.;rev3=census-ruling-agent-start-demo-1;basis=Passes the existing registry, data store and hibernation prefix into the demo worker, and the existing instance-control client into the demo before-exec hook. No alternate data store or polling loop. Merge resolution against origin/main 9bd45488 retains main's HA departure controller, lifecycle and duty wiring alongside the demo data store and worker; no read site added by the resolution.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: install closed fixed admission before every launch source, bind activator/backend and edge, wire the real termination Started lifecycle and role reader after the change index; close before cancellation/child shutdown. No new external reads or cloud authority. Fix R1: move bind/lifecycle/edge-option wiring into wireAgentAdmission and worker listing into runWorkerBootPassAfterAdmission. Worker boot waits for admission before listing then uses unchanged bounded wakes and per-host serialization; whole Route read moves to the helper. No new storage, cloud, or root execution authority. Preserve merged main's agent wiring and census basis; the branch removes one whole Route use by moving worker iteration to the helper, with no added read kind.;rev3=census-ruling-stateless-replicas-2;basis=Slice 3b: arms a fleet-only worker using the existing registry, activator, backend and authenticated console transport. Owned worker stops and joins at shutdown. No new bucket reader. merge of origin/main 9b8b2c50: retain HA duty/departure lifecycle, wake-slot and existing agent wiring alongside the replica placement worker; no new read introduced by resolution. merge of origin/main 6be08467: Retain main demo configuration, admission, build and expiry wiring alongside the replica worker; merge-only body change, no additional read. merge of origin/main 7920cccf: Retain main box-role/group admission wiring and boot publication beside the owned replica worker and shutdown; main moves the boot registry List into runWorkerBootPassAfterAdmission, removing its inline whole Route site. No new read introduced by conflict resolution.;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 M3: retain the private snapshot source and cancel/join ownership, but use the replica-health-specific retry loop. It logs its first failure only and retains the existing exponential backoff capped at 30 seconds; unsupported builds return nil. Existing five direct read sites unchanged; no new credentials, bucket reader or app lifecycle action. Fix round 1 Q20: publish Edge.ReplicaSnapshots as a separate in-memory status source, leaving the tenant-visible Upstreams source unchanged. No new external reader or authority.;rev3=census-ruling-region-ha-p3b;basis=Load root-written group marker/configuration, configure signed boot binding and agent receipt completer, wire cancellable admission into departure work and expose cached GroupReaderSnapshot. New indirect boot reads use protected root files; agent-owned receipt controls duplicate initial completion only, never root restart permission. Same five direct sites. Merge 45cebde4 retains the replica health socket lifecycle and setReplicaSource beside GroupReaderSnapshot; no extra read beyond main.;rev3=census-ruling-agent-start-demo-2;basis=agent.go:309-329 opens demo-traffic.db beside the operator-configured registry when a demo domain exists, closes it at shutdown and wires drain-before-purge; :1010-1019 shares the worker and write gate; :1164-1177 installs the fleet identity and closed-until-worker serving callback. One added whole Route pass; the new indirect filesystem/SQL reads are claimed in openDemoTraffic and worker/store units. No request chooses the database pathname.;rev3=census-ruling-region-ha-p1b3b-s;basis=Wire the service duty view to authoritative cached sidecar manifest placement in LifetimeIndex and the edge sidecar projection; missing policy denies duty. Existing instance duty wiring remains.;rev3=census-ruling-region-ha-g2-t3;basis=T3a: wire eb.Page = PageOperator beside OwnerTerminated before departures arm, so suspect-holder pages work if departure setup fails; no new read; existing nine sites and authority unchanged; pages through the existing sink. T3b: publish the same backend through an atomic pointer for the metrics observer, and clear it on return; no new external read or authority.;rev3=census-ruling-agent-start-demo-3;basis=Wire the claim activator and root snapshot client into the demo worker; pass moved readiness to status reporting. Census read-site delta: unchanged (9).;rev3=census-ruling-region-ha-g2-fixes;basis=Wire local pool evidence, live withdrawal activator, startup ingress scan and alias publication, and edge lookup; no new direct sites; new indirect record/claim reads use existing store/judge paths described in ingress helpers.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3: starts the existing record-view backstop loop with a departure-inventory listener (non-blocking, coalesced signal) even without an armed RecordView; it requests the existing full pass (backstopFullDue) there. Same nine read sites; no new read or authority.;rev3=census-ruling-region-ha-graceful-terminate-t2;basis=Derive one signal-time deadline with a 90-second budget; cap departure stop and startup/seed/service shutdown joins by it. No read added.;rev3=census-ruling-static-sweep-periodic;basis=in the edge-ready callback, publishes e.LargestStaticTree in staticTreeSource for the disk alert line (diskAlertFrac in the metrics loop); in-memory wiring only, no read added; read sites unchanged (9);rev3=census-ruling-region-ha-held-build;basis=wires the drain state: svc.SetDrainingSource(boxDrain.IsDraining), svc.SetPeerDrainView(e.PeerDraining), e.SetPeerDrainedHook(svc.DropHoldersNaming); in-memory only; no read added; region HA held-requests Task 5: on group members, starts the drain driver over the activator, the edge and boxDrain, and serves its root-only drain socket; no read added beyond the socket's own file:Exec@19204,file:Open@1707,file:Statfs@51171,registry:App@12803,registry:Host@47207,whole:Route@12795,whole:Route@45670,whole:Route@47330,whole:Route@47392 64e9ccbbf40c74119c99c1f91c09f848fe610e4c9762d259c64dc1aa8fd19b50
internal/host/edgesfile.go edgesFileWriteClaims authority F,J1 rev3=census-ruling-self-serve-moves-1;basis=root-route;kept=F;scope=protected-decision-only; the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): region-ha-2a's body, which with the box's lifetimes switch on also publishes each served row's lifetime pair (registry:Incarnation and registry:ServingSeq, two new sites on the rows it already lists) and an alias's or served catch-all's primary's pair, and names that primary as target_host whatever the switch; a report the edge orders unstamped entries by, not a decision; no record, /data, release or claim read added; F,J1 authority retained; self-serve moves 1 Task 8;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 8: takes a localAddrs reader (instancectl.LocalAddresses in production, which reads /proc/net/fib_trie and /proc/net/if_inet6 in the agent) and publishes its non-loopback entries as the edges file's addrs before the write gate (boxAddrs, no read of its own), so an address change writes once. The same 44 sites, offsets moved; no record, /data, release or claim read added; a report the console's egress grant check reads, not a root decision; F,J1 authority retained.;rev3=census-ruling-edge-asset-cache-3;basis=starts with assets = assets.active(), so a policy whose box has not opened its asset store publishes no assets blocks and reads no manifests, and copies the decision's Primary (the route host the block was decided for, drift D4) into the published assets block; read sites unchanged (44); no read added. Merged onto main's #328 body, which takes the localAddrs reader: the assets.active() line sits after that signature and the loop passes pub and instancectl.LocalAddresses;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: the claims argument (*edgesClaims) becomes addrs (AddressSource) and the applyEdgesClaims(ctx, claims, routes, hosts) call is deleted with edgesclaims.go, which is the one whole:Route site removed: no host claim is read and every served row publishes as with region HA off; the box-address publication is the same code reading addrs.BoxAddresses() instead of claims.addrs; a report the edge reads, not a root decision; no read added; merge of origin/main d7ae1d76: main's edge asset cache plan 3 body is kept (census-ruling-edge-asset-cache-3): the first line is assets = assets.active(), so a policy whose store has not opened publishes no assets blocks and reads no manifests, and edgesFileLoop passes pub (assets.active() for that tick) in the assets argument; main's claims *edgesClaims argument is this branch's addrs AddressSource, and no edgesClaims, applyEdgesClaims or hostclaim reference remains;rev3=census-ruling-alias-wake-338;basis=#338 follow-up: skips publishing a platform alias edge.PlatformAliasFold refuses (and so anything attached to it); reads the same route listing;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 6 and its fix rounds: publishes by FleetArmVerdict (via fleetRefusedFor): withheld rows left out; a forward host's path rows left out of its owner; no assets for forward rows; the alias loop replays Reload's alias fold from the served rows so a chained alias carries its root primary's owner; certRefused and parentRefused leave out a refused claim's wildcard parent (+registry:Alias x5, +registry:Host x4, +whole:Route, +whole:RouteAlias x2, +whole:RoutePath x7, +whole:WildcardDomain). Rows already read in the pass; keeps authority F,J1; publishes less, never more.;rev3=census-ruling-probe-burst-limit;basis=sets the constant BurstNotices=true on the box's own edges file (this build's edge answers probe-burst notices, so peers may send them); not from config or any read; the same 65 sites; a report other edges read, not a root decision; F,J1 authority retained; no new root read or write kind;rev3=census-ruling-region-ha-p3a;basis=Publish one injected role snapshot with box_role/admitted/drained; retain legacy route and alias rows during booting, cutting namespace withdrawal under the 2026-11-04 ruling; acknowledge the exact published tuple only after PUT; existing registry reads unchanged.;rev3=census-ruling-region-ha-p2b;basis=region HA P2b-1 T0 (Q1 ruling): before building the comparison copy and the body, a nil NamedPools on the identity becomes []string{} so the additive named_pools field is always an explicit array; the list itself is computed once at arm by edgesFileEligibility from the same provisionTickConfig(os.Getenv) parse as serves_shared_pool (CARLOS_POOLS through provision.ParseBoxPools, filtered to nonempty provision.ValidPool names, sorted, unique). A report the console reads for create admission, not a root decision; no record, /data, release or claim read added; read sites unchanged (65); F,J1 authority retained. One-off cost: the first pass after the upgrade writes once per box (seeded gate null vs []).;rev3=census-ruling-region-ha-p3b;basis=Require cached GroupReadersReady before first group publication and append additive names-2 capability even for supplied identities. Agent writes the same edges object/index with existing registry reads; known readers come from root boot configuration, snapshot from existing fold, no added GET/LIST or root authority.;rev3=census-ruling-region-ha-g2-fixes;basis=Omit non-forward, non-platform-alias rows outside local served pools from home publication; added Host/Pool field reads and local configuration use, existing registry/store operations retained.;rev3=census-ruling-region-ha-held-build;basis=writes also when DrainPublishRequired, and reports the written drain state, its ha_drain mark (transaction and publication id) and generation to DrainSource (in-memory); the file gains ha_drained and ha_drain beside the existing draining; no read added. held-requests Task 4: sets the constant ha_take=1 on the box's own file when its in-memory capabilities include region-ha-1 (this build's edge answers take requests); not from config or any read; a report other edges read, not a root decision; no read added registry:Account@15918,registry:Alias@10421,registry:Alias@13391,registry:Alias@13441,registry:Alias@8848,registry:Alias@8867,registry:Alias@8966,registry:Alias@9020,registry:Alias@9055,registry:Alias@9117,registry:Alias@9487,registry:Alias@9644,registry:Alias@9714,registry:Alias@9746,registry:App@15930,registry:DNSStatus@9162,registry:DNSStatus@9653,registry:Host@13294,registry:Host@13314,registry:Host@13579,registry:Host@13659,registry:Host@13694,registry:Host@13743,registry:Host@14205,registry:Host@14240,registry:Host@15348,registry:Host@3963,registry:Host@4054,registry:Host@4100,registry:Host@4159,registry:Host@5274,registry:Host@6244,registry:Host@8893,registry:Host@8941,registry:Incarnation@5234,registry:Platform@5013,registry:Pool@4014,registry:Provisioned@5027,registry:Replica@5051,registry:ServingSeq@5249,registry:Status@2732,whole:Route@1026,whole:Route@17388,whole:Route@18206,whole:Route@18381,whole:Route@1841,whole:Route@2102,whole:Route@6329,whole:Route@750,whole:RouteAlias@13345,whole:RouteAlias@17410,whole:RouteAlias@18396,whole:RouteAlias@8731,whole:RouteAlias@8813,whole:RouteAlias@9005,whole:RoutePath@17403,whole:RoutePath@18389,whole:RoutePath@6113,whole:RoutePath@6145,whole:RoutePath@6192,whole:RoutePath@6220,whole:RoutePath@6258,whole:RoutePath@6278,whole:RoutePath@6290,whole:RoutePath@6344,whole:WildcardDomain@13272,whole:WildcardDomain@13648 9498b55e0fdd7e7a488541772284f9f7c10d1c976e2d77043912f04aa77a9108
+internal/host/group_maintenance_verbs.go groupMaintenanceCommand.run legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3b2;basis=Reads the operator's permit JSON from stdin (≤4096 B) for the permit verb, validated by the guard's own validators against the verified root marker before a root-only write.;rev3=census-ruling-region-ha-held-build;basis=region HA held-requests Task 5: dispatches the new drain, drain --cancel and fence-clear verbs under the existing root, group-marker and apply-lock checks; reads only the transaction argument file:ReadAll@1913 7fee4a37adc58567cfbd5695a858353f33eaca77e9d2627ce9a1135dfa309527
internal/activator/activator.go Service.wakeWorker legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new (held-requests Task 4 fix round 1): WakeWorker's former body, with a ctx that also ends its two waits (awaitWake on a waking entry, and the wait on a stopping one); WakeWorker passes Background, so its waits are as before; ctx never reaches the detached wake; the same route and registry reads as WakeWorker; no read added registry:Host@1057,registry:Host@1087,registry:Host@1562,registry:Host@1971,whole:Route@1146,whole:Route@129,whole:Route@1538,whole:Route@408,whole:Route@464 8cafd93e4e79b098a850849ec147c9b5ebcd22402d555b1a36f7fa96af640814
+internal/activator/hadrainmove.go Service.DrainHosts legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: in-memory list of awake entries (route, worker flag, in-flight, last active) under a.mu, plus the lifetime and lease generation from the backend's in-memory HA acquire state; no external read; authorizes nothing registry:Host@675,registry:Host@953,registry:Host@973,whole:Route@235,whole:Route@279,whole:Route@288,whole:Route@548,whole:Route@612,whole:Route@682,whole:Route@960,whole:Route@980 2283e4f9a15afb2a9fc3831bea5940965cb3f73190bcfbd13a6e3e37d3c148d7
+internal/activator/hadrainmove.go Service.DrainTakeOwner legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: the take timeout's one lock.json read through the existing holder lock reader (readHolderView, bounded by holderReadTimeout) and otherHolder; reads only; not an input to hafresh.DecideAcquire whole:Route@141,whole:Route@319 196ea23c92df2b1711d7e4cfa9a41ac492477831d9a6deb915e019bedf1def6a
internal/activator/handover.go Service.BeginMove legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: Task 5 driver API; sets in-memory holding for an awake HA entry; refuses on a latched loss; no read. Fix round 1: records the awake entry's route (in memory) as the move's lifetime identity; no read added whole:Route@331,whole:Route@489,whole:Route@498 6fe76f9686ba393b91d6f6efe3cf2a7ceee69191b6b7173c19035d8bda89a73f
internal/activator/handover.go Service.ConfirmMoveHolder legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: coalesced (one per host per 5 s) read of the host's lock.json through the existing holder lock reader (readHolderView, the same read ForwardTarget makes on a miss), only for a host this box marked taken; reads only; never writes or acquires. Fix round 1: refuses, with no read, unless the request's route is the move's lifetime (sameMoveLifetime); only narrows when the lock is read registry:Host@269,whole:Route@224,whole:Route@351,whole:Route@358,whole:Route@801 5f041c23833685cd2ffc18492747b835aaaa6fd0650d8f1a67534cdab23d1644
-internal/activator/handover.go Service.MoveState legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: the memory-only handover decision under a.mu: loss latch (haLeaseRefusalLocked), then move phase, caps and bounds; reads the supplied route's Host and identity; no external read; authorizes nothing (not an input to hafresh.DecideAcquire). Fix round 1: a move applies only to the route lifetime it was begun for (sameMoveLifetime); any other lifetime gets none; no read added registry:Host@139,whole:Route@184,whole:Route@191,whole:Route@223,whole:Route@262,whole:Route@702 ca98ee7ca5b09b36b3b2360ff189e6fef4a5ac04484660dc4368692a7695da13
+internal/activator/handover.go Service.MoveState legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: the memory-only handover decision under a.mu: loss latch (haLeaseRefusalLocked), then move phase, caps and bounds; reads the supplied route's Host and identity; no external read; authorizes nothing (not an input to hafresh.DecideAcquire). Fix round 1: a move applies only to the route lifetime it was begun for (sameMoveLifetime); any other lifetime gets none; no read added; region HA held-requests Task 5: counts requests answered at once with today's answer for a moving host (DrainHoldStats.RefusedAtOnce) under a.mu; memory only; no read added registry:Host@139,whole:Route@184,whole:Route@191,whole:Route@223,whole:Route@262,whole:Route@834 2b187dcc11a75c3499cdcd16761fd1d3368734668e469df6b2950f3666d619fc
internal/activator/handover.go Service.moveDecideLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: MoveState's per-phase answer; reads the supplied route and in-memory move state, the loss latch and the holder cache; no external read. Fix round 1: refuses a hold re-check whose route is not the move's lifetime; no read added registry:Host@699,whole:Route@147,whole:Route@154,whole:Route@248 26e9d419a9799a2c099fbd04cf68a129608d3d46f975cd979c13be453a801a87
internal/activator/handover.go Service.moveNoneLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: issues an in-memory admission ticket when this box has an entry for the same route (samePoolRoute); no external read. Fix round 1: the ticket's end is once-only (sync.Once); no read added registry:Host@259,registry:Host@279,registry:Host@88,whole:Route@131 f362b7451f5966be8815e732a03b00043ff81b92e3d21574790f10b1535179dc
internal/activator/handover.go Service.readMoveHolder legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: ConfirmMoveHolder's one lock read (existing readHolderView, bounded by holderReadTimeout) and its reading through otherHolder and DecidePlacement with LocalDenied; reads only; authorizes nothing whole:Route@409,whole:Route@963,whole:Route@996 3f59d6e470312678682fced857969e8e4aec359fd622d32ac081dac6570f74da
-internal/activator/handover.go Service.waitMove legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: a held request's bounded wait on in-memory state; no read whole:Route@308,whole:Route@549 51784ee39903fe8d6685b4c376f2065a3fa76998b881020e3798755478c117e4
+internal/activator/handover.go Service.waitMove legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: a held request's bounded wait on in-memory state; no read; region HA held-requests Task 5: records the hold's duration (Longest) and a held request that ended with today's answer (Todays) under a.mu, for the drain report; memory only; no read added whole:Route@552,whole:Route@804 ff0e3acc416f8c6a8069573a1e61d21c56b3d6f44f3b3b32c11ccf3f3390dace
internal/activator/handover.go sameMoveLifetime legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new (fix round 1): compares two in-memory routes' Host, Account (EffectiveAccount), App, Incarnation and ServingSeq; reads nothing else; only narrows which requests a move applies to registry:Account@114,registry:Account@158,registry:App@175,registry:App@188,registry:Host@63,registry:Host@77,registry:Incarnation@198,registry:Incarnation@219,registry:ServingSeq@237,registry:ServingSeq@257 1c996c6cdce819f0196684ddf21da2860321518e467193571f6f996a8207c87f
internal/activator/hatake.go ExecBackend.haTakeLifetime legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new (held-requests Task 4): the take's lifetime check through the existing isHA classification (lifetime index, else the existing Config.Record read); returns the lifetime id and HA flag; no new read kind; only refuses whole:Route@128 fd0acc5f1e831833241c87a43325ca53dca07a3a98a49973585646c939d0cffd
internal/activator/hatake.go Service.TakeHost legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new (held-requests Task 4): the take receiver; refuses before any lock request unless this box serves the route's pool (LocalEligible), is admitted, is not draining, and haTakeLifetime matches the named lifetime; then the existing begin (the ordinary wake, whose acquire is the existing HA acquire, hafresh.DecideAcquire; nothing from the request feeds it); answers this box's ref and the generation its acquire wrote (in-memory haWakes view), or the holder and generation of a held answer; passes the route in memory; no store or filesystem read of its own. Task 4 fix round 1: the wake is takeWake (an instance through begin, a sidecar row through wakeWorker); the same checks first; no read added registry:Host@789,whole:Route@152,whole:Route@313,whole:Route@587,whole:Route@731 2b01cd90126c1049a1334913d38ad4233739ce67c1f6c34ba775cde34e21755f
@@ -64,17 +86,29 @@ internal/edge/forwardha.go Edge.forwardHAObserved legacy accepted-legacy accepte
internal/edge/forwardha.go Edge.forwardHAStreaming legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new (held-requests Task 3): the draining box's release of a client request to the confirmed holder through the existing front forward, with the body streamed as before and never copied or replayed; passes the whole route in memory; no read added whole:Route@215,whole:Route@242,whole:Route@246 25428d3720986a7103a2990e0dc4c3dc9217d00bca684fef610f58db3c23500f
internal/edge/forwardha.go Edge.handoverInRegion legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new (held-requests Task 3): parses X-Carlos-Handover (ParseHandover) and checks its ref: this box's own label, or a box in the in-memory view (boxInView) passing handoverAuthority; passes the route in memory; no store or filesystem read whole:Route@356 255bf92b4ba6f58c2e03260bb743a2db2f23f03d97387c8902575f38c72c03e8
internal/edge/hadrain.go Edge.serveHAControl legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: answers a signed drain ask. Reads the request body (io.ReadAll under MaxBytesReader 4 KiB and a 2 s read deadline), verifies its own mesh-key MAC, requires a phase (draining or drained) and a nonzero publication id, and may refresh the edges fold (the existing refreshHosts: LIST plus GET of control/edges/ in the deployment bucket); reads no local file; answers JSON seen true or false, or a bare 404. Fix round 1: the ask names phase and publication id instead of a generation. held-requests Task 4: accepts POST /.carlos/ha-take beside /.carlos/ha-drain, with the same bounded body read; the signature is verified over the request's own path (one of the two reserved constants), then a take goes to serveHATake (strict JSON with transaction, asker, host, lifetime and a positive marker generation, else a bare 404); no read added here file:ReadAll@703 a698e721e43c7b6372fa857db869688f49052d58718488f2a9317f88c30eac7e
+internal/edge/hadrainconns.go Edge.DrainSnapshot legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: the existing in-memory wake snapshot for the supplied route, with this box local-denied and removed from Serving; no read added whole:Route@115 02bad6fa199758d9f132b558d3ae35bc7d43ce802640adf022878ee20cd62dd1
internal/edge/handover.go Edge.moveGate legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: the edge's handover decision: asks the activator's MoveState about the supplied route, waits on a hold, then answers with an existing approved refusal through handoverExit, the handover answer to a verified hop, or the existing front forward to the confirmed holder; reads the route's HA flag and Host in memory; no store or filesystem read. Fix round 1: the whole taken-client front forward runs inside handoverExit; no read added. held-requests Task 3: before a handover answer to a hop marked replayable, reads and discards that hop's request body when its length is known and at most 64 KiB (drainReplayable, bounded at 1 s by a read deadline); the taken-client release uses forwardHAStreaming (body streamed as before); no store or filesystem read added. Task 3 fix round 1: the pre-answer body read (drainReplayable) is removed; moveGate reads no request body before any answer; no read added registry:HA@184,registry:Host@262,registry:Host@673,whole:Route@1853,whole:Route@326,whole:Route@834,whole:Route@853 e7fd64e3154d25db09cce2125445a8a8105a79c9a622c9102d67c005d69230f3
internal/edge/handover.go Edge.moveSnapshot legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: the existing in-memory wake snapshot for the supplied route, as frontForwardHA builds it; no read added whole:Route@220 015e5a34763d17429558559c90d32dbfdec160a589335b8cfa88b543cccea110
internal/edge/hatake.go Edge.takeHost legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new (held-requests Task 4): finds the take's route by exact host in the in-memory route table (no catch-all, no alias: the row's own Host must equal the asked host), requires it hibernate-managed and not via a tunnel, and hands the whole route in memory to the activator's TakeHost; no store or filesystem read; only refuses or delegates. Task 4 fix round 1: when the in-memory table has no hibernating row for the host, an always-on worker is resolved through takeWorker (the host\'s own sidecar row in the registry); the whole route passed in memory; no read of its own registry:Host@231,whole:Route@234,whole:Route@296,whole:Route@304,whole:Route@361,whole:Route@366,whole:Route@504 8b15e34b830c9beee3bc1923828fc69f15739b04982e1bb843aa75cf01345438
internal/edge/hatake.go Edge.takeWorker legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new (held-requests Task 4 fix round 1): one local registry read, Registry.Get(host), only for a signed take the in-memory route table did not answer; accepts only the host's own sidecar row in status ready or empty (as AlwaysOnWorkers selects); the row is handed to the activator's TakeHost and never enters HTTP routing; only refuses or delegates registry:Host@178,registry:Status@217,registry:Status@236,whole:Route@165,whole:Route@305 8f345e9d9ba21aea8d63fe0f0e59e770e3a40c4ebb1f89ffe5798f9ab08f9009
internal/edge/replay.go streamedBody.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new (held-requests Task 3 fix round 1): reads the client's request body it wraps (an http.Request body, not a file) and counts bytes in memory to note its end; opens, runs and follows nothing file:Read@23,file:Read@64 8e0d729ae71f10d4264c1e65ca8478f89e19dfb492008f51578f8850d60bc6f4
-internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only.;rev3=census-ruling-tunnel-websockets;basis=Deletes the Carlos-Upgrade marker header from incoming requests and puts the upgrade admission (host, path, the entry tenancy, all in hand) on a tunnel arm request. For a login POST on an ungated ArmTunnel row it reads the visitor request body (bounded by gate.MaxFormBody, 413 past it; a request body, not a file) and resolves next against the entry Reload built (Gate, Route); the bytes pass on only when loginPassesThrough holds (spec 7, Tasks 3, 5 and 6).;rev3=census-ruling-console-protection-tab;basis=one more call in the observer defer, observeGuardCount(up.route, out), beside the observeRecords call that files the guard Match: it passes on the route row the defer already holds (+whole:Route) and the request outcome to the usage meter, which counts the check in memory. Called whether or not the request was unbilled, as observeRecords is. Nothing is opened, read or followed; no new kind of read; no check, refusal or serving decision changes.;rev3=census-ruling-probe-burst-limit;basis=answers a probe-burst notice POST (serveBurstNotice) ahead of every route for a non-door caller; builds the guard state for up.route and stamps its account and app (RouteAccount, App) for the cool-down's this-app/other-app label; for a catalogue match on a non-static or tunnelled route, offers the burst rule (in-memory limiter, burstDecide: 429 or a watch verdict, never a block for a fleet or forward row); the observer defer calls noteBurst(up.route, ...); the added sites are the route value already in hand (+registry:App, +whole:Route x5); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): parses the request's query once (stripHoldMarker) to record the carlos_hold=1 mark in the request context; calls classifyHold on the upstream already resolved from the loaded map (the +whole:Route is that in-memory Route), including a second pass for a login POST; gives a marked request on a door-refused route the plain 404; adds the hold branch (planThrottleAdmit, rateAdmit, serveHeld) after the gate; and excludes marked requests from the shared cache. Reads only the request and the already-loaded upstream map; no registry or bucket read added.;rev3=census-ruling-region-ha-p3a;basis=Complete the P3a cut: an exact peer name with no dial target answers the approved admission 503 before local wildcard dispatch or asset serving. ExactHome and lookupHome stop fallback at a present non-dial entry; backhaulTo refuses an empty target before signing or dialing. Retain Task 3 local admission and fixed platform/unit exemptions. Two added whole Route uses feed the local in-memory admission predicate; existing Route values and store/path reads are unchanged.;rev3=census-ruling-stateless-coordinator-route;basis=P24/P25: POST only, exact /api/fleet/replicas/ prefix on the reserved tunnel host calls the existing local console proxy only for an unescaped, already-clean path; malformed forms remain on the hub. No new read sites relative to origin/main. Merge with main 3487d6f6 retains its region HA admission checks before routing and after login target lookup, its empty-home refusal, and their two existing whole:Route reads; these change this unit's digest relative to the previously approved branch tip 92b24a7d.;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: pass the already-resolved Route to the reserved replica-probe handler after acceptHop and existing admissionRefuses, requiring tunnel context plus private marker and refusing door/backhaul ingress. Added whole Route use only; scrub marker before forwarding; HA calls remain unchanged.;rev3=census-ruling-region-ha-p3b;basis=Resolve local aliases/catch-alls with cached peer name ownership before serving. Add registry Account/App/ClaimStamp/Host/Incarnation/ServingSeq and six whole Route references for NameClaim; inputs are agent registry rows/edges publications used by unprivileged edge, not root permits. Closed owners retain names and return 503; aware remote owner cannot fall through on missing transport, while legacy hop/door behavior remains. Merge 45cebde4 retains authenticated replica probes after local admission and before ordinary name resolution; probe authentication still requires the tunnel context.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1901 enters the protected demo path before ordinary exits; :2012-2015 rechecks the selected marked Route after lookup. Added whole Route use routes demos through serving checks, counters and policy; no new registry query or file open in this unit.;rev3=census-ruling-demo-api-site-route;basis=Reserve the configured site API namespace after hop verification and control-header scrubbing, before ordinary static, cache, billing and tenant dispatch. Validate hop field shape and delegate only allowlisted operations to the dedicated console path with verified client attribution and console admission. The alias helper enables HTTP/1.1 full duplex so an early console refusal does not wait for upload EOF. Existing 56 read sites unchanged; no new registry, bucket or file read.;rev3=census-ruling-region-ha-g2-fixes;basis=Consult HA ingress after region admission and before miss/alias backhaul; no new direct read; routing-only metadata does not create an upstream.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3/W4: backhaul and door calls pass the owner the door checked into backhaulTo; the §6.5 holder follow (once, GET/HEAD or an unswitched upgrade, no body) and one connect-failure fallback dial only boxes in the holder region's view (same Region/Placement/DataBucket, HomeEligible, fresh) for that owner. Holder name comes only from the TLS-verified signed hop answer; app-set X-Carlos-Holder stays stripped. Routing only; the receiving box still re-checks the lease. No new read site.;rev3=census-ruling-region-ha-held-build;basis=first branch: a request for the reserved control paths /.carlos/ha-drain and /.carlos/ha-take goes to serveHAControl and returns (refused unless a signed ask); no request on those paths reaches a route, a forward or an app; no read added here. region HA held-requests Task 2: X-Carlos-Replayable is read from verified hops only and deleted from every request; just before frontForwardHA, moveGate runs for an HA hibernating route (route HA, Host and the whole Route passed in memory) and can only hold, refuse with an existing answer or front-forward to the confirmed holder; ReleaseMoveTicket before serveHeld; no store or filesystem read added file:ReadAll@18072,registry:Account@8968,registry:App@24229,registry:App@8992,registry:ClaimStamp@9022,registry:Gate@17046,registry:Gate@28620,registry:Gate@28680,registry:Gate@28738,registry:HA@12792,registry:HA@13123,registry:Host@13162,registry:Host@28723,registry:Host@9199,registry:ImportGate@36307,registry:Incarnation@9057,registry:Kind@23091,registry:Kind@26529,registry:Kind@36249,registry:Kind@36278,registry:ServingSeq@9091,whole:Route@12795,whole:Route@12889,whole:Route@13126,whole:Route@13165,whole:Route@16941,whole:Route@17052,whole:Route@19869,whole:Route@20653,whole:Route@21111,whole:Route@21303,whole:Route@23094,whole:Route@24155,whole:Route@24221,whole:Route@24232,whole:Route@24485,whole:Route@24580,whole:Route@24656,whole:Route@24700,whole:Route@25002,whole:Route@25032,whole:Route@26532,whole:Route@26817,whole:Route@28623,whole:Route@28683,whole:Route@28726,whole:Route@28741,whole:Route@29843,whole:Route@31906,whole:Route@36252,whole:Route@36281,whole:Route@36310,whole:Route@36342,whole:Route@38190,whole:Route@7042,whole:Route@7141,whole:Route@7236,whole:Route@8971,whole:Route@8995,whole:Route@9025,whole:Route@9060,whole:Route@9094,whole:Route@9202 30a6c4dac4c55ac4aff95b775639abfe2616ccd097cc04180b47b47a3e323e8b
+internal/host/hadrain.go drainDriver.move legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: drain steps 2-5 over the activator and edge APIs; reads route Host/App from the activator's in-memory DrainHosts and the fence state; no store or file read of its own registry:Host@1026,registry:Host@1128,registry:Host@1378,registry:Host@1473,registry:Host@1560,registry:Host@1629,registry:Host@1840,whole:Route@1028,whole:Route@1130,whole:Route@1380,whole:Route@1475,whole:Route@1562,whole:Route@1631,whole:Route@1842 102e459431d86669d01b0a56c9736c05cdafd2082fd28ef64e2b5a316651fdd7
+internal/host/hadrain.go drainDriver.moveOne legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: one host's move (BeginMove, tickets and in-flight wait, DrainStop, take, SetMoveTaken or SetMoveLeft); reads the in-memory route Host; no read of its own registry:Host@135,whole:Route@137 8864f71149172fc84a69f8f19f37150283be9c2545af40ba3133f07b7ddfd297
+internal/host/hadrain.go drainDriver.take legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: successor choice (ChooseRoomiest over the in-memory drain snapshot among peers that answer takes and are not draining), the signed take, and on a timeout one DrainTakeOwner lock read; reads route Host/App in memory registry:App@571,registry:Host@545,registry:Host@711,whole:Route@1105,whole:Route@125,whole:Route@158 f68db0cdcfba54d082b07517c788a059ac8326ab53983666ebcf79a70a8655e6
+internal/host/hadrain.go newIncarnation legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: 16 random bytes from crypto/rand for the agent's incarnation; not a file read file:Read@61 32ca897808b96ae347289759b271cc59c099010b32792d9718739dde08f44835
+internal/host/hadrain_socket.go drainClient.call legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: root verb client: reads the agent drain socket's HTTP response body, bounded to 4 MiB; not a file read file:ReadAll@552 fdf043168e644ec9118aca5ee92b04957a77dfda91d815d18e941d4b3036f63d
+internal/host/hadrain_socket.go drainDriver.handler legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: agent drain socket handler: reads the request body bounded to 4 KiB, strict JSON with one transaction field; served only to a peer SO_PEERCRED reports as root; not a file read file:ReadAll@722 642e5314cdd3cc05f789b91b44fe981c874eb0fedc099f08a9ccd4d6fd2e9e37
+internal/host/hadrain_socket_linux.go serveHADrain legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: agent-side: Lstat and open of its own 0700 socket directory under /run/carlos for a flock, as serveReplicaHealth does; no tenant or root file read file:Lstat@181,file:Open@433 a9e2bda502b2845a65824570d9afe4d2bdd18f4bda7c76e9db8e52a1861c2627
+internal/host/hadrainfence_linux.go fenceLocation.install legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: root verb: writes fence.json (0644) by O_EXCL temp file, fsync and RENAME_NOREPLACE in the fence directory; reads the existing fence first and refuses another transaction's file:Openat2@703,file:Read@568 001cace56ac0d4129f8101729f0a5b80896a549db216a79cabd4728147dc85bb
+internal/host/hadrainfence_linux.go fenceLocation.openDir legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: root verb: opens (and creates 0755) the fence directory under protected ancestors by descriptor, checking owner and mode file:Fstat@1049,file:Openat2@509,file:Openat2@777 59ec2b075300f3ec504c2b29a3760c40cb235ef4c929caabe7ed24c38d730d67
+internal/host/hadrainfence_linux.go fenceLocation.read legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: the start fence read: /run/carlos-group-fence and its fence.json by descriptor with RESOLVE_NO_SYMLINKS/BENEATH, owner root, not group/other-writable, one link, at most 1 KiB, strict JSON; anything unexpected fences (fail closed) file:Fstat@368,file:Fstat@874,file:Openat2@518,file:Openat2@55,file:ReadAll@1079 2d265e900de23ff7a30afd5f1896313a964ca106cff3957afc162788123265e9
+internal/host/hadrainfence_linux.go openFenceParent legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-held-build;basis=new: opens the fence directory's ancestors by descriptor from root with RESOLVE_NO_SYMLINKS, each owned by root (or the test owner) and not group/other-writable file:Fstat@316,file:Openat2@677,file:Openat2@77 e4d2e67d6e9fa6c7ead3f2e8a82bb7458b71d76e90004c84321cc5cda6c996be
+internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only.;rev3=census-ruling-tunnel-websockets;basis=Deletes the Carlos-Upgrade marker header from incoming requests and puts the upgrade admission (host, path, the entry tenancy, all in hand) on a tunnel arm request. For a login POST on an ungated ArmTunnel row it reads the visitor request body (bounded by gate.MaxFormBody, 413 past it; a request body, not a file) and resolves next against the entry Reload built (Gate, Route); the bytes pass on only when loginPassesThrough holds (spec 7, Tasks 3, 5 and 6).;rev3=census-ruling-console-protection-tab;basis=one more call in the observer defer, observeGuardCount(up.route, out), beside the observeRecords call that files the guard Match: it passes on the route row the defer already holds (+whole:Route) and the request outcome to the usage meter, which counts the check in memory. Called whether or not the request was unbilled, as observeRecords is. Nothing is opened, read or followed; no new kind of read; no check, refusal or serving decision changes.;rev3=census-ruling-probe-burst-limit;basis=answers a probe-burst notice POST (serveBurstNotice) ahead of every route for a non-door caller; builds the guard state for up.route and stamps its account and app (RouteAccount, App) for the cool-down's this-app/other-app label; for a catalogue match on a non-static or tunnelled route, offers the burst rule (in-memory limiter, burstDecide: 429 or a watch verdict, never a block for a fleet or forward row); the observer defer calls noteBurst(up.route, ...); the added sites are the route value already in hand (+registry:App, +whole:Route x5); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): parses the request's query once (stripHoldMarker) to record the carlos_hold=1 mark in the request context; calls classifyHold on the upstream already resolved from the loaded map (the +whole:Route is that in-memory Route), including a second pass for a login POST; gives a marked request on a door-refused route the plain 404; adds the hold branch (planThrottleAdmit, rateAdmit, serveHeld) after the gate; and excludes marked requests from the shared cache. Reads only the request and the already-loaded upstream map; no registry or bucket read added.;rev3=census-ruling-region-ha-p3a;basis=Complete the P3a cut: an exact peer name with no dial target answers the approved admission 503 before local wildcard dispatch or asset serving. ExactHome and lookupHome stop fallback at a present non-dial entry; backhaulTo refuses an empty target before signing or dialing. Retain Task 3 local admission and fixed platform/unit exemptions. Two added whole Route uses feed the local in-memory admission predicate; existing Route values and store/path reads are unchanged.;rev3=census-ruling-stateless-coordinator-route;basis=P24/P25: POST only, exact /api/fleet/replicas/ prefix on the reserved tunnel host calls the existing local console proxy only for an unescaped, already-clean path; malformed forms remain on the hub. No new read sites relative to origin/main. Merge with main 3487d6f6 retains its region HA admission checks before routing and after login target lookup, its empty-home refusal, and their two existing whole:Route reads; these change this unit's digest relative to the previously approved branch tip 92b24a7d.;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: pass the already-resolved Route to the reserved replica-probe handler after acceptHop and existing admissionRefuses, requiring tunnel context plus private marker and refusing door/backhaul ingress. Added whole Route use only; scrub marker before forwarding; HA calls remain unchanged.;rev3=census-ruling-region-ha-p3b;basis=Resolve local aliases/catch-alls with cached peer name ownership before serving. Add registry Account/App/ClaimStamp/Host/Incarnation/ServingSeq and six whole Route references for NameClaim; inputs are agent registry rows/edges publications used by unprivileged edge, not root permits. Closed owners retain names and return 503; aware remote owner cannot fall through on missing transport, while legacy hop/door behavior remains. Merge 45cebde4 retains authenticated replica probes after local admission and before ordinary name resolution; probe authentication still requires the tunnel context.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1901 enters the protected demo path before ordinary exits; :2012-2015 rechecks the selected marked Route after lookup. Added whole Route use routes demos through serving checks, counters and policy; no new registry query or file open in this unit.;rev3=census-ruling-demo-api-site-route;basis=Reserve the configured site API namespace after hop verification and control-header scrubbing, before ordinary static, cache, billing and tenant dispatch. Validate hop field shape and delegate only allowlisted operations to the dedicated console path with verified client attribution and console admission. The alias helper enables HTTP/1.1 full duplex so an early console refusal does not wait for upload EOF. Existing 56 read sites unchanged; no new registry, bucket or file read.;rev3=census-ruling-region-ha-g2-fixes;basis=Consult HA ingress after region admission and before miss/alias backhaul; no new direct read; routing-only metadata does not create an upstream.;rev3=census-ruling-region-ha-g2r-fixes;basis=W3/W4: backhaul and door calls pass the owner the door checked into backhaulTo; the §6.5 holder follow (once, GET/HEAD or an unswitched upgrade, no body) and one connect-failure fallback dial only boxes in the holder region's view (same Region/Placement/DataBucket, HomeEligible, fresh) for that owner. Holder name comes only from the TLS-verified signed hop answer; app-set X-Carlos-Holder stays stripped. Routing only; the receiving box still re-checks the lease. No new read site.;rev3=census-ruling-region-ha-held-build;basis=first branch: a request for the reserved control paths /.carlos/ha-drain and /.carlos/ha-take goes to serveHAControl and returns (refused unless a signed ask); no request on those paths reaches a route, a forward or an app; no read added here. region HA held-requests Task 2: X-Carlos-Replayable is read from verified hops only and deleted from every request; just before frontForwardHA, moveGate runs for an HA hibernating route (route HA, Host and the whole Route passed in memory) and can only hold, refuse with an existing answer or front-forward to the confirmed holder; ReleaseMoveTicket before serveHeld; no store or filesystem read added; region HA held-requests Task 5: after the HA control-path branch, every request is counted by the connection drain (conns.track: a cancellable request context, and Connection: close only while draining); memory only; no read added file:ReadAll@18266,registry:Account@9162,registry:App@24423,registry:App@9186,registry:ClaimStamp@9216,registry:Gate@17240,registry:Gate@28814,registry:Gate@28874,registry:Gate@28932,registry:HA@12986,registry:HA@13317,registry:Host@13356,registry:Host@28917,registry:Host@9393,registry:ImportGate@36501,registry:Incarnation@9251,registry:Kind@23285,registry:Kind@26723,registry:Kind@36443,registry:Kind@36472,registry:ServingSeq@9285,whole:Route@12989,whole:Route@13083,whole:Route@13320,whole:Route@13359,whole:Route@17135,whole:Route@17246,whole:Route@20063,whole:Route@20847,whole:Route@21305,whole:Route@21497,whole:Route@23288,whole:Route@24349,whole:Route@24415,whole:Route@24426,whole:Route@24679,whole:Route@24774,whole:Route@24850,whole:Route@24894,whole:Route@25196,whole:Route@25226,whole:Route@26726,whole:Route@27011,whole:Route@28817,whole:Route@28877,whole:Route@28920,whole:Route@28935,whole:Route@30037,whole:Route@32100,whole:Route@36446,whole:Route@36475,whole:Route@36504,whole:Route@36536,whole:Route@38384,whole:Route@7236,whole:Route@7335,whole:Route@7430,whole:Route@9165,whole:Route@9189,whole:Route@9219,whole:Route@9254,whole:Route@9288,whole:Route@9396 a18b7ab411e5ec2256bf5b2954c81e205ea1ce19b858f8b74fac3b7f99b1dd53
internal/edge/forwardha.go Edge.forwardHAAndNote legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=New extracted forward helper reports dial/silent/final-header outcomes against supplied route Host; existing signed hop only, no new file/store read or request replay.;rev3=census-ruling-region-ha-held-build;basis=held-requests Task 3: now a thin wrapper over forwardHAFollow (its old body is forwardHANoted); a handover answer naming this box is reported as ForwardNotInView so callers give their existing answer; passes the route in memory; no read added whole:Route@196 826fab956712ec3348e9aac13898400219dcc948e768b638b457d563ce51949b
internal/activator/activator.go Service.WakeWorker legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=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-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-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-p3a;basis=P3a Task 3: check local tenant admission and start permission before lease/restore, preserving already-awake reuse during drain and existing serialization. Whole Route passes to the local predicate; no new filesystem or store read.;rev3=census-ruling-region-ha-g2-fixes;basis=Check latched HA loss and schedule bounded recovery before worker wake; route passed to the separately claimed loss helpers.;rev3=census-ruling-region-ha-held-build;basis=Task 4 fix round 1: now a one-line wrapper, wakeWorker(context.Background(), rt); its body moved unchanged to wakeWorker; behaviour and reads unchanged whole:Route@99 74e6c176e875798b68f7d28a398c40421c726305788188873f2ea9382a9d315c
internal/edge/forwardha.go Edge.frontForwardHA legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b2;basis=new (region HA P1b-2): the agent's edge decides at the front door whether to forward a visitor request: reads the route's HA flag and host from the box's own registry row and asks the activator; forwards only to a box in view over the existing signed hop; root never calls it;rev3=census-ruling-region-ha-dead-holder-backoff;basis=ForwardTarget returns a ForwardDecision (Ref, Refuse, Gen); a Refuse is answered at the front door with the existing unreachable answer (503, Retry-After: 10, same body, via answerHolderUnreachable), with no forward, dial, note or per-request step. A forward passes the decision to forwardHA and NoteForward carries Ref and Gen back. The round-1 connection callback (NoteConnected) is gone: the dial bound now lives in forwardTransport's forwardDialGate, which coalesces TCP dials per holder address in memory. The same 5 read sites; no new read; root never calls it.;rev3=census-ruling-region-ha-p1b3a;basis=Pass the existing route to a lazy cached wakeSnapshot closure, handle explicit local denial before all accounting, and refuse a disappeared Placement choice rather than falling through locally; whole Route read only, no new store or filesystem operation and no root authority.;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): for a marked request to a hibernating HA route it uses the new HAForwarderFromMemory (ForwardTargetFromMemory) instead of ForwardTarget, so the hold path makes no holder-lock read; a non-stream marked request is left to this box's classification, and a holder not known from memory is answered with the one-retry event. The unmarked path is unchanged. Reads only the request mark and the already-loaded route and home map; no read added.;rev3=census-ruling-region-ha-followups;basis=Report detached TCP/TLS failure after a canceled Placement or Recovery request through the existing NoteForward classifier, preserving Ref, Gen and PeerGen. Reuse the route Host to correlate the late result; no new storage read or routing authority.;rev3=census-ruling-region-ha-g2-fixes;basis=Share forwarding observation helper and refuse disappearance of a selected peer when local pool-ineligible; existing route input, two Host reads moved to helper.;rev3=census-ruling-region-ha-held-build;basis=held-requests Task 3: calls forwardHAFollow instead of forwardHAAndNote, and when a handover answer named this box returns false so the request takes the existing local path (only when the route is locally pool-eligible); the same route reads; no read added registry:HA@225,registry:Hibernate@584,whole:Route@1244,whole:Route@1368,whole:Route@1602,whole:Route@1651,whole:Route@1856,whole:Route@228,whole:Route@515,whole:Route@587 43b47f419e9d094f67e9fb1737b9988efb7d732f09a52884197726a31cc68b85
internal/edge/haingress.go Edge.routeHAIngress legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Resolve exact/alias/catchall authority and bind projected primary identity for HA forwarding. A zero projection permits an existing non-activator-owned upstream to continue its ordinary path; managed rows still refuse. New in-memory Host and route reads only.;rev3=census-ruling-region-ha-held-build;basis=region HA held-requests Task 2: just before frontForwardHAIngress, the handover decision moveGate runs on the already-resolved primary route rt (whole Route passed in memory); it can only hold the request, answer it with an existing refusal or forward it to a confirmed holder over the existing signed hop; no store or filesystem read added registry:Account@1361,registry:Account@2752,registry:Account@3006,registry:Account@3026,registry:Account@519,registry:App@1378,registry:App@2775,registry:App@3040,registry:App@3056,registry:App@543,registry:ClaimStamp@638,registry:HA@1099,registry:HA@1921,registry:HA@1998,registry:HA@2308,registry:HA@3176,registry:Host@1190,registry:Host@1248,registry:Host@1874,registry:Host@1980,registry:Host@2290,registry:Host@2495,registry:Host@251,registry:Host@2728,registry:Host@2978,registry:Host@2995,registry:Host@374,registry:Incarnation@1399,registry:Incarnation@2802,registry:Incarnation@3094,registry:Incarnation@3118,registry:Incarnation@570,registry:Pool@3066,registry:Pool@3083,registry:ServingSeq@1427,registry:ServingSeq@2836,registry:ServingSeq@3136,registry:ServingSeq@3159,registry:ServingSeq@604,whole:Route@1732,whole:Route@1807,whole:Route@1924,whole:Route@1959,whole:Route@2074,whole:Route@2157,whole:Route@2263,whole:Route@254,whole:Route@2938,whole:Route@2968,whole:Route@2981,whole:Route@3009,whole:Route@3043,whole:Route@3069,whole:Route@3097,whole:Route@3139,whole:Route@3179,whole:Route@3422,whole:Route@3544,whole:Route@377,whole:Route@522,whole:Route@546,whole:Route@573,whole:Route@607,whole:Route@641,whole:Route@892 5e0dfdd7bf53cadf9d9a1de94475d3cc4d6fb316d72c8b45e0b19e04e7e29153
-@coverage internal/activator 40eef405f35534915902fc7de30ba9fab7a1cfe6548c81c37e70fee3f39346d0
-@coverage internal/edge 0f19289641aaa4d5d4ac1368e5141524d74a1e93d9e173b2a48ae0feeaba880f
-@coverage internal/host efbf32799554118ec4474f10123972777a5d398ff4e3081c84dbae07872a9fc6
+@coverage internal/activator ea46fc627f3c5ef684311ecc578f753b8ee17b366509c472a1cb9445e5e78b5e
+@coverage internal/edge 48d4082aac65cf914307f57c988ebd841aef2bec1645fc7ca808c71cab1dab05
+@coverage internal/host d6f0fe02ff79e769e66e249f743d634c6e0a342a5c8d55218f29e809a5f1bfb2
@coverage internal/lease b71e22ea0a4a9d894dfaf39f5012494d79ba2e5af10c80f98e0a6f11d28f7d0c