carlos / platform Public

census: managed-fleets-1b re-proposed after the final fix wave

Seal 652569fc38231f7ba530e309bee99f7be732eeeafcf6092dbe897f8d9e713fc4.
Task 6a's drainreport units are gone and Service.finishStop,
reapUnprovenWake, cleanupFailedWake, ExecBackend.Acquire, statusLoop and
CollectBox are back to main's bodies, so they carry no branch claim.
Changed: Service.doWake (the row re-read under the lease, wakeGoesOn),
Service.wake (a retired entry's context cancelled), ExecBackend.restorePlain
(record clear removed). New: leaseRouteChanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 8da93750ede186dae6f9e7e316ef3a18314b2a34 parent a2adff7
3 files changed, +24 −60
  • docs/superpowers/notes/census-proposal-managed-fleets-1b.md +8 −23
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-managed-fleets-1b.tsv +15 −36
diff --git a/docs/superpowers/notes/census-proposal-managed-fleets-1b.md b/docs/superpowers/notes/census-proposal-managed-fleets-1b.md
index 5b79ef2e0..39869d225 100644
--- a/docs/superpowers/notes/census-proposal-managed-fleets-1b.md
+++ b/docs/superpowers/notes/census-proposal-managed-fleets-1b.md
@@ -1,14 +1,12 @@
# Census approval: managed-fleets-1b
-Ruling `census-ruling-managed-fleets-1b`. The independent reviewer approves or rejects every change below, 26 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
+Ruling `census-ruling-managed-fleets-1b`. The independent reviewer approves or rejects every change below, 21 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
| unit | change | read sites | what changed |
|---|---|---|---|
-| `internal/activator/activator.go` `Service.finishStop` | body | unchanged (5) | managed fleets 1b (Task 6a, drain rule): the final checkpoint's 30 s budget is the package variable finalCheckpointBudget (same 30 s; a test seam); after the legacy release, a host that is not HA and had a replica records the release outcome (noteFinalReplication: a failed final sync writes <DataDir>/.replication-failures/<host>.json, any other outcome removes the host's records). Read sites unchanged (5). Runs in the agent (carlos-edge.service, user carlos), not root; the release itself is unchanged. |
+| `internal/activator/activator.go` `Service.wake` | body | unchanged (13) | managed fleets 1b (branch review R1 P1-1): the wake's context is also cancelled before doWake when RetireExcept has marked the entry retired (e.retired, in memory under a.mu), as it is for a fence or a shutdown. Read sites unchanged (13). Agent, not root; it only refuses more. |
| `internal/activator/hawake.go` `ExecBackend.acquireClassified` | body | unchanged (9) | managed fleets 1b (Task 7, two-box fleet test): the two legacy acquires call b.acquireLegacy(ctx, prefix), which is acquireLegacyLease exactly when ExecBackend.LeaseIdentity is nil and LeaseTTL is 0 (the agent never sets them), otherwise lease.AcquireAs with that identity and TTL. The classification, the HA path and every refusal are unchanged. Read sites unchanged (9). Agent, not root. |
-| `internal/activator/opset.go` `Service.reapUnprovenWake` | body | unchanged (3) | managed fleets 1b (Task 6a): after the unchanged rep.Close, a non-HA host records the close outcome (noteFinalReplication, as finishStop). Read sites unchanged (3). Agent, not root; nothing else changes. |
| `internal/host/agent.go` `provisionTickConfig` | body | unchanged (2) | managed fleets 1b (Task 4, rule 2): sets ReconcileConfig.FleetBox to the box's own fleet label from resolveFleetIdentity(getenv), only when the identity resolves and region == PlacementTarget(identity.Fleet); otherwise it stays "" (the box admits only unlabelled records). The same environment the fleet loops already read; read sites unchanged (2). Agent config, not root. |
-| `internal/host/agent.go` `statusLoop` | body | unchanged (6) | managed fleets 1b (Task 6a): the status tick calls drainReport(&p, svc, dataDir()), which fills Probes.LeasesHeld and ReplicationFailures from the activator's in-memory lease set and the agent's own <DataDir>/.replication-failures directory (no bucket request). Read sites unchanged (6). Agent, not root; it adds two counts to the private heartbeat. |
| `internal/provision/reconcile.go` `Reconcile` | body | unchanged (178) | managed fleets 1b (Task 4, rules 2 and 9): after inScope, a record failing cfg.ownsRecord (on a fleet box, labelled for another box: rec.FleetBox != "" and != cfg.FleetBox) is skipped as out of scope, so it is never minted here; in the removal phase such a record no longer keeps the row (inScope && ownsRecord), so the row goes as record gone. Off a fleet ownsRecord is always true. Read sites unchanged (178). The agent's reconcile loops, not root; it mints less, never more. |
| `internal/provision/reconcile.go` `RouteFor` | body | unchanged (13) | managed fleets 1b (Task 2, rule 6): the route also carries Assigned = rec.FleetBoxAt and Moved = rec.FleetBoxMoved, copied from the record it is handed. Read sites unchanged (13). In the agent; in root's claim landing registration (ClaimRootHTTP.rootLandingRoute, shelved claims code) the canonical route gains these two copied fields, which no root check compares (the comparison at rootinventory.go and ValidateAgentInventory read neither). No new input to root. |
| `internal/provision/seedreconcile.go` `retireAbortedSeedRow` | body | unchanged (15) | managed fleets 1b (Task 4): its guard adds !cfg.ownsRecord(rec), so a seed of a record labelled for another fleet box is left aborted and not retired here. Read sites unchanged (15); it retires less, never more. Agent, not root. |
@@ -17,25 +15,20 @@ Ruling `census-ruling-managed-fleets-1b`. The independent reviewer approves or r
| `internal/registry/registry.go` `Registry.Fingerprint` | body | unchanged (33) | managed fleets 1b (Task 5): the SELECT also reads fleet_label and, only when it is set, hashes "fleet_label=<q>" into the digest, so labelling a row moves the edge's reload fingerprint. Read sites unchanged (33). Registry side, not root; an unlabelled registry's digest is byte-identical. |
| `internal/registry/registry.go` `Registry.SnapshotFingerprint` | body | unchanged (12) | managed fleets 1b (Tasks 2 and 5): fleet_assigned and fleet_label join snapshotWhenSetCols (hashed only when set), and fleet_moved is hashed like ha, only when non-zero. Read sites unchanged (12). Registry side, not root; rows without them hash as before. |
| `internal/registry/registry.go` `upsertRoute` | body | unchanged (3) | managed fleets 1b (Task 2): the conflict arm gains fleet_assigned (the excluded value on a re-tenanted host, else kept when the writer carries '') and fleet_moved (excluded on a re-tenanted host, else MAX of stored and excluded). Read sites unchanged (3). The same statement guard (claim ownership, kind <> 'forward') applies. |
-| `internal/status/snapshot.go` `CollectBox` | body | unchanged (28) | managed fleets 1b (Task 6a): copies Probes.LeasesHeld and Probes.ReplicationFailures into two new Box fields (leases_held, replication_failures; counts only, bucket-private, never copied into FleetBox). The same 28 sites, no read added. Agent heartbeat, not root. |
-| `internal/activator/activator.go` `Service.doWake` | sites | +whole:Route | managed fleets 1b (Task 6a): after the identity step and before the seed or spawn, calls a.noteUnsynced(rt, lease) (the +whole:Route site), which writes <DataDir>/.replication-failures/<host>.unsynced for a non-HA host; a write failure gives the lease back and refuses the wake. Agent, not root; it can only refuse more. |
-| `internal/activator/backend_exec.go` `ExecBackend.Acquire` | sites | +registry:Host | managed fleets 1b (Task 6a): after a successful acquire, b.trackHeld(rt.Host, l) remembers the lease in memory for the heartbeat's leases_held (the +registry:Host site). Nothing read from disk or the bucket. Agent, not root. |
-| `internal/activator/backend_exec.go` `ExecBackend.restorePlain` | sites | +whole:Route ×6 | managed fleets 1b (Task 3, rule 6 start rule; Task 6a): the six +whole:Route sites are calls taking rt: reconcileAssignment before the seed-marker check (a labelled row's copy not kept under rt.Assigned is moved into <DataDir>/.superseded/<host>/, never deleted), startAllowed on the warm-cache, restored and fresh paths (a labelled row may refuse with ErrNothingToRestore), establishAssignment after a restore and before a fresh boot (writes the <db>.assigned marker); and clearFailedFinalSync(host) after a restore. An unlabelled row (Assigned "") takes none of these. Agent, not root; it refuses more, never less. |
-| `internal/activator/maintenance.go` `Service.cleanupFailedWake` | sites | +registry:Host | managed fleets 1b (Task 6a): keeps rep.Close's error, and for a non-HA host records it (noteFinalReplication(rt.Host, err), the +registry:Host site). replicaClosed and leaseReleased are computed as before. Agent, not root. |
+| `internal/activator/activator.go` `Service.doWake` | sites | +whole:Route ×2 | managed fleets 1b (branch review R1 P1-1): after the lease, doWake re-reads the host's row from the box's own registry (a.Routes.Get(host)) and hands it with rt to leaseRouteChanged (the +whole:Route site): a row that is gone, no longer this wake's route, or whose Assigned, Moved or Region changed gives the lease back and refuses the wake, nothing restored or started. Its checks up to the spawn ask wakeGoesOn(e), which adds the entry's in-memory retired mark (set by RetireExcept) to the fence test. Task 6a's awake record call is removed. Agent, not root; it only refuses more. |
+| `internal/activator/backend_exec.go` `ExecBackend.restorePlain` | sites | +whole:Route ×6 | managed fleets 1b (Task 3, rule 6 start rule): the +whole:Route sites are calls taking rt: reconcileAssignment before the seed-marker check (a labelled row's copy not kept under rt.Assigned is moved into <DataDir>/.superseded/<host>/, never deleted), startAllowed on the warm-cache, restored and fresh paths (a labelled row may refuse with ErrNothingToRestore), and establishAssignment after a restore and before a fresh boot (writes the <db>.assigned marker). Task 6a's record clear after a restore is removed. An unlabelled row (Assigned "") takes none of these. Agent, not root; it refuses more, never less. |
| `internal/edge/edge.go` `Edge.Reload` | sites | -registry:FleetBox ×2, +whole:Route ×2 | managed fleets 1b (Task 5, rule 3): the two fleet proxy builds pass the row to fleetBoxOf(t) instead of reading t.FleetBox (-registry:FleetBox x2, +whole:Route x2); fleetBoxOf answers FleetLabel as authoritative when set, else FleetBox; an authoritative box has no fallback to another of the fleet's channels (503 errFleetDark instead). The edge in the agent, not root; it routes to fewer channels, never more. |
| `internal/registry/fleets.go` `Registry.migrateFleets` | sites | +file:Exec, +registry:sql | managed fleets 1b (Task 6b): two more idempotent statements, ALTER TABLE fleet_boxes ADD COLUMN draining_since INTEGER and labelled_at INTEGER (duplicate column ignored), the +file:Exec and +registry:sql sites. Fixed SQL, no input. Registry side, not root. |
-Envelopes re-pinned: `.`, `internal/activator`, `internal/edge`, `internal/host`, `internal/lease`, `internal/provision`, `internal/registry`, `internal/release`, `internal/status`.
+Envelopes re-pinned: `.`, `internal/activator`, `internal/edge`, `internal/host`, `internal/lease`, `internal/provision`, `internal/registry`, `internal/release`.
Review: a model from the other family than the author reads the branch's diff against main on the amadan.net remote (`origin` or `amadan`, whichever points at amadan.net) and gives a verdict for every unit and every re-pinned envelope above. For a unit, compare the change with its recorded disposition and basis below; for an envelope, read every changed function in the package and what it reaches. Reject if the change lets root open, run, query or follow anything it did not before from a path or input a tenant, an app or a box agent can create, write or name; if it weakens a check, refusal, validation, argument or environment the basis relies on; or if the diff cannot settle either. Otherwise approve. Record each verdict on #280 with the tip. A rejected unit goes back to the author to correct; nothing escalates to the census owner.
Recorded dispositions, which each change must still satisfy:
-- `internal/activator/activator.go` `Service.finishStop`: 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 with a run's settle checked before replication closes, which keeps the stop pending until the run is proven stopped; read sites unchanged, offsets moved;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: an HA entry (its replica is an HA one, haEntryRep) now releases through releaseHAClean (a new unit on this card) instead of e.rep.Close; when that answers errHostSliceUnproven the stop is kept pending (keepPendingLocked) with the lease held and renewing, and the sweep finishes it once proven; a non-HA entry is unchanged; the same five sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: a forgotten entry's stop is noted for its resident (noteResidentStopLocked: crash or lost lease backs off, any other stop restarts on the next tick) and its ownerDone channel is closed; no read added;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: while the host has a release command's record (a.releaseOps[e.host], running or not proven stopped), replication and the lease stay and the stop is kept pending (keepPendingLocked) until the record's proof; the same five read sites, no read added; only holds a release back;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W, W1.20: while a rootfs worker may run or is a stray (rootfsWorkersLiveLocked, in-memory, read under a.mu), replication and the lease stay and the stop is kept pending (keepPendingLocked) until the workers are proven stopped; the same five read sites, no read added; only holds a release back
+- `internal/activator/activator.go` `Service.wake`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-carlos-run;basis=Re-digested at the pre-land merge: the body includes main's own change under census ruling 292, with no further change from this branch. the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=logs that timer's breakdown to the journal after a successful wake (w.steps.String(), e.host, w.wakeTook); no read added;rev3=census-ruling-plans-4d-lapse;basis=cancels a wake whose row the turned-off hook names, like a fence, unless it is a move's active probe (plans 4d). One more whole-row read: the row handed to the hook (a.disabled). Only refuses.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: a refusal before the lease is reported once per change (noteRootfsRefusal) instead of a wake-failure event; the proc, generation and replica are installed through installProcLocked (which puts a resident under its lease watch before the fence); residency notes the outcome (noteResidentWakeLocked); same generation values;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R [pf R3.5]: the wake's context ceiling is wakeCeilingFor(e.route): the old 5 minutes for a binary row, 5 minutes plus runs.MaxTimeout for a rootfs row (room for a release inside the wake); new site +whole:Route (e.route to wakeCeilingFor, which reads Runtime only); no other change
- `internal/activator/hawake.go` `ExecBackend.acquireClassified`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-p1a;basis=new: the acquire's classification: a legacy route (sidecar, hand-added or not an instance) takes lease.Acquire and refuses on an HA-format lock; otherwise isHA (a record read error fails the wake, never falls back to legacy); not HA takes lease.Acquire, and an HA-format lock there marks the host HA for good and continues; HA requires haContained before any lock request, then lease.AcquireHA with the same-box proof; held and refused leases map to errLeaseHeld and errLeaseRefused (leaseError); +registry:Host, +whole:Route x7;rev3=census-ruling-region-ha-p1b1;basis=region HA P1b-1: the HA acquire's Proofs gain OwnerTerminated (b.ownerTerminated(ctx, rt)) beside SameBoxEmpty; one more whole:Route site passes the route to ownerTerminated; nothing new is read; the proof is consulted only by hafresh.DecideAcquire for another box's expired HA lock
-- `internal/activator/opset.go` `Service.reapUnprovenWake`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): census ruling 292's body; when the retried proof holds for a retained legacy start and the host's stop history is uncertain only because of that start (owedBy), the uncertainty is discharged and the stages the failed wake never reached are recorded as held; any other uncertainty is kept through rememberStopLocked as before. Read sites unchanged; no new read and no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos, the sweep's retry of a retained failed wake: a wake retained by giveBackAfterStart (sliceOnly) counts as proven by its process alone, and then, final fix F1, any retained HA wake (haHeld(u.lease, u.rep)) is proven only if haHostEmpty(u.rt) also reads the host slice empty (+whole:Route); unproven, it stays retained with its lease; the legacy and generation proofs are unchanged; only holds an HA release back
- `internal/host/agent.go` `provisionTickConfig`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-ha-p1a-433;basis=the agent (carlos-edge.service, user carlos) and the edges file loop's eligibility: the same CARLOS_POOLS read, now parsed by provision.ParseBoxPools (internal/provision, envelope re-pinned), the one parser boxPools also uses. "@shared" (provision.SharedPoolToken, never a valid pool name) is the shared "" pool; other tokens are literal as before; empty elements and repeats dropped. No read added.
-- `internal/host/agent.go` `statusLoop`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the status tick's context carries the box's lifetime judge; read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 953b9fda (its later changes, regional box names and self-serve moves plan 1 among them, under main's own census rulings), where the tick fills rootfs_ready and rootfs_blocked from armedRootfs.Load().probe, which each tick runs NestedOK's checks and asks the control socket's GET /ready/rootfs (never the store); the same four direct sites;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 11 and #329 plan 3 Task 7: takes root's GET /egress reader and fills p.Egress = egressStatusProbe(egressStatus, routes, provision.PolicyReadStates()) and p.SizeCommittedMiB = sizeCommittedMiB(armedSizeSource.Load(), routes); the two added whole:Route sites are the tick's own registry list handed to those two units (decision rows), which read root's control socket and the activator's memory; no store request added; the four existing sites unchanged, offsets moved.
- `internal/provision/reconcile.go` `Reconcile`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from its reconcile loops: each listed record is observed through the box's lifetime judge (ObserveWith: the record, then its host incarnation slot) before the shape, channel and scope checks, a stale record is left out and an unjudgeable one protected; the removal phase observes a row's own record key when the pass holds none for it under that key, and deletes a held row whose record is gone or stale through DeleteIfHold; a nil judge (claims on) is main's body; registry read sites unchanged, offsets moved; fix round 1: the removal phase observes a row's own key only under an account the listing trusts, so a retired or unmaterialised account's row keeps record gone, and the pass arms its own context with the judge; Task 7: under a judge an existing provisioned row of the record's own app and account follows the existing-row rules (heldByVanishedPredecessor and retireHeldPredecessor's DeleteIfHold first, the record then minted on the same pass; the hold; installRowLifetime), each a separate write under the host's hold lock; registry read sites unchanged, offsets moved;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=#328/#329 plan 1 Task 7: the pass reads its apps' policy objects (control/app-policy/<sqid>/<app>.json in the bucket) through the agent's PolicyCache, each verified with ReleasePub by apppolicy.VerifyKey (ed25519 over the policy's own domain line, bound to the account and app, unexpired, not future-dated; anything else is no policy), and carries the columns into its rows. New kinds registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each, all the assignment of a fresh row's columns (nr) from policies.cols; plus one whole:Route site, the existing row handed to policies.forRow. Other read sites unchanged, offsets moved; the agent's own pass, no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos, from its reconcile loops: after the scan, hands the in-scope records to cfg.Lifetimes (the box's lifetime index): Merge after a failed read or partial listing, Replace after a complete one, nothing on a dry run or with no index; the scan, judge and removal phases unchanged; the same 166 sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 2 and 5 (D5, spec §5.0): a seeded record over a row with a runtime is skipped and logged; a row with a runtime (or a new record with one) takes no seed; runtime and a rootfs row's hibernation are never converged from a record (a mismatch is logged; a record claiming a runtime its row lacks is not applied); reads Runtime of the record and the row; the box writes less; fix wave 1 (ceea6353, whole-branch P1-2): before minting a row for a record with no runtime and no row (both mint paths), the pass reads the app's kind marker once per app per pass (release.ReadAppKindMarker: one GET of the create-only kind.json from the release store s, through freshStore, validated by readAppKindMarker); a rootfs marker leaves the record unmaterialized and logged (an older console stripped its runtime), and a marker that cannot be read defers the mint this pass; a refusal before minting only, registry read sites unchanged, the box writes less; fix wave 2 (whole-branch r2 P1): the kind-marker read and its refusal apply only to a socket-backed instance record (DerivesPaths), so a static or upstream-backed record of a rootfs app, which carries no runtime by design, is minted as before with no read; fewer reads, registry read sites unchanged;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 10: the forward phase on the hub (FleetOwners set): the scan keeps the fleet-placed records it skips and counts records per host; a trash-only marker prefetch; disputed (failed-GET) hosts; armed, a host an in-scope and a fleet record both name is given neither, its journal waits and the removal phase keeps its row (+registry:Account, +registry:App, +registry:Host x2: the collision guard, its log line and report mark); the instance loop leaves a forward host; retirable excludes forward rows. Same record keys; writes only the registry (PutForward, DeleteForward); no bucket write.
- `internal/provision/reconcile.go` `RouteFor`: authority, task C,E3. Basis: rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos); also root, in the claim root's landing registration (ClaimRootHTTP.rootLandingRoute) and the relocation install (relocationRecord): census-ruling-seeded-instances's body with two more fields from the record: the row's lifetime pair (rec.Incarnation, rec.MoveSeq), so a row minted outside a move takes the record's lifetime and its last move's sequence (0, 0 for a fieldless record with no move history); every caller gets it, the root ones included: the root callers (ClaimRootHTTP.rootLandingRoute, relocationRecord) now mint (0, move_seq) on a claims-on record, a non-zero sequence once that record has had an offline move (move_seq advances on claims-on offline moves too), which moves Fingerprint and SnapshotFingerprint once for that row; main's C,E3 authority retained; self-serve moves 1 Task 7 (fix round 1: root callers named);rev3=census-ruling-region-ha-p1a;basis=the agent's reconcile passes, and also root's callers (rootupdates.go, rootinventory_install.go and relocationinstall.go on HEAD): one more field copied from the record, HA: rec.HA, so a row minted from a record stamped HA carries the sticky born-HA mark; the record is the console-written instance record each caller already read; root's own code reads nothing of Route.HA, and Fingerprint does not include it (SnapshotFingerprint does, for a set mark); the same nine sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 2: the row is minted with the record's Runtime (the console-written instance record, guarded by WriteRecord's runtimeFixed); a rootfs row always gets the nested socket and db path under dataDir and no seed or seed source; the paths are computed from the host, not read from the record;rev3=census-ruling-fresh-box-446;basis=#446: a born-HA record mints the nested paths whatever nested says, as a rootfs row already does; same reads
- `internal/provision/seedreconcile.go` `retireAbortedSeedRow`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-seeded-instances;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): retires the row this box minted for a --from seed that was aborted after its publish landed, through the pass's ordinary retire, once it is shown to be the record's own provisioned row in scope;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 10 (Task 7 carry): its guard adds rt.IsForward(), so a forward row is never handed to the aborted-seed retirement; read sites unchanged (15); it retires less, never more.
@@ -44,27 +37,19 @@ Recorded dispositions, which each change must still satisfy:
- `internal/registry/registry.go` `Registry.Fingerprint`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user); the remote arm, unchanged, in the process that holds a remote handle: census-ruling-seeded-instances's body with the row's lifetime pair (incarnation, serving_seq) folded into the edge's change poll, each only when non-zero, so a registry with no pair digests as before; self-serve moves 1 Task 7;rev3=census-ruling-regional-domains-447;basis=#447 Task 4: hashes regional_domains (host, target, account, app, region; created_at not) over the same fresh connection, with a section marker written only when a row exists, so a registry with no regional rows digests as before; the one added site is that SELECT (+file:Query) on the box's own registry database, as carlos; no file path read;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): review R1 finding 1: the routes SELECT also reads host, kind, account, app, platform and fingerprintForwardInert (one CASE over the ForwardForbidden columns), and every row folds host, kind, account and app (tagged, quoted), platform when set, and forward_inert=0 for a forward row that is not inert, so a rowid reused by another hostname, an in-place account or app rewrite, or a stray forbidden column moves the edge's change poll. Same one SELECT per table on the same fresh connection to the box's own registry database, as carlos; no table, file or bucket read added; a digest, never a decision.
- `internal/registry/registry.go` `Registry.SnapshotFingerprint`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user); the remote arm, unchanged, in the process that holds a remote handle: census-ruling-seeded-instances's body with incarnation and serving_seq hashed, tagged, only when non-zero (snapshotPairCols), so a registry with no pair digests as before; self-serve moves 1 Task 7;rev3=census-ruling-region-ha-p1a;basis=hashes the new ha column only when it is set (non-empty and not "0"), tagged, so a registry with no born-HA row digests as before; the same twelve sites, no read added
- `internal/registry/registry.go` `upsertRoute`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-alias-socket-follow-338;basis=#338: Upsert's unchanged statement moved into a helper so it can run on the database or inside a transaction;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 2 (runtimeFixed in the registry): takes a guard appended to the ON CONFLICT WHERE (UpsertUnlessRootfs passes routes.runtime = ''); a stored row with a runtime keeps its region and hibernate unless the tenant changed; replication is cleared only when the effective runtime is empty; no new read source, same SQLite table;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 3: on a refused conflict, the forward check reads the host (+registry:Host) to answer ErrForwardRow; the statement carries kind <> 'forward'. A refusal only.
-- `internal/status/snapshot.go` `CollectBox`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-2;basis=copies Probes.RootfsReady and RootfsBlocked into BoxMetrics (private, like Layout); the same 28 sites, no read added;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 11 and #329 plan 3 Task 7: copies Probes.Egress and Probes.SizeCommittedMiB into BoxMetrics (private, like Layout) and counts them in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate count is left as is (display);rev3=census-ruling-regional-domains-447;basis=#447 Task 7: copies Probes.AliasesRead into BoxMetrics.AliasesRead (json aliases_read, omitempty) and counts it in the condition that builds Metrics; the same 28 sites, no read added
- `internal/activator/activator.go` `Service.doWake`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body (census ruling 292's legacy start mark and lease give-back; census ruling owed's pending record) with the seeded change ruled under census-ruling-seeded-instances (the refreshed row checked against the row the wake began from, twice; the seed's first upload recorded after the wake), and now one more line on a failed start: a start its pre-exec gate refused (launchNotStarted: the exec gate, the pending record or its recheck answered no before root was asked) is recorded as known not started (stopObservation.notStarted) instead of uncertain, only when the wake has started nothing else (wakeStartedNothing); otherwise it goes through cleanupFailedWake and its proofs. A refusal before its lease (step 1), which has started nothing, is recorded the same way. Read sites unchanged; no new read and no root decision;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=marks the end of each wake step on the woken instance's journal timer (wakeSteps: a.now() and a slice append, journal only); no read added, no step reordered;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: (1) after the restore it asks the backend for the replication class an HA restore imported from the host's published wake state (restoredReplication(rt)) and, if it differs, logs it and sets rt.Replication and the entry's route to it; (2) an HA lease of the stream class replicates with a 1 s monitor interval (SetMonitorInterval); (3) after Replicate, an HA replica opens the entry's files publisher (openEntryFiles(ctx, e, rt)) and starts it, and a publisher that will not open fails the wake through cleanupFailedWake; (4) every cleanupFailedWake call passes e; (5) final fix F1: the two start-error arms that gave the lease straight back (a start its pre-exec gate refused with nothing started, and the default arm) now call giveBackAfterStart(ctx, rt, w, lease), which gives a legacy lease back exactly as before and an HA one only over an empty host slice. New sites: registry:Replication x5 (the class compare, the log line, the assignment and the HA sync-interval check) and whole:Route x6 (rt handed to restoredReplication, openEntryFiles, the cleanup calls and giveBackAfterStart); no file read in this body; only adds a condition before an HA release, no check removed;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: the rootfs admission runs before the claim path and before Acquire on the refreshed row (rootfsWakeRefusal), again in full if a re-read under the lock changed any gate field, and a resident wake re-checks residentRunnable; for a rootfs row a held lease or refused config is an ownership refusal; a rootfs first boot (no good version, fresh) places the empty database under the lease (placeRootfsDB) and uploads it once (syncRootfsPlaceholder), while fresh with a good version is refused as a lost database; declared processes are logged after the wake (rootfsProcessesHook); binary rows unchanged; fix wave 1 and 2 (6189a9db, then the r2 ruling "refuse interrupted init"): a fresh rootfs first boot goes through rootfsFirstBoot (rootfsmarker.go) instead of placeRootfsDB alone: under the lease it reads the lifetime's first-boot marker from the hibernate bucket (present or unreadable refuses, present as errRootfsReplicaMissing), writes it create-only, reads it back (only a read back that finds it confirms it; a write conflict proves nothing), and only then places the database; a warm wake does nothing with the marker (fix wave 1's settleRootfsFirstBoot call and its whole:Route site are gone, no local pending record); adds refusals only, binary rows unchanged;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: (1) refuses (errWakeUnproven) while another entry's release record of the host is open; (2) a rootfs row with a plan or a pin reads its declared processes before the lease (declaredProcesses(rt, g): the existing staged-manifest read of ExecBackend.Processes, the manifest root's staging wrote, checked against the identity's path and digest) and refuses before Acquire on an error; (3) the staged-identity start runs releaseInWake(ctx, e, rt, id, lease) before startGenExe, under this wake's lease, and a release that did not pass fails the wake; (4) a rootfs row with no plan, no pin and no staged identity is refused, the lease given back, nothing started; (5) a start error whose release is not proven stopped hands the lease to the release record (oweWakeLeaseToRelease) instead of giving it back. New sites +whole:Route x2 (rt to declaredProcesses and releaseInWake); no new file read beyond the existing staged-manifest read; binary rows unchanged;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W, W1: step 7 no longer calls rootfsProcessesHook (log only); it calls declareRootfsWorkers(e, rt, w), which registers the workers the wake's generation declares as pending and starts nothing (the resident tick starts them once the entry is awake under its lease watch); a worker is never a failure of the wake; the read of the declaration is the existing staged-manifest read (see registerRootfsWorkers); the same read sites in this body, no new read;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2: a successful acquire drops the host's holder-cache entry; same reads
-- `internal/activator/backend_exec.go` `ExecBackend.Acquire`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: after the unchanged AdmitConfig gate, the lease acquire moves into acquireClassified (hawake.go, a new unit): a legacy route or a non-HA host takes the same lease.Acquire as before and maps a held lease to errLeaseHeld as before (leaseError); an HA host goes through the containment admission and lease.AcquireHA. A successful acquire marks the host acquiredHere for the process (same-box recovery). The config gate is not weakened; the same three sites, no read added
- `internal/activator/backend_exec.go` `ExecBackend.restorePlain`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-seeded-instances;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): body of the frozen ExecBackend.Restore, which is now its dispatcher, with the seed marker reconciled before the warm-cache check; same staging fallback and replica restore;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: first asks haRestore(ctx, rt) (+whole:Route x2: rt to haRestore and to restoreHA); an HA host restores through restoreHA (hawake.go, a new unit) and never through the warm cache or the staging fallback; an error there fails the restore; a non-HA host takes the unchanged path
-- `internal/activator/maintenance.go` `Service.cleanupFailedWake`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): census ruling 292's body; when #292's whole proof holds for an aborted legacy start (legacyRunGone: the unit stopped and its cgroup empty) this wake's uncertainty is discharged and the stages it never reached (no sidecar, no replica) are recorded as held; when the proof fails the start is retained exactly as before, now named as the owner of this wake's uncertainty (owedBy). Read sites unchanged; the proof still only decides release-or-keep; no new read and no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: takes the wake's entry e as a new first argument and, when it is not nil, stops and joins the entry's HA files publisher (stopFiles) before anything else. Final fix F1: once the process's own proof has passed, an HA wake (haHeld(lease, w.rep)) is released only when haHostEmpty(rt) reads the host slice empty; otherwise it logs, marks the stop uncertain and retains the wake as unproven (retainUnprovenWake, with owedBy for a legacy start), keeping the lease and replica for the reaper. A non-HA wake's stop, proofs and give-back are unchanged. New sites +registry:Host (the log line) and +whole:Route x3 (rt to haHostEmpty and in the retained unprovenWake); no file read; only holds an HA release back;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R [pf R3.1]: when the wake's own release ended with its unit not proven stopped, the wake's lease is handed to the release record (oweWakeLeaseToRelease) and nothing is given back here; the record gives the lease back only after the unit is proven gone; the same 15 read sites, no read added; only holds a lease back
- `internal/edge/edge.go` `Edge.Reload`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-design-edge-rate-limit-358;basis=each route's upstream entry gains rate: e.parseRateSettings(t), the row's rate_limit column parsed once per reload; the one added site is that whole:Route pass of t (parseRateSettings is a new unit, classified in the decisions overlay); no other read added;rev3=census-ruling-certwarm-wake;basis=the single reload hook call becomes runReloadHooks(), which runs every registered hook in order (#386); no read added, same 57 sites (56 before #358 landed on main);rev3=census-ruling-edge-asset-cache-3;basis=each tenant reverse proxy built in the switch (the tunnel, fleet, socket and TCP arms, every *httputil.ReverseProxy) is installed behind assetScrubbedProxy, which hands the proxy an assetInformationalScrub writer so an app's 1xx (103) loses the asset cache's reserved headers (X-Carlos-Asset-Fill, -Fill-Ack, -Expires, Carlos-Cache) on every local path, as the backhaul already does (final review F6); a type check of the proxy it just built and a wrapper around it; static and status handlers untouched; read sites unchanged (57), offsets moved; no read added;rev3=census-ruling-alias-wake-338;basis=#338 follow-up: after the path fold, a resolved platform alias takes its source's own upstream entry (same proxy, route, hibernating: the existing activator wake, lease and fence), keeping its own prefix map (none for a minted apex) and never inheriting the source's (Astra r2 P1); a refused alias, or one whose source has no entry, is dropped from the map (not served, not Allowed); the attached-hostname fold clears platformAlias;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the activator-managed test (generation proxy, hib, no-activator 404) is Route.ActivatorOwned instead of Kind and Hibernate inline, so a resident rootfs instance goes through the activator; binary rows unchanged;rev3=census-ruling-edge-roll-blip;basis=the tcpProxy and multiProxy calls pass e.hold (the per-Edge localHold set once in newEdge): a loopback TCP upstream that refuses is redialled for up to 13 s and a probed route with a local upstream waits for prober readmission instead of answering 502/503 (#434 part B); edge-side dial policy only, no read added, same 52 sites;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: after the alias fold, reads the regional_domains rows (e.reg.ListRegional; an error aborts the reload as every registry read here does) and applies them with foldRegional against the routes slice the same reload read; the added reads are that one registry list and the routes already read;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Tasks 4 and 6: the forward case (fleetProxy toward the binding's FleetBox, throttled refusal); one refusal check before the switch from FleetArmVerdict (sidecar not judged; a non-ready forward row refused; a forward row always judged by FleetServeEligible, any other row only where tunnels are on; an alias of a refused source refused with it); the accountless note; path rows of a forward host not folded; no alias folded onto a refused row; refusedHosts held through every fold. ListFleets and FleetChannelAuth read before the loop (+registry:FleetBox, +registry:Host x7, +whole:Route x3). Serving only; the hub's agent, not root. Review R1 finding 2: the switch reads verdict.Served (FleetArmVerdict) by host; the forward case and the fleet-placed case take their fleet from it (served.Fleet) instead of FleetPlacement(t.Region), and an admitted forward row not Served continues rather than falling through (+registry:Host, -registry:Region); the same rows take the same arms; no read added. Review R2: the switch is on DispatchArm(t, viaFleet, tunnels) (the order moved there unchanged: forward only when in Arm, own Tunnel, fleet, socket, addrs, static, status, else continue), the fleet cases read verdict.Arm (renamed from Served), and the platform-alias fold is foldPlatformAliases with the same take (source entry, own paths, alias marks) and the same refusal log (-registry:Kind x2, -registry:Socket, -registry:Tunnel, +whole:Route: those reads moved into DispatchArm); same rows, same arms, same entries; no read added.;rev3=census-ruling-fleet-routes-followups;basis=the owners map is now e.reg.FleetOwners() instead of ListFleets folded inline: the same fresh-connection ListFleets read and the same name->account map (-registry:Account, -registry:Name, -whole:Fleet x2 move into Registry.FleetOwners); no read added; same error path (abort the reload)
- `internal/registry/fleets.go` `Registry.migrateFleets`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-fleet-secrets-key;basis=fleet secrets key (#366): four more idempotent migration statements: ALTER TABLE fleets ADD COLUMN for secrets_pubkey, secrets_key_fp, secrets_key_set_at, secrets_key_set_by (duplicate column ignored) and CREATE UNIQUE INDEX IF NOT EXISTS fleets_secrets_key_fp ON fleets (secrets_key_fp) WHERE secrets_key_fp != ''; CREATE TABLE IF NOT EXISTS fleet_secrets_key_fps (fp primary key, fleet, account, at), the permanent reservation of every registered fingerprint to its fleet, and an idempotent backfill INSERT ... SELECT of the fleets rows' current non-empty fingerprints ON CONFLICT(fp) DO NOTHING; fixed SQL, no new read of any input
New dispositions, which census-propose wrote and the reviewer checks against the unit's reads and the diff:
-- new `internal/activator/drainreport.go:ExecBackend.knownHA`: reads +registry:HA, +whole:Route; written legacy, accepted-legacy, frozen
-- new `internal/activator/drainreport.go:ExecBackend.noteUnsynced`: reads +registry:Host ×2; written legacy, accepted-legacy, frozen
-- new `internal/activator/drainreport.go:Service.noteUnsynced`: reads +registry:HA, +whole:Route; written legacy, accepted-legacy, frozen
-- new `internal/activator/drainreport.go:SplitBackend.execFacts`: reads +file:Exec; written legacy, accepted-legacy, frozen
-- new `internal/activator/drainreport.go:SplitBackend.noteUnsynced`: reads +registry:Backing, +whole:Route; written legacy, accepted-legacy, frozen
-- new `internal/activator/drainreport.go:readRecordHosts`: reads +file:ReadDir; written legacy, accepted-legacy, frozen
- new `internal/activator/startrule.go:ExecBackend.establishAssignment`: reads +registry:Assigned ×2, +registry:Host ×3; written legacy, accepted-legacy, frozen
- new `internal/activator/startrule.go:ExecBackend.reconcileAssignment`: reads +file:Lstat ×2, +registry:Assigned ×5, +registry:Host ×8; written legacy, accepted-legacy, frozen
- new `internal/activator/startrule.go:ExecBackend.startAllowed`: reads +registry:Assigned ×3, +registry:Host, +registry:Moved, +whole:Route; written legacy, accepted-legacy, frozen
- new `internal/activator/startrule.go:ExecBackend.supersededEntries`: reads +file:ReadDir; written legacy, accepted-legacy, frozen
- new `internal/activator/startrule.go:localCopyNames`: reads +file:Lstat, +file:ReadDir; written legacy, accepted-legacy, frozen
+- new `internal/activator/wakeidentity.go:leaseRouteChanged`: reads +registry:Assigned ×4, +registry:Host ×3, +registry:Moved ×4, +registry:Region ×4, +whole:Route ×3; written legacy, accepted-legacy, frozen
- new `internal/edge/edge.go:fleetBoxOf`: reads +registry:FleetBox, +registry:FleetLabel ×2; written legacy, accepted-legacy, frozen
- new `internal/registry/fleets.go:Registry.MarkFleetBoxLabelled`: reads +file:Exec, +file:QueryRow, +registry:remote ×2, +registry:sql ×2, +whole:remoteClient ×2; written legacy, accepted-legacy, frozen
- new `internal/registry/fleets.go:Registry.SetFleetBoxDraining`: reads +file:Exec, +file:QueryRow, +registry:Number64, +registry:remote ×2, +registry:sql ×2, +whole:remoteClient ×2; written legacy, accepted-legacy, frozen
@@ -81,6 +66,6 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- reads `internal/registry/registry.go:scanRoute`: +registry:Assigned, +registry:FleetLabel, +registry:Moved; keeps legacy, task accepted-legacy
- reads `internal/registry/remote_dispatch.go:Registry.dispatchRemote`: +registry:Assigned, +registry:At ×2, +registry:Fleet ×2, +registry:Host, +registry:Label ×2, +registry:Moved, +registry:Number64; keeps hint, task E2
-Seal: `1379d066c8dd2335d95d5f6e9c7bce65ff57f00b2b287a308d9b3f47911ae5e7` → `fc8f358c375dd5ec2f1bc02bc310c35ea7b3a515a0ea7b73bbd3ccc48cedcea5`.
+Seal: `1379d066c8dd2335d95d5f6e9c7bce65ff57f00b2b287a308d9b3f47911ae5e7` → `652569fc38231f7ba530e309bee99f7be732eeeafcf6092dbe897f8d9e713fc4`.
Overlay: `internal/provision/testdata/plan14-root-reads-managed-fleets-1b.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 2068d0efd..a4da2dc5c 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -43,4 +43,4 @@ plan14-root-reads-region-ha-dead-holder-backoff.tsv 8f6a1865b0abcea9d4fb68232cc2
plan14-root-reads-managed-fleets-1c-451.tsv af326671321edda76c7e6217a47892605a9e3b886fa880ad6d049c2f28f63873
plan14-root-reads-fleet-public-routes.tsv bca6ef741a96b72767b1747789cd01b3111d61b68548cbe368258c31f3d53a2e
plan14-root-reads-fleet-routes-followups.tsv 1379d066c8dd2335d95d5f6e9c7bce65ff57f00b2b287a308d9b3f47911ae5e7
-plan14-root-reads-managed-fleets-1b.tsv fc8f358c375dd5ec2f1bc02bc310c35ea7b3a515a0ea7b73bbd3ccc48cedcea5
+plan14-root-reads-managed-fleets-1b.tsv 652569fc38231f7ba530e309bee99f7be732eeeafcf6092dbe897f8d9e713fc4
diff --git a/internal/provision/testdata/plan14-root-reads-managed-fleets-1b.tsv b/internal/provision/testdata/plan14-root-reads-managed-fleets-1b.tsv
index 4d1156f2c..4d3ef13d1 100644
--- a/internal/provision/testdata/plan14-root-reads-managed-fleets-1b.tsv
+++ b/internal/provision/testdata/plan14-root-reads-managed-fleets-1b.tsv
@@ -1,11 +1,9 @@
# Census overlay managed-fleets-1b, written by census-propose (#369). census-ruling-managed-fleets-1b, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-managed-fleets-1b.md.
-# 14 body, 6 sites, 9 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
-# 26 new dispositions: 10 reads re-frozen at their disposition with the claim, 15 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 1 other.
-@legacy 4dd703adec860ca1e886dcb4dd4a110767a2f2f19f685e0c25088f800f1f699c internal/activator/activator.go Service.finishStop 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 with a run's settle checked before replication closes, which keeps the stop pending until the run is proven stopped; read sites unchanged, offsets moved;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: an HA entry (its replica is an HA one, haEntryRep) now releases through releaseHAClean (a new unit on this card) instead of e.rep.Close; when that answers errHostSliceUnproven the stop is kept pending (keepPendingLocked) with the lease held and renewing, and the sweep finishes it once proven; a non-HA entry is unchanged; the same five sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: a forgotten entry's stop is noted for its resident (noteResidentStopLocked: crash or lost lease backs off, any other stop restarts on the next tick) and its ownerDone channel is closed; no read added;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: while the host has a release command's record (a.releaseOps[e.host], running or not proven stopped), replication and the lease stay and the stop is kept pending (keepPendingLocked) until the record's proof; the same five read sites, no read added; only holds a release back;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W, W1.20: while a rootfs worker may run or is a stray (rootfsWorkersLiveLocked, in-memory, read under a.mu), replication and the lease stay and the stop is kept pending (keepPendingLocked) until the workers are proven stopped; the same five read sites, no read added; only holds a release back;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 6a, drain rule): the final checkpoint's 30 s budget is the package variable finalCheckpointBudget (same 30 s; a test seam); after the legacy release, a host that is not HA and had a replica records the release outcome (noteFinalReplication: a failed final sync writes <DataDir>/.replication-failures/<host>.json, any other outcome removes the host's records). Read sites unchanged (5). Runs in the agent (carlos-edge.service, user carlos), not root; the release itself is unchanged. registry:Socket@4019,registry:Socket@4124,whole:Route@3969,whole:Route@4021,whole:Route@4126 dd497734d97a11af2a9036373ea2fe7b4d0804e9cacc2e13121ccacd2d8008fd
+# 11 body, 4 sites, 8 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
+# 21 new dispositions: 10 reads re-frozen at their disposition with the claim, 10 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 1 other.
+@legacy 93260208392510fd7fe75ce86d71466c0db5602fb6da23c94c38befd9361b9ed internal/activator/activator.go Service.wake legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=Re-digested at the pre-land merge: the body includes main's own change under census ruling 292, with no further change from this branch. the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=logs that timer's breakdown to the journal after a successful wake (w.steps.String(), e.host, w.wakeTook); no read added;rev3=census-ruling-plans-4d-lapse;basis=cancels a wake whose row the turned-off hook names, like a fence, unless it is a move's active probe (plans 4d). One more whole-row read: the row handed to the hook (a.disabled). Only refuses.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: a refusal before the lease is reported once per change (noteRootfsRefusal) instead of a wake-failure event; the proc, generation and replica are installed through installProcLocked (which puts a resident under its lease watch before the fence); residency notes the outcome (noteResidentWakeLocked); same generation values;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R [pf R3.5]: the wake's context ceiling is wakeCeilingFor(e.route): the old 5 minutes for a binary row, 5 minutes plus runs.MaxTimeout for a rootfs row (room for a release inside the wake); new site +whole:Route (e.route to wakeCeilingFor, which reads Runtime only); no other change;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (branch review R1 P1-1): the wake's context is also cancelled before doWake when RetireExcept has marked the entry retired (e.retired, in memory under a.mu), as it is for a fence or a shutdown. Read sites unchanged (13). Agent, not root; it only refuses more. registry:Socket@7696,registry:Socket@7857,whole:Route@1047,whole:Route@2499,whole:Route@2590,whole:Route@2647,whole:Route@417,whole:Route@5944,whole:Route@7649,whole:Route@7698,whole:Route@7859,whole:Route@9182,whole:Route@9203 c61d54e942227517281b14652f2e04231961cfe327ab0d94762b0c34b146f4ce
@legacy 6528a363bca584fa7e8fe3d564acf1c9e09c44972b3fff028775e6d51110b100 internal/activator/hawake.go ExecBackend.acquireClassified legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1a;basis=new: the acquire's classification: a legacy route (sidecar, hand-added or not an instance) takes lease.Acquire and refuses on an HA-format lock; otherwise isHA (a record read error fails the wake, never falls back to legacy); not HA takes lease.Acquire, and an HA-format lock there marks the host HA for good and continues; HA requires haContained before any lock request, then lease.AcquireHA with the same-box proof; held and refused leases map to errLeaseHeld and errLeaseRefused (leaseError); +registry:Host, +whole:Route x7;rev3=census-ruling-region-ha-p1b1;basis=region HA P1b-1: the HA acquire's Proofs gain OwnerTerminated (b.ownerTerminated(ctx, rt)) beside SameBoxEmpty; one more whole:Route site passes the route to ownerTerminated; nothing new is read; the proof is consulted only by hafresh.DecideAcquire for another box's expired HA lock;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 7, two-box fleet test): the two legacy acquires call b.acquireLegacy(ctx, prefix), which is acquireLegacyLease exactly when ExecBackend.LeaseIdentity is nil and LeaseTTL is 0 (the agent never sets them), otherwise lease.AcquireAs with that identity and TTL. The classification, the HA path and every refusal are unchanged. Read sites unchanged (9). Agent, not root. registry:Host@106,whole:Route@1137,whole:Route@1256,whole:Route@1301,whole:Route@1595,whole:Route@195,whole:Route@533,whole:Route@584,whole:Route@834 4f88f46a65d1a65a9c7cecf6ba7da4c3924eab47cf3406b5ffefc07e31bc4b3b
-@legacy a1b1388e3fb20ed5c45a48b584f3f97cbf80f69db4fe21b0ae43275e3ce611c5 internal/activator/opset.go Service.reapUnprovenWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): census ruling 292's body; when the retried proof holds for a retained legacy start and the host's stop history is uncertain only because of that start (owedBy), the uncertainty is discharged and the stages the failed wake never reached are recorded as held; any other uncertainty is kept through rememberStopLocked as before. Read sites unchanged; no new read and no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos, the sweep's retry of a retained failed wake: a wake retained by giveBackAfterStart (sliceOnly) counts as proven by its process alone, and then, final fix F1, any retained HA wake (haHeld(u.lease, u.rep)) is proven only if haHostEmpty(u.rt) also reads the host slice empty (+whole:Route); unproven, it stays retained with its lease; the legacy and generation proofs are unchanged; only holds an HA release back;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 6a): after the unchanged rep.Close, a non-HA host records the close outcome (noteFinalReplication, as finishStop). Read sites unchanged (3). Agent, not root; nothing else changes. whole:Route@485,whole:Route@539,whole:Route@750 c530fe0b0326e2a2d1dddf7cb58f71505da00735af9d28e662867ac4d086b74b
@legacy a730907f22865a8967d9dd39d4d8f78dec6293a5556957424a961de4e34bbf13 internal/host/agent.go provisionTickConfig legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-ha-p1a-433;basis=the agent (carlos-edge.service, user carlos) and the edges file loop's eligibility: the same CARLOS_POOLS read, now parsed by provision.ParseBoxPools (internal/provision, envelope re-pinned), the one parser boxPools also uses. "@shared" (provision.SharedPoolToken, never a valid pool name) is the shared "" pool; other tokens are literal as before; empty elements and repeats dropped. No read added.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 4, rule 2): sets ReconcileConfig.FleetBox to the box's own fleet label from resolveFleetIdentity(getenv), only when the identity resolves and region == PlacementTarget(identity.Fleet); otherwise it stays "" (the box admits only unlabelled records). The same environment the fleet loops already read; read sites unchanged (2). Agent config, not root. data-literal@207,data-literal@248 86de660d3664f06ffdd19bf997ef6c8116c7d711f0a99e7dae16a38a1681e119
-@legacy c2fe310c693e48fee032da61db5dc7ca7b448024eccc1a0879153056986ddedf internal/host/agent.go statusLoop legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the status tick's context carries the box's lifetime judge; read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 953b9fda (its later changes, regional box names and self-serve moves plan 1 among them, under main's own census rulings), where the tick fills rootfs_ready and rootfs_blocked from armedRootfs.Load().probe, which each tick runs NestedOK's checks and asks the control socket's GET /ready/rootfs (never the store); the same four direct sites;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 11 and #329 plan 3 Task 7: takes root's GET /egress reader and fills p.Egress = egressStatusProbe(egressStatus, routes, provision.PolicyReadStates()) and p.SizeCommittedMiB = sizeCommittedMiB(armedSizeSource.Load(), routes); the two added whole:Route sites are the tick's own registry list handed to those two units (decision rows), which read root's control socket and the activator's memory; no store request added; the four existing sites unchanged, offsets moved.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 6a): the status tick calls drainReport(&p, svc, dataDir()), which fills Probes.LeasesHeld and ReplicationFailures from the activator's in-memory lease set and the agent's own <DataDir>/.replication-failures directory (no bucket request). Read sites unchanged (6). Agent, not root; it adds two counts to the private heartbeat. whole:Route@11787,whole:Route@12068,whole:Route@6404,whole:Route@6431,whole:Route@7673,whole:Route@9687 e2d2914162d575dbbeb7709fda1b8a8c6d5ec1f55cb6f3294dc2d6a07b8c7d0b
@legacy 7481da02e55c9d4fd73d25639822c98fcb38c742aa0874f9e28be885f8a8613d internal/provision/reconcile.go Reconcile legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from its reconcile loops: each listed record is observed through the box's lifetime judge (ObserveWith: the record, then its host incarnation slot) before the shape, channel and scope checks, a stale record is left out and an unjudgeable one protected; the removal phase observes a row's own record key when the pass holds none for it under that key, and deletes a held row whose record is gone or stale through DeleteIfHold; a nil judge (claims on) is main's body; registry read sites unchanged, offsets moved; fix round 1: the removal phase observes a row's own key only under an account the listing trusts, so a retired or unmaterialised account's row keeps record gone, and the pass arms its own context with the judge; Task 7: under a judge an existing provisioned row of the record's own app and account follows the existing-row rules (heldByVanishedPredecessor and retireHeldPredecessor's DeleteIfHold first, the record then minted on the same pass; the hold; installRowLifetime), each a separate write under the host's hold lock; registry read sites unchanged, offsets moved;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=#328/#329 plan 1 Task 7: the pass reads its apps' policy objects (control/app-policy/<sqid>/<app>.json in the bucket) through the agent's PolicyCache, each verified with ReleasePub by apppolicy.VerifyKey (ed25519 over the policy's own domain line, bound to the account and app, unexpired, not future-dated; anything else is no policy), and carries the columns into its rows. New kinds registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each, all the assignment of a fresh row's columns (nr) from policies.cols; plus one whole:Route site, the existing row handed to policies.forRow. Other read sites unchanged, offsets moved; the agent's own pass, no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos, from its reconcile loops: after the scan, hands the in-scope records to cfg.Lifetimes (the box's lifetime index): Merge after a failed read or partial listing, Replace after a complete one, nothing on a dry run or with no index; the scan, judge and removal phases unchanged; the same 166 sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 2 and 5 (D5, spec §5.0): a seeded record over a row with a runtime is skipped and logged; a row with a runtime (or a new record with one) takes no seed; runtime and a rootfs row's hibernation are never converged from a record (a mismatch is logged; a record claiming a runtime its row lacks is not applied); reads Runtime of the record and the row; the box writes less; fix wave 1 (ceea6353, whole-branch P1-2): before minting a row for a record with no runtime and no row (both mint paths), the pass reads the app's kind marker once per app per pass (release.ReadAppKindMarker: one GET of the create-only kind.json from the release store s, through freshStore, validated by readAppKindMarker); a rootfs marker leaves the record unmaterialized and logged (an older console stripped its runtime), and a marker that cannot be read defers the mint this pass; a refusal before minting only, registry read sites unchanged, the box writes less; fix wave 2 (whole-branch r2 P1): the kind-marker read and its refusal apply only to a socket-backed instance record (DerivesPaths), so a static or upstream-backed record of a rootfs app, which carries no runtime by design, is minted as before with no read; fewer reads, registry read sites unchanged;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 10: the forward phase on the hub (FleetOwners set): the scan keeps the fleet-placed records it skips and counts records per host; a trash-only marker prefetch; disputed (failed-GET) hosts; armed, a host an in-scope and a fleet record both name is given neither, its journal waits and the removal phase keeps its row (+registry:Account, +registry:App, +registry:Host x2: the collision guard, its log line and report mark); the instance loop leaves a forward host; retirable excludes forward rows. Same record keys; writes only the registry (PutForward, DeleteForward); no bucket write.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 4, rules 2 and 9): after inScope, a record failing cfg.ownsRecord (on a fleet box, labelled for another box: rec.FleetBox != "" and != cfg.FleetBox) is skipped as out of scope, so it is never minted here; in the removal phase such a record no longer keeps the row (inScope && ownsRecord), so the row goes as record gone. Off a fleet ownsRecord is always true. Read sites unchanged (178). The agent's reconcile loops, not root; it mints less, never more. registry:Account@36563,registry:Account@37828,registry:Account@55907,registry:Account@55953,registry:Account@56797,registry:Account@57174,registry:Account@57400,registry:Account@57467,registry:Account@57513,registry:Account@57606,registry:Account@57648,registry:Account@58296,registry:Account@58554,registry:Account@59285,registry:Account@59333,registry:Account@59742,registry:Account@59788,registry:Account@60033,registry:Account@60458,registry:Account@60946,registry:Account@61682,registry:Account@61875,registry:Account@62221,registry:Account@62786,registry:App@36536,registry:App@37801,registry:App@55927,registry:App@55965,registry:App@56809,registry:App@57186,registry:App@57412,registry:App@57487,registry:App@57525,registry:App@57626,registry:App@58308,registry:App@58566,registry:App@59297,registry:App@59345,registry:App@59762,registry:App@59800,registry:App@60045,registry:App@60470,registry:App@60958,registry:App@61694,registry:App@61887,registry:App@62233,registry:App@62798,registry:ClaimOwnership@37150,registry:DBPath@46007,registry:DBPath@46022,registry:DBPath@46268,registry:DBPath@46871,registry:DBPath@46884,registry:EgressAllow@35649,registry:Gate@42352,registry:Gate@42492,registry:Gate@42779,registry:Hibernate@41024,registry:Hibernate@41222,registry:Hibernate@41287,registry:Hibernate@41626,registry:Hibernate@41977,registry:Hibernate@42287,registry:HoldOp@61427,registry:HoldOp@61518,registry:HoldOp@61653,registry:HoldOp@62029,registry:Host@26749,registry:Host@55886,registry:Host@56773,registry:Host@57150,registry:Host@57314,registry:Host@57420,registry:Host@58316,registry:Host@58522,registry:Host@59625,registry:Host@59897,registry:Host@60012,registry:Host@60335,registry:Host@60432,registry:Host@60823,registry:Host@60920,registry:Host@61134,registry:Host@61509,registry:Host@61644,registry:Host@61848,registry:Host@61921,registry:Host@62020,registry:Host@62195,registry:Host@62270,registry:Host@62356,registry:Host@62763,registry:Kind@37292,registry:Kind@37555,registry:Kind@45925,registry:Kind@45938,registry:Kind@46048,registry:Kind@46061,registry:Kind@46782,registry:Kind@46793,registry:Kind@55010,registry:Kind@61125,registry:Kind@61635,registry:Kind@62011,registry:Kind@62186,registry:Kind@62347,registry:PolicyExpiresAt@35674,registry:Pool@55096,registry:Provisioned@36512,registry:Provisioned@37777,registry:Provisioned@55055,registry:RateLimit@42865,registry:RateLimit@43016,registry:RateLimit@43303,registry:Region@55085,registry:Replication@41711,registry:Replication@41838,registry:Runtime@29314,registry:Runtime@29492,registry:Runtime@31697,registry:Runtime@40391,registry:Runtime@40445,registry:Runtime@40649,registry:Seed@44405,registry:SeedSource@43888,registry:Size@35665,registry:Socket@45973,registry:Socket@45988,registry:Socket@46285,registry:Socket@46841,registry:Socket@46854,registry:Unit@45891,registry:Unit@45904,registry:Unit@46808,registry:Unit@46819,whole:ClaimOwnership@37153,whole:ClaimOwnership@37170,whole:Route@26731,whole:Route@26742,whole:Route@26760,whole:Route@27949,whole:Route@29809,whole:Route@29816,whole:Route@29856,whole:Route@30217,whole:Route@30555,whole:Route@31002,whole:Route@31053,whole:Route@31090,whole:Route@32762,whole:Route@32971,whole:Route@33310,whole:Route@33319,whole:Route@33365,whole:Route@35598,whole:Route@36157,whole:Route@36628,whole:Route@36638,whole:Route@36995,whole:Route@37002,whole:Route@37070,whole:Route@37393,whole:Route@38426,whole:Route@41377,whole:Route@46117,whole:Route@47703,whole:Route@47748,whole:Route@47758,whole:Route@48628,whole:Route@49655,whole:Route@55121,whole:Route@55269,whole:Route@56366,whole:Route@56725,whole:Route@57107,whole:Route@62108,whole:Route@62693,whole:Route@62743 ae12f8f6b360ea5015ea05fcffad003a8f01ec8939f5df6c6b0548e17a558325
@legacy 77e5932527f6839d446eceeedac6c3c241ce078043cdb5106a3e7d933c9d8313 internal/provision/seedreconcile.go retireAbortedSeedRow legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): retires the row this box minted for a --from seed that was aborted after its publish landed, through the pass's ordinary retire, once it is shown to be the record's own provisioned row in scope;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 10 (Task 7 carry): its guard adds rt.IsForward(), so a forward row is never handed to the aborted-seed retirement; read sites unchanged (15); it retires less, never more.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 4): its guard adds !cfg.ownsRecord(rec), so a seed of a record labelled for another fleet box is left aborted and not retired here. Read sites unchanged (15); it retires less, never more. Agent, not root. registry:Account@275,registry:App@304,registry:Host@1108,registry:Host@521,registry:Host@785,registry:Host@959,registry:Kind@1099,registry:Kind@129,registry:Kind@776,registry:Kind@950,registry:Pool@216,registry:Provisioned@174,registry:Region@205,whole:Route@241,whole:Route@856 0e2da8776a317dd66895990101561a41b6fe06a312b3a9ef2381f1e99d0b0ae4
@legacy 2856a386b9677c53519664b83e5eb8119d68533e47fd810230777b7772948567 internal/registry/fleets.go Registry.AddFleetBox legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 6b): re-adding a detached label (the existing ON CONFLICT ... WHERE status <> 'active' arm) also sets draining_since and labelled_at to NULL, so a re-added box starts not draining and never labelled. Read sites unchanged (30). Registry side (console / registry child), not root. file:Exec@983,file:QueryRow@757,registry:AddedAt@1380,registry:AddedAt@623,registry:AddedAt@642,registry:Fleet@1339,registry:Fleet@1613,registry:Fleet@191,registry:Fleet@247,registry:Fleet@808,registry:Fleet@909,registry:Label@1348,registry:Label@1622,registry:Label@280,registry:Label@335,registry:Status@1370,registry:Status@351,registry:Status@370,registry:Status@418,registry:Status@475,registry:TokenHash@1357,registry:TokenHash@508,registry:TokenHash@603,registry:remote@55,registry:remote@85,registry:sql@687,whole:FleetBox@141,whole:FleetBox@144,whole:remoteClient@57,whole:remoteClient@87 1be5bbe26acc545f965e8f95e082b0042217d411456657c75a52747854e49339
@@ -13,18 +11,12 @@
@legacy 3ac55b0b31d01c0872032bc22f9c4d2f1059f36311bc787c1727bf30807e4ec5 internal/registry/registry.go Registry.Fingerprint legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user); the remote arm, unchanged, in the process that holds a remote handle: census-ruling-seeded-instances's body with the row's lifetime pair (incarnation, serving_seq) folded into the edge's change poll, each only when non-zero, so a registry with no pair digests as before; self-serve moves 1 Task 7;rev3=census-ruling-regional-domains-447;basis=#447 Task 4: hashes regional_domains (host, target, account, app, region; created_at not) over the same fresh connection, with a section marker written only when a row exists, so a registry with no regional rows digests as before; the one added site is that SELECT (+file:Query) on the box's own registry database, as carlos; no file path read;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): review R1 finding 1: the routes SELECT also reads host, kind, account, app, platform and fingerprintForwardInert (one CASE over the ForwardForbidden columns), and every row folds host, kind, account and app (tagged, quoted), platform when set, and forward_inert=0 for a forward row that is not inert, so a rowid reused by another hostname, an in-place account or app rewrite, or a stray forbidden column moves the edge's change poll. Same one SELECT per table on the same fresh connection to the box's own registry database, as carlos; no table, file or bucket read added; a digest, never a decision.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5): the SELECT also reads fleet_label and, only when it is set, hashes "fleet_label=<q>" into the digest, so labelling a row moves the edge's reload fingerprint. Read sites unchanged (33). Registry side, not root; an unlabelled registry's digest is byte-identical. file:Exec@284,file:Open@188,file:Query@368,file:Query@5662,file:Query@6141,file:Query@7127,file:Query@7823,file:Query@8735,file:Query@9792,registry:ClaimIncarnation@1426,registry:ClaimIncarnation@4570,registry:ClaimIncarnation@4647,registry:ClaimOwner@1470,registry:ClaimOwner@4771,registry:ClaimOwner@4836,registry:ClaimRowID@1489,registry:ClaimRowID@4863,registry:ClaimRowID@4929,registry:ClaimStamp@1451,registry:ClaimStamp@4680,registry:ClaimStamp@4744,registry:Incarnation@1534,registry:Incarnation@5150,registry:Incarnation@5214,registry:ServingSeq@1553,registry:ServingSeq@5241,registry:ServingSeq@5304,registry:Text@158,registry:path@207,registry:remote@55,registry:remote@87,whole:remoteClient@57,whole:remoteClient@89 d7767c8a706850187ce93ee095791ccda1d23f07bb485be3c56b7fb08add6e08
@legacy bf446807dfc45457c9002924dcb50cdda7ae9a1683e631c50fe706d85753fcdd internal/registry/registry.go Registry.SnapshotFingerprint legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user); the remote arm, unchanged, in the process that holds a remote handle: census-ruling-seeded-instances's body with incarnation and serving_seq hashed, tagged, only when non-zero (snapshotPairCols), so a registry with no pair digests as before; self-serve moves 1 Task 7;rev3=census-ruling-region-ha-p1a;basis=hashes the new ha column only when it is set (non-empty and not "0"), tagged, so a registry with no born-HA row digests as before; the same twelve sites, no read added;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Tasks 2 and 5): fleet_assigned and fleet_label join snapshotWhenSetCols (hashed only when set), and fleet_moved is hashed like ha, only when non-zero. Read sites unchanged (12). Registry side, not root; rows without them hash as before. file:Exec@300,file:Open@204,file:Query@3716,file:Query@385,file:Query@4135,file:Query@4614,registry:Text@174,registry:path@223,registry:remote@63,registry:remote@95,whole:remoteClient@65,whole:remoteClient@97 f046b7a287257b1b892acd8a6b1da611b6b7fdc83f733c92f145fe66e40f0783
@legacy 3f06456553932e823a0b62405f280a5b3ae50c842af9382f40458b0729ae5927 internal/registry/registry.go upsertRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-alias-socket-follow-338;basis=#338: Upsert's unchanged statement moved into a helper so it can run on the database or inside a transaction;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 2 (runtimeFixed in the registry): takes a guard appended to the ON CONFLICT WHERE (UpsertUnlessRootfs passes routes.runtime = ''); a stored row with a runtime keeps its region and hibernate unless the tenant changed; replication is cleared only when the effective runtime is empty; no new read source, same SQLite table;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 3: on a refused conflict, the forward check reads the host (+registry:Host) to answer ErrForwardRow; the statement carries kind <> 'forward'. A refusal only.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 2): the conflict arm gains fleet_assigned (the excluded value on a re-tenanted host, else kept when the writer carries '') and fleet_moved (excluded on a re-tenanted host, else MAX of stored and excluded). Read sites unchanged (3). The same statement guard (claim ownership, kind <> 'forward') applies. file:Exec@116,registry:Host@4688,whole:Route@4564 f402dc4b1dd096f5944029a4fad58bc856c046fd375f6e4540dfc27fde86340a
-@legacy 1408e9df0c048b451503cf74b0c02835807f2dc3fafed310265befeafeea0a94 internal/status/snapshot.go CollectBox legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-2;basis=copies Probes.RootfsReady and RootfsBlocked into BoxMetrics (private, like Layout); the same 28 sites, no read added;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 11 and #329 plan 3 Task 7: copies Probes.Egress and Probes.SizeCommittedMiB into BoxMetrics (private, like Layout) and counts them in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate count is left as is (display);rev3=census-ruling-regional-domains-447;basis=#447 Task 7: copies Probes.AliasesRead into BoxMetrics.AliasesRead (json aliases_read, omitempty) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 6a): copies Probes.LeasesHeld and Probes.ReplicationFailures into two new Box fields (leases_held, replication_failures; counts only, bucket-private, never copied into FleetBox). The same 28 sites, no read added. Agent heartbeat, not root. registry:Alias@4543,registry:CertExpiresAt@3160,registry:CertExpiresAt@3396,registry:CertExpiresAt@4658,registry:DBPath@2495,registry:DBPath@2553,registry:DNSCheckedAt@3365,registry:DNSCheckedAt@4627,registry:DNSStatus@3139,registry:DNSStatus@3334,registry:DNSStatus@4597,registry:Hibernate@3853,registry:Host@2295,registry:Host@2437,registry:Host@2666,registry:Host@3280,registry:Host@3315,registry:Host@4578,registry:Kind@2473,registry:Kind@3807,registry:Platform@2152,registry:ServingVersion@2324,registry:ServingVersion@2447,registry:Socket@4066,registry:Version@2186,registry:Version@2305,whole:Route@1581,whole:RouteAlias@4440 214d9a2b79a78d099edfc5dcfea1ca49bbd07e834f0e05e5723b8fba76b3c6f9
-@legacy 1af92f8704b4ed3b530f5c125f1d58efe4706a68b7e206e854d2195fbd8e4f11 internal/activator/drainreport.go ExecBackend.knownHA legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 6a): whether the box classifies a host HA, from the lifetime index (b.Lifetimes.Lookup) and the registry row's HA (b.Registry.Get); used so a record of an HA host is not counted. No record or bucket read. Agent, not root. registry:HA@239,whole:Route@226 decfca41f26389b83059566572a1e827319e6296c3cf8144b6401fcc9d1366a1
-@legacy 59b97a89dacf687d3462215b3a1d1efdb899a104ec03e0ee48c092315ac0d00c internal/activator/drainreport.go ExecBackend.noteUnsynced legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 6a): writes <DataDir>/.replication-failures/<host>.unsynced (writeDurable, temp file, fsync, rename, directory fsync) for rt.Host, the name checked by failedSyncName; a backend with no absolute DataDir writes nothing. The agent's own data directory, not a tenant instance directory. Agent, not root. registry:Host@358,registry:Host@91 5336a5813b23dd59b5f81714587282cfc83d171b9d7a93c3b3d4316b30d80871
-@legacy b2231071f31fe089c95415014cf92e789ec763d4d0347647326689e3869735ff internal/activator/drainreport.go Service.noteUnsynced legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 6a): doWake's call: skips an HA wake (rt.HA or an HA lease) and a backend without drain facts, else the backend's noteUnsynced; an error refuses the wake. Agent, not root. registry:HA@111,whole:Route@179 158982b272a7183cfaf31d44149e44c84be4976a49fc878e31705ffc62621d03
-@legacy cc91ed49f1accbb3251427e9f477eb58b3399a4678a448dcc0a3371995cca3f9 internal/activator/drainreport.go SplitBackend.execFacts legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 6a): a type assertion of the SplitBackend's Exec half to drainFacts (the +file:Exec site is the field named Exec, not an exec call). Agent, not root. file:Exec@66 dba9b18f93cf8f62923daefdbc990baea28b96c3a435a45ebfe1cf0f4c239feb
-@legacy 7b867d6978037dbd51031df086c60e8805f2aa611225854f4a3b3a8a6cd10453 internal/activator/drainreport.go SplitBackend.noteUnsynced legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 6a): a unit-backed row (rt.Backing == BackingUnit) records nothing; else the exec half's noteUnsynced. Agent, not root. registry:Backing@67,whole:Route@177 5b6618d9215c358ed856ae0cab0315790a372348148cbaf80da50bb4a1b18b05
-@legacy c39d75fba132fb75bcae98a08dcbca4eb9130b1ff3ec2384102326e0bf07fe86 internal/activator/drainreport.go readRecordHosts legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 6a): os.ReadDir of the agent's <DataDir>/.replication-failures, collecting <host>.json names and <host>.unsynced names whose host is not currently held; dot files skipped; nothing opened or followed. Agent heartbeat, not root. file:ReadDir@163 aaad29eafcb8ec72c2b06a1fbf7ac274025f72b84045e82bbd06440b2e8049da
@legacy 6cabd10b9500b2524e74010c9be0a07a3626e01996095f80dd2f5d1a3856e20e internal/activator/startrule.go ExecBackend.establishAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 3, rule 6): on a labelled row (rt.Assigned set), MkdirAll the instance directory (0700) and write rt.Assigned to <db>.assigned via writeDurable. Unlabelled rows write nothing. Agent as carlos, not root. registry:Assigned@424,registry:Assigned@88,registry:Host@229,registry:Host@344,registry:Host@560 2cb4e5305b384fda0e504a5afdb606be5879e621e4d3995134b264c4bdcd3440
@legacy d32da540442d68f1c76c7aeab7393f1fcc524e2465dea16bd7143d73ea2dad7c internal/activator/startrule.go ExecBackend.reconcileAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 3, rule 6): on a labelled row, Lstat the instance dir, read the <db>.assigned marker with instancefs.ReadBeneathLimitOrAbsent (no symlink follow, 128 bytes max), Lstat the database; a copy not kept under rt.Assigned is moved by supersede into <DataDir>/.superseded/<host>/<nanos> (RenameBetweenNoReplace, fsync barriers), never deleted. Any read failure refuses the wake. Agent as carlos in the instance directory, not root. file:Lstat@260,file:Lstat@685,registry:Assigned@1213,registry:Assigned@1310,registry:Assigned@1344,registry:Assigned@658,registry:Assigned@88,registry:Host@1073,registry:Host@1428,registry:Host@1558,registry:Host@1684,registry:Host@229,registry:Host@423,registry:Host@608,registry:Host@903 8487e6c90d2f1266fcf10ba17eb323323eb91cd826159151ccc1de626d6ca27f
@legacy c62b71d5c94bf5b18e71cf10ed19a4687bed328c505737fcd391708c135e4af1 internal/activator/startrule.go ExecBackend.startAllowed legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 3, rule 6): the start rule: an unlabelled or restored start is allowed; a kept local copy must match rt.Assigned in its marker; an empty start of a labelled row is refused (ErrNothingToRestore) when a set-aside entry exists for the host or rt.Moved is set. Only refuses. Agent, not root. registry:Assigned@549,registry:Assigned@701,registry:Assigned@92,registry:Host@149,registry:Moved@1288,whole:Route@196 d56122307992d7e99e10db26f67ad3e33b74b6eb301a5e021a2589e258b13ef5
@legacy 703ac9e03a2580df07f0caf0c03d98a5ead2c5b43a05a3ab708f5eaf6ee359e0 internal/activator/startrule.go ExecBackend.supersededEntries legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 3): os.ReadDir of <DataDir>/.superseded/<host> (host checked by supersededHostDir: no separators, not . or ..), names sorted; absent is none, any other error returned. The agent's own data directory. Agent, not root. file:ReadDir@176 1bd4e1d569938d80cc0316dbb3169dd1a6b452aeba6a24179e40492242ceb8b7
@legacy 96e4843961f7ec05d4502ea484d6a24cc312bafe6179cae5dfab7fdbea8c7b6d internal/activator/startrule.go localCopyNames legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 3): os.ReadDir of the instance directory (to find .seed-sd_*.tmp leftovers) and os.Lstat of a fixed list of the copy's names (marker, db, -wal, -shm, litestream dirs, seed marker); Lstat follows nothing. Agent as carlos, not root. file:Lstat@517,file:ReadDir@266 8bbf81cdcab7e5d7db21e73ad21cbecc96e456325b176d817b02e73fccc6c71a
+@legacy 856c0aa2bc30e659dc31dd2be2c9a982af5602540cac1da82241084795159db6 internal/activator/wakeidentity.go leaseRouteChanged legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (branch review R1 P1-1): a pure comparison of the row a wake began from (began) with the row doWake read under the lease (now): nil now is a row that is gone; then wakeRouteChanged's identity checks; then Assigned and Moved; then Region. It answers an error naming the change, wrapping errRouteChangedUnderLease, or nil. No read beyond its arguments. Agent, not root; it only refuses. registry:Assigned@350,registry:Assigned@368,registry:Assigned@562,registry:Assigned@587,registry:Host@164,registry:Host@523,registry:Host@731,registry:Moved@384,registry:Moved@399,registry:Moved@576,registry:Moved@603,registry:Region@622,registry:Region@638,registry:Region@770,registry:Region@782,whole:Route@234,whole:Route@242,whole:Route@91 400dc18f833f75f03dd20890b57d43daf6da2c32eeb0994581196d86c2f298fe
@legacy 1db5b7254db5c5c0a54334a12b81c4481a9ca1dfe4ca9a567f7fabc27095ff93 internal/edge/edge.go fleetBoxOf legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 5, rule 3): answers (t.FleetLabel, true) when the forward row's label is set, else (t.FleetBox, false). Pure function of the row. The edge in the agent, not root. registry:FleetBox@115,registry:FleetLabel@55,registry:FleetLabel@85 65482a633bd6f3f3b4e23f9655dbcdf503ca9e77833b48417530b0c08e2d6564
@legacy 82e65476dda2d235493ff1a8feb317358ca13249852549e665e3dcb73f1cba30 internal/registry/fleets.go Registry.MarkFleetBoxLabelled legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 6b): one UPDATE fleet_boxes SET labelled_at = ?, rev = rev + 1 for an active box not yet marked, then a SELECT 1 check; validates fleet and label (ValidTunnelName) and at > 0; remote form over the registry transport. Called by the console only (fleetrelabel.go, apiinstances.go). Not root. file:Exec@511,file:QueryRow@724,registry:remote@113,registry:remote@83,registry:sql@511,registry:sql@724,whole:remoteClient@115,whole:remoteClient@85 906fbe4515dbf94bcc9a66a46cbaec13e970d45330cd7efe15a8693de8d1521d
@legacy 2c1e49e35abf26c89a5fddfdf55a62ecef8a43a24ef63ad5bfe041b128ef7a69 internal/registry/fleets.go Registry.SetFleetBoxDraining legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 6b): one UPDATE fleet_boxes SET draining_since = ? for an active box not already draining, then SELECT draining_since to answer the stored start; validates fleet, label and since > 0; remote form over the registry transport. Called by the console only (fleetrelabel.go). Not root. file:Exec@553,file:QueryRow@788,registry:Number64@244,registry:remote@126,registry:remote@94,registry:sql@553,registry:sql@788,whole:remoteClient@128,whole:remoteClient@96 59da3d04b044353fe3a98143c49bdb03953eb577104ab8ded39ded9bb31b0c13
@@ -36,17 +28,13 @@
@legacy a1e0db5bd69056c377a32c42efb4b4b4e4b41ec64cf37278d93c58ee4fb4a901 internal/registry/forward.go Registry.PutForward legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 2: the only writer of a forward row's declared columns: refuses an argument whose kind is not forward; copies only the declared fields from its argument (Status ready, Provisioned true; no forbidden column is ever written); inside one IMMEDIATE transaction refuses a host a non-forward row holds (ErrHostHeld); keeps FleetBox while Region is unchanged; preserves the observational columns (+file:Exec, +file:QueryRow, +registry:Account, App, Channel, RateLimit, Region, Slug, +registry:Host x3, +registry:Kind, +registry:remote x2, +whole:Route x3, +whole:remoteClient x2).;rev3=census-ruling-fleet-routes-followups;basis=refuses up front, with the new sentinel ErrNotForward and before any read or write, an rt that is not a forward row (as before, now a sentinel), has an empty Host, or whose Region is not a fleet placement (registry.FleetPlacement); +registry:Host x2 and +registry:Region x2 read only the argument in those checks; the transaction and statement are unchanged;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5, rule 3), merged with main's ErrNotForward refusals (kept unchanged): the written row also carries FleetLabel = rt.FleetLabel and FleetBox = rt.FleetLabel; its conflict arm (forwardKept) writes fleet_label from the call and fleet_box as the call's label when set, else kept while the region is unchanged. The hub's forward phase in the agent, not root. file:Exec@1226,file:QueryRow@1002,registry:Account@693,registry:App@670,registry:Channel@746,registry:FleetLabel@881,registry:FleetLabel@911,registry:Host@1056,registry:Host@197,registry:Host@234,registry:Host@419,registry:Host@594,registry:Kind@206,registry:RateLimit@773,registry:Region@428,registry:Region@720,registry:Region@84,registry:Slug@646,registry:remote@446,registry:remote@476,whole:Route@1259,whole:Route@531,whole:Route@539,whole:remoteClient@448,whole:remoteClient@478 151eb56122d7cc5f9d8c254748ce3101610bc867c652a32cf152a5de1150fc72
@legacy 618a24392a4121b8f462a3868622699f7e1d2152fcb7f6c41a901d2e7fb189fc internal/registry/forward.go Route.InertForward legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 2: true only when every one of the 50 forbidden columns of §4.2 is zero (one +registry:<field> site each, nothing else). Pure.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 2): two more forbidden fields must be zero on a forward row, Assigned == "" and !Moved (fleet_assigned, fleet_moved in ForwardForbidden). Stricter, never looser. registry:Addr@84,registry:Addrs@102,registry:Args@789,registry:AssetGen@274,registry:AssetsOff@257,registry:Assigned@1142,registry:Backing@715,registry:BuildState@979,registry:Canary@636,registry:Caps@549,registry:ClaimIncarnation@1041,registry:ClaimOwner@1094,registry:ClaimRowID@1118,registry:ClaimStamp@1071,registry:DBPath@319,registry:EgressAllow@907,registry:Environment@504,registry:Gate@617,registry:GoodDemand@434,registry:GoodDigest@410,registry:GoodVersion@385,registry:HA@586,registry:Health@121,registry:Hibernate@568,registry:HoldOp@141,registry:IdleSeconds@807,registry:ImportGate@232,registry:Incarnation@161,registry:LastError@296,registry:MaxRunSeconds@831,registry:Moved@1165,registry:NextDue@675,registry:Platform@755,registry:PolicyExpiresAt@950,registry:Pool@486,registry:PrevVersion@360,registry:Replica@1026,registry:Replicas@1003,registry:Replication@650,registry:Runtime@596,registry:Seed@771,registry:SeedSource@208,registry:ServingSeq@185,registry:ServingVersion@458,registry:Size@932,registry:Socket@64,registry:StatusNamed@696,registry:Steering@857,registry:Tunnel@529,registry:Unit@736,registry:UpdateSettings@879,registry:Version@339 da845e32efc74861d3d62b0fcc9ea56230a733ee2cc7d7b1b2bac2c6f84f29a0
@legacy 2d74456e69da112fc6b9b43472e8f77eb38ae38f7eb1638d7229f671a0ebf52d internal/registry/registry.go scanRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user): main's body with the two new columns scanned;rev3=census-ruling-design-edge-rate-limit-358;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user): main's body with the rate_limit column scanned into Route.RateLimit; the new kind is registry:RateLimit, one site; no other read;rev3=census-ruling-rootfs-apps-2;identity=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user);basis=main's body with the runtime column scanned into Route.Runtime, before rate_limit; the new kind is registry:Runtime, one site; no other read; re-digested at the merge of origin/main 3c33f2eb: main's assets_off and asset_gen (edge asset cache plan 1) scanned beside runtime and rate_limit; routeColCount 59; re-digested again at the merge of origin/main 953b9fda: main's incarnation and serving_seq (self-serve moves plan 1) scanned after asset_gen; routeColCount 61;rev3=census-ruling-instance-egress-sizes-328-329;identity=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user);basis=#328/#329 plan 1 Task 4: main's body with egress_allow, size and policy_expires_at scanned into Route.EgressAllow, Route.Size and Route.PolicyExpiresAt after serving_seq; the new kinds are registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each; routeColCount 64; no other read;rev3=census-ruling-region-ha-p1a;basis=scans one more column, ha, into Route.HA (+registry:HA); routeColCount 64 to 65; keeps legacy;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Tasks 2 and 5): scans three more columns, fleet_assigned, fleet_moved and fleet_label, into Route.Assigned, Moved and FleetLabel. Any root caller of Registry.Get sees three more fields, which no root decision reads (grep: only the activator start rule, edge, provision and registry read them). registry:Account@415,registry:Addr@183,registry:Addrs@505,registry:App@258,registry:Args@564,registry:AssetGen@874,registry:AssetsOff@1044,registry:Assigned@970,registry:Backing@340,registry:BuildState@789,registry:Canary@1098,registry:Caps@445,registry:CertExpiresAt@397,registry:Channel@288,registry:ClaimIncarnation@626,registry:ClaimOwner@662,registry:ClaimRowID@677,registry:ClaimStamp@647,registry:CreatedAt@548,registry:DBPath@219,registry:DNSCheckedAt@380,registry:DNSStatus@366,registry:EgressAllow@920,registry:Environment@429,registry:FleetBox@490,registry:FleetLabel@991,registry:Gate@539,registry:GoodDemand@736,registry:GoodDigest@721,registry:GoodVersion@705,registry:HA@1006,registry:Health@515,registry:Hibernate@1074,registry:HoldOp@692,registry:Host@145,registry:IdleSeconds@573,registry:ImportGate@821,registry:Incarnation@887,registry:Kind@163,registry:LastError@205,registry:MaxRunSeconds@589,registry:Moved@1022,registry:NextDue@328,registry:Platform@1144,registry:PolicyExpiresAt@945,registry:Pool@266,registry:PrevVersion@242,registry:Provisioned@1168,registry:RateLimit@848,registry:Region@277,registry:Replica@1195,registry:Replicas@607,registry:Replication@312,registry:Runtime@836,registry:Seed@472,registry:SeedSource@806,registry:ServingSeq@903,registry:ServingVersion@751,registry:Size@936,registry:Slug@154,registry:Socket@172,registry:Status@192,registry:StatusNamed@1119,registry:Steering@526,registry:Tunnel@454,registry:Unit@481,registry:UpdateSettings@770,registry:Version@230,whole:Route@1224 a84a3286cc44511e686ebc605ce99966f53b91a8c0f96ffcfc135a43ca8032f0
-@legacy ef136c55b54d22bf2bd57032410568bb76c7a987845bfbfeb0cdae9eb0428381 internal/activator/activator.go Service.doWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body (census ruling 292's legacy start mark and lease give-back; census ruling owed's pending record) with the seeded change ruled under census-ruling-seeded-instances (the refreshed row checked against the row the wake began from, twice; the seed's first upload recorded after the wake), and now one more line on a failed start: a start its pre-exec gate refused (launchNotStarted: the exec gate, the pending record or its recheck answered no before root was asked) is recorded as known not started (stopObservation.notStarted) instead of uncertain, only when the wake has started nothing else (wakeStartedNothing); otherwise it goes through cleanupFailedWake and its proofs. A refusal before its lease (step 1), which has started nothing, is recorded the same way. Read sites unchanged; no new read and no root decision;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=marks the end of each wake step on the woken instance's journal timer (wakeSteps: a.now() and a slice append, journal only); no read added, no step reordered;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: (1) after the restore it asks the backend for the replication class an HA restore imported from the host's published wake state (restoredReplication(rt)) and, if it differs, logs it and sets rt.Replication and the entry's route to it; (2) an HA lease of the stream class replicates with a 1 s monitor interval (SetMonitorInterval); (3) after Replicate, an HA replica opens the entry's files publisher (openEntryFiles(ctx, e, rt)) and starts it, and a publisher that will not open fails the wake through cleanupFailedWake; (4) every cleanupFailedWake call passes e; (5) final fix F1: the two start-error arms that gave the lease straight back (a start its pre-exec gate refused with nothing started, and the default arm) now call giveBackAfterStart(ctx, rt, w, lease), which gives a legacy lease back exactly as before and an HA one only over an empty host slice. New sites: registry:Replication x5 (the class compare, the log line, the assignment and the HA sync-interval check) and whole:Route x6 (rt handed to restoredReplication, openEntryFiles, the cleanup calls and giveBackAfterStart); no file read in this body; only adds a condition before an HA release, no check removed;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: the rootfs admission runs before the claim path and before Acquire on the refreshed row (rootfsWakeRefusal), again in full if a re-read under the lock changed any gate field, and a resident wake re-checks residentRunnable; for a rootfs row a held lease or refused config is an ownership refusal; a rootfs first boot (no good version, fresh) places the empty database under the lease (placeRootfsDB) and uploads it once (syncRootfsPlaceholder), while fresh with a good version is refused as a lost database; declared processes are logged after the wake (rootfsProcessesHook); binary rows unchanged; fix wave 1 and 2 (6189a9db, then the r2 ruling "refuse interrupted init"): a fresh rootfs first boot goes through rootfsFirstBoot (rootfsmarker.go) instead of placeRootfsDB alone: under the lease it reads the lifetime's first-boot marker from the hibernate bucket (present or unreadable refuses, present as errRootfsReplicaMissing), writes it create-only, reads it back (only a read back that finds it confirms it; a write conflict proves nothing), and only then places the database; a warm wake does nothing with the marker (fix wave 1's settleRootfsFirstBoot call and its whole:Route site are gone, no local pending record); adds refusals only, binary rows unchanged;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: (1) refuses (errWakeUnproven) while another entry's release record of the host is open; (2) a rootfs row with a plan or a pin reads its declared processes before the lease (declaredProcesses(rt, g): the existing staged-manifest read of ExecBackend.Processes, the manifest root's staging wrote, checked against the identity's path and digest) and refuses before Acquire on an error; (3) the staged-identity start runs releaseInWake(ctx, e, rt, id, lease) before startGenExe, under this wake's lease, and a release that did not pass fails the wake; (4) a rootfs row with no plan, no pin and no staged identity is refused, the lease given back, nothing started; (5) a start error whose release is not proven stopped hands the lease to the release record (oweWakeLeaseToRelease) instead of giving it back. New sites +whole:Route x2 (rt to declaredProcesses and releaseInWake); no new file read beyond the existing staged-manifest read; binary rows unchanged;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W, W1: step 7 no longer calls rootfsProcessesHook (log only); it calls declareRootfsWorkers(e, rt, w), which registers the workers the wake's generation declares as pending and starts nothing (the resident tick starts them once the entry is awake under its lease watch); a worker is never a failure of the wake; the read of the declaration is the existing staged-manifest read (see registerRootfsWorkers); the same read sites in this body, no new read;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2: a successful acquire drops the host's holder-cache entry; same reads;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 6a): after the identity step and before the seed or spawn, calls a.noteUnsynced(rt, lease) (the +whole:Route site), which writes <DataDir>/.replication-failures/<host>.unsynced for a non-HA host; a write failure gives the lease back and refuses the wake. Agent, not root; it can only refuse more. registry:DBPath@1703,registry:DBPath@1719,registry:DBPath@1846,registry:DBPath@1857,registry:DBPath@29170,registry:GoodVersion@13796,registry:Host@1532,registry:Host@1607,registry:Host@1685,registry:Host@1837,registry:Host@2171,registry:Host@4121,registry:Host@577,registry:Host@6378,registry:Replication@12419,registry:Replication@12548,registry:Replication@12567,registry:Replication@12648,registry:Replication@29073,registry:Replication@29205,registry:Seed@17892,registry:Socket@1732,registry:Socket@1748,registry:Socket@1871,registry:Socket@1882,whole:Route@10640,whole:Route@11521,whole:Route@12399,whole:Route@12650,whole:Route@13999,whole:Route@15288,whole:Route@15480,whole:Route@16170,whole:Route@1630,whole:Route@17031,whole:Route@17993,whole:Route@18064,whole:Route@20480,whole:Route@2066,whole:Route@2071,whole:Route@2125,whole:Route@2131,whole:Route@2197,whole:Route@2205,whole:Route@22338,whole:Route@22984,whole:Route@24291,whole:Route@24445,whole:Route@24944,whole:Route@25014,whole:Route@25601,whole:Route@26686,whole:Route@27117,whole:Route@27325,whole:Route@27379,whole:Route@28308,whole:Route@28492,whole:Route@29282,whole:Route@29694,whole:Route@29743,whole:Route@30121,whole:Route@31343,whole:Route@31438,whole:Route@3156,whole:Route@32279,whole:Route@3250,whole:Route@3317,whole:Route@357,whole:Route@4011,whole:Route@562,whole:Route@5747,whole:Route@6006,whole:Route@6268,whole:Route@6273,whole:Route@6330,whole:Route@6336,whole:Route@6405,whole:Route@6413,whole:Route@6729,whole:Route@6790,whole:Route@6888,whole:Route@7712,whole:Route@8695,whole:Route@9269,whole:Route@9570 5e6ef6fe76d99bc0c8cb38e8ed2ef0f8fbff293b3e86a1d11e3595a9f2bac9c8
-@legacy 31370550edfc8567e18aaf2a3f413ec84fd49c786c1f82b7bb7012155971d493 internal/activator/backend_exec.go ExecBackend.Acquire legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: after the unchanged AdmitConfig gate, the lease acquire moves into acquireClassified (hawake.go, a new unit): a legacy route or a non-HA host takes the same lease.Acquire as before and maps a held lease to errLeaseHeld as before (leaseError); an HA host goes through the containment admission and lease.AcquireHA. A successful acquire marks the host acquiredHere for the process (same-box recovery). The config gate is not weakened; the same three sites, no read added;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 6a): after a successful acquire, b.trackHeld(rt.Host, l) remembers the lease in memory for the heartbeat's leases_held (the +registry:Host site). Nothing read from disk or the bucket. Agent, not root. registry:Host@807,registry:Host@920,whole:Route@382,whole:Route@764 f547fd66cdaa7fb29738aae944a67b7c9f1be0b3f3b7d9396b6a1a64d4bc5943
-@legacy 14d4cbd690bf9657c47f9c8ad4e71b388ad3b4ff5d1c937d2c5c6f96c10f911c internal/activator/backend_exec.go ExecBackend.restorePlain legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): body of the frozen ExecBackend.Restore, which is now its dispatcher, with the seed marker reconciled before the warm-cache check; same staging fallback and replica restore;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: first asks haRestore(ctx, rt) (+whole:Route x2: rt to haRestore and to restoreHA); an HA host restores through restoreHA (hawake.go, a new unit) and never through the warm cache or the staging fallback; an error there fails the restore; a non-HA host takes the unchanged path;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 3, rule 6 start rule; Task 6a): the six +whole:Route sites are calls taking rt: reconcileAssignment before the seed-marker check (a labelled row's copy not kept under rt.Assigned is moved into <DataDir>/.superseded/<host>/, never deleted), startAllowed on the warm-cache, restored and fresh paths (a labelled row may refuse with ErrNothingToRestore), establishAssignment after a restore and before a fresh boot (writes the <db>.assigned marker); and clearFailedFinalSync(host) after a restore. An unlabelled row (Assigned "") takes none of these. Agent, not root; it refuses more, never less. file:Stat@1179,registry:Host@370,whole:Route@1036,whole:Route@1116,whole:Route@1392,whole:Route@243,whole:Route@323,whole:Route@390,whole:Route@5629,whole:Route@5719,whole:Route@659,whole:Route@6737,whole:Route@6968 0e48b20ad2116f6ee47ddba0419bf72fbbdc48878aa518a150f3139109a08bba
-@legacy e3cd047a5f56baaac8ac5eccf7a230e7edfb4a7748fd500d94eb1eaadd5f066d internal/activator/maintenance.go Service.cleanupFailedWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): census ruling 292's body; when #292's whole proof holds for an aborted legacy start (legacyRunGone: the unit stopped and its cgroup empty) this wake's uncertainty is discharged and the stages it never reached (no sidecar, no replica) are recorded as held; when the proof fails the start is retained exactly as before, now named as the owner of this wake's uncertainty (owedBy). Read sites unchanged; the proof still only decides release-or-keep; no new read and no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: takes the wake's entry e as a new first argument and, when it is not nil, stops and joins the entry's HA files publisher (stopFiles) before anything else. Final fix F1: once the process's own proof has passed, an HA wake (haHeld(lease, w.rep)) is released only when haHostEmpty(rt) reads the host slice empty; otherwise it logs, marks the stop uncertain and retains the wake as unproven (retainUnprovenWake, with owedBy for a legacy start), keeping the lease and replica for the reaper. A non-HA wake's stop, proofs and give-back are unchanged. New sites +registry:Host (the log line) and +whole:Route x3 (rt to haHostEmpty and in the retained unprovenWake); no file read; only holds an HA release back;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R [pf R3.1]: when the wake's own release ended with its unit not proven stopped, the wake's lease is handed to the release record (oweWakeLeaseToRelease) and nothing is given back here; the record gives the lease back only after the unit is proven gone; the same 15 read sites, no read added; only holds a lease back;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 6a): keeps rep.Close's error, and for a non-HA host records it (noteFinalReplication(rt.Host, err), the +registry:Host site). replicaClosed and leaseReleased are computed as before. Agent, not root. registry:Host@2332,registry:Host@2845,registry:Host@3796,registry:Host@4136,registry:Host@4828,registry:Host@5624,registry:Host@5701,whole:Route@2199,whole:Route@2438,whole:Route@2442,whole:Route@3478,whole:Route@4161,whole:Route@4165,whole:Route@4731,whole:Route@4864,whole:Route@4868 e92c3955102f729ef5c70c6d7b0634e360d7064fc8fb813eb09d667f2adb89fd
+@legacy c2bde95f16dd24591c71c0156c31b8f32880e0517088d0d3a85ad628af409fe6 internal/activator/activator.go Service.doWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body (census ruling 292's legacy start mark and lease give-back; census ruling owed's pending record) with the seeded change ruled under census-ruling-seeded-instances (the refreshed row checked against the row the wake began from, twice; the seed's first upload recorded after the wake), and now one more line on a failed start: a start its pre-exec gate refused (launchNotStarted: the exec gate, the pending record or its recheck answered no before root was asked) is recorded as known not started (stopObservation.notStarted) instead of uncertain, only when the wake has started nothing else (wakeStartedNothing); otherwise it goes through cleanupFailedWake and its proofs. A refusal before its lease (step 1), which has started nothing, is recorded the same way. Read sites unchanged; no new read and no root decision;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=marks the end of each wake step on the woken instance's journal timer (wakeSteps: a.now() and a slice append, journal only); no read added, no step reordered;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: (1) after the restore it asks the backend for the replication class an HA restore imported from the host's published wake state (restoredReplication(rt)) and, if it differs, logs it and sets rt.Replication and the entry's route to it; (2) an HA lease of the stream class replicates with a 1 s monitor interval (SetMonitorInterval); (3) after Replicate, an HA replica opens the entry's files publisher (openEntryFiles(ctx, e, rt)) and starts it, and a publisher that will not open fails the wake through cleanupFailedWake; (4) every cleanupFailedWake call passes e; (5) final fix F1: the two start-error arms that gave the lease straight back (a start its pre-exec gate refused with nothing started, and the default arm) now call giveBackAfterStart(ctx, rt, w, lease), which gives a legacy lease back exactly as before and an HA one only over an empty host slice. New sites: registry:Replication x5 (the class compare, the log line, the assignment and the HA sync-interval check) and whole:Route x6 (rt handed to restoredReplication, openEntryFiles, the cleanup calls and giveBackAfterStart); no file read in this body; only adds a condition before an HA release, no check removed;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: the rootfs admission runs before the claim path and before Acquire on the refreshed row (rootfsWakeRefusal), again in full if a re-read under the lock changed any gate field, and a resident wake re-checks residentRunnable; for a rootfs row a held lease or refused config is an ownership refusal; a rootfs first boot (no good version, fresh) places the empty database under the lease (placeRootfsDB) and uploads it once (syncRootfsPlaceholder), while fresh with a good version is refused as a lost database; declared processes are logged after the wake (rootfsProcessesHook); binary rows unchanged; fix wave 1 and 2 (6189a9db, then the r2 ruling "refuse interrupted init"): a fresh rootfs first boot goes through rootfsFirstBoot (rootfsmarker.go) instead of placeRootfsDB alone: under the lease it reads the lifetime's first-boot marker from the hibernate bucket (present or unreadable refuses, present as errRootfsReplicaMissing), writes it create-only, reads it back (only a read back that finds it confirms it; a write conflict proves nothing), and only then places the database; a warm wake does nothing with the marker (fix wave 1's settleRootfsFirstBoot call and its whole:Route site are gone, no local pending record); adds refusals only, binary rows unchanged;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: (1) refuses (errWakeUnproven) while another entry's release record of the host is open; (2) a rootfs row with a plan or a pin reads its declared processes before the lease (declaredProcesses(rt, g): the existing staged-manifest read of ExecBackend.Processes, the manifest root's staging wrote, checked against the identity's path and digest) and refuses before Acquire on an error; (3) the staged-identity start runs releaseInWake(ctx, e, rt, id, lease) before startGenExe, under this wake's lease, and a release that did not pass fails the wake; (4) a rootfs row with no plan, no pin and no staged identity is refused, the lease given back, nothing started; (5) a start error whose release is not proven stopped hands the lease to the release record (oweWakeLeaseToRelease) instead of giving it back. New sites +whole:Route x2 (rt to declaredProcesses and releaseInWake); no new file read beyond the existing staged-manifest read; binary rows unchanged;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W, W1: step 7 no longer calls rootfsProcessesHook (log only); it calls declareRootfsWorkers(e, rt, w), which registers the workers the wake's generation declares as pending and starts nothing (the resident tick starts them once the entry is awake under its lease watch); a worker is never a failure of the wake; the read of the declaration is the existing staged-manifest read (see registerRootfsWorkers); the same read sites in this body, no new read;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2: a successful acquire drops the host's holder-cache entry; same reads;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (branch review R1 P1-1): after the lease, doWake re-reads the host's row from the box's own registry (a.Routes.Get(host)) and hands it with rt to leaseRouteChanged (the +whole:Route site): a row that is gone, no longer this wake's route, or whose Assigned, Moved or Region changed gives the lease back and refuses the wake, nothing restored or started. Its checks up to the spawn ask wakeGoesOn(e), which adds the entry's in-memory retired mark (set by RetireExcept) to the fence test. Task 6a's awake record call is removed. Agent, not root; it only refuses more. registry:DBPath@1699,registry:DBPath@1715,registry:DBPath@1842,registry:DBPath@1853,registry:DBPath@29642,registry:GoodVersion@14813,registry:Host@1528,registry:Host@1603,registry:Host@1681,registry:Host@1833,registry:Host@2167,registry:Host@4117,registry:Host@577,registry:Host@6374,registry:Replication@13440,registry:Replication@13569,registry:Replication@13588,registry:Replication@13669,registry:Replication@29545,registry:Replication@29677,registry:Seed@18367,registry:Socket@1728,registry:Socket@1744,registry:Socket@1867,registry:Socket@1878,whole:Route@10972,whole:Route@10976,whole:Route@11661,whole:Route@12542,whole:Route@13420,whole:Route@13671,whole:Route@15016,whole:Route@1626,whole:Route@16301,whole:Route@16493,whole:Route@17183,whole:Route@18468,whole:Route@18539,whole:Route@2062,whole:Route@2067,whole:Route@20951,whole:Route@2121,whole:Route@2127,whole:Route@2193,whole:Route@2201,whole:Route@22809,whole:Route@23455,whole:Route@24762,whole:Route@24916,whole:Route@25415,whole:Route@25485,whole:Route@26072,whole:Route@27157,whole:Route@27588,whole:Route@27796,whole:Route@27850,whole:Route@28779,whole:Route@28964,whole:Route@29754,whole:Route@30166,whole:Route@30215,whole:Route@30593,whole:Route@3152,whole:Route@31815,whole:Route@31910,whole:Route@3246,whole:Route@32751,whole:Route@3313,whole:Route@357,whole:Route@4007,whole:Route@562,whole:Route@5743,whole:Route@6002,whole:Route@6264,whole:Route@6269,whole:Route@6326,whole:Route@6332,whole:Route@6401,whole:Route@6409,whole:Route@6725,whole:Route@6786,whole:Route@6884,whole:Route@7708,whole:Route@8691,whole:Route@9265,whole:Route@9566 5613dc6c166b78d9a25b3ca44f8a8c2518cb89efbec0b11a3207a28dee949673
+@legacy 3f01cc862370228e2c986aa553ec69a7871eccee2b91bd98f2ffe078f73d48bc internal/activator/backend_exec.go ExecBackend.restorePlain legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): body of the frozen ExecBackend.Restore, which is now its dispatcher, with the seed marker reconciled before the warm-cache check; same staging fallback and replica restore;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: first asks haRestore(ctx, rt) (+whole:Route x2: rt to haRestore and to restoreHA); an HA host restores through restoreHA (hawake.go, a new unit) and never through the warm cache or the staging fallback; an error there fails the restore; a non-HA host takes the unchanged path;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 3, rule 6 start rule): the +whole:Route sites are calls taking rt: reconcileAssignment before the seed-marker check (a labelled row's copy not kept under rt.Assigned is moved into <DataDir>/.superseded/<host>/, never deleted), startAllowed on the warm-cache, restored and fresh paths (a labelled row may refuse with ErrNothingToRestore), and establishAssignment after a restore and before a fresh boot (writes the <db>.assigned marker). Task 6a's record clear after a restore is removed. An unlabelled row (Assigned "") takes none of these. Agent, not root; it refuses more, never less. file:Stat@1179,registry:Host@370,whole:Route@1036,whole:Route@1116,whole:Route@1392,whole:Route@243,whole:Route@323,whole:Route@390,whole:Route@5629,whole:Route@5719,whole:Route@6296,whole:Route@6527,whole:Route@659 35c21389c435c3f11579e2e9e38f2b0e7a00203f77ef539024b84539134b7385
@legacy a6ace0b354932db168db0dbd27b16c6fc68c522800f15d76ac53213929f59268 internal/edge/edge.go Edge.Reload legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-design-edge-rate-limit-358;basis=each route's upstream entry gains rate: e.parseRateSettings(t), the row's rate_limit column parsed once per reload; the one added site is that whole:Route pass of t (parseRateSettings is a new unit, classified in the decisions overlay); no other read added;rev3=census-ruling-certwarm-wake;basis=the single reload hook call becomes runReloadHooks(), which runs every registered hook in order (#386); no read added, same 57 sites (56 before #358 landed on main);rev3=census-ruling-edge-asset-cache-3;basis=each tenant reverse proxy built in the switch (the tunnel, fleet, socket and TCP arms, every *httputil.ReverseProxy) is installed behind assetScrubbedProxy, which hands the proxy an assetInformationalScrub writer so an app's 1xx (103) loses the asset cache's reserved headers (X-Carlos-Asset-Fill, -Fill-Ack, -Expires, Carlos-Cache) on every local path, as the backhaul already does (final review F6); a type check of the proxy it just built and a wrapper around it; static and status handlers untouched; read sites unchanged (57), offsets moved; no read added;rev3=census-ruling-alias-wake-338;basis=#338 follow-up: after the path fold, a resolved platform alias takes its source's own upstream entry (same proxy, route, hibernating: the existing activator wake, lease and fence), keeping its own prefix map (none for a minted apex) and never inheriting the source's (Astra r2 P1); a refused alias, or one whose source has no entry, is dropped from the map (not served, not Allowed); the attached-hostname fold clears platformAlias;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the activator-managed test (generation proxy, hib, no-activator 404) is Route.ActivatorOwned instead of Kind and Hibernate inline, so a resident rootfs instance goes through the activator; binary rows unchanged;rev3=census-ruling-edge-roll-blip;basis=the tcpProxy and multiProxy calls pass e.hold (the per-Edge localHold set once in newEdge): a loopback TCP upstream that refuses is redialled for up to 13 s and a probed route with a local upstream waits for prober readmission instead of answering 502/503 (#434 part B); edge-side dial policy only, no read added, same 52 sites;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: after the alias fold, reads the regional_domains rows (e.reg.ListRegional; an error aborts the reload as every registry read here does) and applies them with foldRegional against the routes slice the same reload read; the added reads are that one registry list and the routes already read;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Tasks 4 and 6: the forward case (fleetProxy toward the binding's FleetBox, throttled refusal); one refusal check before the switch from FleetArmVerdict (sidecar not judged; a non-ready forward row refused; a forward row always judged by FleetServeEligible, any other row only where tunnels are on; an alias of a refused source refused with it); the accountless note; path rows of a forward host not folded; no alias folded onto a refused row; refusedHosts held through every fold. ListFleets and FleetChannelAuth read before the loop (+registry:FleetBox, +registry:Host x7, +whole:Route x3). Serving only; the hub's agent, not root. Review R1 finding 2: the switch reads verdict.Served (FleetArmVerdict) by host; the forward case and the fleet-placed case take their fleet from it (served.Fleet) instead of FleetPlacement(t.Region), and an admitted forward row not Served continues rather than falling through (+registry:Host, -registry:Region); the same rows take the same arms; no read added. Review R2: the switch is on DispatchArm(t, viaFleet, tunnels) (the order moved there unchanged: forward only when in Arm, own Tunnel, fleet, socket, addrs, static, status, else continue), the fleet cases read verdict.Arm (renamed from Served), and the platform-alias fold is foldPlatformAliases with the same take (source entry, own paths, alias marks) and the same refusal log (-registry:Kind x2, -registry:Socket, -registry:Tunnel, +whole:Route: those reads moved into DispatchArm); same rows, same arms, same entries; no read added.;rev3=census-ruling-fleet-routes-followups;basis=the owners map is now e.reg.FleetOwners() instead of ListFleets folded inline: the same fresh-connection ListFleets read and the same name->account map (-registry:Account, -registry:Name, -whole:Fleet x2 move into Registry.FleetOwners); no read added; same error path (abort the reload);rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5, rule 3): the two fleet proxy builds pass the row to fleetBoxOf(t) instead of reading t.FleetBox (-registry:FleetBox x2, +whole:Route x2); fleetBoxOf answers FleetLabel as authoritative when set, else FleetBox; an authoritative box has no fallback to another of the fleet's channels (503 errFleetDark instead). The edge in the agent, not root; it routes to fewer channels, never more. registry:Alias@23639,registry:Alias@23726,registry:Alias@24306,registry:Health@12592,registry:Health@12718,registry:Host@10273,registry:Host@10330,registry:Host@10366,registry:Host@11014,registry:Host@13201,registry:Host@13296,registry:Host@13584,registry:Host@13610,registry:Host@13662,registry:Host@18115,registry:Host@20022,registry:Host@20330,registry:Host@20357,registry:Host@21158,registry:Host@21730,registry:Host@24060,registry:Host@24109,registry:Host@4537,registry:Host@4591,registry:Host@4641,registry:Host@5508,registry:Kind@16451,registry:Kind@16473,registry:Prefix@21705,registry:Socket@11078,registry:Socket@20338,registry:Status@4462,registry:Target@21717,registry:Tunnel@8889,registry:Version@16432,registry:Version@16534,whole:RegionalDomain@24776,whole:Route@10421,whole:Route@10529,whole:Route@11134,whole:Route@130,whole:Route@13735,whole:Route@13799,whole:Route@13850,whole:Route@20390,whole:Route@20397,whole:Route@20493,whole:Route@21593,whole:Route@22761,whole:Route@24768,whole:Route@3217,whole:Route@3275,whole:Route@5537,whole:Route@6413,whole:Route@6521,whole:Route@8951,whole:RouteAlias@23610,whole:RoutePath@21136 9725995383ae7c27bb9643adfe93de08e486b3442870e32d116ecbce830a87d5
@legacy 5014cf7b0b2ab31b3846237afbc69de77d8282627177fdf3326a0c2cffeb2f20 internal/registry/fleets.go Registry.migrateFleets legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-fleet-secrets-key;basis=fleet secrets key (#366): four more idempotent migration statements: ALTER TABLE fleets ADD COLUMN for secrets_pubkey, secrets_key_fp, secrets_key_set_at, secrets_key_set_by (duplicate column ignored) and CREATE UNIQUE INDEX IF NOT EXISTS fleets_secrets_key_fp ON fleets (secrets_key_fp) WHERE secrets_key_fp != ''; CREATE TABLE IF NOT EXISTS fleet_secrets_key_fps (fp primary key, fleet, account, at), the permanent reservation of every registered fingerprint to its fleet, and an idempotent backfill INSERT ... SELECT of the fleets rows' current non-empty fingerprints ON CONFLICT(fp) DO NOTHING; fixed SQL, no new read of any input;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 6b): two more idempotent statements, ALTER TABLE fleet_boxes ADD COLUMN draining_since INTEGER and labelled_at INTEGER (duplicate column ignored), the +file:Exec and +registry:sql sites. Fixed SQL, no input. Registry side, not root. file:Exec@1207,file:Exec@1699,file:Exec@1933,file:Exec@2471,file:Exec@2686,file:Exec@313,file:Exec@57,file:Exec@735,registry:sql@1207,registry:sql@1699,registry:sql@1933,registry:sql@2471,registry:sql@2686,registry:sql@313,registry:sql@57,registry:sql@735 7d2d5e945297abc2a6c97c2b75895e5c6602200a2bea505c4858f7d5a2d0da86
-internal/activator/activator.go Service.finishStop 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 with a run's settle checked before replication closes, which keeps the stop pending until the run is proven stopped; read sites unchanged, offsets moved;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: an HA entry (its replica is an HA one, haEntryRep) now releases through releaseHAClean (a new unit on this card) instead of e.rep.Close; when that answers errHostSliceUnproven the stop is kept pending (keepPendingLocked) with the lease held and renewing, and the sweep finishes it once proven; a non-HA entry is unchanged; the same five sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: a forgotten entry's stop is noted for its resident (noteResidentStopLocked: crash or lost lease backs off, any other stop restarts on the next tick) and its ownerDone channel is closed; no read added;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: while the host has a release command's record (a.releaseOps[e.host], running or not proven stopped), replication and the lease stay and the stop is kept pending (keepPendingLocked) until the record's proof; the same five read sites, no read added; only holds a release back;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W, W1.20: while a rootfs worker may run or is a stray (rootfsWorkersLiveLocked, in-memory, read under a.mu), replication and the lease stay and the stop is kept pending (keepPendingLocked) until the workers are proven stopped; the same five read sites, no read added; only holds a release back;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 6a, drain rule): the final checkpoint's 30 s budget is the package variable finalCheckpointBudget (same 30 s; a test seam); after the legacy release, a host that is not HA and had a replica records the release outcome (noteFinalReplication: a failed final sync writes <DataDir>/.replication-failures/<host>.json, any other outcome removes the host's records). Read sites unchanged (5). Runs in the agent (carlos-edge.service, user carlos), not root; the release itself is unchanged. registry:Socket@4019,registry:Socket@4124,whole:Route@3969,whole:Route@4021,whole:Route@4126 dd497734d97a11af2a9036373ea2fe7b4d0804e9cacc2e13121ccacd2d8008fd
+internal/activator/activator.go Service.wake legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=Re-digested at the pre-land merge: the body includes main's own change under census ruling 292, with no further change from this branch. the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=logs that timer's breakdown to the journal after a successful wake (w.steps.String(), e.host, w.wakeTook); no read added;rev3=census-ruling-plans-4d-lapse;basis=cancels a wake whose row the turned-off hook names, like a fence, unless it is a move's active probe (plans 4d). One more whole-row read: the row handed to the hook (a.disabled). Only refuses.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: a refusal before the lease is reported once per change (noteRootfsRefusal) instead of a wake-failure event; the proc, generation and replica are installed through installProcLocked (which puts a resident under its lease watch before the fence); residency notes the outcome (noteResidentWakeLocked); same generation values;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R [pf R3.5]: the wake's context ceiling is wakeCeilingFor(e.route): the old 5 minutes for a binary row, 5 minutes plus runs.MaxTimeout for a rootfs row (room for a release inside the wake); new site +whole:Route (e.route to wakeCeilingFor, which reads Runtime only); no other change;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (branch review R1 P1-1): the wake's context is also cancelled before doWake when RetireExcept has marked the entry retired (e.retired, in memory under a.mu), as it is for a fence or a shutdown. Read sites unchanged (13). Agent, not root; it only refuses more. registry:Socket@7696,registry:Socket@7857,whole:Route@1047,whole:Route@2499,whole:Route@2590,whole:Route@2647,whole:Route@417,whole:Route@5944,whole:Route@7649,whole:Route@7698,whole:Route@7859,whole:Route@9182,whole:Route@9203 c61d54e942227517281b14652f2e04231961cfe327ab0d94762b0c34b146f4ce
internal/activator/hawake.go ExecBackend.acquireClassified legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1a;basis=new: the acquire's classification: a legacy route (sidecar, hand-added or not an instance) takes lease.Acquire and refuses on an HA-format lock; otherwise isHA (a record read error fails the wake, never falls back to legacy); not HA takes lease.Acquire, and an HA-format lock there marks the host HA for good and continues; HA requires haContained before any lock request, then lease.AcquireHA with the same-box proof; held and refused leases map to errLeaseHeld and errLeaseRefused (leaseError); +registry:Host, +whole:Route x7;rev3=census-ruling-region-ha-p1b1;basis=region HA P1b-1: the HA acquire's Proofs gain OwnerTerminated (b.ownerTerminated(ctx, rt)) beside SameBoxEmpty; one more whole:Route site passes the route to ownerTerminated; nothing new is read; the proof is consulted only by hafresh.DecideAcquire for another box's expired HA lock;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 7, two-box fleet test): the two legacy acquires call b.acquireLegacy(ctx, prefix), which is acquireLegacyLease exactly when ExecBackend.LeaseIdentity is nil and LeaseTTL is 0 (the agent never sets them), otherwise lease.AcquireAs with that identity and TTL. The classification, the HA path and every refusal are unchanged. Read sites unchanged (9). Agent, not root. registry:Host@106,whole:Route@1137,whole:Route@1256,whole:Route@1301,whole:Route@1595,whole:Route@195,whole:Route@533,whole:Route@584,whole:Route@834 4f88f46a65d1a65a9c7cecf6ba7da4c3924eab47cf3406b5ffefc07e31bc4b3b
-internal/activator/opset.go Service.reapUnprovenWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): census ruling 292's body; when the retried proof holds for a retained legacy start and the host's stop history is uncertain only because of that start (owedBy), the uncertainty is discharged and the stages the failed wake never reached are recorded as held; any other uncertainty is kept through rememberStopLocked as before. Read sites unchanged; no new read and no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos, the sweep's retry of a retained failed wake: a wake retained by giveBackAfterStart (sliceOnly) counts as proven by its process alone, and then, final fix F1, any retained HA wake (haHeld(u.lease, u.rep)) is proven only if haHostEmpty(u.rt) also reads the host slice empty (+whole:Route); unproven, it stays retained with its lease; the legacy and generation proofs are unchanged; only holds an HA release back;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 6a): after the unchanged rep.Close, a non-HA host records the close outcome (noteFinalReplication, as finishStop). Read sites unchanged (3). Agent, not root; nothing else changes. whole:Route@485,whole:Route@539,whole:Route@750 c530fe0b0326e2a2d1dddf7cb58f71505da00735af9d28e662867ac4d086b74b
internal/host/agent.go provisionTickConfig legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-ha-p1a-433;basis=the agent (carlos-edge.service, user carlos) and the edges file loop's eligibility: the same CARLOS_POOLS read, now parsed by provision.ParseBoxPools (internal/provision, envelope re-pinned), the one parser boxPools also uses. "@shared" (provision.SharedPoolToken, never a valid pool name) is the shared "" pool; other tokens are literal as before; empty elements and repeats dropped. No read added.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 4, rule 2): sets ReconcileConfig.FleetBox to the box's own fleet label from resolveFleetIdentity(getenv), only when the identity resolves and region == PlacementTarget(identity.Fleet); otherwise it stays "" (the box admits only unlabelled records). The same environment the fleet loops already read; read sites unchanged (2). Agent config, not root. data-literal@207,data-literal@248 86de660d3664f06ffdd19bf997ef6c8116c7d711f0a99e7dae16a38a1681e119
-internal/host/agent.go statusLoop legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the status tick's context carries the box's lifetime judge; read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 953b9fda (its later changes, regional box names and self-serve moves plan 1 among them, under main's own census rulings), where the tick fills rootfs_ready and rootfs_blocked from armedRootfs.Load().probe, which each tick runs NestedOK's checks and asks the control socket's GET /ready/rootfs (never the store); the same four direct sites;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 11 and #329 plan 3 Task 7: takes root's GET /egress reader and fills p.Egress = egressStatusProbe(egressStatus, routes, provision.PolicyReadStates()) and p.SizeCommittedMiB = sizeCommittedMiB(armedSizeSource.Load(), routes); the two added whole:Route sites are the tick's own registry list handed to those two units (decision rows), which read root's control socket and the activator's memory; no store request added; the four existing sites unchanged, offsets moved.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 6a): the status tick calls drainReport(&p, svc, dataDir()), which fills Probes.LeasesHeld and ReplicationFailures from the activator's in-memory lease set and the agent's own <DataDir>/.replication-failures directory (no bucket request). Read sites unchanged (6). Agent, not root; it adds two counts to the private heartbeat. whole:Route@11787,whole:Route@12068,whole:Route@6404,whole:Route@6431,whole:Route@7673,whole:Route@9687 e2d2914162d575dbbeb7709fda1b8a8c6d5ec1f55cb6f3294dc2d6a07b8c7d0b
internal/provision/reconcile.go Reconcile legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from its reconcile loops: each listed record is observed through the box's lifetime judge (ObserveWith: the record, then its host incarnation slot) before the shape, channel and scope checks, a stale record is left out and an unjudgeable one protected; the removal phase observes a row's own record key when the pass holds none for it under that key, and deletes a held row whose record is gone or stale through DeleteIfHold; a nil judge (claims on) is main's body; registry read sites unchanged, offsets moved; fix round 1: the removal phase observes a row's own key only under an account the listing trusts, so a retired or unmaterialised account's row keeps record gone, and the pass arms its own context with the judge; Task 7: under a judge an existing provisioned row of the record's own app and account follows the existing-row rules (heldByVanishedPredecessor and retireHeldPredecessor's DeleteIfHold first, the record then minted on the same pass; the hold; installRowLifetime), each a separate write under the host's hold lock; registry read sites unchanged, offsets moved;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=#328/#329 plan 1 Task 7: the pass reads its apps' policy objects (control/app-policy/<sqid>/<app>.json in the bucket) through the agent's PolicyCache, each verified with ReleasePub by apppolicy.VerifyKey (ed25519 over the policy's own domain line, bound to the account and app, unexpired, not future-dated; anything else is no policy), and carries the columns into its rows. New kinds registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each, all the assignment of a fresh row's columns (nr) from policies.cols; plus one whole:Route site, the existing row handed to policies.forRow. Other read sites unchanged, offsets moved; the agent's own pass, no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos, from its reconcile loops: after the scan, hands the in-scope records to cfg.Lifetimes (the box's lifetime index): Merge after a failed read or partial listing, Replace after a complete one, nothing on a dry run or with no index; the scan, judge and removal phases unchanged; the same 166 sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 2 and 5 (D5, spec §5.0): a seeded record over a row with a runtime is skipped and logged; a row with a runtime (or a new record with one) takes no seed; runtime and a rootfs row's hibernation are never converged from a record (a mismatch is logged; a record claiming a runtime its row lacks is not applied); reads Runtime of the record and the row; the box writes less; fix wave 1 (ceea6353, whole-branch P1-2): before minting a row for a record with no runtime and no row (both mint paths), the pass reads the app's kind marker once per app per pass (release.ReadAppKindMarker: one GET of the create-only kind.json from the release store s, through freshStore, validated by readAppKindMarker); a rootfs marker leaves the record unmaterialized and logged (an older console stripped its runtime), and a marker that cannot be read defers the mint this pass; a refusal before minting only, registry read sites unchanged, the box writes less; fix wave 2 (whole-branch r2 P1): the kind-marker read and its refusal apply only to a socket-backed instance record (DerivesPaths), so a static or upstream-backed record of a rootfs app, which carries no runtime by design, is minted as before with no read; fewer reads, registry read sites unchanged;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 10: the forward phase on the hub (FleetOwners set): the scan keeps the fleet-placed records it skips and counts records per host; a trash-only marker prefetch; disputed (failed-GET) hosts; armed, a host an in-scope and a fleet record both name is given neither, its journal waits and the removal phase keeps its row (+registry:Account, +registry:App, +registry:Host x2: the collision guard, its log line and report mark); the instance loop leaves a forward host; retirable excludes forward rows. Same record keys; writes only the registry (PutForward, DeleteForward); no bucket write.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 4, rules 2 and 9): after inScope, a record failing cfg.ownsRecord (on a fleet box, labelled for another box: rec.FleetBox != "" and != cfg.FleetBox) is skipped as out of scope, so it is never minted here; in the removal phase such a record no longer keeps the row (inScope && ownsRecord), so the row goes as record gone. Off a fleet ownsRecord is always true. Read sites unchanged (178). The agent's reconcile loops, not root; it mints less, never more. registry:Account@36563,registry:Account@37828,registry:Account@55907,registry:Account@55953,registry:Account@56797,registry:Account@57174,registry:Account@57400,registry:Account@57467,registry:Account@57513,registry:Account@57606,registry:Account@57648,registry:Account@58296,registry:Account@58554,registry:Account@59285,registry:Account@59333,registry:Account@59742,registry:Account@59788,registry:Account@60033,registry:Account@60458,registry:Account@60946,registry:Account@61682,registry:Account@61875,registry:Account@62221,registry:Account@62786,registry:App@36536,registry:App@37801,registry:App@55927,registry:App@55965,registry:App@56809,registry:App@57186,registry:App@57412,registry:App@57487,registry:App@57525,registry:App@57626,registry:App@58308,registry:App@58566,registry:App@59297,registry:App@59345,registry:App@59762,registry:App@59800,registry:App@60045,registry:App@60470,registry:App@60958,registry:App@61694,registry:App@61887,registry:App@62233,registry:App@62798,registry:ClaimOwnership@37150,registry:DBPath@46007,registry:DBPath@46022,registry:DBPath@46268,registry:DBPath@46871,registry:DBPath@46884,registry:EgressAllow@35649,registry:Gate@42352,registry:Gate@42492,registry:Gate@42779,registry:Hibernate@41024,registry:Hibernate@41222,registry:Hibernate@41287,registry:Hibernate@41626,registry:Hibernate@41977,registry:Hibernate@42287,registry:HoldOp@61427,registry:HoldOp@61518,registry:HoldOp@61653,registry:HoldOp@62029,registry:Host@26749,registry:Host@55886,registry:Host@56773,registry:Host@57150,registry:Host@57314,registry:Host@57420,registry:Host@58316,registry:Host@58522,registry:Host@59625,registry:Host@59897,registry:Host@60012,registry:Host@60335,registry:Host@60432,registry:Host@60823,registry:Host@60920,registry:Host@61134,registry:Host@61509,registry:Host@61644,registry:Host@61848,registry:Host@61921,registry:Host@62020,registry:Host@62195,registry:Host@62270,registry:Host@62356,registry:Host@62763,registry:Kind@37292,registry:Kind@37555,registry:Kind@45925,registry:Kind@45938,registry:Kind@46048,registry:Kind@46061,registry:Kind@46782,registry:Kind@46793,registry:Kind@55010,registry:Kind@61125,registry:Kind@61635,registry:Kind@62011,registry:Kind@62186,registry:Kind@62347,registry:PolicyExpiresAt@35674,registry:Pool@55096,registry:Provisioned@36512,registry:Provisioned@37777,registry:Provisioned@55055,registry:RateLimit@42865,registry:RateLimit@43016,registry:RateLimit@43303,registry:Region@55085,registry:Replication@41711,registry:Replication@41838,registry:Runtime@29314,registry:Runtime@29492,registry:Runtime@31697,registry:Runtime@40391,registry:Runtime@40445,registry:Runtime@40649,registry:Seed@44405,registry:SeedSource@43888,registry:Size@35665,registry:Socket@45973,registry:Socket@45988,registry:Socket@46285,registry:Socket@46841,registry:Socket@46854,registry:Unit@45891,registry:Unit@45904,registry:Unit@46808,registry:Unit@46819,whole:ClaimOwnership@37153,whole:ClaimOwnership@37170,whole:Route@26731,whole:Route@26742,whole:Route@26760,whole:Route@27949,whole:Route@29809,whole:Route@29816,whole:Route@29856,whole:Route@30217,whole:Route@30555,whole:Route@31002,whole:Route@31053,whole:Route@31090,whole:Route@32762,whole:Route@32971,whole:Route@33310,whole:Route@33319,whole:Route@33365,whole:Route@35598,whole:Route@36157,whole:Route@36628,whole:Route@36638,whole:Route@36995,whole:Route@37002,whole:Route@37070,whole:Route@37393,whole:Route@38426,whole:Route@41377,whole:Route@46117,whole:Route@47703,whole:Route@47748,whole:Route@47758,whole:Route@48628,whole:Route@49655,whole:Route@55121,whole:Route@55269,whole:Route@56366,whole:Route@56725,whole:Route@57107,whole:Route@62108,whole:Route@62693,whole:Route@62743 ae12f8f6b360ea5015ea05fcffad003a8f01ec8939f5df6c6b0548e17a558325
internal/provision/reconcile.go RouteFor authority C,E3 rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos); also root, in the claim root's landing registration (ClaimRootHTTP.rootLandingRoute) and the relocation install (relocationRecord): census-ruling-seeded-instances's body with two more fields from the record: the row's lifetime pair (rec.Incarnation, rec.MoveSeq), so a row minted outside a move takes the record's lifetime and its last move's sequence (0, 0 for a fieldless record with no move history); every caller gets it, the root ones included: the root callers (ClaimRootHTTP.rootLandingRoute, relocationRecord) now mint (0, move_seq) on a claims-on record, a non-zero sequence once that record has had an offline move (move_seq advances on claims-on offline moves too), which moves Fingerprint and SnapshotFingerprint once for that row; main's C,E3 authority retained; self-serve moves 1 Task 7 (fix round 1: root callers named);rev3=census-ruling-region-ha-p1a;basis=the agent's reconcile passes, and also root's callers (rootupdates.go, rootinventory_install.go and relocationinstall.go on HEAD): one more field copied from the record, HA: rec.HA, so a row minted from a record stamped HA carries the sticky born-HA mark; the record is the console-written instance record each caller already read; root's own code reads nothing of Route.HA, and Fingerprint does not include it (SnapshotFingerprint does, for a set mark); the same nine sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 2: the row is minted with the record's Runtime (the console-written instance record, guarded by WriteRecord's runtimeFixed); a rootfs row always gets the nested socket and db path under dataDir and no seed or seed source; the paths are computed from the host, not read from the record;rev3=census-ruling-fresh-box-446;basis=#446: a born-HA record mints the nested paths whatever nested says, as a rootfs row already does; same reads;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 2, rule 6): the route also carries Assigned = rec.FleetBoxAt and Moved = rec.FleetBoxMoved, copied from the record it is handed. Read sites unchanged (13). In the agent; in root's claim landing registration (ClaimRootHTTP.rootLandingRoute, shelved claims code) the canonical route gains these two copied fields, which no root check compares (the comparison at rootinventory.go and ValidateAgentInventory read neither). No new input to root. registry:Addr@2700,registry:Addrs@2709,registry:DBPath@1673,registry:DBPath@2196,registry:DBPath@2618,registry:Health@2719,registry:Hibernate@2140,registry:Seed@2664,registry:SeedSource@2673,registry:Socket@1635,registry:Socket@2158,registry:Socket@2581,whole:Route@2757 4c187a903f969750a510d339c63c6ef9a40504e8e04be91c60d63656dd38e037
internal/provision/seedreconcile.go retireAbortedSeedRow legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): retires the row this box minted for a --from seed that was aborted after its publish landed, through the pass's ordinary retire, once it is shown to be the record's own provisioned row in scope;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 10 (Task 7 carry): its guard adds rt.IsForward(), so a forward row is never handed to the aborted-seed retirement; read sites unchanged (15); it retires less, never more.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 4): its guard adds !cfg.ownsRecord(rec), so a seed of a record labelled for another fleet box is left aborted and not retired here. Read sites unchanged (15); it retires less, never more. Agent, not root. registry:Account@275,registry:App@304,registry:Host@1108,registry:Host@521,registry:Host@785,registry:Host@959,registry:Kind@1099,registry:Kind@129,registry:Kind@776,registry:Kind@950,registry:Pool@216,registry:Provisioned@174,registry:Region@205,whole:Route@241,whole:Route@856 0e2da8776a317dd66895990101561a41b6fe06a312b3a9ef2381f1e99d0b0ae4
@@ -55,18 +43,12 @@ internal/registry/forward.go Registry.SetFleetBoxIf legacy accepted-legacy accep
internal/registry/registry.go Registry.Fingerprint legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user); the remote arm, unchanged, in the process that holds a remote handle: census-ruling-seeded-instances's body with the row's lifetime pair (incarnation, serving_seq) folded into the edge's change poll, each only when non-zero, so a registry with no pair digests as before; self-serve moves 1 Task 7;rev3=census-ruling-regional-domains-447;basis=#447 Task 4: hashes regional_domains (host, target, account, app, region; created_at not) over the same fresh connection, with a section marker written only when a row exists, so a registry with no regional rows digests as before; the one added site is that SELECT (+file:Query) on the box's own registry database, as carlos; no file path read;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): review R1 finding 1: the routes SELECT also reads host, kind, account, app, platform and fingerprintForwardInert (one CASE over the ForwardForbidden columns), and every row folds host, kind, account and app (tagged, quoted), platform when set, and forward_inert=0 for a forward row that is not inert, so a rowid reused by another hostname, an in-place account or app rewrite, or a stray forbidden column moves the edge's change poll. Same one SELECT per table on the same fresh connection to the box's own registry database, as carlos; no table, file or bucket read added; a digest, never a decision.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5): the SELECT also reads fleet_label and, only when it is set, hashes "fleet_label=<q>" into the digest, so labelling a row moves the edge's reload fingerprint. Read sites unchanged (33). Registry side, not root; an unlabelled registry's digest is byte-identical. file:Exec@284,file:Open@188,file:Query@368,file:Query@5662,file:Query@6141,file:Query@7127,file:Query@7823,file:Query@8735,file:Query@9792,registry:ClaimIncarnation@1426,registry:ClaimIncarnation@4570,registry:ClaimIncarnation@4647,registry:ClaimOwner@1470,registry:ClaimOwner@4771,registry:ClaimOwner@4836,registry:ClaimRowID@1489,registry:ClaimRowID@4863,registry:ClaimRowID@4929,registry:ClaimStamp@1451,registry:ClaimStamp@4680,registry:ClaimStamp@4744,registry:Incarnation@1534,registry:Incarnation@5150,registry:Incarnation@5214,registry:ServingSeq@1553,registry:ServingSeq@5241,registry:ServingSeq@5304,registry:Text@158,registry:path@207,registry:remote@55,registry:remote@87,whole:remoteClient@57,whole:remoteClient@89 d7767c8a706850187ce93ee095791ccda1d23f07bb485be3c56b7fb08add6e08
internal/registry/registry.go Registry.SnapshotFingerprint legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user); the remote arm, unchanged, in the process that holds a remote handle: census-ruling-seeded-instances's body with incarnation and serving_seq hashed, tagged, only when non-zero (snapshotPairCols), so a registry with no pair digests as before; self-serve moves 1 Task 7;rev3=census-ruling-region-ha-p1a;basis=hashes the new ha column only when it is set (non-empty and not "0"), tagged, so a registry with no born-HA row digests as before; the same twelve sites, no read added;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Tasks 2 and 5): fleet_assigned and fleet_label join snapshotWhenSetCols (hashed only when set), and fleet_moved is hashed like ha, only when non-zero. Read sites unchanged (12). Registry side, not root; rows without them hash as before. file:Exec@300,file:Open@204,file:Query@3716,file:Query@385,file:Query@4135,file:Query@4614,registry:Text@174,registry:path@223,registry:remote@63,registry:remote@95,whole:remoteClient@65,whole:remoteClient@97 f046b7a287257b1b892acd8a6b1da611b6b7fdc83f733c92f145fe66e40f0783
internal/registry/registry.go upsertRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-alias-socket-follow-338;basis=#338: Upsert's unchanged statement moved into a helper so it can run on the database or inside a transaction;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 2 (runtimeFixed in the registry): takes a guard appended to the ON CONFLICT WHERE (UpsertUnlessRootfs passes routes.runtime = ''); a stored row with a runtime keeps its region and hibernate unless the tenant changed; replication is cleared only when the effective runtime is empty; no new read source, same SQLite table;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 3: on a refused conflict, the forward check reads the host (+registry:Host) to answer ErrForwardRow; the statement carries kind <> 'forward'. A refusal only.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 2): the conflict arm gains fleet_assigned (the excluded value on a re-tenanted host, else kept when the writer carries '') and fleet_moved (excluded on a re-tenanted host, else MAX of stored and excluded). Read sites unchanged (3). The same statement guard (claim ownership, kind <> 'forward') applies. file:Exec@116,registry:Host@4688,whole:Route@4564 f402dc4b1dd096f5944029a4fad58bc856c046fd375f6e4540dfc27fde86340a
-internal/status/snapshot.go CollectBox legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-2;basis=copies Probes.RootfsReady and RootfsBlocked into BoxMetrics (private, like Layout); the same 28 sites, no read added;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 11 and #329 plan 3 Task 7: copies Probes.Egress and Probes.SizeCommittedMiB into BoxMetrics (private, like Layout) and counts them in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate count is left as is (display);rev3=census-ruling-regional-domains-447;basis=#447 Task 7: copies Probes.AliasesRead into BoxMetrics.AliasesRead (json aliases_read, omitempty) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 6a): copies Probes.LeasesHeld and Probes.ReplicationFailures into two new Box fields (leases_held, replication_failures; counts only, bucket-private, never copied into FleetBox). The same 28 sites, no read added. Agent heartbeat, not root. registry:Alias@4543,registry:CertExpiresAt@3160,registry:CertExpiresAt@3396,registry:CertExpiresAt@4658,registry:DBPath@2495,registry:DBPath@2553,registry:DNSCheckedAt@3365,registry:DNSCheckedAt@4627,registry:DNSStatus@3139,registry:DNSStatus@3334,registry:DNSStatus@4597,registry:Hibernate@3853,registry:Host@2295,registry:Host@2437,registry:Host@2666,registry:Host@3280,registry:Host@3315,registry:Host@4578,registry:Kind@2473,registry:Kind@3807,registry:Platform@2152,registry:ServingVersion@2324,registry:ServingVersion@2447,registry:Socket@4066,registry:Version@2186,registry:Version@2305,whole:Route@1581,whole:RouteAlias@4440 214d9a2b79a78d099edfc5dcfea1ca49bbd07e834f0e05e5723b8fba76b3c6f9
-internal/activator/drainreport.go ExecBackend.knownHA legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 6a): whether the box classifies a host HA, from the lifetime index (b.Lifetimes.Lookup) and the registry row's HA (b.Registry.Get); used so a record of an HA host is not counted. No record or bucket read. Agent, not root. registry:HA@239,whole:Route@226 decfca41f26389b83059566572a1e827319e6296c3cf8144b6401fcc9d1366a1
-internal/activator/drainreport.go ExecBackend.noteUnsynced legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 6a): writes <DataDir>/.replication-failures/<host>.unsynced (writeDurable, temp file, fsync, rename, directory fsync) for rt.Host, the name checked by failedSyncName; a backend with no absolute DataDir writes nothing. The agent's own data directory, not a tenant instance directory. Agent, not root. registry:Host@358,registry:Host@91 5336a5813b23dd59b5f81714587282cfc83d171b9d7a93c3b3d4316b30d80871
-internal/activator/drainreport.go Service.noteUnsynced legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 6a): doWake's call: skips an HA wake (rt.HA or an HA lease) and a backend without drain facts, else the backend's noteUnsynced; an error refuses the wake. Agent, not root. registry:HA@111,whole:Route@179 158982b272a7183cfaf31d44149e44c84be4976a49fc878e31705ffc62621d03
-internal/activator/drainreport.go SplitBackend.execFacts legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 6a): a type assertion of the SplitBackend's Exec half to drainFacts (the +file:Exec site is the field named Exec, not an exec call). Agent, not root. file:Exec@66 dba9b18f93cf8f62923daefdbc990baea28b96c3a435a45ebfe1cf0f4c239feb
-internal/activator/drainreport.go SplitBackend.noteUnsynced legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 6a): a unit-backed row (rt.Backing == BackingUnit) records nothing; else the exec half's noteUnsynced. Agent, not root. registry:Backing@67,whole:Route@177 5b6618d9215c358ed856ae0cab0315790a372348148cbaf80da50bb4a1b18b05
-internal/activator/drainreport.go readRecordHosts legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 6a): os.ReadDir of the agent's <DataDir>/.replication-failures, collecting <host>.json names and <host>.unsynced names whose host is not currently held; dot files skipped; nothing opened or followed. Agent heartbeat, not root. file:ReadDir@163 aaad29eafcb8ec72c2b06a1fbf7ac274025f72b84045e82bbd06440b2e8049da
internal/activator/startrule.go ExecBackend.establishAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 3, rule 6): on a labelled row (rt.Assigned set), MkdirAll the instance directory (0700) and write rt.Assigned to <db>.assigned via writeDurable. Unlabelled rows write nothing. Agent as carlos, not root. registry:Assigned@424,registry:Assigned@88,registry:Host@229,registry:Host@344,registry:Host@560 2cb4e5305b384fda0e504a5afdb606be5879e621e4d3995134b264c4bdcd3440
internal/activator/startrule.go ExecBackend.reconcileAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 3, rule 6): on a labelled row, Lstat the instance dir, read the <db>.assigned marker with instancefs.ReadBeneathLimitOrAbsent (no symlink follow, 128 bytes max), Lstat the database; a copy not kept under rt.Assigned is moved by supersede into <DataDir>/.superseded/<host>/<nanos> (RenameBetweenNoReplace, fsync barriers), never deleted. Any read failure refuses the wake. Agent as carlos in the instance directory, not root. file:Lstat@260,file:Lstat@685,registry:Assigned@1213,registry:Assigned@1310,registry:Assigned@1344,registry:Assigned@658,registry:Assigned@88,registry:Host@1073,registry:Host@1428,registry:Host@1558,registry:Host@1684,registry:Host@229,registry:Host@423,registry:Host@608,registry:Host@903 8487e6c90d2f1266fcf10ba17eb323323eb91cd826159151ccc1de626d6ca27f
internal/activator/startrule.go ExecBackend.startAllowed legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 3, rule 6): the start rule: an unlabelled or restored start is allowed; a kept local copy must match rt.Assigned in its marker; an empty start of a labelled row is refused (ErrNothingToRestore) when a set-aside entry exists for the host or rt.Moved is set. Only refuses. Agent, not root. registry:Assigned@549,registry:Assigned@701,registry:Assigned@92,registry:Host@149,registry:Moved@1288,whole:Route@196 d56122307992d7e99e10db26f67ad3e33b74b6eb301a5e021a2589e258b13ef5
internal/activator/startrule.go ExecBackend.supersededEntries legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 3): os.ReadDir of <DataDir>/.superseded/<host> (host checked by supersededHostDir: no separators, not . or ..), names sorted; absent is none, any other error returned. The agent's own data directory. Agent, not root. file:ReadDir@176 1bd4e1d569938d80cc0316dbb3169dd1a6b452aeba6a24179e40492242ceb8b7
internal/activator/startrule.go localCopyNames legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 3): os.ReadDir of the instance directory (to find .seed-sd_*.tmp leftovers) and os.Lstat of a fixed list of the copy's names (marker, db, -wal, -shm, litestream dirs, seed marker); Lstat follows nothing. Agent as carlos, not root. file:Lstat@517,file:ReadDir@266 8bbf81cdcab7e5d7db21e73ad21cbecc96e456325b176d817b02e73fccc6c71a
+internal/activator/wakeidentity.go leaseRouteChanged legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (branch review R1 P1-1): a pure comparison of the row a wake began from (began) with the row doWake read under the lease (now): nil now is a row that is gone; then wakeRouteChanged's identity checks; then Assigned and Moved; then Region. It answers an error naming the change, wrapping errRouteChangedUnderLease, or nil. No read beyond its arguments. Agent, not root; it only refuses. registry:Assigned@350,registry:Assigned@368,registry:Assigned@562,registry:Assigned@587,registry:Host@164,registry:Host@523,registry:Host@731,registry:Moved@384,registry:Moved@399,registry:Moved@576,registry:Moved@603,registry:Region@622,registry:Region@638,registry:Region@770,registry:Region@782,whole:Route@234,whole:Route@242,whole:Route@91 400dc18f833f75f03dd20890b57d43daf6da2c32eeb0994581196d86c2f298fe
internal/edge/edge.go fleetBoxOf legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 5, rule 3): answers (t.FleetLabel, true) when the forward row's label is set, else (t.FleetBox, false). Pure function of the row. The edge in the agent, not root. registry:FleetBox@115,registry:FleetLabel@55,registry:FleetLabel@85 65482a633bd6f3f3b4e23f9655dbcdf503ca9e77833b48417530b0c08e2d6564
internal/registry/fleets.go Registry.MarkFleetBoxLabelled legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 6b): one UPDATE fleet_boxes SET labelled_at = ?, rev = rev + 1 for an active box not yet marked, then a SELECT 1 check; validates fleet and label (ValidTunnelName) and at > 0; remote form over the registry transport. Called by the console only (fleetrelabel.go, apiinstances.go). Not root. file:Exec@511,file:QueryRow@724,registry:remote@113,registry:remote@83,registry:sql@511,registry:sql@724,whole:remoteClient@115,whole:remoteClient@85 906fbe4515dbf94bcc9a66a46cbaec13e970d45330cd7efe15a8693de8d1521d
internal/registry/fleets.go Registry.SetFleetBoxDraining legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 6b): one UPDATE fleet_boxes SET draining_since = ? for an active box not already draining, then SELECT draining_since to answer the stored start; validates fleet, label and since > 0; remote form over the registry transport. Called by the console only (fleetrelabel.go). Not root. file:Exec@553,file:QueryRow@788,registry:Number64@244,registry:remote@126,registry:remote@94,registry:sql@553,registry:sql@788,whole:remoteClient@128,whole:remoteClient@96 59da3d04b044353fe3a98143c49bdb03953eb577104ab8ded39ded9bb31b0c13
@@ -81,19 +63,16 @@ internal/registry/registry.go normalizeRoute authority E3 rev3=census-ruling-see
internal/registry/registry.go routeArgs authority E3 rev3=census-ruling-seeded-instances;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user), wherever a route is inserted: Upsert, the cold handover restore and the import journal's inserts: the bind list from Registry.Upsert's body (and RestoreClaimRows'), with seed_source and import_gate added; E3, the same family as Registry.Upsert, whose body it came from;rev3=census-ruling-design-edge-rate-limit-358;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user), wherever a route is inserted: the bind list gains t.RateLimit for the new rate_limit column (routeCols and Upsert's conflict clause gain it too); the new kind is registry:RateLimit, one site; it binds the value and decides nothing; E3, as before;rev3=census-ruling-rootfs-apps-2;identity=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user);basis=the bind list gains t.Runtime for the new runtime column (routeCols, routeColCount 57 with main's rate_limit, and Upsert's conflict clause gain it too); the new kind is registry:Runtime, one site; it binds the value and decides nothing; E3, as before; re-digested at the merge of origin/main 3c33f2eb: main's assets_off and asset_gen (edge asset cache plan 1) bound beside runtime and rate_limit; routeColCount 59; re-digested again at the merge of origin/main 953b9fda: main's incarnation and serving_seq (self-serve moves plan 1) bound after asset_gen; routeColCount 61;rev3=census-ruling-instance-egress-sizes-328-329;identity=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user);basis=#328/#329 plan 1 Task 4: the bind list gains t.EgressAllow, t.Size and t.PolicyExpiresAt for the three new columns (routeCols, routeColCount 64, and Upsert's conflict clause gain them too); the new kinds are registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each; it binds the values and decides nothing; E3, as before;rev3=census-ruling-region-ha-p1a;basis=binds one more column, ha, as an integer from Route.HA (+registry:HA); keeps authority E3;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Tasks 2 and 5): binds three more columns, t.Assigned, b2iDB(t.Moved) and t.FleetLabel (routeColCount 65 to 68). registry:Account@355,registry:Addr@83,registry:Addrs@451,registry:App@152,registry:Args@505,registry:AssetGen@818,registry:AssetsOff@804,registry:Assigned@916,registry:Backing@253,registry:BuildState@730,registry:Canary@216,registry:Caps@381,registry:CertExpiresAt@338,registry:Channel@177,registry:ClaimIncarnation@577,registry:ClaimOwner@611,registry:ClaimRowID@625,registry:ClaimStamp@597,registry:CreatedAt@492,registry:DBPath@116,registry:DNSCheckedAt@320,registry:DNSStatus@307,registry:EgressAllow@861,registry:Environment@366,registry:FleetBox@439,registry:FleetLabel@944,registry:Gate@484,registry:GoodDemand@680,registry:GoodDigest@666,registry:GoodVersion@651,registry:HA@909,registry:Health@460,registry:Hibernate@196,registry:HoldOp@639,registry:Host@49,registry:IdleSeconds@513,registry:ImportGate@760,registry:Incarnation@830,registry:Kind@65,registry:LastError@101,registry:MaxRunSeconds@528,registry:Moved@934,registry:NextDue@242,registry:Platform@294,registry:PolicyExpiresAt@884,registry:Pool@159,registry:PrevVersion@137,registry:Provisioned@407,registry:RateLimit@785,registry:Region@167,registry:Replica@565,registry:Replicas@547,registry:Replication@227,registry:Runtime@774,registry:Seed@423,registry:SeedSource@746,registry:ServingSeq@845,registry:ServingVersion@694,registry:Size@876,registry:Slug@57,registry:Socket@73,registry:Status@91,registry:StatusNamed@272,registry:Steering@472,registry:Tunnel@389,registry:Unit@431,registry:UpdateSettings@712,registry:Version@126 e3359b8de46e1aacedc6bf4338092a63338e19fbdbf500c235d15538654a0f17
internal/registry/registry.go scanRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user): main's body with the two new columns scanned;rev3=census-ruling-design-edge-rate-limit-358;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user): main's body with the rate_limit column scanned into Route.RateLimit; the new kind is registry:RateLimit, one site; no other read;rev3=census-ruling-rootfs-apps-2;identity=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user);basis=main's body with the runtime column scanned into Route.Runtime, before rate_limit; the new kind is registry:Runtime, one site; no other read; re-digested at the merge of origin/main 3c33f2eb: main's assets_off and asset_gen (edge asset cache plan 1) scanned beside runtime and rate_limit; routeColCount 59; re-digested again at the merge of origin/main 953b9fda: main's incarnation and serving_seq (self-serve moves plan 1) scanned after asset_gen; routeColCount 61;rev3=census-ruling-instance-egress-sizes-328-329;identity=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user);basis=#328/#329 plan 1 Task 4: main's body with egress_allow, size and policy_expires_at scanned into Route.EgressAllow, Route.Size and Route.PolicyExpiresAt after serving_seq; the new kinds are registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each; routeColCount 64; no other read;rev3=census-ruling-region-ha-p1a;basis=scans one more column, ha, into Route.HA (+registry:HA); routeColCount 64 to 65; keeps legacy;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Tasks 2 and 5): scans three more columns, fleet_assigned, fleet_moved and fleet_label, into Route.Assigned, Moved and FleetLabel. Any root caller of Registry.Get sees three more fields, which no root decision reads (grep: only the activator start rule, edge, provision and registry read them). registry:Account@415,registry:Addr@183,registry:Addrs@505,registry:App@258,registry:Args@564,registry:AssetGen@874,registry:AssetsOff@1044,registry:Assigned@970,registry:Backing@340,registry:BuildState@789,registry:Canary@1098,registry:Caps@445,registry:CertExpiresAt@397,registry:Channel@288,registry:ClaimIncarnation@626,registry:ClaimOwner@662,registry:ClaimRowID@677,registry:ClaimStamp@647,registry:CreatedAt@548,registry:DBPath@219,registry:DNSCheckedAt@380,registry:DNSStatus@366,registry:EgressAllow@920,registry:Environment@429,registry:FleetBox@490,registry:FleetLabel@991,registry:Gate@539,registry:GoodDemand@736,registry:GoodDigest@721,registry:GoodVersion@705,registry:HA@1006,registry:Health@515,registry:Hibernate@1074,registry:HoldOp@692,registry:Host@145,registry:IdleSeconds@573,registry:ImportGate@821,registry:Incarnation@887,registry:Kind@163,registry:LastError@205,registry:MaxRunSeconds@589,registry:Moved@1022,registry:NextDue@328,registry:Platform@1144,registry:PolicyExpiresAt@945,registry:Pool@266,registry:PrevVersion@242,registry:Provisioned@1168,registry:RateLimit@848,registry:Region@277,registry:Replica@1195,registry:Replicas@607,registry:Replication@312,registry:Runtime@836,registry:Seed@472,registry:SeedSource@806,registry:ServingSeq@903,registry:ServingVersion@751,registry:Size@936,registry:Slug@154,registry:Socket@172,registry:Status@192,registry:StatusNamed@1119,registry:Steering@526,registry:Tunnel@454,registry:Unit@481,registry:UpdateSettings@770,registry:Version@230,whole:Route@1224 a84a3286cc44511e686ebc605ce99966f53b91a8c0f96ffcfc135a43ca8032f0
internal/registry/remote_dispatch.go Registry.dispatchRemote hint E2 rev3=census-ruling-self-serve-moves-1;basis=the registry child (carlos __registry-child, the service user a root pass forks): plan14-root-reads-e's mixed declaration (E2 adds only the ArtifactHosts read; every other arm is the local method of the same name), with three more write arms, SetHoldIfSeq, ReleaseHoldSeq and InstallLifetimeIf, each calling the local setter; no read operation added; self-serve moves 1 Task 7;rev3=census-ruling-instance-egress-sizes-328-329;identity=the registry child (carlos __registry-child, the service user a root pass forks);basis=#328/#329 plan 1 Task 4: one more write arm, SetPolicy, calling the local Registry.SetPolicy with the request's Host, EgressAllow, Size and PolicyExpiresAt (remoteRequest fields sent by the remote handle's holder); the new kinds registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each, plus one more registry:Host site, all of the request; no read operation added; the read-only worker never reaches it (serveRemote's method gate); no production root pass sends SetPolicy;rev3=census-ruling-region-ha-p1a;basis=the registry child (carlos __registry-child, the service user a root pass forks): one more write arm, SetHA, calling the local Registry.SetHA with the request's Host (+registry:Host); no read operation added; only the provision pass sends it;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 2 and 8: two new remote methods, UpsertUnlessRootfs (carlos add's guarded write) and ResidentInstances (the residency sweep's list), each calling the same-named Registry method;rev3=census-ruling-regional-domains-447;basis=#447 Task 4: two more methods on the existing remote registry transport, ListRegional and ReplaceRegionalSet (request field RDs, response field Regional), each calling the local method of the same name, which validates its own input; no new kind of read;rev3=census-ruling-fleet-secrets-key;basis=one new case, SetFleetSecretsKey, reading the request's Name, Pub, KeyFP, By and At fields and calling SetFleetSecretsKey;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Tasks 1-2: three new cases (SetFleetBoxIf reads the request's Fleet and answers Changed; PutForward reads TValue, a whole Route; DeleteForward reads Host and answers Changed); SetFleetBox gone (+registry:Changed x2, +registry:Fleet, +registry:Host, +registry:TValue, +whole:Route). Each case calls the local writer with its own guards.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Tasks 2 and 6b): three more remote methods dispatched to their local forms, SetFleetBoxDraining (q.Fleet, q.Label, q.At, answering Number64), MarkFleetBoxLabelled (q.Fleet, q.Label, q.At) and SetFleetAssignment (q.Host, q.Assigned, q.Moved); remoteRequest gains Assigned and Moved. The registry child, not root. registry:A@7519,registry:Account@4416,registry:Accounts@3078,registry:Addr@4993,registry:Addrs@5001,registry:Alias@7567,registry:Alias@7631,registry:Alias@7719,registry:Aliases@7441,registry:Alive@9394,registry:Args@7143,registry:AssetGen@5143,registry:AssetsOff@5130,registry:Assigned@5621,registry:At@2232,registry:At@2621,registry:At@2706,registry:At@6515,registry:At@7650,registry:At@7728,registry:At@9142,registry:Attempts@9164,registry:B@2281,registry:Backing@4812,registry:BuildState@5380,registry:By@2226,registry:Changed@1996,registry:Changed@3501,registry:Changed@3588,registry:Changed@3677,registry:Changed@3748,registry:Changed@3852,registry:Changed@3939,registry:Changed@4032,registry:Changed@4114,registry:Changed@5968,registry:Changed@6105,registry:Changed@9074,registry:Channel@4476,registry:Channel@5811,registry:Channel@6360,registry:CheckedAt@6441,registry:Class@4931,registry:DoneBefore@9403,registry:Due@6844,registry:Due@6908,registry:Due@9186,registry:EgressAllow@5283,registry:Env@5879,registry:Env@6271,registry:Env@6371,registry:ExcludeHosts@8869,registry:ExcludeHosts@8964,registry:ExpectGood@6640,registry:ExpectOp@3556,registry:ExpectOp@3806,registry:ExpectPair@3986,registry:Expected@1250,registry:Expected@289,registry:Expected@762,registry:Expected@939,registry:F@1968,registry:F@2029,registry:Fleet@2054,registry:Fleet@2339,registry:Fleet@2421,registry:Fleet@2502,registry:Fleet@2603,registry:Fleet@2688,registry:Fleet@2777,registry:Fleet@6011,registry:FleetBoxes@2738,registry:Fleets@2112,registry:From@4587,registry:From@4648,registry:FromDB@4723,registry:FromOp@3644,registry:FromSock@4733,registry:Hash@5685,registry:Health@5010,registry:Host@1024,registry:Host@1135,registry:Host@272,registry:Host@3262,registry:Host@3303,registry:Host@3456,registry:Host@3532,registry:Host@3618,registry:Host@3710,registry:Host@3782,registry:Host@3888,registry:Host@3978,registry:Host@4066,registry:Host@4158,registry:Host@4408,registry:Host@4468,registry:Host@4526,registry:Host@4579,registry:Host@4640,registry:Host@4715,registry:Host@4804,registry:Host@4858,registry:Host@4923,registry:Host@4985,registry:Host@5063,registry:Host@5122,registry:Host@5210,registry:Host@5275,registry:Host@5372,registry:Host@5437,registry:Host@5498,registry:Host@5548,registry:Host@5613,registry:Host@5677,registry:Host@5738,registry:Host@5871,registry:Host@5925,registry:Host@6003,registry:Host@6140,registry:Host@6193,registry:Host@6423,registry:Host@6507,registry:Host@6564,registry:Host@6632,registry:Host@6721,registry:Host@6781,registry:Host@6836,registry:Host@6900,registry:Host@7084,registry:Host@7135,registry:Host@7202,registry:Host@7277,registry:Host@7340,registry:Host@7937,registry:Host@8063,registry:Host@8217,registry:Host@8505,registry:Host@8569,registry:Host@8628,registry:Host@8711,registry:Host@8794,registry:Host@9025,registry:Host@9110,registry:Host@9242,registry:Host@9323,registry:Host@9486,registry:Hosts@187,registry:Hosts@3141,registry:Hosts@5802,registry:Hosts@6262,registry:Hosts@6351,registry:Id@1244,registry:Id@1555,registry:Id@1654,registry:Id@1734,registry:Id@1885,registry:IdValue@2897,registry:Idle@7210,registry:Journal@1262,registry:Journal@1561,registry:Journal@1740,registry:Journal@442,registry:Keep@9502,registry:KeyFP@2217,registry:Kind@9331,registry:Kind@9494,registry:Label@2348,registry:Label@2430,registry:Label@2511,registry:Label@2612,registry:Label@2697,registry:Label@6020,registry:Limit@8860,registry:Limit@8955,registry:MaxRun@7218,registry:Method@151,registry:Moved@5633,registry:Ms@9158,registry:Name@1032,registry:Name@1143,registry:Name@2082,registry:Name@2202,registry:Name@2916,registry:Name@8577,registry:Name@8636,registry:Name@8719,registry:Name@9033,registry:Name@9118,registry:Name@9250,registry:Next@301,registry:NextAt@9176,registry:NextGood@6654,registry:NextValue@1814,registry:NextValue@1912,registry:Now@1167,registry:Now@7411,registry:Now@8853,registry:Now@8948,registry:Now@9041,registry:Number64@2561,registry:Number64@3004,registry:Number@9291,registry:Number@9362,registry:Number@9447,registry:Observed@365,registry:ObservedValue@643,registry:Old@1807,registry:Old@1905,registry:On@6789,registry:On@7285,registry:On@7348,registry:Op@3474,registry:Op@3550,registry:Op@3718,registry:Op@3800,registry:Op@3896,registry:Op@4074,registry:Op@4166,registry:Owner@280,registry:Owner@377,registry:Owner@660,registry:P@8171,registry:Pair@3818,registry:Pair@3902,registry:Pair@4000,registry:Path@8402,registry:Paths@8099,registry:PolicyExpiresAt@5306,registry:Prefix@8225,registry:Prev@6579,registry:Pub@2210,registry:RDs@8071,registry:RateLimit@5746,registry:Regional@7969,registry:Registration@1040,registry:Registration@1151,registry:Registration@8727,registry:Registration@9126,registry:Replica@5506,registry:Replicas@5445,registry:Retirement@1891,registry:Route@3239,registry:Routes@3197,registry:Routes@4192,registry:Routes@6942,registry:Routes@7009,registry:Routes@7378,registry:Rows@8513,registry:Seed@7092,registry:Size@5298,registry:Sqid@2908,registry:Sqid@2971,registry:Sqid@3050,registry:Status@1056,registry:Status@2520,registry:Status@3464,registry:Status@3540,registry:Status@3626,registry:Status@3790,registry:Status@4534,registry:Status@6431,registry:Status@7640,registry:Status@9148,registry:Status@9258,registry:Steering@5071,registry:StringMap@2814,registry:T@757,registry:T@8453,registry:T@851,registry:T@934,registry:TValue@3344,registry:TValue@3411,registry:TValue@6070,registry:Tags@2439,registry:Target@6201,registry:Targets@453,registry:Text@1460,registry:Text@1607,registry:Text@3018,registry:Text@8258,registry:Text@8321,registry:Timer@709,registry:Timer@8541,registry:Timer@891,registry:Timers@8764,registry:Timers@8823,registry:Timers@8912,registry:Times@9536,registry:To@4595,registry:To@4656,registry:ToDB@4745,registry:ToOp@3636,registry:ToSock@4753,registry:TokenHash@2357,registry:Tunnel@5933,registry:Unit@4866,registry:UpdateSettings@5218,registry:Ver@6572,registry:Ver@6729,registry:W@7871,registry:Wildcards@7765,whole:Account@3082,whole:ClaimOwnership@282,whole:ClaimOwnership@379,whole:ClaimOwnership@662,whole:ClaimRow@455,whole:ClaimRowArchive@561,whole:ClaimRowArchive@571,whole:ColdRows@1809,whole:ColdRows@1816,whole:ColdRows@1907,whole:ColdRows@1914,whole:Fleet@1970,whole:Fleet@2031,whole:Fleet@2058,whole:Fleet@2116,whole:FleetBox@2283,whole:FleetBox@2742,whole:GoodBuild@6642,whole:GoodBuild@6656,whole:Pair@3820,whole:Pair@3904,whole:Pair@3988,whole:Pair@4002,whole:RegionalDomain@7973,whole:RegionalDomain@8073,whole:Route@3201,whole:Route@3243,whole:Route@3346,whole:Route@3413,whole:Route@367,whole:Route@4196,whole:Route@4351,whole:Route@4357,whole:Route@6072,whole:Route@6946,whole:Route@7013,whole:Route@7382,whole:RouteAlias@7445,whole:RouteAlias@7521,whole:RoutePath@8103,whole:RoutePath@8173,whole:Timer@645,whole:Timer@713,whole:Timer@759,whole:Timer@8455,whole:Timer@8515,whole:Timer@853,whole:Timer@8545,whole:Timer@8768,whole:Timer@8827,whole:Timer@8916,whole:Timer@895,whole:Timer@936,whole:WildcardDomain@7769,whole:WildcardDomain@7873 8134a78481b3be708fec2f9daad6492074113a582c0f8e61f69ecf360df95424
-internal/activator/activator.go Service.doWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body (census ruling 292's legacy start mark and lease give-back; census ruling owed's pending record) with the seeded change ruled under census-ruling-seeded-instances (the refreshed row checked against the row the wake began from, twice; the seed's first upload recorded after the wake), and now one more line on a failed start: a start its pre-exec gate refused (launchNotStarted: the exec gate, the pending record or its recheck answered no before root was asked) is recorded as known not started (stopObservation.notStarted) instead of uncertain, only when the wake has started nothing else (wakeStartedNothing); otherwise it goes through cleanupFailedWake and its proofs. A refusal before its lease (step 1), which has started nothing, is recorded the same way. Read sites unchanged; no new read and no root decision;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=marks the end of each wake step on the woken instance's journal timer (wakeSteps: a.now() and a slice append, journal only); no read added, no step reordered;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: (1) after the restore it asks the backend for the replication class an HA restore imported from the host's published wake state (restoredReplication(rt)) and, if it differs, logs it and sets rt.Replication and the entry's route to it; (2) an HA lease of the stream class replicates with a 1 s monitor interval (SetMonitorInterval); (3) after Replicate, an HA replica opens the entry's files publisher (openEntryFiles(ctx, e, rt)) and starts it, and a publisher that will not open fails the wake through cleanupFailedWake; (4) every cleanupFailedWake call passes e; (5) final fix F1: the two start-error arms that gave the lease straight back (a start its pre-exec gate refused with nothing started, and the default arm) now call giveBackAfterStart(ctx, rt, w, lease), which gives a legacy lease back exactly as before and an HA one only over an empty host slice. New sites: registry:Replication x5 (the class compare, the log line, the assignment and the HA sync-interval check) and whole:Route x6 (rt handed to restoredReplication, openEntryFiles, the cleanup calls and giveBackAfterStart); no file read in this body; only adds a condition before an HA release, no check removed;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: the rootfs admission runs before the claim path and before Acquire on the refreshed row (rootfsWakeRefusal), again in full if a re-read under the lock changed any gate field, and a resident wake re-checks residentRunnable; for a rootfs row a held lease or refused config is an ownership refusal; a rootfs first boot (no good version, fresh) places the empty database under the lease (placeRootfsDB) and uploads it once (syncRootfsPlaceholder), while fresh with a good version is refused as a lost database; declared processes are logged after the wake (rootfsProcessesHook); binary rows unchanged; fix wave 1 and 2 (6189a9db, then the r2 ruling "refuse interrupted init"): a fresh rootfs first boot goes through rootfsFirstBoot (rootfsmarker.go) instead of placeRootfsDB alone: under the lease it reads the lifetime's first-boot marker from the hibernate bucket (present or unreadable refuses, present as errRootfsReplicaMissing), writes it create-only, reads it back (only a read back that finds it confirms it; a write conflict proves nothing), and only then places the database; a warm wake does nothing with the marker (fix wave 1's settleRootfsFirstBoot call and its whole:Route site are gone, no local pending record); adds refusals only, binary rows unchanged;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: (1) refuses (errWakeUnproven) while another entry's release record of the host is open; (2) a rootfs row with a plan or a pin reads its declared processes before the lease (declaredProcesses(rt, g): the existing staged-manifest read of ExecBackend.Processes, the manifest root's staging wrote, checked against the identity's path and digest) and refuses before Acquire on an error; (3) the staged-identity start runs releaseInWake(ctx, e, rt, id, lease) before startGenExe, under this wake's lease, and a release that did not pass fails the wake; (4) a rootfs row with no plan, no pin and no staged identity is refused, the lease given back, nothing started; (5) a start error whose release is not proven stopped hands the lease to the release record (oweWakeLeaseToRelease) instead of giving it back. New sites +whole:Route x2 (rt to declaredProcesses and releaseInWake); no new file read beyond the existing staged-manifest read; binary rows unchanged;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W, W1: step 7 no longer calls rootfsProcessesHook (log only); it calls declareRootfsWorkers(e, rt, w), which registers the workers the wake's generation declares as pending and starts nothing (the resident tick starts them once the entry is awake under its lease watch); a worker is never a failure of the wake; the read of the declaration is the existing staged-manifest read (see registerRootfsWorkers); the same read sites in this body, no new read;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2: a successful acquire drops the host's holder-cache entry; same reads;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 6a): after the identity step and before the seed or spawn, calls a.noteUnsynced(rt, lease) (the +whole:Route site), which writes <DataDir>/.replication-failures/<host>.unsynced for a non-HA host; a write failure gives the lease back and refuses the wake. Agent, not root; it can only refuse more. registry:DBPath@1703,registry:DBPath@1719,registry:DBPath@1846,registry:DBPath@1857,registry:DBPath@29170,registry:GoodVersion@13796,registry:Host@1532,registry:Host@1607,registry:Host@1685,registry:Host@1837,registry:Host@2171,registry:Host@4121,registry:Host@577,registry:Host@6378,registry:Replication@12419,registry:Replication@12548,registry:Replication@12567,registry:Replication@12648,registry:Replication@29073,registry:Replication@29205,registry:Seed@17892,registry:Socket@1732,registry:Socket@1748,registry:Socket@1871,registry:Socket@1882,whole:Route@10640,whole:Route@11521,whole:Route@12399,whole:Route@12650,whole:Route@13999,whole:Route@15288,whole:Route@15480,whole:Route@16170,whole:Route@1630,whole:Route@17031,whole:Route@17993,whole:Route@18064,whole:Route@20480,whole:Route@2066,whole:Route@2071,whole:Route@2125,whole:Route@2131,whole:Route@2197,whole:Route@2205,whole:Route@22338,whole:Route@22984,whole:Route@24291,whole:Route@24445,whole:Route@24944,whole:Route@25014,whole:Route@25601,whole:Route@26686,whole:Route@27117,whole:Route@27325,whole:Route@27379,whole:Route@28308,whole:Route@28492,whole:Route@29282,whole:Route@29694,whole:Route@29743,whole:Route@30121,whole:Route@31343,whole:Route@31438,whole:Route@3156,whole:Route@32279,whole:Route@3250,whole:Route@3317,whole:Route@357,whole:Route@4011,whole:Route@562,whole:Route@5747,whole:Route@6006,whole:Route@6268,whole:Route@6273,whole:Route@6330,whole:Route@6336,whole:Route@6405,whole:Route@6413,whole:Route@6729,whole:Route@6790,whole:Route@6888,whole:Route@7712,whole:Route@8695,whole:Route@9269,whole:Route@9570 5e6ef6fe76d99bc0c8cb38e8ed2ef0f8fbff293b3e86a1d11e3595a9f2bac9c8
-internal/activator/backend_exec.go ExecBackend.Acquire legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: after the unchanged AdmitConfig gate, the lease acquire moves into acquireClassified (hawake.go, a new unit): a legacy route or a non-HA host takes the same lease.Acquire as before and maps a held lease to errLeaseHeld as before (leaseError); an HA host goes through the containment admission and lease.AcquireHA. A successful acquire marks the host acquiredHere for the process (same-box recovery). The config gate is not weakened; the same three sites, no read added;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 6a): after a successful acquire, b.trackHeld(rt.Host, l) remembers the lease in memory for the heartbeat's leases_held (the +registry:Host site). Nothing read from disk or the bucket. Agent, not root. registry:Host@807,registry:Host@920,whole:Route@382,whole:Route@764 f547fd66cdaa7fb29738aae944a67b7c9f1be0b3f3b7d9396b6a1a64d4bc5943
-internal/activator/backend_exec.go ExecBackend.restorePlain legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): body of the frozen ExecBackend.Restore, which is now its dispatcher, with the seed marker reconciled before the warm-cache check; same staging fallback and replica restore;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: first asks haRestore(ctx, rt) (+whole:Route x2: rt to haRestore and to restoreHA); an HA host restores through restoreHA (hawake.go, a new unit) and never through the warm cache or the staging fallback; an error there fails the restore; a non-HA host takes the unchanged path;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 3, rule 6 start rule; Task 6a): the six +whole:Route sites are calls taking rt: reconcileAssignment before the seed-marker check (a labelled row's copy not kept under rt.Assigned is moved into <DataDir>/.superseded/<host>/, never deleted), startAllowed on the warm-cache, restored and fresh paths (a labelled row may refuse with ErrNothingToRestore), establishAssignment after a restore and before a fresh boot (writes the <db>.assigned marker); and clearFailedFinalSync(host) after a restore. An unlabelled row (Assigned "") takes none of these. Agent, not root; it refuses more, never less. file:Stat@1179,registry:Host@370,whole:Route@1036,whole:Route@1116,whole:Route@1392,whole:Route@243,whole:Route@323,whole:Route@390,whole:Route@5629,whole:Route@5719,whole:Route@659,whole:Route@6737,whole:Route@6968 0e48b20ad2116f6ee47ddba0419bf72fbbdc48878aa518a150f3139109a08bba
-internal/activator/maintenance.go Service.cleanupFailedWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): census ruling 292's body; when #292's whole proof holds for an aborted legacy start (legacyRunGone: the unit stopped and its cgroup empty) this wake's uncertainty is discharged and the stages it never reached (no sidecar, no replica) are recorded as held; when the proof fails the start is retained exactly as before, now named as the owner of this wake's uncertainty (owedBy). Read sites unchanged; the proof still only decides release-or-keep; no new read and no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: takes the wake's entry e as a new first argument and, when it is not nil, stops and joins the entry's HA files publisher (stopFiles) before anything else. Final fix F1: once the process's own proof has passed, an HA wake (haHeld(lease, w.rep)) is released only when haHostEmpty(rt) reads the host slice empty; otherwise it logs, marks the stop uncertain and retains the wake as unproven (retainUnprovenWake, with owedBy for a legacy start), keeping the lease and replica for the reaper. A non-HA wake's stop, proofs and give-back are unchanged. New sites +registry:Host (the log line) and +whole:Route x3 (rt to haHostEmpty and in the retained unprovenWake); no file read; only holds an HA release back;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R [pf R3.1]: when the wake's own release ended with its unit not proven stopped, the wake's lease is handed to the release record (oweWakeLeaseToRelease) and nothing is given back here; the record gives the lease back only after the unit is proven gone; the same 15 read sites, no read added; only holds a lease back;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 6a): keeps rep.Close's error, and for a non-HA host records it (noteFinalReplication(rt.Host, err), the +registry:Host site). replicaClosed and leaseReleased are computed as before. Agent, not root. registry:Host@2332,registry:Host@2845,registry:Host@3796,registry:Host@4136,registry:Host@4828,registry:Host@5624,registry:Host@5701,whole:Route@2199,whole:Route@2438,whole:Route@2442,whole:Route@3478,whole:Route@4161,whole:Route@4165,whole:Route@4731,whole:Route@4864,whole:Route@4868 e92c3955102f729ef5c70c6d7b0634e360d7064fc8fb813eb09d667f2adb89fd
+internal/activator/activator.go Service.doWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body (census ruling 292's legacy start mark and lease give-back; census ruling owed's pending record) with the seeded change ruled under census-ruling-seeded-instances (the refreshed row checked against the row the wake began from, twice; the seed's first upload recorded after the wake), and now one more line on a failed start: a start its pre-exec gate refused (launchNotStarted: the exec gate, the pending record or its recheck answered no before root was asked) is recorded as known not started (stopObservation.notStarted) instead of uncertain, only when the wake has started nothing else (wakeStartedNothing); otherwise it goes through cleanupFailedWake and its proofs. A refusal before its lease (step 1), which has started nothing, is recorded the same way. Read sites unchanged; no new read and no root decision;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=marks the end of each wake step on the woken instance's journal timer (wakeSteps: a.now() and a slice append, journal only); no read added, no step reordered;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: (1) after the restore it asks the backend for the replication class an HA restore imported from the host's published wake state (restoredReplication(rt)) and, if it differs, logs it and sets rt.Replication and the entry's route to it; (2) an HA lease of the stream class replicates with a 1 s monitor interval (SetMonitorInterval); (3) after Replicate, an HA replica opens the entry's files publisher (openEntryFiles(ctx, e, rt)) and starts it, and a publisher that will not open fails the wake through cleanupFailedWake; (4) every cleanupFailedWake call passes e; (5) final fix F1: the two start-error arms that gave the lease straight back (a start its pre-exec gate refused with nothing started, and the default arm) now call giveBackAfterStart(ctx, rt, w, lease), which gives a legacy lease back exactly as before and an HA one only over an empty host slice. New sites: registry:Replication x5 (the class compare, the log line, the assignment and the HA sync-interval check) and whole:Route x6 (rt handed to restoredReplication, openEntryFiles, the cleanup calls and giveBackAfterStart); no file read in this body; only adds a condition before an HA release, no check removed;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: the rootfs admission runs before the claim path and before Acquire on the refreshed row (rootfsWakeRefusal), again in full if a re-read under the lock changed any gate field, and a resident wake re-checks residentRunnable; for a rootfs row a held lease or refused config is an ownership refusal; a rootfs first boot (no good version, fresh) places the empty database under the lease (placeRootfsDB) and uploads it once (syncRootfsPlaceholder), while fresh with a good version is refused as a lost database; declared processes are logged after the wake (rootfsProcessesHook); binary rows unchanged; fix wave 1 and 2 (6189a9db, then the r2 ruling "refuse interrupted init"): a fresh rootfs first boot goes through rootfsFirstBoot (rootfsmarker.go) instead of placeRootfsDB alone: under the lease it reads the lifetime's first-boot marker from the hibernate bucket (present or unreadable refuses, present as errRootfsReplicaMissing), writes it create-only, reads it back (only a read back that finds it confirms it; a write conflict proves nothing), and only then places the database; a warm wake does nothing with the marker (fix wave 1's settleRootfsFirstBoot call and its whole:Route site are gone, no local pending record); adds refusals only, binary rows unchanged;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: (1) refuses (errWakeUnproven) while another entry's release record of the host is open; (2) a rootfs row with a plan or a pin reads its declared processes before the lease (declaredProcesses(rt, g): the existing staged-manifest read of ExecBackend.Processes, the manifest root's staging wrote, checked against the identity's path and digest) and refuses before Acquire on an error; (3) the staged-identity start runs releaseInWake(ctx, e, rt, id, lease) before startGenExe, under this wake's lease, and a release that did not pass fails the wake; (4) a rootfs row with no plan, no pin and no staged identity is refused, the lease given back, nothing started; (5) a start error whose release is not proven stopped hands the lease to the release record (oweWakeLeaseToRelease) instead of giving it back. New sites +whole:Route x2 (rt to declaredProcesses and releaseInWake); no new file read beyond the existing staged-manifest read; binary rows unchanged;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W, W1: step 7 no longer calls rootfsProcessesHook (log only); it calls declareRootfsWorkers(e, rt, w), which registers the workers the wake's generation declares as pending and starts nothing (the resident tick starts them once the entry is awake under its lease watch); a worker is never a failure of the wake; the read of the declaration is the existing staged-manifest read (see registerRootfsWorkers); the same read sites in this body, no new read;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2: a successful acquire drops the host's holder-cache entry; same reads;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (branch review R1 P1-1): after the lease, doWake re-reads the host's row from the box's own registry (a.Routes.Get(host)) and hands it with rt to leaseRouteChanged (the +whole:Route site): a row that is gone, no longer this wake's route, or whose Assigned, Moved or Region changed gives the lease back and refuses the wake, nothing restored or started. Its checks up to the spawn ask wakeGoesOn(e), which adds the entry's in-memory retired mark (set by RetireExcept) to the fence test. Task 6a's awake record call is removed. Agent, not root; it only refuses more. registry:DBPath@1699,registry:DBPath@1715,registry:DBPath@1842,registry:DBPath@1853,registry:DBPath@29642,registry:GoodVersion@14813,registry:Host@1528,registry:Host@1603,registry:Host@1681,registry:Host@1833,registry:Host@2167,registry:Host@4117,registry:Host@577,registry:Host@6374,registry:Replication@13440,registry:Replication@13569,registry:Replication@13588,registry:Replication@13669,registry:Replication@29545,registry:Replication@29677,registry:Seed@18367,registry:Socket@1728,registry:Socket@1744,registry:Socket@1867,registry:Socket@1878,whole:Route@10972,whole:Route@10976,whole:Route@11661,whole:Route@12542,whole:Route@13420,whole:Route@13671,whole:Route@15016,whole:Route@1626,whole:Route@16301,whole:Route@16493,whole:Route@17183,whole:Route@18468,whole:Route@18539,whole:Route@2062,whole:Route@2067,whole:Route@20951,whole:Route@2121,whole:Route@2127,whole:Route@2193,whole:Route@2201,whole:Route@22809,whole:Route@23455,whole:Route@24762,whole:Route@24916,whole:Route@25415,whole:Route@25485,whole:Route@26072,whole:Route@27157,whole:Route@27588,whole:Route@27796,whole:Route@27850,whole:Route@28779,whole:Route@28964,whole:Route@29754,whole:Route@30166,whole:Route@30215,whole:Route@30593,whole:Route@3152,whole:Route@31815,whole:Route@31910,whole:Route@3246,whole:Route@32751,whole:Route@3313,whole:Route@357,whole:Route@4007,whole:Route@562,whole:Route@5743,whole:Route@6002,whole:Route@6264,whole:Route@6269,whole:Route@6326,whole:Route@6332,whole:Route@6401,whole:Route@6409,whole:Route@6725,whole:Route@6786,whole:Route@6884,whole:Route@7708,whole:Route@8691,whole:Route@9265,whole:Route@9566 5613dc6c166b78d9a25b3ca44f8a8c2518cb89efbec0b11a3207a28dee949673
+internal/activator/backend_exec.go ExecBackend.restorePlain legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): body of the frozen ExecBackend.Restore, which is now its dispatcher, with the seed marker reconciled before the warm-cache check; same staging fallback and replica restore;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: first asks haRestore(ctx, rt) (+whole:Route x2: rt to haRestore and to restoreHA); an HA host restores through restoreHA (hawake.go, a new unit) and never through the warm cache or the staging fallback; an error there fails the restore; a non-HA host takes the unchanged path;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 3, rule 6 start rule): the +whole:Route sites are calls taking rt: reconcileAssignment before the seed-marker check (a labelled row's copy not kept under rt.Assigned is moved into <DataDir>/.superseded/<host>/, never deleted), startAllowed on the warm-cache, restored and fresh paths (a labelled row may refuse with ErrNothingToRestore), and establishAssignment after a restore and before a fresh boot (writes the <db>.assigned marker). Task 6a's record clear after a restore is removed. An unlabelled row (Assigned "") takes none of these. Agent, not root; it refuses more, never less. file:Stat@1179,registry:Host@370,whole:Route@1036,whole:Route@1116,whole:Route@1392,whole:Route@243,whole:Route@323,whole:Route@390,whole:Route@5629,whole:Route@5719,whole:Route@6296,whole:Route@6527,whole:Route@659 35c21389c435c3f11579e2e9e38f2b0e7a00203f77ef539024b84539134b7385
internal/edge/edge.go Edge.Reload legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-design-edge-rate-limit-358;basis=each route's upstream entry gains rate: e.parseRateSettings(t), the row's rate_limit column parsed once per reload; the one added site is that whole:Route pass of t (parseRateSettings is a new unit, classified in the decisions overlay); no other read added;rev3=census-ruling-certwarm-wake;basis=the single reload hook call becomes runReloadHooks(), which runs every registered hook in order (#386); no read added, same 57 sites (56 before #358 landed on main);rev3=census-ruling-edge-asset-cache-3;basis=each tenant reverse proxy built in the switch (the tunnel, fleet, socket and TCP arms, every *httputil.ReverseProxy) is installed behind assetScrubbedProxy, which hands the proxy an assetInformationalScrub writer so an app's 1xx (103) loses the asset cache's reserved headers (X-Carlos-Asset-Fill, -Fill-Ack, -Expires, Carlos-Cache) on every local path, as the backhaul already does (final review F6); a type check of the proxy it just built and a wrapper around it; static and status handlers untouched; read sites unchanged (57), offsets moved; no read added;rev3=census-ruling-alias-wake-338;basis=#338 follow-up: after the path fold, a resolved platform alias takes its source's own upstream entry (same proxy, route, hibernating: the existing activator wake, lease and fence), keeping its own prefix map (none for a minted apex) and never inheriting the source's (Astra r2 P1); a refused alias, or one whose source has no entry, is dropped from the map (not served, not Allowed); the attached-hostname fold clears platformAlias;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the activator-managed test (generation proxy, hib, no-activator 404) is Route.ActivatorOwned instead of Kind and Hibernate inline, so a resident rootfs instance goes through the activator; binary rows unchanged;rev3=census-ruling-edge-roll-blip;basis=the tcpProxy and multiProxy calls pass e.hold (the per-Edge localHold set once in newEdge): a loopback TCP upstream that refuses is redialled for up to 13 s and a probed route with a local upstream waits for prober readmission instead of answering 502/503 (#434 part B); edge-side dial policy only, no read added, same 52 sites;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: after the alias fold, reads the regional_domains rows (e.reg.ListRegional; an error aborts the reload as every registry read here does) and applies them with foldRegional against the routes slice the same reload read; the added reads are that one registry list and the routes already read;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Tasks 4 and 6: the forward case (fleetProxy toward the binding's FleetBox, throttled refusal); one refusal check before the switch from FleetArmVerdict (sidecar not judged; a non-ready forward row refused; a forward row always judged by FleetServeEligible, any other row only where tunnels are on; an alias of a refused source refused with it); the accountless note; path rows of a forward host not folded; no alias folded onto a refused row; refusedHosts held through every fold. ListFleets and FleetChannelAuth read before the loop (+registry:FleetBox, +registry:Host x7, +whole:Route x3). Serving only; the hub's agent, not root. Review R1 finding 2: the switch reads verdict.Served (FleetArmVerdict) by host; the forward case and the fleet-placed case take their fleet from it (served.Fleet) instead of FleetPlacement(t.Region), and an admitted forward row not Served continues rather than falling through (+registry:Host, -registry:Region); the same rows take the same arms; no read added. Review R2: the switch is on DispatchArm(t, viaFleet, tunnels) (the order moved there unchanged: forward only when in Arm, own Tunnel, fleet, socket, addrs, static, status, else continue), the fleet cases read verdict.Arm (renamed from Served), and the platform-alias fold is foldPlatformAliases with the same take (source entry, own paths, alias marks) and the same refusal log (-registry:Kind x2, -registry:Socket, -registry:Tunnel, +whole:Route: those reads moved into DispatchArm); same rows, same arms, same entries; no read added.;rev3=census-ruling-fleet-routes-followups;basis=the owners map is now e.reg.FleetOwners() instead of ListFleets folded inline: the same fresh-connection ListFleets read and the same name->account map (-registry:Account, -registry:Name, -whole:Fleet x2 move into Registry.FleetOwners); no read added; same error path (abort the reload);rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5, rule 3): the two fleet proxy builds pass the row to fleetBoxOf(t) instead of reading t.FleetBox (-registry:FleetBox x2, +whole:Route x2); fleetBoxOf answers FleetLabel as authoritative when set, else FleetBox; an authoritative box has no fallback to another of the fleet's channels (503 errFleetDark instead). The edge in the agent, not root; it routes to fewer channels, never more. registry:Alias@23639,registry:Alias@23726,registry:Alias@24306,registry:Health@12592,registry:Health@12718,registry:Host@10273,registry:Host@10330,registry:Host@10366,registry:Host@11014,registry:Host@13201,registry:Host@13296,registry:Host@13584,registry:Host@13610,registry:Host@13662,registry:Host@18115,registry:Host@20022,registry:Host@20330,registry:Host@20357,registry:Host@21158,registry:Host@21730,registry:Host@24060,registry:Host@24109,registry:Host@4537,registry:Host@4591,registry:Host@4641,registry:Host@5508,registry:Kind@16451,registry:Kind@16473,registry:Prefix@21705,registry:Socket@11078,registry:Socket@20338,registry:Status@4462,registry:Target@21717,registry:Tunnel@8889,registry:Version@16432,registry:Version@16534,whole:RegionalDomain@24776,whole:Route@10421,whole:Route@10529,whole:Route@11134,whole:Route@130,whole:Route@13735,whole:Route@13799,whole:Route@13850,whole:Route@20390,whole:Route@20397,whole:Route@20493,whole:Route@21593,whole:Route@22761,whole:Route@24768,whole:Route@3217,whole:Route@3275,whole:Route@5537,whole:Route@6413,whole:Route@6521,whole:Route@8951,whole:RouteAlias@23610,whole:RoutePath@21136 9725995383ae7c27bb9643adfe93de08e486b3442870e32d116ecbce830a87d5
internal/registry/fleets.go Registry.migrateFleets legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-fleet-secrets-key;basis=fleet secrets key (#366): four more idempotent migration statements: ALTER TABLE fleets ADD COLUMN for secrets_pubkey, secrets_key_fp, secrets_key_set_at, secrets_key_set_by (duplicate column ignored) and CREATE UNIQUE INDEX IF NOT EXISTS fleets_secrets_key_fp ON fleets (secrets_key_fp) WHERE secrets_key_fp != ''; CREATE TABLE IF NOT EXISTS fleet_secrets_key_fps (fp primary key, fleet, account, at), the permanent reservation of every registered fingerprint to its fleet, and an idempotent backfill INSERT ... SELECT of the fleets rows' current non-empty fingerprints ON CONFLICT(fp) DO NOTHING; fixed SQL, no new read of any input;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 6b): two more idempotent statements, ALTER TABLE fleet_boxes ADD COLUMN draining_since INTEGER and labelled_at INTEGER (duplicate column ignored), the +file:Exec and +registry:sql sites. Fixed SQL, no input. Registry side, not root. file:Exec@1207,file:Exec@1699,file:Exec@1933,file:Exec@2471,file:Exec@2686,file:Exec@313,file:Exec@57,file:Exec@735,registry:sql@1207,registry:sql@1699,registry:sql@1933,registry:sql@2471,registry:sql@2686,registry:sql@313,registry:sql@57,registry:sql@735 7d2d5e945297abc2a6c97c2b75895e5c6602200a2bea505c4858f7d5a2d0da86
-@coverage . fad980617ae0ae075d4bb5a8bf44b536487461f27f1b6fc6758e108b56ca61ab
-@coverage internal/activator a50b9a47f0807bfe1fba414636b2478e559c98b2e32b484321c6aed55230fe33
+@coverage . a910a697efcda9d488b70cff1d8579bfdc9b09b6752075146bc2512a224e94ac
+@coverage internal/activator 38a433094f58f976dd5bb1c4a25eae600959ee69dedf059521ef6e545c831119
@coverage internal/edge 095d70162367b564b90e8b1361d42fad0fd01c5779062098cf2a0446b72c575d
-@coverage internal/host 69a5356a475084cdf5df8b3b485ed21bcc7a52cdf789735981c38e17d9e54388
-@coverage internal/lease 94874cbc75cf69d9872cb7715be7ad6adb050223338c76ebfb8496d5bd18e74d
+@coverage internal/host 45b1210ce0d94d88f9ff64ab2c1a81c2a88738c320e39dcbd98a866c1ce734c1
+@coverage internal/lease 772314b303f47818872d5540226c4043508b9849dbfcc4a2edf2ed90ff5ce4b7
@coverage internal/provision 9600992800511e93ba9b756c2fa12c00a5e499530c4c2fa054003cca642e5601
-@coverage internal/registry 0e930d0e50224463aab3a26a84b95d47875d6c99aca3392aa1861ad1beb52a80
+@coverage internal/registry 25b3f1d118d7c64b1c8255e8dacb204ffed1a37b87dcdebbd28d0aaa10aeb718
@coverage internal/release 2233c6535d2738fc411a35bbc749141524d43ac16681afe94e60f5027b40d659
-@coverage internal/status 2fc91b045678abda0bca120e4b040a001afef061b48a836fc17f860e46def661
@fields A,Account,Accounts,AddedAt,Addr,Addrs,Alias,Aliases,Alive,AllowAbsent,App,Archives,Args,AssetGen,AssetsOff,Assigned,At,Attempts,B,Backing,Bucket,BuildState,By,Callback,CallbackError,CallbackFailed,Canary,Caps,CertExpiresAt,Changed,Channel,CheckedAt,Claim,ClaimIncarnation,ClaimOwner,ClaimOwnership,ClaimRowID,ClaimStamp,Class,Column,Contents,CreatedAt,DBPath,DNSCheckedAt,DNSStatus,Deadline,Default,Demand,Digest,DoneBefore,DrainingSince,Due,DueAt,EgressAllow,Env,EnvBefore,Environment,Error,ErrorKind,ExcludeHosts,ExpectGood,ExpectOp,ExpectPair,Expected,F,Failed,FenceGen,Field,Fleet,FleetBox,FleetBoxes,FleetLabel,Fleets,From,FromDB,FromOp,FromSock,Gate,GoodDemand,GoodDigest,GoodVersion,HA,Hash,Health,Held,Hibernate,HoldOp,Host,Hosts,ID,Id,IdValue,Idle,IdleSeconds,ImportGate,Incarnation,Journal,Keep,KeyFP,Kind,Label,LabelledAt,LastAt,LastError,LastMs,LastStatus,Limit,MaxRun,MaxRunSeconds,Method,Moved,Ms,Name,Next,NextAt,NextDue,NextGood,NextValue,Now,Number,Number64,Observed,ObservedValue,Old,On,OnConflict,Op,Original,Owner,Ownership,P,Pair,Path,Paths,Platform,PolicyExpiresAt,Pool,Prefix,Prev,PrevVersion,Provisioned,Pub,RDs,RateLimit,RecordKey,Region,Regional,Registration,Replica,Replicas,Replication,Retirement,Route,Routes,Row,Rows,Runtime,SecretsKeyFP,SecretsKeySetAt,SecretsKeySetBy,SecretsPub,Seed,SeedID,SeedSource,ServingSeq,ServingVersion,Size,Slug,Socket,Spec,Sqid,State,Status,StatusNamed,Steering,StringMap,T,TValue,Tags,Target,Targets,Text,Timer,Timers,Times,To,ToDB,ToOp,ToSock,TokenHash,Tunnel,Type,Unit,UpdateSettings,Ver,Version,W,WakeIncarnation,Wildcards,closed,conn,connect,ctx,d,dec,done,enc,full,input,mu,output,path,readOnly,remote,sql,wait