carlos / platform Public

census: refresh agent-start-demo-3 overlay after CI fixes

codex agent, operated by paul@keymail.dev pushed by claude agent, operated by paul@keymail.dev 76f358e417dcf93d100b57b1d42c2d5767c5465b parent effdc89
4 files changed, +24 −24
  • docs/superpowers/notes/census-agent-start-demo-3-claims.md +5 −5
  • docs/superpowers/notes/census-proposal-agent-start-demo-3.md +5 −5
  • internal/provision/testdata/plan14-root-reads-agent-start-demo-3.tsv +13 −13
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1

CI failed — run details

Intent

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

diff --git a/docs/superpowers/notes/census-agent-start-demo-3-claims.md b/docs/superpowers/notes/census-agent-start-demo-3-claims.md
index 83332e1cd..77e1c7822 100644
--- a/docs/superpowers/notes/census-agent-start-demo-3-claims.md
+++ b/docs/superpowers/notes/census-agent-start-demo-3-claims.md
@@ -7,16 +7,15 @@ internal/edge/edge.go:Edge.Reload Refresh the verified moved snapshot from regis
internal/host/agent.go:fastConvergeLoop Attach the moved reader to the existing shared change watch and advertise that reader as armed. Census read-site delta: unchanged (2).
internal/host/agent.go:fastTick Refresh moved notices through the shared watch before normal convergence; no new per-box poll. Census read-site delta: unchanged (1).
internal/host/agent.go:runAgent Wire the claim activator and root snapshot client into the demo worker; pass moved readiness to status reporting. Census read-site delta: unchanged (6).
-internal/host/agent.go:statusLoop Report moved capability only when the serving edge and shared reader report readiness. Census read-site delta: unchanged (6).
+internal/host/agent.go:statusLoop Report moved capability only when the serving edge reports readiness; report claim-seed support only with CARLOS_DEMO_CLAIM=1. Reads the explicit capability flag from the process environment; no new filesystem or registry read.
internal/host/demo_serving.go:demoWorker.demoHeartbeat Advertise claim export and moved capability beside existing serving probes. Census read-site delta: unchanged (1).
internal/host/demo_serving.go:demoWorker.demoServingAllowed Refuse traffic under the reversible operation-owned claim hold without resetting lifetime counters. Census read-site delta: unchanged (10).
internal/host/seedwiring.go:wireSeedPlacement Install the pre-wake demo-claim seed admission check beside existing seed placement hooks. Census read-site delta: unchanged (1).
-internal/host/units/carlos-instance-control.service:external Permit the root supervisor to create isolated snapshot mounts while retaining the control service boundary. Census read-site delta: unchanged (1).
internal/instancectl/server.go:runWithClaim Construct the demo snapshot supervisor for configured demo boxes; startup cleanup gates builder readiness. Census read-site delta: unchanged (4).
internal/instancectl/server.go:type Server Retain the snapshot supervisor in instance-control state; no new request-selected path. Census read-site delta: unchanged (1).
internal/provision/seed.go:SeedAbortBecause Allow demo-claim seeds to enter abort from pre-commit placement while forbidding rollback after commitment. Census read-site delta: unchanged (1).
internal/provision/seedreconcile.go:journalPass Exclude demo-claim seeds from the legacy import journal; their operation-bound cleanup has its own path. Census read-site delta: unchanged (38).
-internal/status/snapshot.go:CollectBox Report claim-seed protocol capability and runtime moved readiness in the existing heartbeat. Census read-site delta: unchanged (28).
+internal/status/snapshot.go:CollectBox Report claim-seed protocol capability only when explicitly configured and runtime moved readiness only when armed; dormant status keeps its original JSON shape. Census read-site delta: unchanged (28).
internal/activator/seedplace.go:ExecBackend.seededRestore Refuse unfinished claim seeds and check the current operation-bound destination record under its lease before wake. Census read-site delta: +whole:Route.
internal/host/demo_cleanup.go:demoWorker.retireDemo Retirement recognizes a committed claim hold, preserves stop-before-purge, and uses existing traffic-counter cleanup. Census read-site delta: +registry:HoldOp ×2, +registry:Host ×2.
internal/instancectl/demo_cleanup.go:Server.purgeDemoWithJobs Share derived unit stop/empty proof with freeze before deleting demo data; directory enumeration moved to stopDemoUnits. Census read-site delta: -file:ReadDir.
@@ -59,9 +58,9 @@ internal/provision/demo_claim_seed.go:abortDemoClaimSeed Keep destination import
internal/provision/demo_claim_seed.go:demoClaimSeedRow Bind fresh destination route identity, placement and import gate to the exact demo-claim seed; reject unsupported/foreign route shapes. Census read-site delta: +registry:Account, +registry:Addr, +registry:Addrs, +registry:App, +registry:Backing, +registry:HA, +registry:Host, +registry:Incarnation, +registry:Kind, +registry:Provisioned, +registry:Runtime, +registry:SeedSource, +registry:ServingSeq, +registry:Tunnel, +registry:Unit.
internal/provision/demo_claim_seed.go:removeDemoClaimOrphan Re-read exact route, seed and hold identity before cleaning a recordless destination; refuse mismatches and stop before removing data. Census read-site delta: +registry:Account, +registry:App, +registry:DBPath, +registry:HoldOp, +registry:Host ×4, +registry:ImportGate, +registry:Incarnation, +registry:SeedSource ×2, +whole:Route ×7.
internal/provision/demo_claim_seed.go:validateDemoClaimSeed Open and check the bounded seed snapshot through the configured data store; verify its hash before fresh placement. Census read-site delta: +file:Open.
-internal/registry/demo_claim_seed.go:Registry.CompareSeedGate CAS the seed gate and row state only if immutable destination identity, incarnation and serving sequence still match. Census read-site delta: +file:Exec, +registry:Account, +registry:App, +registry:CreatedAt, +registry:Host, +registry:ImportGate, +registry:Incarnation, +registry:SeedSource, +registry:ServingSeq, +registry:remote, +registry:sql, +whole:remoteClient.
+internal/registry/demo_claim_seed.go:Registry.CompareSeedGate CAS the seed gate and row state only if immutable destination identity, incarnation and serving sequence still match; retain kind='instance' and add the registry-wide explicit kind <> 'forward' fence. Census read-site delta: +file:Exec, +registry:Account, +registry:App, +registry:CreatedAt, +registry:Host, +registry:ImportGate, +registry:Incarnation, +registry:SeedSource, +registry:ServingSeq, +registry:remote, +registry:sql, +whole:remoteClient.
internal/registry/demo_claim_seed.go:Registry.CreateSeedRoute Create a fresh provisioned gated seed route without adopting or overwriting existing route state. Census read-site delta: +registry:Kind, +registry:Provisioned, +registry:SeedSource, +registry:remote, +whole:Route, +whole:remoteClient.
-internal/registry/demo_claim_seed.go:Registry.DeleteSeedRoute CAS-delete only the exact stopped demo-claim seed row with matching identity and gate. Census read-site delta: +file:Exec, +registry:Account, +registry:App, +registry:CreatedAt, +registry:Host, +registry:ImportGate, +registry:Incarnation, +registry:SeedSource, +registry:ServingSeq, +registry:remote, +registry:sql, +whole:remoteClient.
+internal/registry/demo_claim_seed.go:Registry.DeleteSeedRoute CAS-delete only the exact stopped demo-claim seed row with matching identity and gate; retain kind='instance' and add the registry-wide explicit kind <> 'forward' fence. Census read-site delta: +file:Exec, +registry:Account, +registry:App, +registry:CreatedAt, +registry:Host, +registry:ImportGate, +registry:Incarnation, +registry:SeedSource, +registry:ServingSeq, +registry:remote, +registry:sql, +whole:remoteClient.
internal/registry/registry.go:Registry.CompareDemoMoved CAS-store signed moved notice bytes and increment a local generation so edge reload observes replacement. Census read-site delta: +file:Exec ×2, +registry:remote, +registry:sql ×2, +whole:remoteClient.
internal/registry/registry.go:Registry.DemoMoved Read the locally cached signed moved snapshot; consumers verify its signature and bounded contents. Census read-site delta: +file:QueryRow, +registry:remote, +registry:sql, +whole:remoteClient.
internal/activator/activator.go:Service.doWakeOnce Route claim seeds through seed restore/admission; do not fall back to empty boot or ordinary import behavior. Census read-site delta: +registry:SeedSource, +whole:Route.
@@ -72,3 +71,4 @@ internal/provision/reconcile.go:Reconcile Install durable source claim holds and
internal/provision/reconcile.go:RouteFor Translate bound source claim state into operation-owned hold/status and fresh seed state into the destination import gate. Census read-site delta: +registry:HoldOp, +registry:ImportGate, +registry:Seed, +registry:Status.
internal/registry/registry.go:Registry.Fingerprint Include moved generation so notice-only changes invalidate an edge route snapshot. Census read-site delta: +file:QueryRow.
internal/registry/registry.go:Registry.SnapshotFingerprint Include moved generation consistently with the transactional registry snapshot. Census read-site delta: +file:QueryRow.
+internal/host/claimunit.go:claimUnitContent Declare /var/lib/carlos-demo-snapshots as root-owned StateDirectory with mode 0700 only for configured demo boxes, including recovery with admission off. Ordinary claims units retain their original directories. The shared unit template is unchanged from main; no file read is added.
diff --git a/docs/superpowers/notes/census-proposal-agent-start-demo-3.md b/docs/superpowers/notes/census-proposal-agent-start-demo-3.md
index 7b709317b..9dec642d0 100644
--- a/docs/superpowers/notes/census-proposal-agent-start-demo-3.md
+++ b/docs/superpowers/notes/census-proposal-agent-start-demo-3.md
@@ -12,16 +12,16 @@ Ruling `census-ruling-agent-start-demo-3`. The independent reviewer approves or
| `internal/host/agent.go` `fastConvergeLoop` | body | unchanged (2) | Attach the moved reader to the existing shared change watch and advertise that reader as armed. Census read-site delta: unchanged (2). |
| `internal/host/agent.go` `fastTick` | body | unchanged (1) | Refresh moved notices through the shared watch before normal convergence; no new per-box poll. Census read-site delta: unchanged (1). |
| `internal/host/agent.go` `runAgent` | body | unchanged (6) | Wire the claim activator and root snapshot client into the demo worker; pass moved readiness to status reporting. Census read-site delta: unchanged (6). |
-| `internal/host/agent.go` `statusLoop` | body | unchanged (6) | Report moved capability only when the serving edge and shared reader report readiness. Census read-site delta: unchanged (6). |
+| `internal/host/agent.go` `statusLoop` | body | unchanged (6) | Report moved capability only when the serving edge reports readiness; report claim-seed support only with CARLOS_DEMO_CLAIM=1. Reads the explicit capability flag from the process environment; no new filesystem or registry read. |
+| `internal/host/claimunit.go` `claimUnitContent` | body | unchanged (1) | Declare /var/lib/carlos-demo-snapshots as root-owned StateDirectory with mode 0700 only for configured demo boxes, including recovery with admission off. Ordinary claims units retain their original directories. The shared unit template is unchanged from main; no file read is added. |
| `internal/host/demo_serving.go` `demoWorker.demoHeartbeat` | body | unchanged (1) | Advertise claim export and moved capability beside existing serving probes. Census read-site delta: unchanged (1). |
| `internal/host/demo_serving.go` `demoWorker.demoServingAllowed` | body | unchanged (10) | Refuse traffic under the reversible operation-owned claim hold without resetting lifetime counters. Census read-site delta: unchanged (10). |
| `internal/host/seedwiring.go` `wireSeedPlacement` | body | unchanged (1) | Install the pre-wake demo-claim seed admission check beside existing seed placement hooks. Census read-site delta: unchanged (1). |
-| `internal/host/units/carlos-instance-control.service` `external` | body | unchanged (1) | Permit the root supervisor to create isolated snapshot mounts while retaining the control service boundary. Census read-site delta: unchanged (1). |
| `internal/instancectl/server.go` `runWithClaim` | body | unchanged (4) | Construct the demo snapshot supervisor for configured demo boxes; startup cleanup gates builder readiness. Census read-site delta: unchanged (4). |
| `internal/instancectl/server.go` `type Server` | body | unchanged (1) | Retain the snapshot supervisor in instance-control state; no new request-selected path. Census read-site delta: unchanged (1). |
| `internal/provision/seed.go` `SeedAbortBecause` | body | unchanged (1) | Allow demo-claim seeds to enter abort from pre-commit placement while forbidding rollback after commitment. Census read-site delta: unchanged (1). |
| `internal/provision/seedreconcile.go` `journalPass` | body | unchanged (38) | Exclude demo-claim seeds from the legacy import journal; their operation-bound cleanup has its own path. Census read-site delta: unchanged (38). |
-| `internal/status/snapshot.go` `CollectBox` | body | unchanged (28) | Report claim-seed protocol capability and runtime moved readiness in the existing heartbeat. Census read-site delta: unchanged (28). |
+| `internal/status/snapshot.go` `CollectBox` | body | unchanged (28) | Report claim-seed protocol capability only when explicitly configured and runtime moved readiness only when armed; dormant status keeps its original JSON shape. Census read-site delta: unchanged (28). |
| `internal/activator/seedplace.go` `ExecBackend.seededRestore` | sites | +whole:Route | Refuse unfinished claim seeds and check the current operation-bound destination record under its lease before wake. Census read-site delta: +whole:Route. |
| `internal/host/demo_cleanup.go` `demoWorker.retireDemo` | sites | +registry:HoldOp ×2, +registry:Host ×2 | Retirement recognizes a committed claim hold, preserves stop-before-purge, and uses existing traffic-counter cleanup. Census read-site delta: +registry:HoldOp ×2, +registry:Host ×2. |
| `internal/instancectl/demo_cleanup.go` `Server.purgeDemoWithJobs` | sites | -file:ReadDir | Share derived unit stop/empty proof with freeze before deleting demo data; directory enumeration moved to stopDemoUnits. Census read-site delta: -file:ReadDir. |
@@ -43,10 +43,10 @@ Recorded dispositions, which each change must still satisfy:
- `internal/host/agent.go` `fastTick`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route;rev3=PROPOSED-s3-change-index;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=observes the change index before any pass (observeIndex), runs the backstop's requested full pass and a scoped pass for moved app scopes (indexTick), and arms the canary pointer gate on the sweep (canaryPointerGate) only on a tick whose own index observation succeeded; read site unchanged, offset moved;rev3=census-ruling-stateless-replicas-1;basis=Call coordinator Tick on the existing tick before convergence; client renews held terms only at the pinned interval. Existing registry read unchanged. Final review I3: signal the owned renewal worker instead of waiting for its sequential console HTTP calls. Existing convergence and record read unchanged.;rev3=census-ruling-region-ha-p3a;basis=Run the optional desired-role reader on the existing tick after observing the armed change index; no new root path or timer, nil reader is unchanged.;rev3=census-ruling-stateless-replicas-2;basis=Slice 3b: signals the owned replica worker on the existing tick; coalesced asynchronous execution, no timer or bucket scan added. merge of origin/main 7920cccf: Retain main box-role reader pass on the existing tick alongside the replica worker signal; merge-only body change, unchanged read sites.
- `internal/host/agent.go` `runAgent`: authority, task B,C,D,F. Basis: rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): builds the box's lifetime judge once (newBoxJudge, nil with host claims on) and hands it to the seed placement, the moves and runs workers and every loop it starts; read sites unchanged, offsets moved; B,C,D,F authority retained; self-serve moves 1 Task 8: derives the box's lifetimes switch from the judge once (lifetimes := boxJudge != nil) and hands it to the edges file loop; read sites unchanged, offsets moved;rev3=census-ruling-plans-4d-lapse;basis=arms two more plans hooks from the same snapshot: e.SetPlanDisabledFor(planDisabledFor) beside SetPlanGovernedFor, and svc.SetDisabledFor(planDisabledRoute) beside SetMaxRunFor (plans 4d); the reads live in those units (plans-4d-units decision); read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 9b81d97b (with main's plan rate ceiling, edge request records, regional box names, self-serve moves plan 1, plans 4d-1 lapse and its other later changes under main's own census rulings) plus the rootfs placement wiring in the activator start: an agentRootfs built from eb.NestedOK, CARLOS_DEPLOYMENT_SINGLE_TENANT, CARLOS_POOLS, the claim flag, swapArming's answer, the control client's /ready/rootfs and, on a fleet box whose identity resolved, fleetOwnerCheck over the deploy store main already opens for the fleet label (fleetStore), then arm and armedRootfs.Store; this body reads nothing new itself; the closures it wires read later, at a rootfs wake and each status tick: GET /ready/rootfs over the control socket, NestedOK's checks, and release.FleetOwnerKey for the judged row's own account and this box's fleet from the deploy store;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Tasks 7 and 11, #329 plan 3 Task 7 and plan 1 Task 7's policy cache: the control client is built once and handed to eb.Control, to the status tick (egressStatus) and to a new egressNudgeLoop goroutine; armSizeSource(svc, "/sys/fs/cgroup") after the activator Service; armPolicyCache() after armChangeIndex; statusLoop takes egressStatus. The reads are those units' own (decision rows); this body reads nothing new: the same five sites, offsets moved, in the agent; B,C,D,F authority retained.;rev3=census-ruling-remote-instance-metrics;basis=builds the metrics loop's owners closure (metricsOwners over the agent's registry, the activator and cgm.Leftover) when an activator exists and hands it to metricsLoop; reads nothing new itself;rev3=census-ruling-edge-asset-cache-3;basis=adds file:Statfs. runAgent keeps its authority (B,C,D,F). The new site is assetcache.Statfs, an exported assetcache.FS interface value (var Statfs FS = statfsFS{}), not a function value and not a call in runAgent: the ready hook passes it to armEdgeAssetCache as the store's filesystem, and armEdgeAssetCache calls its Space method on the configured data directory (dataDir(): $CARLOS_DATA_DIR, else /data), which calls unix.Statfs there (statfsFS.Space, accepted legacy at census-ruling-edge-asset-cache-2). No request-supplied pathname reaches it.;rev3=census-ruling-remote-metrics-nested;basis=main's body (merged origin/main acfa4f80, under main's own census rulings) plus: snapshots the nested layout (snapshotNestedUnits over /sys/fs/cgroup/carlos.slice/carlos-instances.slice) once at start, before the activator, and hands the metrics loop a unitSources struct (stamped units, routeHostNames, that root and the snapshot); reads nothing new itself;rev3=census-ruling-region-ha-p1a;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): wires region HA P1a into the activator: cfg.Record = haRecordFacts(openDeployStore, boxJudge) (the box's lifetime judge this body already builds with newBoxJudge, nil with host claims on; CI fix) and cfg.Self = lease.CurrentSelf; eb.Lifetimes (the process's lifetime index), eb.Registry, eb.StartupSwept (seedSweptAtStart.Load), eb.FilesStore from newProductionFilesStore (now lease.NewFilesStore, rootaws-loaded, a log line on failure) and lease.SetObligationDir(<data>/.ha-owed) (logged on failure; HA acquires then refuse); this body reads nothing new itself, the same five sites; the reads are those units' own (haRecordFacts and lease's SetObligationDir are new rows on this card); merge of origin/main d7ae1d76: main's own later changes to this body are kept as main has them, under main's rulings (census-ruling-remote-instance-metrics: the metricsOwners closure for metricsLoop; census-ruling-edge-asset-cache-3: the +file:Statfs site, assetcache.Statfs handed to the asset ready hook); this branch's change is the same as above;rev3=census-ruling-region-ha-p1b1;basis=region HA P1b-1: builds one termfence.Confirmer (Self from lease.CurrentSelf at each call, EC2 DescribeInstances method only, client from rootaws.LoadDefaultConfig with retries off, built lazily on first use) and sets eb.OwnerTerminated; this body reads nothing new itself, the same six sites;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the startup Sweep literal hands its answer to startupSwept, which logs as before and, only on a clean sweep, marks rootfs admission swept (MarkRootfsSwept); same Sweep call, no read added;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (controller ruling after branch review R1, and Paul's R2 ruling): sets svc.Fleet = fleetWakeFor(os.Getenv, identity, identErr, fleetStore) from the identity it already resolves once and the deployment store the fleet loops already opened, and logs an ERROR naming the identity error when the box is on a fleet with an invalid identity. fleetWakeFor reads CARLOS_REGION and CARLOS_FLEET from the same environment. Read sites unchanged (6). Agent, not root; a platform box is unchanged.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 12: one call more beside armRunsPass, armInteractivePass(svc, reg, rolloutSink, boxJudge), in the same activator Configure hook, handing it the same box judge; fix round 1 (Astra P2, shutdown): after svc.Shutdown(ctx), shutdownInteractive(ctx) ends and joins every interactive session under the same shutdown budget; the worker's own reads are its units' (interactive.go); this body reads nothing new, the same six sites; merge of origin/main 6f1f6ca6: main's svc.Fleet = fleetWakeFor(...) and its invalid-identity ERROR line are kept as main has them (census-ruling-managed-fleets-1b); this branch's change is the same as above; read sites unchanged (6);rev3=census-ruling-fix-set-aside-exdev;basis=set-aside EXDEV fix: one field more on the agent ExecBackend literal, RawInstanceDir: layout.RawInstanceDir (a pure path join: <dataDir>/.instances/<InstanceID(host)>), so the start rule set-aside moves a copy out through the raw directory instead of through the nosymfollow bind; this body reads nothing new, the same six sites;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 3: one more assignment beside eb.FilesStore: eb.EscrowKey = haEscrowKey(os.Getenv("CARLOS_SECRETS_KEY")), the agent's own environment parsed by appconfig.ParsePrivateKey as the moves pass parses it (unset or unparseable: a log line and nil, and HA publication refuses on the box). No path is opened or read, no read site added; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 4: one more goroutine beside configSyncLoop: go escrowLoop(agentCtx, reg, svc), the escrow sweep every 30 s over the same registry and Service. This body reads nothing new itself; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 5: one more call beside eb.EscrowKey: wireRawSecretPages(eb, PageOperator, metricsBoxLabel(os.Getenv, readMachineID())), which sets eb.OnRawSecret to page an operator (alerting.Page through PageOperator, LevelIncident) on its own goroutine with a 20 s timeout; metricsBoxLabel and readMachineID are the reads this body already makes for the moves refusal log; no new read site; the same six sites, offsets moved; B,C,D,F authority retained. Merge of origin/main 90c4d3aa: main's own later changes to this body are kept as main has them, under main's rulings; this branch's change is the same as above. Merge of origin/main 00bf5b8c (fleet set-aside EXDEV fix): main's change to this body is kept as main has it, under its own census ruling; this branch's change is unchanged.;rev3=census-ruling-probe-burst-limit;basis=two more sink wirings beside setAnalyticsSink: setProtectionSink(e.SetProtectionRecordOnly) and setAssetOwnersSource(e.AssetOwners), function values the telemetry pass calls; this body reads nothing new, the same six sites; authority B,C,D,F retained; no new root read or write kind;rev3=census-ruling-region-ha-p1b3a;basis=Arm HA placement exactly once on the existing Service before activatorStart and edges publication, wiring AwakeApps and the PageOperator callback; existing six read sites unchanged, no new root authority.;rev3=census-ruling-stateless-replicas-1;basis=Final review I3: start the concrete coordinator's renewal worker with agent setup; existing closeReplicaCoordinator shutdown cancels and joins it before release. No new read sites or credentials. Merge origin/main c59715e7: retain main's armHAPlacement(svc, PageOperator) wiring beside the existing activator setup; stateless coordinator and shutdown wiring remain. Same read sites; no new root read or credential.;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): in the edge-ready callback, calls act.SetHeldWakeHook(e.HeldWake) when act is non-nil (installing the non-blocking wake callback) and stores e.HeldStreamsForStatus in heldStreamsSource. Wiring of in-memory callbacks only; no read added.;rev3=census-ruling-region-ha-p1b3b-t;basis=Wire Service.SetDutyView to the live edge DutySnapshot in the ready callback. No new read; no new loop or cloud operation. B2 wires the registry as the persistent DutyStore before service startup; no new cloud or filesystem path. B3b: arm one journal-backed termination consumer before service startup using agentCtx and the shared confirmer; expose edge tick and join at edge shutdown. No new direct read sites.;rev3=census-ruling-agent-start-demo-1;basis=Passes the existing registry, data store and hibernation prefix into the demo worker, and the existing instance-control client into the demo before-exec hook. No alternate data store or polling loop. Merge resolution against origin/main 9bd45488 retains main's HA departure controller, lifecycle and duty wiring alongside the demo data store and worker; no read site added by the resolution.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: install closed fixed admission before every launch source, bind activator/backend and edge, wire the real termination Started lifecycle and role reader after the change index; close before cancellation/child shutdown. No new external reads or cloud authority. Fix R1: move bind/lifecycle/edge-option wiring into wireAgentAdmission and worker listing into runWorkerBootPassAfterAdmission. Worker boot waits for admission before listing then uses unchanged bounded wakes and per-host serialization; whole Route read moves to the helper. No new storage, cloud, or root execution authority. Preserve merged main's agent wiring and census basis; the branch removes one whole Route use by moving worker iteration to the helper, with no added read kind.;rev3=census-ruling-stateless-replicas-2;basis=Slice 3b: arms a fleet-only worker using the existing registry, activator, backend and authenticated console transport. Owned worker stops and joins at shutdown. No new bucket reader. merge of origin/main 9b8b2c50: retain HA duty/departure lifecycle, wake-slot and existing agent wiring alongside the replica placement worker; no new read introduced by resolution. merge of origin/main 6be08467: Retain main demo configuration, admission, build and expiry wiring alongside the replica worker; merge-only body change, no additional read. merge of origin/main 7920cccf: Retain main box-role/group admission wiring and boot publication beside the owned replica worker and shutdown; main moves the boot registry List into runWorkerBootPassAfterAdmission, removing its inline whole Route site. No new read introduced by conflict resolution.;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 M3: retain the private snapshot source and cancel/join ownership, but use the replica-health-specific retry loop. It logs its first failure only and retains the existing exponential backoff capped at 30 seconds; unsupported builds return nil. Existing five direct read sites unchanged; no new credentials, bucket reader or app lifecycle action. Fix round 1 Q20: publish Edge.ReplicaSnapshots as a separate in-memory status source, leaving the tenant-visible Upstreams source unchanged. No new external reader or authority.;rev3=census-ruling-region-ha-p3b;basis=Load root-written group marker/configuration, configure signed boot binding and agent receipt completer, wire cancellable admission into departure work and expose cached GroupReaderSnapshot. New indirect boot reads use protected root files; agent-owned receipt controls duplicate initial completion only, never root restart permission. Same five direct sites. Merge 45cebde4 retains the replica health socket lifecycle and setReplicaSource beside GroupReaderSnapshot; no extra read beyond main.;rev3=census-ruling-agent-start-demo-2;basis=agent.go:309-329 opens demo-traffic.db beside the operator-configured registry when a demo domain exists, closes it at shutdown and wires drain-before-purge; :1010-1019 shares the worker and write gate; :1164-1177 installs the fleet identity and closed-until-worker serving callback. One added whole Route pass; the new indirect filesystem/SQL reads are claimed in openDemoTraffic and worker/store units. No request chooses the database pathname.
- `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.;rev3=census-ruling-fleet-alerts-1;basis=the agent (carlos-edge.service, user carlos): the status tick passes os.Geteuid() to alertDeliveryProbe, which fills AlertDelivery.EngineBeat/EngineBeatWhy from engineBeatArmed (the env value and the euid only, no file access, root refused before the path is looked at), and fills Probes.DiskFullETAHours from diskETAProbe(&processDiskTrend, now), a Theil-Sen fit over the metrics loop's in-memory ring of disk readings; the same six sites, no read added, no store request added;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the status tick's Probes gain HeldStreams: heldStreamsState(), which calls the edge's in-memory counters function (nil until the edge is ready). No file, bucket or registry access added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: read the detached in-memory replica snapshot source into Probes.ReplicaCopies on the existing five-minute tick. Existing six direct read sites unchanged. No additional bucket request, changed cadence or app lifecycle action.
+- `internal/host/claimunit.go` `claimUnitContent`: authority, task E1,E3. Basis: rev3=PROPOSED-p3;identity=root claim/adoption controller uid 0;basis=adds write permission for exactly the public retry directory only when the root settings reader has verified a complete census and prepared that directory;rev3=census-ruling-agent-start-demo-1;basis=Demo-only ReadWritePaths for instance data/runtime, staged files and root release lock; ordinary rendering unchanged.;rev3=census-ruling-agent-start-demo-1-followups;basis=In demo box mode, declare StateDirectory=carlos-release/private with mode 0700 so systemd creates root-owned release state before namespace setup and keeps it writable. Existing ReadWritePaths and ordinary/claims rendering stay unchanged. No new read site or caller-controlled path.
- `internal/host/demo_serving.go` `demoWorker.demoHeartbeat`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-agent-start-demo-2;basis=demo_serving.go:72-103 reads crypto/rand at :84 for a connection-local probe and keeps at most four monotonic send times. This Read is randomness, not an app-named file; heartbeat carries the current acknowledgement on the existing stream.
- `internal/host/demo_serving.go` `demoWorker.demoServingAllowed`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-agent-start-demo-2;basis=demo_serving.go:221-235 reads only the supplied local Route fields and locked in-memory control state. Requires an unexpired exact assignment, matching fleet/account/box, no hold and an enabled connected snapshot; no file, bucket or console read.
- `internal/host/seedwiring.go` `wireSeedPlacement`: 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): hands the seed callback the box's lifetime judge (seedBox.Judge); read sites unchanged, offsets moved
-- `internal/host/units/carlos-instance-control.service` `external`: authority, task B3,C,D,E1,J4. Basis: root-input;kept=B3,C,D,E1;scope=protected-decision-only
- `internal/instancectl/server.go` `runWithClaim`: authority, task C,D,G. Basis: Claim instance controller adds held-release RPC dispatch within existing launch/participation execution boundary.;rev3=census-ruling-rootfs-apps-2;basis=takes a RegistryView (HostApp and HostRuntime) for the bare hostApp, and the production Server literal gains HostRuntime, ProbeImage: BuildProbeImage, ProbeImageFile: ProbeImagePath, RootfsProbeOut under /run/carlos-control and DenyEvery: 10s; this body reads nothing new itself; the readers it wires (instanceRegistryHostRuntime, BuildProbeImage, the rootfs probe's output) are decision rows;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 4 and #329 plan 3 Task 5: takes the egress asserter as a parameter, sets it on the production Server literal (Egress) and starts its 30 s Loop beside probeLoop and diskLoop; the literal also names the fixture check ProbeFixturesOK (renamed in plan 2 Task 14). It sets no control drop-in directory: plan 3's ControlDropInDir default (/run/systemd/system.control) was deleted with removeGenControlDropIn in ef38e13b (the P1 EROFS fix), so instance control names systemd's control directory only to read it (TrustedDropinReader). The same four sites (the two exec.CommandContext closures, statfsBytes, the data literal), offsets moved; no read added.;rev3=census-ruling-agent-start-demo-1;basis=Wires root-owned demo config and existing fixed paths into the service.;rev3=census-ruling-region-ha-p3b;basis=Resume root-owned hairpin state before probes/control service work; verify current systemd agent identity and kernel fence/addresses, restore pidfd watch or revoke stale state. Same direct exec/statfs/data sites; indirect inputs are protected root snapshot/state and kernel evidence, never receipt data.
- `internal/instancectl/server.go` `type Server`: 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. Census ruling 292 reclassified this declaration accepted-legacy (J2,J4) for root's per-host ordering of legacy run starts against stops; this ruling kept the row as main classed it. Its own addition is the cmd start's poll and wait bounds and its per-host lock map: field declarations only;rev3=census-ruling-rootfs-apps-2;basis=new fields: HostRuntime, ProbeImage, ProbeImageFile, RootfsProbeOut, DenyEvery, the deny's lastDeny and denyMu, the rootfs probe's report and lock, the jit reload counters and imageDigests; genStarting counts binary generation starts per unit; rootfsLocksMu and rootfsLocks, one lock entry per rootfs unit name being started or removed right now, held by a start from its layout through systemctl start and its own cleanup and by a removal from its proof through the raw removal, a removal refusing while it is taken, a waiting start giving up when its request ends, an entry dropped with its last holder or waiter (fixes E6, L2, L3); rootfsProvenHook, a test hook run between the proof and the raw removal; field declarations only; no read added;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 and #329 plan 3 Task 5: the declaration gains sliceLocks (one mutex per host slice, taken by /size and /parent) and Egress (the asserter every start path calls), and its comment names the egress allow (plan 3's ControlDropInDir field was deleted in ef38e13b, the P1 EROFS fix); the same one site, the Statfs field, offset moved; no read added.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 6: comments only: the one-shot pacing fields cover /cmd and /tty, and cmdLocks is now keyed by (role, host) (oneShotKey, PF-7) so a session's start never waits behind a command's; field declarations unchanged; the same one site, no read added;rev3=census-ruling-agent-start-demo-1;basis=Adds fixed demo configuration, registry views, derived runtime root, synchronization and purge guard.;rev3=census-ruling-region-ha-p3b;basis=Add hairpinActive boolean alongside lastDeny under existing deny synchronization. Field declaration only; existing Statfs selector unchanged, no new read or externally supplied authority.
- `internal/provision/seed.go` `SeedAbortBecause`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-seeded-instances;basis=the console (cmd/console serve under console.service, user carlos-console): the record transition the --from door aborts a seed with, recording its reason;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 9 (carried from Task 3's review): after the open-run refusal, an import's abort is also refused while the record carries a session marker (rec.Interactive), with an InteractiveOpenError; a --from seed's abort is unchanged; it only refuses more, no read added
@@ -111,6 +111,6 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- reads `internal/registry/registry.go:Registry.Fingerprint`: +file:QueryRow; keeps legacy, task accepted-legacy
- reads `internal/registry/registry.go:Registry.SnapshotFingerprint`: +file:QueryRow; keeps legacy, task accepted-legacy
-Seal: `1b5ef39b210f3c7db69e589da8a467ac4d4a4f218e1d97fb4706cd277a27eae1` → `80bedac4a9d4db35759c598b9196d2adfe0d04c063fff9d7b872a0f2d4358789`.
+Seal: `1b5ef39b210f3c7db69e589da8a467ac4d4a4f218e1d97fb4706cd277a27eae1` → `d349724aa21f06869c18ee043c3f1d5b39b40cd6f8f588cfb02877f9049b8944`.
Overlay: `internal/provision/testdata/plan14-root-reads-agent-start-demo-3.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/internal/provision/testdata/plan14-root-reads-agent-start-demo-3.tsv b/internal/provision/testdata/plan14-root-reads-agent-start-demo-3.tsv
index bbeee060f..38651631b 100644
--- a/internal/provision/testdata/plan14-root-reads-agent-start-demo-3.tsv
+++ b/internal/provision/testdata/plan14-root-reads-agent-start-demo-3.tsv
@@ -7,14 +7,14 @@
@legacy 2844351e1dd8ec211341180f2f80e980dbacce8c2cc58cb3e9129db4a5936406 internal/edge/demo.go Edge.redirectDemoRequest legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-2;basis=demo.go:87-102 answers a plain-HTTP demo request with a 308 to the same host and path over HTTPS, with demo policy headers, only after the loaded Route, alias and serving checks pass; reads only the already-loaded Route (whole value), never dispatches, counts or opens anything.;rev3=census-ruling-agent-start-demo-3;basis=Serve signed moved notices at the demo redirect entry before redirecting; retain exact-host validation. Census read-site delta: unchanged (3). whole:Route@255,whole:Route@297,whole:Route@391 0c73d3995a12de11bbb57e2f3e53797be436c8a676fec06a9b7f1cb3564d4c06
@legacy a52744a88feda22b4985ee3fb8589ed64f1cc1544ec9d08e89e6e4495a231493 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-tunnel-websockets;basis=The ArmTunnel arm now records its tenancy (Account, App, Tunnel) copied from the row t that Reload already lists; no new registry query, no file read. Also the reload mutex taken first and held to return, five nil-in-production test hooks, and the sweepUpgrades call after the swap, which reads only the map Reload has just built (spec 7, Tasks 3 and 4).;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.;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): after the new upstream map is published, closes the held streams of any host the new map no longer holds (absent, not hibernating, route no longer Hibernate). Reads the freshly built in-memory map m and the in-memory held set; no read added beyond the rebuild Reload already does.;rev3=census-ruling-devbox-identity;basis=#486 A: only the devbox edge created by newDevboxEdge (carlos-devbox service user, not root) enables the new proxy hooks. Saves the existing DispatchArm result and reads t.Socket from an already-listed route when that arm is ArmSocket, passing it to configureDevboxProxy for per-request expected-owner validation and visitor-header rewriting. Adds one registry:Socket field site; no new registry query or file open, and ordinary fleet/agent edges leave the hook disabled. Final fix wave: its devbox-only outgoing-header/trailer hooks now also strip case-insensitive underscore/hyphen aliases through stripVisitorHeaders; no new read.;rev3=census-ruling-agent-start-demo-1;basis=Checks demo route eligibility and filters the final folded map using the existing registry listing; no new registry or store query. Merge resolution against origin/main 9bd45488 retains main's devbox proxy hooks (reading the existing route Socket) alongside demo filtering; no additional registry query.;rev3=census-ruling-stateless-replicas-3;basis=Task 3: dispatch admitted stateless set rows through replicaProxy before legacy fleetBoxOf. Read Host and supplied whole Route values from the existing listing to build and filter the set probe inputs after all registry reads and alias folds; synchronize before map publication. Tenancy comes only from FleetArmVerdict. No new external read; no set row reaches legacy fallback, local addresses, provision.Health or hibernation on the hub. Fix round 1 M2: comment and whitespace correction only; read sites and routing behavior unchanged.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1175-1177 passes an already-listed demo Route to demoProxy; :1358 passes existing Route and RouteAlias slices to demoRefusalNames; :1401 publishes refusal names before upstreams. Adds whole-value uses only, no new registry query; retained names refuse fallback after filtering.;rev3=census-ruling-agent-start-demo-3;basis=Refresh the verified moved snapshot from registry on reload before route-independent serving. Census read-site delta: unchanged (82). registry:Account@9931,registry:Alias@24925,registry:Alias@25012,registry:Alias@25592,registry:App@9947,registry:Health@13672,registry:Health@13798,registry:Hibernate@29521,registry:Host@11258,registry:Host@11315,registry:Host@11351,registry:Host@12094,registry:Host@14281,registry:Host@14376,registry:Host@14664,registry:Host@14690,registry:Host@14742,registry:Host@19387,registry:Host@21294,registry:Host@21602,registry:Host@21629,registry:Host@22444,registry:Host@23016,registry:Host@25346,registry:Host@25395,registry:Host@28061,registry:Host@28086,registry:Host@28103,registry:Host@4416,registry:Host@4785,registry:Host@4839,registry:Host@4889,registry:Host@5909,registry:Host@6098,registry:Kind@17723,registry:Kind@17745,registry:Prefix@22991,registry:Socket@12158,registry:Socket@17602,registry:Socket@21610,registry:Status@4710,registry:Target@23003,registry:Tunnel@9791,registry:Tunnel@9962,registry:Version@17704,registry:Version@17806,whole:RegionalDomain@26234,whole:Route@11406,whole:Route@11514,whole:Route@12214,whole:Route@14815,whole:Route@14879,whole:Route@14930,whole:Route@17512,whole:Route@21662,whole:Route@21669,whole:Route@21765,whole:Route@22879,whole:Route@24047,whole:Route@26226,whole:Route@26282,whole:Route@26322,whole:Route@27967,whole:Route@28001,whole:Route@28089,whole:Route@28168,whole:Route@29523,whole:Route@313,whole:Route@3436,whole:Route@3494,whole:Route@4424,whole:Route@5938,whole:Route@6201,whole:Route@6334,whole:Route@6357,whole:Route@6372,whole:Route@7218,whole:Route@7326,whole:Route@9853,whole:RouteAlias@24896,whole:RouteAlias@26290,whole:RoutePath@22422 250ecda5c7d48090da2bf9469771442c814f75876e43798b1d4f3aafd318eb00
@legacy 08ba7649d34caf979bd470f5f7352b49037bdd734a87dd1e3fe44a5459e75ac5 internal/host/agent.go fastTick legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=PROPOSED-s3-change-index;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=observes the change index before any pass (observeIndex), runs the backstop's requested full pass and a scoped pass for moved app scopes (indexTick), and arms the canary pointer gate on the sweep (canaryPointerGate) only on a tick whose own index observation succeeded; read site unchanged, offset moved;rev3=census-ruling-stateless-replicas-1;basis=Call coordinator Tick on the existing tick before convergence; client renews held terms only at the pinned interval. Existing registry read unchanged. Final review I3: signal the owned renewal worker instead of waiting for its sequential console HTTP calls. Existing convergence and record read unchanged.;rev3=census-ruling-region-ha-p3a;basis=Run the optional desired-role reader on the existing tick after observing the armed change index; no new root path or timer, nil reader is unchanged.;rev3=census-ruling-stateless-replicas-2;basis=Slice 3b: signals the owned replica worker on the existing tick; coalesced asynchronous execution, no timer or bucket scan added. merge of origin/main 7920cccf: Retain main box-role reader pass on the existing tick alongside the replica worker signal; merge-only body change, unchanged read sites.;rev3=census-ruling-agent-start-demo-3;basis=Refresh moved notices through the shared watch before normal convergence; no new per-box poll. Census read-site delta: unchanged (1). registry:Host@5023 53b33e077aff24cdb16cbee451a8df4ee3d7cd862da4f39cbed9c52ac4dec2a1
-@legacy 2be566344c870e071feff72a200172ee948fc2ba92927798e64ce15150737669 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-fleet-alerts-1;basis=the agent (carlos-edge.service, user carlos): the status tick passes os.Geteuid() to alertDeliveryProbe, which fills AlertDelivery.EngineBeat/EngineBeatWhy from engineBeatArmed (the env value and the euid only, no file access, root refused before the path is looked at), and fills Probes.DiskFullETAHours from diskETAProbe(&processDiskTrend, now), a Theil-Sen fit over the metrics loop's in-memory ring of disk readings; the same six sites, no read added, no store request added;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the status tick's Probes gain HeldStreams: heldStreamsState(), which calls the edge's in-memory counters function (nil until the edge is ready). No file, bucket or registry access added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: read the detached in-memory replica snapshot source into Probes.ReplicaCopies on the existing five-minute tick. Existing six direct read sites unchanged. No additional bucket request, changed cadence or app lifecycle action.;rev3=census-ruling-agent-start-demo-3;basis=Report moved capability only when the serving edge and shared reader report readiness. Census read-site delta: unchanged (6). whole:Route@10047,whole:Route@11861,whole:Route@12142,whole:Route@6489,whole:Route@6516,whole:Route@7824 8b061e009bfe6b270877050cd92b34885445e4a8a6566d107224c747aa6ad6fb
+@legacy e531337b0be5da419c2ac1590fe608e6f6bafc026ca0a4242243e979c7879a38 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-fleet-alerts-1;basis=the agent (carlos-edge.service, user carlos): the status tick passes os.Geteuid() to alertDeliveryProbe, which fills AlertDelivery.EngineBeat/EngineBeatWhy from engineBeatArmed (the env value and the euid only, no file access, root refused before the path is looked at), and fills Probes.DiskFullETAHours from diskETAProbe(&processDiskTrend, now), a Theil-Sen fit over the metrics loop's in-memory ring of disk readings; the same six sites, no read added, no store request added;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the status tick's Probes gain HeldStreams: heldStreamsState(), which calls the edge's in-memory counters function (nil until the edge is ready). No file, bucket or registry access added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: read the detached in-memory replica snapshot source into Probes.ReplicaCopies on the existing five-minute tick. Existing six direct read sites unchanged. No additional bucket request, changed cadence or app lifecycle action.;rev3=census-ruling-agent-start-demo-3;basis=Report moved capability only when the serving edge reports readiness; report claim-seed support only with CARLOS_DEMO_CLAIM=1. Reads the explicit capability flag from the process environment; no new filesystem or registry read. whole:Route@10141,whole:Route@11955,whole:Route@12236,whole:Route@6583,whole:Route@6610,whole:Route@7918 ffc2c848825a59de990f9ead1f291ce80ae10bd67772df940721b02722ada73c
@legacy a0b9e12b89199d21e951fe0e78422e114bbad331d7578c6674bdd28262a1d4e0 internal/host/demo_serving.go demoWorker.demoHeartbeat legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-2;basis=demo_serving.go:72-103 reads crypto/rand at :84 for a connection-local probe and keeps at most four monotonic send times. This Read is randomness, not an app-named file; heartbeat carries the current acknowledgement on the existing stream.;rev3=census-ruling-agent-start-demo-3;basis=Advertise claim export and moved capability beside existing serving probes. Census read-site delta: unchanged (1). file:Read@378 33d6ce8b67bc2dd496685c51a61ff3f7937af7ea2324c39172190772688ccd4c
@legacy 166b495fcd82919e66c5ecd035a9bdd5603fd675bd6053693e7fc41a20baceeb internal/host/demo_serving.go demoWorker.demoServingAllowed legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-2;basis=demo_serving.go:221-235 reads only the supplied local Route fields and locked in-memory control state. Requires an unexpired exact assignment, matching fleet/account/box, no hold and an enabled connected snapshot; no file, bucket or console read.;rev3=census-ruling-agent-start-demo-3;basis=Refuse traffic under the reversible operation-owned claim hold without resetting lifetime counters. Census read-site delta: unchanged (10). registry:Account@671,registry:DemoExpiresAt@541,registry:DemoID@316,registry:DemoLifetime@337,registry:FleetBox@589,registry:FleetBox@613,registry:HoldOp@702,registry:Host@360,registry:Region@634,registry:Status@738 25685b39f721eb381c233fa4c8580621e0c39da3c5e423cf1049d80884679445
@legacy 6a8b49fc52093c20f8e5057fef9d6b96753e8afb48fde1a49bcac3ddce3501bf internal/host/seedwiring.go wireSeedPlacement legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): hands the seed callback the box's lifetime judge (seedBox.Judge); read sites unchanged, offsets moved;rev3=census-ruling-agent-start-demo-3;basis=Install the pre-wake demo-claim seed admission check beside existing seed placement hooks. Census read-site delta: unchanged (1). registry:DBPath@1179 f34229b23254f13d1bb1987100fd5ee7c432953629219224157d871c62d03d74
@legacy f8825b35564d3c2b752a58c6b3776e3bd06f2f483b7b30aba74ce055a07fcc27 internal/instancectl/server.go type Server 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. Census ruling 292 reclassified this declaration accepted-legacy (J2,J4) for root's per-host ordering of legacy run starts against stops; this ruling kept the row as main classed it. Its own addition is the cmd start's poll and wait bounds and its per-host lock map: field declarations only;rev3=census-ruling-rootfs-apps-2;basis=new fields: HostRuntime, ProbeImage, ProbeImageFile, RootfsProbeOut, DenyEvery, the deny's lastDeny and denyMu, the rootfs probe's report and lock, the jit reload counters and imageDigests; genStarting counts binary generation starts per unit; rootfsLocksMu and rootfsLocks, one lock entry per rootfs unit name being started or removed right now, held by a start from its layout through systemctl start and its own cleanup and by a removal from its proof through the raw removal, a removal refusing while it is taken, a waiting start giving up when its request ends, an entry dropped with its last holder or waiter (fixes E6, L2, L3); rootfsProvenHook, a test hook run between the proof and the raw removal; field declarations only; no read added;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 and #329 plan 3 Task 5: the declaration gains sliceLocks (one mutex per host slice, taken by /size and /parent) and Egress (the asserter every start path calls), and its comment names the egress allow (plan 3's ControlDropInDir field was deleted in ef38e13b, the P1 EROFS fix); the same one site, the Statfs field, offset moved; no read added.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 6: comments only: the one-shot pacing fields cover /cmd and /tty, and cmdLocks is now keyed by (role, host) (oneShotKey, PF-7) so a session's start never waits behind a command's; field declarations unchanged; the same one site, no read added;rev3=census-ruling-agent-start-demo-1;basis=Adds fixed demo configuration, registry views, derived runtime root, synchronization and purge guard.;rev3=census-ruling-region-ha-p3b;basis=Add hairpinActive boolean alongside lastDeny under existing deny synchronization. Field declaration only; existing Statfs selector unchanged, no new read or externally supplied authority.;rev3=census-ruling-agent-start-demo-3;basis=Retain the snapshot supervisor in instance-control state; no new request-selected path. Census read-site delta: unchanged (1). file:Statfs@3967 df45498a9c737dd3a4ffa31d7e847136b8789c7226ab4e5fecc94e94810fa778
@legacy 99df5c0f97d140a542725b446a2deb6b4d630da7f6707bd89c29822f9e112cbc internal/provision/seed.go SeedAbortBecause legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the console (cmd/console serve under console.service, user carlos-console): the record transition the --from door aborts a seed with, recording its reason;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 9 (carried from Task 3's review): after the open-run refusal, an import's abort is also refused while the record carries a session marker (rec.Interactive), with an InteractiveOpenError; a --from seed's abort is unchanged; it only refuses more, no read added;rev3=census-ruling-agent-start-demo-3;basis=Allow demo-claim seeds to enter abort from pre-commit placement while forbidding rollback after commitment. Census read-site delta: unchanged (1). file:Open@532 fa75b057aa58168c7b949266d245bbe15867e4c5cf57f46f11aa7caa5570f45e
@legacy e85b09a2e6b96c2e7b0f595ae91af43e24f2df70c7c3c091e8e30a77ef1225ac internal/provision/seedreconcile.go journalPass 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 the reconcile pass: hands the box's judge to journalRecord; read sites unchanged, offsets moved;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 10 fix round 2: a new parameter, the hosts given neither; such a host's journal is neither finished nor rolled back and stays handled (+registry:Host x2, +registry:SeedID: the host check and log line). Writes less, never more.;rev3=census-ruling-agent-start-demo-3;basis=Exclude demo-claim seeds from the legacy import journal; their operation-bound cleanup has its own path. Census read-site delta: unchanged (38). registry:Host@1900,registry:Host@2137,registry:Host@2664,registry:Host@3039,registry:Host@3544,registry:Host@3738,registry:Host@3783,registry:Host@3874,registry:Host@4001,registry:Host@4035,registry:Host@4140,registry:Host@4333,registry:Host@542,registry:Host@567,registry:Host@649,registry:Host@804,registry:Host@976,registry:RecordKey@2558,registry:RecordKey@2686,registry:SeedID@1908,registry:SeedID@2145,registry:SeedID@2672,registry:SeedID@3047,registry:SeedID@3190,registry:SeedID@3552,registry:SeedID@3791,registry:SeedID@4009,registry:SeedID@4341,registry:SeedID@812,registry:SeedID@984,registry:State@1918,registry:State@2767,registry:State@3057,whole:ImportJournal@1989,whole:ImportJournal@2880,whole:ImportJournal@3235,whole:ImportJournal@3394,whole:ImportJournal@523 61c3ba65d7fbe5c1f9a129c2320033d11f2a07a24e8e97a93321ace338fb9dd3
-@legacy 8ad3c3b939754330d74997515d53fe6ae43dd8e702e8768c9ba5cc3d077b28ef 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-fleet-alerts-1;basis=copies Probes.DiskFullETAHours into BoxMetrics.DiskFullETAHours (json disk_full_eta_hours, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-edge-held-streams;basis=copies Probes.HeldStreams into BoxMetrics.HeldStreams (json held_streams, omitempty, additive) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: carry already-supplied ReplicaCopies into a separate optional private BoxMetrics replica_copies field; allow copy evidence alone to create the metrics block. Upstreams retains address probes only. Existing 28 Route read sites unchanged; no filesystem, bucket, console or CLI read.;rev3=census-ruling-agent-start-demo-3;basis=Report claim-seed protocol capability and runtime moved readiness in the existing heartbeat. Census read-site delta: unchanged (28). 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 fd9576f328466b332c0c29956a26982f1901ac9535a9c10a4afc68254c52c124
+@legacy 8b4976dd0aba321582874ad00c246bee140aa0a77cfbe8258389300adce44d29 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-fleet-alerts-1;basis=copies Probes.DiskFullETAHours into BoxMetrics.DiskFullETAHours (json disk_full_eta_hours, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-edge-held-streams;basis=copies Probes.HeldStreams into BoxMetrics.HeldStreams (json held_streams, omitempty, additive) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: carry already-supplied ReplicaCopies into a separate optional private BoxMetrics replica_copies field; allow copy evidence alone to create the metrics block. Upstreams retains address probes only. Existing 28 Route read sites unchanged; no filesystem, bucket, console or CLI read.;rev3=census-ruling-agent-start-demo-3;basis=Report claim-seed protocol capability only when explicitly configured and runtime moved readiness only when armed; dormant status keeps its original JSON shape. Census read-site delta: unchanged (28). 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 1779efc469011092d2d35205e98e8e6646f3a0ae5ee4ea5d80042e31e40781fb
@legacy 5a748429b655c889442137d659a24b85b7de35a49380df01cb7af1ac9372651c internal/democlaim/snapshot.go checkWALBounds legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=As an unprivileged helper, open the private WAL copy, check its exact format and frame bounds before SQLite touches it. Census read-site delta: +file:OpenFile, +file:ReadAt ×2, +file:Stat. file:OpenFile@73,file:ReadAt@1184,file:ReadAt@1318,file:Stat@220 8f5bceac8c306ceb2578dcc269799c10b36a107d4bda0b8a97d572e881807149
@legacy 86998b2aee1ab2f47b5dd728d37a3399c18f1f88b6f0569ebb5d816a7d09b231 internal/democlaim/snapshot.go contextReader.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=Bound copied snapshot reads by context cancellation without buffering database-sized memory. Census read-site delta: +file:Read ×2. file:Read@117,file:Read@23 da694e5b41af304edf39818df03ab712f6abff009ab21f89df6a578449378182
@legacy e59d44f43fc8bcac4114ab3ebe7c7b111cee2528c3f085c0e197b59a0e06e2fc internal/democlaim/snapshot.go copySnapshotFile legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=Create private snapshot output exclusively and copy bounded input descriptors; source remains unchanged. Census read-site delta: +file:OpenFile. file:OpenFile@106 1041d26db82be2210ac18bced3787e4d765e32478e71c12f095eba74d9c0dfe9
@@ -52,9 +52,9 @@
@legacy 63edf56ad13718b84901dd5ea5bb53aa6047a1cb6c877f25060901a989e26f3a internal/provision/demo_claim_seed.go demoClaimSeedRow legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=Bind fresh destination route identity, placement and import gate to the exact demo-claim seed; reject unsupported/foreign route shapes. Census read-site delta: +registry:Account, +registry:Addr, +registry:Addrs, +registry:App, +registry:Backing, +registry:HA, +registry:Host, +registry:Incarnation, +registry:Kind, +registry:Provisioned, +registry:Runtime, +registry:SeedSource, +registry:ServingSeq, +registry:Tunnel, +registry:Unit. registry:Account@266,registry:Addr@544,registry:Addrs@562,registry:App@296,registry:Backing@503,registry:HA@475,registry:Host@242,registry:Incarnation@365,registry:Kind@318,registry:Provisioned@344,registry:Runtime@436,registry:SeedSource@93,registry:ServingSeq@403,registry:Tunnel@524,registry:Unit@485 658fa026cfdc8860dff3ba919c22041f03ee2240f7b17d53c502cb403d4a5558
@legacy 4ee6a365652ef3698a71ddabc2a1276eee769d1486c450d3e8d8b7e1edd24327 internal/provision/demo_claim_seed.go removeDemoClaimOrphan legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=Re-read exact route, seed and hold identity before cleaning a recordless destination; refuse mismatches and stop before removing data. Census read-site delta: +registry:Account, +registry:App, +registry:DBPath, +registry:HoldOp, +registry:Host ×4, +registry:ImportGate, +registry:Incarnation, +registry:SeedSource ×2, +whole:Route ×7. registry:Account@1255,registry:App@1268,registry:DBPath@1634,registry:HoldOp@374,registry:Host@1277,registry:Host@818,registry:Host@852,registry:Host@975,registry:ImportGate@605,registry:Incarnation@1466,registry:SeedSource@182,registry:SeedSource@525,whole:Route@1028,whole:Route@1072,whole:Route@1083,whole:Route@1733,whole:Route@1816,whole:Route@449,whole:Route@520 4c0c87b95d5b76724f472fd514ad0ab503c9ef7ea2fa2484f1dcf373454b2c73
@legacy b028632c54c01ef1c93b603c3ba8f277b8b149d164f5bde637d2d9166ef197ec internal/provision/demo_claim_seed.go validateDemoClaimSeed legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=Open and check the bounded seed snapshot through the configured data store; verify its hash before fresh placement. Census read-site delta: +file:Open. file:Open@839 2f1709b1cf04c2a4af0b4bee1c3b61cbcd6ab3eb904711a12ad04387075109df
-@legacy 569503a2aae7054127c4fe22f3fe74ea81080130eb1e2ada1a760129d006373a internal/registry/demo_claim_seed.go Registry.CompareSeedGate legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=CAS the seed gate and row state only if immutable destination identity, incarnation and serving sequence still match. Census read-site delta: +file:Exec, +registry:Account, +registry:App, +registry:CreatedAt, +registry:Host, +registry:ImportGate, +registry:Incarnation, +registry:SeedSource, +registry:ServingSeq, +registry:remote, +registry:sql, +whole:remoteClient. file:Exec@144,registry:Account@398,registry:App@414,registry:CreatedAt@503,registry:Host@385,registry:ImportGate@484,registry:Incarnation@426,registry:SeedSource@465,registry:ServingSeq@446,registry:remote@82,registry:sql@144,whole:remoteClient@84 87ffae07728433042fb0475c3eb5a17c0c22c6c7c9a406d65a9df4e9f9c67f36
+@legacy ed9cba3613870f0c0b9f3c28994943ce7317e429a568b21e0a9da80dfce6ceb8 internal/registry/demo_claim_seed.go Registry.CompareSeedGate legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=CAS the seed gate and row state only if immutable destination identity, incarnation and serving sequence still match; retain kind='instance' and add the registry-wide explicit kind <> 'forward' fence. Census read-site delta: +file:Exec, +registry:Account, +registry:App, +registry:CreatedAt, +registry:Host, +registry:ImportGate, +registry:Incarnation, +registry:SeedSource, +registry:ServingSeq, +registry:remote, +registry:sql, +whole:remoteClient. file:Exec@144,registry:Account@420,registry:App@436,registry:CreatedAt@525,registry:Host@407,registry:ImportGate@506,registry:Incarnation@448,registry:SeedSource@487,registry:ServingSeq@468,registry:remote@82,registry:sql@144,whole:remoteClient@84 a74b2b25a87d848b0112b4f8594e22289908003a20d1d560e6ba0baa3944fec6
@legacy 0ec0e6a1806944a8bac72ff547290ea194922b0b51f76466778d3c488b484589 internal/registry/demo_claim_seed.go Registry.CreateSeedRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=Create a fresh provisioned gated seed route without adopting or overwriting existing route state. Census read-site delta: +registry:Kind, +registry:Provisioned, +registry:SeedSource, +registry:remote, +whole:Route, +whole:remoteClient. registry:Kind@109,registry:Provisioned@137,registry:SeedSource@157,registry:remote@59,whole:Route@222,whole:remoteClient@61 67ef22cd0b5b33f696e102443c7ddd02bb4038c5857515916b4d42ba52ea2c28
-@legacy d1ae7592b0577a85f7a98c1be7d06d1fb2b46baf667c29ac29876471fce3c926 internal/registry/demo_claim_seed.go Registry.DeleteSeedRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=CAS-delete only the exact stopped demo-claim seed row with matching identity and gate. Census read-site delta: +file:Exec, +registry:Account, +registry:App, +registry:CreatedAt, +registry:Host, +registry:ImportGate, +registry:Incarnation, +registry:SeedSource, +registry:ServingSeq, +registry:remote, +registry:sql, +whole:remoteClient. file:Exec@138,registry:Account@350,registry:App@366,registry:CreatedAt@455,registry:Host@337,registry:ImportGate@436,registry:Incarnation@378,registry:SeedSource@417,registry:ServingSeq@398,registry:remote@69,registry:sql@138,whole:remoteClient@71 901807d42f6e289c82ce98ca5322288b07cb39d75e452a448bf2846ca9a76817
+@legacy f9b9b41eaee91aa768188ef27af85dd86bf9d84b815a452699e89e83adab540c internal/registry/demo_claim_seed.go Registry.DeleteSeedRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=CAS-delete only the exact stopped demo-claim seed row with matching identity and gate; retain kind='instance' and add the registry-wide explicit kind <> 'forward' fence. Census read-site delta: +file:Exec, +registry:Account, +registry:App, +registry:CreatedAt, +registry:Host, +registry:ImportGate, +registry:Incarnation, +registry:SeedSource, +registry:ServingSeq, +registry:remote, +registry:sql, +whole:remoteClient. file:Exec@138,registry:Account@372,registry:App@388,registry:CreatedAt@477,registry:Host@359,registry:ImportGate@458,registry:Incarnation@400,registry:SeedSource@439,registry:ServingSeq@420,registry:remote@69,registry:sql@138,whole:remoteClient@71 f92d1b3a3769fba2fcf7752f31dcc991c1dc1792e11e5541431f88f1495d606d
@legacy 901665792345fa33c46767c19c93e2e54e040e38f0b23d25683ae1f319004a30 internal/registry/registry.go Registry.CompareDemoMoved legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=CAS-store signed moved notice bytes and increment a local generation so edge reload observes replacement. Census read-site delta: +file:Exec ×2, +registry:remote, +registry:sql ×2, +whole:remoteClient. file:Exec@333,file:Exec@456,registry:remote@66,registry:sql@333,registry:sql@456,whole:remoteClient@68 2f4ab599fcc3fccfcbb80355f1782df5b15ddfa0817cf13cca7324fb2db183b1
@legacy 9ed0978e898af164b9744939a55aa14b0507d5abfed1d9c33829e49f0cb7e258 internal/registry/registry.go Registry.DemoMoved legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=Read the locally cached signed moved snapshot; consumers verify its signature and bounded contents. Census read-site delta: +file:QueryRow, +registry:remote, +registry:sql, +whole:remoteClient. file:QueryRow@176,registry:remote@53,registry:sql@176,whole:remoteClient@55 d697a59855242ad0933c9ae9eb37245bff6f63237ef5786de6ce130c45f07758
@legacy 0d123f1a6f94c4250bf7ec54882ffa428a3c3ead06085f79d05348c3605ccdf7 internal/activator/activator.go Service.doWakeOnce legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: The former doWake body, not deleted logic: refresh/admit/fence/layout checks remain. Select and verify the actual staged identity before serving Acquire; use canonical mode to call doStatelessWake. Keep SQLite acquire/restore/seed/marker/replicate only in the stateful arm, with the post-acquisition selection recheck and existing cleanup proofs. Fix 3a round 1 I1/I3a: admit config directly only for stateless and mark runtime ownership refusals. Stateful Acquire/Restore precede selection and pending publication; canonical mode inspection is separate, replan precedes settlement. Fix round 2 N2/N3: retain the original route/pin projection for post-lease declaration checks; reuse the unplanned capture so a live-link repoint cannot change the selected build. Stateful capture and changed-copy errors remain start failures after Acquire/Restore. A failed preliminary verification supplies no cached mode observation. No new file path or database authority. Final review C1/R26: unprojected stateful wakes capture and materialize the live link only after Acquire and Restore. Retain original route/generation/pin stateless evidence on the context across fallback, so missing stateless evidence cannot take stateful recovery inference. Known good stateful identity skips canonical declaration lookup. Existing pre-exec verification remains. R28 final fix 2: carry whether this wake has a plan in attempt-local context; no new read here; route, generation and pin stateless projection remains intact.;rev3=census-ruling-agent-start-demo-1;basis=Reads IsDemo and demo admission/capability state; chooses local lease retention, skips seed upload and sidecar selection. Existing stop and under-lease ordering retained.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: refuse tenant starts under the existing service lock before main's demoWakeRefusal, and recheck before backend Acquire. Retain main's demo refusal and all lease, restore and serialization checks. Two added whole Route uses feed the in-memory admission predicate; no new filesystem or store read.;rev3=census-ruling-stateless-replicas-2;basis=P14: after verified storage-mode selection, before clearing the projected hint or acquiring a database lease, a set row still on the stateful branch returns ErrFenced. Reads the existing route FleetBoxes field only. Verified stateless wakes take their existing branch; legacy rows remain unchanged. No new file, registry query or bucket read. merge of origin/main 9b8b2c50: retain wake-slot and HA duty logic alongside the replica stateful-start refusal; no gate removed. merge of origin/main 6be08467: Keep main demo lease, local database and KeepLocal path; never equate replication-disabled demos with stateless generations. Merge-only body/read-site change. merge of origin/main 7920cccf: Retain main tenant admission and startOwnedLocked gates alongside the replica stateful-start refusal; whole Route passed to main admission checks, no new path or store read.;rev3=census-ruling-agent-start-demo-3;basis=Route claim seeds through seed restore/admission; do not fall back to empty boot or ordinary import behavior. Census read-site delta: +registry:SeedSource, +whole:Route. registry:DBPath@2071,registry:DBPath@2087,registry:DBPath@2214,registry:DBPath@2225,registry:FleetBoxes@12064,registry:GoodVersion@18173,registry:Host@1900,registry:Host@1975,registry:Host@2053,registry:Host@2205,registry:Host@2539,registry:Host@4556,registry:Host@6813,registry:Host@949,registry:Replication@16800,registry:Replication@16929,registry:Replication@16948,registry:Replication@17029,registry:Replication@33102,registry:Seed@21868,registry:SeedSource@34189,registry:Socket@2100,registry:Socket@2116,registry:Socket@2239,registry:Socket@2250,registry:Stateless@10124,registry:Stateless@10410,registry:Stateless@11782,registry:Stateless@12112,registry:Stateless@20582,registry:Stateless@9667,registry:Stateless@9758,whole:Route@10196,whole:Route@10355,whole:Route@10734,whole:Route@10832,whole:Route@10923,whole:Route@11055,whole:Route@11178,whole:Route@11232,whole:Route@11504,whole:Route@11680,whole:Route@11684,whole:Route@12471,whole:Route@12582,whole:Route@12883,whole:Route@142,whole:Route@14344,whole:Route@15021,whole:Route@15902,whole:Route@16780,whole:Route@17031,whole:Route@18376,whole:Route@18967,whole:Route@19132,whole:Route@1998,whole:Route@20068,whole:Route@20864,whole:Route@21139,whole:Route@21969,whole:Route@22040,whole:Route@2434,whole:Route@2439,whole:Route@24452,whole:Route@2493,whole:Route@2499,whole:Route@2565,whole:Route@2573,whole:Route@2629,whole:Route@26310,whole:Route@26956,whole:Route@28263,whole:Route@28417,whole:Route@28916,whole:Route@28986,whole:Route@29573,whole:Route@30658,whole:Route@31089,whole:Route@31297,whole:Route@31351,whole:Route@32280,whole:Route@32465,whole:Route@33198,whole:Route@33269,whole:Route@333,whole:Route@33681,whole:Route@33730,whole:Route@34124,whole:Route@34306,whole:Route@35558,whole:Route@35653,whole:Route@3591,whole:Route@36494,whole:Route@3685,whole:Route@3752,whole:Route@4446,whole:Route@6182,whole:Route@6441,whole:Route@6703,whole:Route@6708,whole:Route@6765,whole:Route@6771,whole:Route@6840,whole:Route@6848,whole:Route@7164,whole:Route@7225,whole:Route@729,whole:Route@7323,whole:Route@8288,whole:Route@9271,whole:Route@934,whole:Route@9495,whole:Route@9559,whole:Route@9603 2dee1f0740b6a4ada05e48f0ec4e606697c0ed1ba21a883799bb1bf3518a76d7
@@ -77,16 +77,16 @@ internal/edge/edge.go Edge.Reload legacy accepted-legacy accepted-legacy;rev3=J1
internal/host/agent.go fastConvergeLoop authority B3 rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): every pass context carries the box's lifetime judge (provision.WithLifetimes) and the reconcile config is boxProvisionConfig's; read sites unchanged, offsets moved; B3 authority retained;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 12: its pass config is now BoxProvisionConfig(reg, os.Getenv, judge, configure) (BoxProvisionConfig replaces boxProvisionConfig: the hub predicate hubArmed and, on the hub, ReconcileConfig.FleetOwners from hubFleetOwners); a call, no read site; read sites unchanged (2); B3 authority retained.;rev3=census-ruling-stateless-replicas-1;basis=Final review I3: wire the coordinator's nonblocking SignalTick to the existing fast tick. No new timer, polling read or authority.;rev3=census-ruling-region-ha-p3b;basis=Bind systemLeg to the existing cached reader fold and handle a nil leg on groups; names-2 rollback gate runs before artifact/request/marker work. Agent-memory evidence only, no new direct or cloud read and no autonomous group update.;rev3=census-ruling-agent-start-demo-3;basis=Attach the moved reader to the existing shared change watch and advertise that reader as armed. Census read-site delta: unchanged (2). whole:Route@7860,whole:Route@8423 d219071f9f0be4258e46b5b22f6826cf350d794e7f170f3f32322a89bc4739f3
internal/host/agent.go fastTick legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=PROPOSED-s3-change-index;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=observes the change index before any pass (observeIndex), runs the backstop's requested full pass and a scoped pass for moved app scopes (indexTick), and arms the canary pointer gate on the sweep (canaryPointerGate) only on a tick whose own index observation succeeded; read site unchanged, offset moved;rev3=census-ruling-stateless-replicas-1;basis=Call coordinator Tick on the existing tick before convergence; client renews held terms only at the pinned interval. Existing registry read unchanged. Final review I3: signal the owned renewal worker instead of waiting for its sequential console HTTP calls. Existing convergence and record read unchanged.;rev3=census-ruling-region-ha-p3a;basis=Run the optional desired-role reader on the existing tick after observing the armed change index; no new root path or timer, nil reader is unchanged.;rev3=census-ruling-stateless-replicas-2;basis=Slice 3b: signals the owned replica worker on the existing tick; coalesced asynchronous execution, no timer or bucket scan added. merge of origin/main 7920cccf: Retain main box-role reader pass on the existing tick alongside the replica worker signal; merge-only body change, unchanged read sites.;rev3=census-ruling-agent-start-demo-3;basis=Refresh moved notices through the shared watch before normal convergence; no new per-box poll. Census read-site delta: unchanged (1). registry:Host@5023 53b33e077aff24cdb16cbee451a8df4ee3d7cd862da4f39cbed9c52ac4dec2a1
internal/host/agent.go runAgent authority B,C,D,F rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): builds the box's lifetime judge once (newBoxJudge, nil with host claims on) and hands it to the seed placement, the moves and runs workers and every loop it starts; read sites unchanged, offsets moved; B,C,D,F authority retained; self-serve moves 1 Task 8: derives the box's lifetimes switch from the judge once (lifetimes := boxJudge != nil) and hands it to the edges file loop; read sites unchanged, offsets moved;rev3=census-ruling-plans-4d-lapse;basis=arms two more plans hooks from the same snapshot: e.SetPlanDisabledFor(planDisabledFor) beside SetPlanGovernedFor, and svc.SetDisabledFor(planDisabledRoute) beside SetMaxRunFor (plans 4d); the reads live in those units (plans-4d-units decision); read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 9b81d97b (with main's plan rate ceiling, edge request records, regional box names, self-serve moves plan 1, plans 4d-1 lapse and its other later changes under main's own census rulings) plus the rootfs placement wiring in the activator start: an agentRootfs built from eb.NestedOK, CARLOS_DEPLOYMENT_SINGLE_TENANT, CARLOS_POOLS, the claim flag, swapArming's answer, the control client's /ready/rootfs and, on a fleet box whose identity resolved, fleetOwnerCheck over the deploy store main already opens for the fleet label (fleetStore), then arm and armedRootfs.Store; this body reads nothing new itself; the closures it wires read later, at a rootfs wake and each status tick: GET /ready/rootfs over the control socket, NestedOK's checks, and release.FleetOwnerKey for the judged row's own account and this box's fleet from the deploy store;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Tasks 7 and 11, #329 plan 3 Task 7 and plan 1 Task 7's policy cache: the control client is built once and handed to eb.Control, to the status tick (egressStatus) and to a new egressNudgeLoop goroutine; armSizeSource(svc, "/sys/fs/cgroup") after the activator Service; armPolicyCache() after armChangeIndex; statusLoop takes egressStatus. The reads are those units' own (decision rows); this body reads nothing new: the same five sites, offsets moved, in the agent; B,C,D,F authority retained.;rev3=census-ruling-remote-instance-metrics;basis=builds the metrics loop's owners closure (metricsOwners over the agent's registry, the activator and cgm.Leftover) when an activator exists and hands it to metricsLoop; reads nothing new itself;rev3=census-ruling-edge-asset-cache-3;basis=adds file:Statfs. runAgent keeps its authority (B,C,D,F). The new site is assetcache.Statfs, an exported assetcache.FS interface value (var Statfs FS = statfsFS{}), not a function value and not a call in runAgent: the ready hook passes it to armEdgeAssetCache as the store's filesystem, and armEdgeAssetCache calls its Space method on the configured data directory (dataDir(): $CARLOS_DATA_DIR, else /data), which calls unix.Statfs there (statfsFS.Space, accepted legacy at census-ruling-edge-asset-cache-2). No request-supplied pathname reaches it.;rev3=census-ruling-remote-metrics-nested;basis=main's body (merged origin/main acfa4f80, under main's own census rulings) plus: snapshots the nested layout (snapshotNestedUnits over /sys/fs/cgroup/carlos.slice/carlos-instances.slice) once at start, before the activator, and hands the metrics loop a unitSources struct (stamped units, routeHostNames, that root and the snapshot); reads nothing new itself;rev3=census-ruling-region-ha-p1a;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): wires region HA P1a into the activator: cfg.Record = haRecordFacts(openDeployStore, boxJudge) (the box's lifetime judge this body already builds with newBoxJudge, nil with host claims on; CI fix) and cfg.Self = lease.CurrentSelf; eb.Lifetimes (the process's lifetime index), eb.Registry, eb.StartupSwept (seedSweptAtStart.Load), eb.FilesStore from newProductionFilesStore (now lease.NewFilesStore, rootaws-loaded, a log line on failure) and lease.SetObligationDir(<data>/.ha-owed) (logged on failure; HA acquires then refuse); this body reads nothing new itself, the same five sites; the reads are those units' own (haRecordFacts and lease's SetObligationDir are new rows on this card); merge of origin/main d7ae1d76: main's own later changes to this body are kept as main has them, under main's rulings (census-ruling-remote-instance-metrics: the metricsOwners closure for metricsLoop; census-ruling-edge-asset-cache-3: the +file:Statfs site, assetcache.Statfs handed to the asset ready hook); this branch's change is the same as above;rev3=census-ruling-region-ha-p1b1;basis=region HA P1b-1: builds one termfence.Confirmer (Self from lease.CurrentSelf at each call, EC2 DescribeInstances method only, client from rootaws.LoadDefaultConfig with retries off, built lazily on first use) and sets eb.OwnerTerminated; this body reads nothing new itself, the same six sites;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the startup Sweep literal hands its answer to startupSwept, which logs as before and, only on a clean sweep, marks rootfs admission swept (MarkRootfsSwept); same Sweep call, no read added;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (controller ruling after branch review R1, and Paul's R2 ruling): sets svc.Fleet = fleetWakeFor(os.Getenv, identity, identErr, fleetStore) from the identity it already resolves once and the deployment store the fleet loops already opened, and logs an ERROR naming the identity error when the box is on a fleet with an invalid identity. fleetWakeFor reads CARLOS_REGION and CARLOS_FLEET from the same environment. Read sites unchanged (6). Agent, not root; a platform box is unchanged.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 12: one call more beside armRunsPass, armInteractivePass(svc, reg, rolloutSink, boxJudge), in the same activator Configure hook, handing it the same box judge; fix round 1 (Astra P2, shutdown): after svc.Shutdown(ctx), shutdownInteractive(ctx) ends and joins every interactive session under the same shutdown budget; the worker's own reads are its units' (interactive.go); this body reads nothing new, the same six sites; merge of origin/main 6f1f6ca6: main's svc.Fleet = fleetWakeFor(...) and its invalid-identity ERROR line are kept as main has them (census-ruling-managed-fleets-1b); this branch's change is the same as above; read sites unchanged (6);rev3=census-ruling-fix-set-aside-exdev;basis=set-aside EXDEV fix: one field more on the agent ExecBackend literal, RawInstanceDir: layout.RawInstanceDir (a pure path join: <dataDir>/.instances/<InstanceID(host)>), so the start rule set-aside moves a copy out through the raw directory instead of through the nosymfollow bind; this body reads nothing new, the same six sites;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 3: one more assignment beside eb.FilesStore: eb.EscrowKey = haEscrowKey(os.Getenv("CARLOS_SECRETS_KEY")), the agent's own environment parsed by appconfig.ParsePrivateKey as the moves pass parses it (unset or unparseable: a log line and nil, and HA publication refuses on the box). No path is opened or read, no read site added; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 4: one more goroutine beside configSyncLoop: go escrowLoop(agentCtx, reg, svc), the escrow sweep every 30 s over the same registry and Service. This body reads nothing new itself; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 5: one more call beside eb.EscrowKey: wireRawSecretPages(eb, PageOperator, metricsBoxLabel(os.Getenv, readMachineID())), which sets eb.OnRawSecret to page an operator (alerting.Page through PageOperator, LevelIncident) on its own goroutine with a 20 s timeout; metricsBoxLabel and readMachineID are the reads this body already makes for the moves refusal log; no new read site; the same six sites, offsets moved; B,C,D,F authority retained. Merge of origin/main 90c4d3aa: main's own later changes to this body are kept as main has them, under main's rulings; this branch's change is the same as above. Merge of origin/main 00bf5b8c (fleet set-aside EXDEV fix): main's change to this body is kept as main has it, under its own census ruling; this branch's change is unchanged.;rev3=census-ruling-probe-burst-limit;basis=two more sink wirings beside setAnalyticsSink: setProtectionSink(e.SetProtectionRecordOnly) and setAssetOwnersSource(e.AssetOwners), function values the telemetry pass calls; this body reads nothing new, the same six sites; authority B,C,D,F retained; no new root read or write kind;rev3=census-ruling-region-ha-p1b3a;basis=Arm HA placement exactly once on the existing Service before activatorStart and edges publication, wiring AwakeApps and the PageOperator callback; existing six read sites unchanged, no new root authority.;rev3=census-ruling-stateless-replicas-1;basis=Final review I3: start the concrete coordinator's renewal worker with agent setup; existing closeReplicaCoordinator shutdown cancels and joins it before release. No new read sites or credentials. Merge origin/main c59715e7: retain main's armHAPlacement(svc, PageOperator) wiring beside the existing activator setup; stateless coordinator and shutdown wiring remain. Same read sites; no new root read or credential.;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): in the edge-ready callback, calls act.SetHeldWakeHook(e.HeldWake) when act is non-nil (installing the non-blocking wake callback) and stores e.HeldStreamsForStatus in heldStreamsSource. Wiring of in-memory callbacks only; no read added.;rev3=census-ruling-region-ha-p1b3b-t;basis=Wire Service.SetDutyView to the live edge DutySnapshot in the ready callback. No new read; no new loop or cloud operation. B2 wires the registry as the persistent DutyStore before service startup; no new cloud or filesystem path. B3b: arm one journal-backed termination consumer before service startup using agentCtx and the shared confirmer; expose edge tick and join at edge shutdown. No new direct read sites.;rev3=census-ruling-agent-start-demo-1;basis=Passes the existing registry, data store and hibernation prefix into the demo worker, and the existing instance-control client into the demo before-exec hook. No alternate data store or polling loop. Merge resolution against origin/main 9bd45488 retains main's HA departure controller, lifecycle and duty wiring alongside the demo data store and worker; no read site added by the resolution.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: install closed fixed admission before every launch source, bind activator/backend and edge, wire the real termination Started lifecycle and role reader after the change index; close before cancellation/child shutdown. No new external reads or cloud authority. Fix R1: move bind/lifecycle/edge-option wiring into wireAgentAdmission and worker listing into runWorkerBootPassAfterAdmission. Worker boot waits for admission before listing then uses unchanged bounded wakes and per-host serialization; whole Route read moves to the helper. No new storage, cloud, or root execution authority. Preserve merged main's agent wiring and census basis; the branch removes one whole Route use by moving worker iteration to the helper, with no added read kind.;rev3=census-ruling-stateless-replicas-2;basis=Slice 3b: arms a fleet-only worker using the existing registry, activator, backend and authenticated console transport. Owned worker stops and joins at shutdown. No new bucket reader. merge of origin/main 9b8b2c50: retain HA duty/departure lifecycle, wake-slot and existing agent wiring alongside the replica placement worker; no new read introduced by resolution. merge of origin/main 6be08467: Retain main demo configuration, admission, build and expiry wiring alongside the replica worker; merge-only body change, no additional read. merge of origin/main 7920cccf: Retain main box-role/group admission wiring and boot publication beside the owned replica worker and shutdown; main moves the boot registry List into runWorkerBootPassAfterAdmission, removing its inline whole Route site. No new read introduced by conflict resolution.;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 M3: retain the private snapshot source and cancel/join ownership, but use the replica-health-specific retry loop. It logs its first failure only and retains the existing exponential backoff capped at 30 seconds; unsupported builds return nil. Existing five direct read sites unchanged; no new credentials, bucket reader or app lifecycle action. Fix round 1 Q20: publish Edge.ReplicaSnapshots as a separate in-memory status source, leaving the tenant-visible Upstreams source unchanged. No new external reader or authority.;rev3=census-ruling-region-ha-p3b;basis=Load root-written group marker/configuration, configure signed boot binding and agent receipt completer, wire cancellable admission into departure work and expose cached GroupReaderSnapshot. New indirect boot reads use protected root files; agent-owned receipt controls duplicate initial completion only, never root restart permission. Same five direct sites. Merge 45cebde4 retains the replica health socket lifecycle and setReplicaSource beside GroupReaderSnapshot; no extra read beyond main.;rev3=census-ruling-agent-start-demo-2;basis=agent.go:309-329 opens demo-traffic.db beside the operator-configured registry when a demo domain exists, closes it at shutdown and wires drain-before-purge; :1010-1019 shares the worker and write gate; :1164-1177 installs the fleet identity and closed-until-worker serving callback. One added whole Route pass; the new indirect filesystem/SQL reads are claimed in openDemoTraffic and worker/store units. No request chooses the database pathname.;rev3=census-ruling-agent-start-demo-3;basis=Wire the claim activator and root snapshot client into the demo worker; pass moved readiness to status reporting. Census read-site delta: unchanged (6). file:Exec@19019,file:Open@1707,file:Statfs@49628,registry:App@12731,whole:Route@12723,whole:Route@45205 0926881d370fbfe31555c939bcc4d184c434bdf323f3b1f43d3d9729f1ef2b2d
-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-fleet-alerts-1;basis=the agent (carlos-edge.service, user carlos): the status tick passes os.Geteuid() to alertDeliveryProbe, which fills AlertDelivery.EngineBeat/EngineBeatWhy from engineBeatArmed (the env value and the euid only, no file access, root refused before the path is looked at), and fills Probes.DiskFullETAHours from diskETAProbe(&processDiskTrend, now), a Theil-Sen fit over the metrics loop's in-memory ring of disk readings; the same six sites, no read added, no store request added;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the status tick's Probes gain HeldStreams: heldStreamsState(), which calls the edge's in-memory counters function (nil until the edge is ready). No file, bucket or registry access added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: read the detached in-memory replica snapshot source into Probes.ReplicaCopies on the existing five-minute tick. Existing six direct read sites unchanged. No additional bucket request, changed cadence or app lifecycle action.;rev3=census-ruling-agent-start-demo-3;basis=Report moved capability only when the serving edge and shared reader report readiness. Census read-site delta: unchanged (6). whole:Route@10047,whole:Route@11861,whole:Route@12142,whole:Route@6489,whole:Route@6516,whole:Route@7824 8b061e009bfe6b270877050cd92b34885445e4a8a6566d107224c747aa6ad6fb
+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-fleet-alerts-1;basis=the agent (carlos-edge.service, user carlos): the status tick passes os.Geteuid() to alertDeliveryProbe, which fills AlertDelivery.EngineBeat/EngineBeatWhy from engineBeatArmed (the env value and the euid only, no file access, root refused before the path is looked at), and fills Probes.DiskFullETAHours from diskETAProbe(&processDiskTrend, now), a Theil-Sen fit over the metrics loop's in-memory ring of disk readings; the same six sites, no read added, no store request added;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the status tick's Probes gain HeldStreams: heldStreamsState(), which calls the edge's in-memory counters function (nil until the edge is ready). No file, bucket or registry access added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: read the detached in-memory replica snapshot source into Probes.ReplicaCopies on the existing five-minute tick. Existing six direct read sites unchanged. No additional bucket request, changed cadence or app lifecycle action.;rev3=census-ruling-agent-start-demo-3;basis=Report moved capability only when the serving edge reports readiness; report claim-seed support only with CARLOS_DEMO_CLAIM=1. Reads the explicit capability flag from the process environment; no new filesystem or registry read. whole:Route@10141,whole:Route@11955,whole:Route@12236,whole:Route@6583,whole:Route@6610,whole:Route@7918 ffc2c848825a59de990f9ead1f291ce80ae10bd67772df940721b02722ada73c
+internal/host/claimunit.go claimUnitContent authority E1,E3 rev3=PROPOSED-p3;identity=root claim/adoption controller uid 0;basis=adds write permission for exactly the public retry directory only when the root settings reader has verified a complete census and prepared that directory;rev3=census-ruling-agent-start-demo-1;basis=Demo-only ReadWritePaths for instance data/runtime, staged files and root release lock; ordinary rendering unchanged.;rev3=census-ruling-agent-start-demo-1-followups;basis=In demo box mode, declare StateDirectory=carlos-release/private with mode 0700 so systemd creates root-owned release state before namespace setup and keeps it writable. Existing ReadWritePaths and ordinary/claims rendering stay unchanged. No new read site or caller-controlled path.;rev3=census-ruling-agent-start-demo-3;basis=Declare /var/lib/carlos-demo-snapshots as root-owned StateDirectory with mode 0700 only for configured demo boxes, including recovery with admission off. Ordinary claims units retain their original directories. The shared unit template is unchanged from main; no file read is added. data-literal@1127 b17feb76b76ea0d8687d3f049f0fef93f1e4a30a8a639d10c16752a0da58e59b
internal/host/demo_serving.go demoWorker.demoHeartbeat legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-2;basis=demo_serving.go:72-103 reads crypto/rand at :84 for a connection-local probe and keeps at most four monotonic send times. This Read is randomness, not an app-named file; heartbeat carries the current acknowledgement on the existing stream.;rev3=census-ruling-agent-start-demo-3;basis=Advertise claim export and moved capability beside existing serving probes. Census read-site delta: unchanged (1). file:Read@378 33d6ce8b67bc2dd496685c51a61ff3f7937af7ea2324c39172190772688ccd4c
internal/host/demo_serving.go demoWorker.demoServingAllowed legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-2;basis=demo_serving.go:221-235 reads only the supplied local Route fields and locked in-memory control state. Requires an unexpired exact assignment, matching fleet/account/box, no hold and an enabled connected snapshot; no file, bucket or console read.;rev3=census-ruling-agent-start-demo-3;basis=Refuse traffic under the reversible operation-owned claim hold without resetting lifetime counters. Census read-site delta: unchanged (10). registry:Account@671,registry:DemoExpiresAt@541,registry:DemoID@316,registry:DemoLifetime@337,registry:FleetBox@589,registry:FleetBox@613,registry:HoldOp@702,registry:Host@360,registry:Region@634,registry:Status@738 25685b39f721eb381c233fa4c8580621e0c39da3c5e423cf1049d80884679445
internal/host/seedwiring.go wireSeedPlacement legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): hands the seed callback the box's lifetime judge (seedBox.Judge); read sites unchanged, offsets moved;rev3=census-ruling-agent-start-demo-3;basis=Install the pre-wake demo-claim seed admission check beside existing seed placement hooks. Census read-site delta: unchanged (1). registry:DBPath@1179 f34229b23254f13d1bb1987100fd5ee7c432953629219224157d871c62d03d74
-internal/host/units/carlos-instance-control.service external authority B3,C,D,E1,J4 root-input;kept=B3,C,D,E1;scope=protected-decision-only;rev3=census-ruling-agent-start-demo-3;basis=Permit the root supervisor to create isolated snapshot mounts while retaining the control service boundary. Census read-site delta: unchanged (1). file:external@0 e56c2204a716d04cec861f2468c5a4b3c3c8d7cac5161310d1b2ac3aa7bac133
internal/instancectl/server.go runWithClaim authority C,D,G Claim instance controller adds held-release RPC dispatch within existing launch/participation execution boundary.;rev3=census-ruling-rootfs-apps-2;basis=takes a RegistryView (HostApp and HostRuntime) for the bare hostApp, and the production Server literal gains HostRuntime, ProbeImage: BuildProbeImage, ProbeImageFile: ProbeImagePath, RootfsProbeOut under /run/carlos-control and DenyEvery: 10s; this body reads nothing new itself; the readers it wires (instanceRegistryHostRuntime, BuildProbeImage, the rootfs probe's output) are decision rows;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Task 4 and #329 plan 3 Task 5: takes the egress asserter as a parameter, sets it on the production Server literal (Egress) and starts its 30 s Loop beside probeLoop and diskLoop; the literal also names the fixture check ProbeFixturesOK (renamed in plan 2 Task 14). It sets no control drop-in directory: plan 3's ControlDropInDir default (/run/systemd/system.control) was deleted with removeGenControlDropIn in ef38e13b (the P1 EROFS fix), so instance control names systemd's control directory only to read it (TrustedDropinReader). The same four sites (the two exec.CommandContext closures, statfsBytes, the data literal), offsets moved; no read added.;rev3=census-ruling-agent-start-demo-1;basis=Wires root-owned demo config and existing fixed paths into the service.;rev3=census-ruling-region-ha-p3b;basis=Resume root-owned hairpin state before probes/control service work; verify current systemd agent identity and kernel fence/addresses, restore pidfd watch or revoke stale state. Same direct exec/statfs/data sites; indirect inputs are protected root snapshot/state and kernel evidence, never receipt data.;rev3=census-ruling-agent-start-demo-3;basis=Construct the demo snapshot supervisor for configured demo boxes; startup cleanup gates builder readiness. Census read-site delta: unchanged (4). data-literal@2201,file:CommandContext@1132,file:CommandContext@954,file:Statfs@2222 5b73745caa36737aeedcff34d0e5cce6f3cdf2c1b4ba45dec001c512f34a3160
internal/instancectl/server.go type Server 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. Census ruling 292 reclassified this declaration accepted-legacy (J2,J4) for root's per-host ordering of legacy run starts against stops; this ruling kept the row as main classed it. Its own addition is the cmd start's poll and wait bounds and its per-host lock map: field declarations only;rev3=census-ruling-rootfs-apps-2;basis=new fields: HostRuntime, ProbeImage, ProbeImageFile, RootfsProbeOut, DenyEvery, the deny's lastDeny and denyMu, the rootfs probe's report and lock, the jit reload counters and imageDigests; genStarting counts binary generation starts per unit; rootfsLocksMu and rootfsLocks, one lock entry per rootfs unit name being started or removed right now, held by a start from its layout through systemctl start and its own cleanup and by a removal from its proof through the raw removal, a removal refusing while it is taken, a waiting start giving up when its request ends, an entry dropped with its last holder or waiter (fixes E6, L2, L3); rootfsProvenHook, a test hook run between the proof and the raw removal; field declarations only; no read added;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 and #329 plan 3 Task 5: the declaration gains sliceLocks (one mutex per host slice, taken by /size and /parent) and Egress (the asserter every start path calls), and its comment names the egress allow (plan 3's ControlDropInDir field was deleted in ef38e13b, the P1 EROFS fix); the same one site, the Statfs field, offset moved; no read added.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 6: comments only: the one-shot pacing fields cover /cmd and /tty, and cmdLocks is now keyed by (role, host) (oneShotKey, PF-7) so a session's start never waits behind a command's; field declarations unchanged; the same one site, no read added;rev3=census-ruling-agent-start-demo-1;basis=Adds fixed demo configuration, registry views, derived runtime root, synchronization and purge guard.;rev3=census-ruling-region-ha-p3b;basis=Add hairpinActive boolean alongside lastDeny under existing deny synchronization. Field declaration only; existing Statfs selector unchanged, no new read or externally supplied authority.;rev3=census-ruling-agent-start-demo-3;basis=Retain the snapshot supervisor in instance-control state; no new request-selected path. Census read-site delta: unchanged (1). file:Statfs@3967 df45498a9c737dd3a4ffa31d7e847136b8789c7226ab4e5fecc94e94810fa778
internal/provision/seed.go SeedAbortBecause legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the console (cmd/console serve under console.service, user carlos-console): the record transition the --from door aborts a seed with, recording its reason;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 9 (carried from Task 3's review): after the open-run refusal, an import's abort is also refused while the record carries a session marker (rec.Interactive), with an InteractiveOpenError; a --from seed's abort is unchanged; it only refuses more, no read added;rev3=census-ruling-agent-start-demo-3;basis=Allow demo-claim seeds to enter abort from pre-commit placement while forbidding rollback after commitment. Census read-site delta: unchanged (1). file:Open@532 fa75b057aa58168c7b949266d245bbe15867e4c5cf57f46f11aa7caa5570f45e
internal/provision/seedreconcile.go journalPass 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 the reconcile pass: hands the box's judge to journalRecord; read sites unchanged, offsets moved;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 10 fix round 2: a new parameter, the hosts given neither; such a host's journal is neither finished nor rolled back and stays handled (+registry:Host x2, +registry:SeedID: the host check and log line). Writes less, never more.;rev3=census-ruling-agent-start-demo-3;basis=Exclude demo-claim seeds from the legacy import journal; their operation-bound cleanup has its own path. Census read-site delta: unchanged (38). registry:Host@1900,registry:Host@2137,registry:Host@2664,registry:Host@3039,registry:Host@3544,registry:Host@3738,registry:Host@3783,registry:Host@3874,registry:Host@4001,registry:Host@4035,registry:Host@4140,registry:Host@4333,registry:Host@542,registry:Host@567,registry:Host@649,registry:Host@804,registry:Host@976,registry:RecordKey@2558,registry:RecordKey@2686,registry:SeedID@1908,registry:SeedID@2145,registry:SeedID@2672,registry:SeedID@3047,registry:SeedID@3190,registry:SeedID@3552,registry:SeedID@3791,registry:SeedID@4009,registry:SeedID@4341,registry:SeedID@812,registry:SeedID@984,registry:State@1918,registry:State@2767,registry:State@3057,whole:ImportJournal@1989,whole:ImportJournal@2880,whole:ImportJournal@3235,whole:ImportJournal@3394,whole:ImportJournal@523 61c3ba65d7fbe5c1f9a129c2320033d11f2a07a24e8e97a93321ace338fb9dd3
-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-fleet-alerts-1;basis=copies Probes.DiskFullETAHours into BoxMetrics.DiskFullETAHours (json disk_full_eta_hours, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-edge-held-streams;basis=copies Probes.HeldStreams into BoxMetrics.HeldStreams (json held_streams, omitempty, additive) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: carry already-supplied ReplicaCopies into a separate optional private BoxMetrics replica_copies field; allow copy evidence alone to create the metrics block. Upstreams retains address probes only. Existing 28 Route read sites unchanged; no filesystem, bucket, console or CLI read.;rev3=census-ruling-agent-start-demo-3;basis=Report claim-seed protocol capability and runtime moved readiness in the existing heartbeat. Census read-site delta: unchanged (28). 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 fd9576f328466b332c0c29956a26982f1901ac9535a9c10a4afc68254c52c124
+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-fleet-alerts-1;basis=copies Probes.DiskFullETAHours into BoxMetrics.DiskFullETAHours (json disk_full_eta_hours, omitempty; private, like Layout) and counts it in the condition that builds Metrics; the same 28 sites, no read added;rev3=census-ruling-edge-held-streams;basis=copies Probes.HeldStreams into BoxMetrics.HeldStreams (json held_streams, omitempty, additive) and counts it in the condition that builds Metrics; the same 28 sites, no read added.;rev3=census-ruling-stateless-replicas-3;basis=Fix round 1 Q20: carry already-supplied ReplicaCopies into a separate optional private BoxMetrics replica_copies field; allow copy evidence alone to create the metrics block. Upstreams retains address probes only. Existing 28 Route read sites unchanged; no filesystem, bucket, console or CLI read.;rev3=census-ruling-agent-start-demo-3;basis=Report claim-seed protocol capability only when explicitly configured and runtime moved readiness only when armed; dormant status keeps its original JSON shape. Census read-site delta: unchanged (28). 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 1779efc469011092d2d35205e98e8e6646f3a0ae5ee4ea5d80042e31e40781fb
internal/democlaim/snapshot.go checkWALBounds legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=As an unprivileged helper, open the private WAL copy, check its exact format and frame bounds before SQLite touches it. Census read-site delta: +file:OpenFile, +file:ReadAt ×2, +file:Stat. file:OpenFile@73,file:ReadAt@1184,file:ReadAt@1318,file:Stat@220 8f5bceac8c306ceb2578dcc269799c10b36a107d4bda0b8a97d572e881807149
internal/democlaim/snapshot.go contextReader.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=Bound copied snapshot reads by context cancellation without buffering database-sized memory. Census read-site delta: +file:Read ×2. file:Read@117,file:Read@23 da694e5b41af304edf39818df03ab712f6abff009ab21f89df6a578449378182
internal/democlaim/snapshot.go copySnapshotFile legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=Create private snapshot output exclusively and copy bounded input descriptors; source remains unchanged. Census read-site delta: +file:OpenFile. file:OpenFile@106 1041d26db82be2210ac18bced3787e4d765e32478e71c12f095eba74d9c0dfe9
@@ -124,9 +124,9 @@ internal/provision/demo_claim_seed.go abortDemoClaimSeed legacy accepted-legacy
internal/provision/demo_claim_seed.go demoClaimSeedRow legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=Bind fresh destination route identity, placement and import gate to the exact demo-claim seed; reject unsupported/foreign route shapes. Census read-site delta: +registry:Account, +registry:Addr, +registry:Addrs, +registry:App, +registry:Backing, +registry:HA, +registry:Host, +registry:Incarnation, +registry:Kind, +registry:Provisioned, +registry:Runtime, +registry:SeedSource, +registry:ServingSeq, +registry:Tunnel, +registry:Unit. registry:Account@266,registry:Addr@544,registry:Addrs@562,registry:App@296,registry:Backing@503,registry:HA@475,registry:Host@242,registry:Incarnation@365,registry:Kind@318,registry:Provisioned@344,registry:Runtime@436,registry:SeedSource@93,registry:ServingSeq@403,registry:Tunnel@524,registry:Unit@485 658fa026cfdc8860dff3ba919c22041f03ee2240f7b17d53c502cb403d4a5558
internal/provision/demo_claim_seed.go removeDemoClaimOrphan legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=Re-read exact route, seed and hold identity before cleaning a recordless destination; refuse mismatches and stop before removing data. Census read-site delta: +registry:Account, +registry:App, +registry:DBPath, +registry:HoldOp, +registry:Host ×4, +registry:ImportGate, +registry:Incarnation, +registry:SeedSource ×2, +whole:Route ×7. registry:Account@1255,registry:App@1268,registry:DBPath@1634,registry:HoldOp@374,registry:Host@1277,registry:Host@818,registry:Host@852,registry:Host@975,registry:ImportGate@605,registry:Incarnation@1466,registry:SeedSource@182,registry:SeedSource@525,whole:Route@1028,whole:Route@1072,whole:Route@1083,whole:Route@1733,whole:Route@1816,whole:Route@449,whole:Route@520 4c0c87b95d5b76724f472fd514ad0ab503c9ef7ea2fa2484f1dcf373454b2c73
internal/provision/demo_claim_seed.go validateDemoClaimSeed legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=Open and check the bounded seed snapshot through the configured data store; verify its hash before fresh placement. Census read-site delta: +file:Open. file:Open@839 2f1709b1cf04c2a4af0b4bee1c3b61cbcd6ab3eb904711a12ad04387075109df
-internal/registry/demo_claim_seed.go Registry.CompareSeedGate legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=CAS the seed gate and row state only if immutable destination identity, incarnation and serving sequence still match. Census read-site delta: +file:Exec, +registry:Account, +registry:App, +registry:CreatedAt, +registry:Host, +registry:ImportGate, +registry:Incarnation, +registry:SeedSource, +registry:ServingSeq, +registry:remote, +registry:sql, +whole:remoteClient. file:Exec@144,registry:Account@398,registry:App@414,registry:CreatedAt@503,registry:Host@385,registry:ImportGate@484,registry:Incarnation@426,registry:SeedSource@465,registry:ServingSeq@446,registry:remote@82,registry:sql@144,whole:remoteClient@84 87ffae07728433042fb0475c3eb5a17c0c22c6c7c9a406d65a9df4e9f9c67f36
+internal/registry/demo_claim_seed.go Registry.CompareSeedGate legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=CAS the seed gate and row state only if immutable destination identity, incarnation and serving sequence still match; retain kind='instance' and add the registry-wide explicit kind <> 'forward' fence. Census read-site delta: +file:Exec, +registry:Account, +registry:App, +registry:CreatedAt, +registry:Host, +registry:ImportGate, +registry:Incarnation, +registry:SeedSource, +registry:ServingSeq, +registry:remote, +registry:sql, +whole:remoteClient. file:Exec@144,registry:Account@420,registry:App@436,registry:CreatedAt@525,registry:Host@407,registry:ImportGate@506,registry:Incarnation@448,registry:SeedSource@487,registry:ServingSeq@468,registry:remote@82,registry:sql@144,whole:remoteClient@84 a74b2b25a87d848b0112b4f8594e22289908003a20d1d560e6ba0baa3944fec6
internal/registry/demo_claim_seed.go Registry.CreateSeedRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=Create a fresh provisioned gated seed route without adopting or overwriting existing route state. Census read-site delta: +registry:Kind, +registry:Provisioned, +registry:SeedSource, +registry:remote, +whole:Route, +whole:remoteClient. registry:Kind@109,registry:Provisioned@137,registry:SeedSource@157,registry:remote@59,whole:Route@222,whole:remoteClient@61 67ef22cd0b5b33f696e102443c7ddd02bb4038c5857515916b4d42ba52ea2c28
-internal/registry/demo_claim_seed.go Registry.DeleteSeedRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=CAS-delete only the exact stopped demo-claim seed row with matching identity and gate. Census read-site delta: +file:Exec, +registry:Account, +registry:App, +registry:CreatedAt, +registry:Host, +registry:ImportGate, +registry:Incarnation, +registry:SeedSource, +registry:ServingSeq, +registry:remote, +registry:sql, +whole:remoteClient. file:Exec@138,registry:Account@350,registry:App@366,registry:CreatedAt@455,registry:Host@337,registry:ImportGate@436,registry:Incarnation@378,registry:SeedSource@417,registry:ServingSeq@398,registry:remote@69,registry:sql@138,whole:remoteClient@71 901807d42f6e289c82ce98ca5322288b07cb39d75e452a448bf2846ca9a76817
+internal/registry/demo_claim_seed.go Registry.DeleteSeedRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=CAS-delete only the exact stopped demo-claim seed row with matching identity and gate; retain kind='instance' and add the registry-wide explicit kind <> 'forward' fence. Census read-site delta: +file:Exec, +registry:Account, +registry:App, +registry:CreatedAt, +registry:Host, +registry:ImportGate, +registry:Incarnation, +registry:SeedSource, +registry:ServingSeq, +registry:remote, +registry:sql, +whole:remoteClient. file:Exec@138,registry:Account@372,registry:App@388,registry:CreatedAt@477,registry:Host@359,registry:ImportGate@458,registry:Incarnation@400,registry:SeedSource@439,registry:ServingSeq@420,registry:remote@69,registry:sql@138,whole:remoteClient@71 f92d1b3a3769fba2fcf7752f31dcc991c1dc1792e11e5541431f88f1495d606d
internal/registry/registry.go Registry.CompareDemoMoved legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=CAS-store signed moved notice bytes and increment a local generation so edge reload observes replacement. Census read-site delta: +file:Exec ×2, +registry:remote, +registry:sql ×2, +whole:remoteClient. file:Exec@333,file:Exec@456,registry:remote@66,registry:sql@333,registry:sql@456,whole:remoteClient@68 2f4ab599fcc3fccfcbb80355f1782df5b15ddfa0817cf13cca7324fb2db183b1
internal/registry/registry.go Registry.DemoMoved legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-3;basis=Read the locally cached signed moved snapshot; consumers verify its signature and bounded contents. Census read-site delta: +file:QueryRow, +registry:remote, +registry:sql, +whole:remoteClient. file:QueryRow@176,registry:remote@53,registry:sql@176,whole:remoteClient@55 d697a59855242ad0933c9ae9eb37245bff6f63237ef5786de6ce130c45f07758
internal/activator/activator.go Service.doWakeOnce legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: The former doWake body, not deleted logic: refresh/admit/fence/layout checks remain. Select and verify the actual staged identity before serving Acquire; use canonical mode to call doStatelessWake. Keep SQLite acquire/restore/seed/marker/replicate only in the stateful arm, with the post-acquisition selection recheck and existing cleanup proofs. Fix 3a round 1 I1/I3a: admit config directly only for stateless and mark runtime ownership refusals. Stateful Acquire/Restore precede selection and pending publication; canonical mode inspection is separate, replan precedes settlement. Fix round 2 N2/N3: retain the original route/pin projection for post-lease declaration checks; reuse the unplanned capture so a live-link repoint cannot change the selected build. Stateful capture and changed-copy errors remain start failures after Acquire/Restore. A failed preliminary verification supplies no cached mode observation. No new file path or database authority. Final review C1/R26: unprojected stateful wakes capture and materialize the live link only after Acquire and Restore. Retain original route/generation/pin stateless evidence on the context across fallback, so missing stateless evidence cannot take stateful recovery inference. Known good stateful identity skips canonical declaration lookup. Existing pre-exec verification remains. R28 final fix 2: carry whether this wake has a plan in attempt-local context; no new read here; route, generation and pin stateless projection remains intact.;rev3=census-ruling-agent-start-demo-1;basis=Reads IsDemo and demo admission/capability state; chooses local lease retention, skips seed upload and sidecar selection. Existing stop and under-lease ordering retained.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: refuse tenant starts under the existing service lock before main's demoWakeRefusal, and recheck before backend Acquire. Retain main's demo refusal and all lease, restore and serialization checks. Two added whole Route uses feed the in-memory admission predicate; no new filesystem or store read.;rev3=census-ruling-stateless-replicas-2;basis=P14: after verified storage-mode selection, before clearing the projected hint or acquiring a database lease, a set row still on the stateful branch returns ErrFenced. Reads the existing route FleetBoxes field only. Verified stateless wakes take their existing branch; legacy rows remain unchanged. No new file, registry query or bucket read. merge of origin/main 9b8b2c50: retain wake-slot and HA duty logic alongside the replica stateful-start refusal; no gate removed. merge of origin/main 6be08467: Keep main demo lease, local database and KeepLocal path; never equate replication-disabled demos with stateless generations. Merge-only body/read-site change. merge of origin/main 7920cccf: Retain main tenant admission and startOwnedLocked gates alongside the replica stateful-start refusal; whole Route passed to main admission checks, no new path or store read.;rev3=census-ruling-agent-start-demo-3;basis=Route claim seeds through seed restore/admission; do not fall back to empty boot or ordinary import behavior. Census read-site delta: +registry:SeedSource, +whole:Route. registry:DBPath@2071,registry:DBPath@2087,registry:DBPath@2214,registry:DBPath@2225,registry:FleetBoxes@12064,registry:GoodVersion@18173,registry:Host@1900,registry:Host@1975,registry:Host@2053,registry:Host@2205,registry:Host@2539,registry:Host@4556,registry:Host@6813,registry:Host@949,registry:Replication@16800,registry:Replication@16929,registry:Replication@16948,registry:Replication@17029,registry:Replication@33102,registry:Seed@21868,registry:SeedSource@34189,registry:Socket@2100,registry:Socket@2116,registry:Socket@2239,registry:Socket@2250,registry:Stateless@10124,registry:Stateless@10410,registry:Stateless@11782,registry:Stateless@12112,registry:Stateless@20582,registry:Stateless@9667,registry:Stateless@9758,whole:Route@10196,whole:Route@10355,whole:Route@10734,whole:Route@10832,whole:Route@10923,whole:Route@11055,whole:Route@11178,whole:Route@11232,whole:Route@11504,whole:Route@11680,whole:Route@11684,whole:Route@12471,whole:Route@12582,whole:Route@12883,whole:Route@142,whole:Route@14344,whole:Route@15021,whole:Route@15902,whole:Route@16780,whole:Route@17031,whole:Route@18376,whole:Route@18967,whole:Route@19132,whole:Route@1998,whole:Route@20068,whole:Route@20864,whole:Route@21139,whole:Route@21969,whole:Route@22040,whole:Route@2434,whole:Route@2439,whole:Route@24452,whole:Route@2493,whole:Route@2499,whole:Route@2565,whole:Route@2573,whole:Route@2629,whole:Route@26310,whole:Route@26956,whole:Route@28263,whole:Route@28417,whole:Route@28916,whole:Route@28986,whole:Route@29573,whole:Route@30658,whole:Route@31089,whole:Route@31297,whole:Route@31351,whole:Route@32280,whole:Route@32465,whole:Route@33198,whole:Route@33269,whole:Route@333,whole:Route@33681,whole:Route@33730,whole:Route@34124,whole:Route@34306,whole:Route@35558,whole:Route@35653,whole:Route@3591,whole:Route@36494,whole:Route@3685,whole:Route@3752,whole:Route@4446,whole:Route@6182,whole:Route@6441,whole:Route@6703,whole:Route@6708,whole:Route@6765,whole:Route@6771,whole:Route@6840,whole:Route@6848,whole:Route@7164,whole:Route@7225,whole:Route@729,whole:Route@7323,whole:Route@8288,whole:Route@9271,whole:Route@934,whole:Route@9495,whole:Route@9559,whole:Route@9603 2dee1f0740b6a4ada05e48f0ec4e606697c0ed1ba21a883799bb1bf3518a76d7
@@ -148,11 +148,11 @@ internal/registry/registry.go Registry.migrate legacy accepted-legacy accepted-l
@coverage internal/demobuild 7f72e797f270d9cd31f8d0e4752146144d610265a17b64bac5486821e524595c
@coverage internal/democlaim e5e0054ad3e6bf3b98e240770ceed9ac8642f22ca3155d686a7af77901885bd1
@coverage internal/edge f7dd9508b26550e111b02855524009aec849b754313b6e5e2a0a3b1a2bff11dd
-@coverage internal/host 89cd34c8ff4a27f8807b3b67a1bf74fd0d9db065ebbae37937b746b3a5d7085d
-@coverage internal/host/units 39066b1966e26611c684eb467356cadf381252466e6275e1b4d2e0fa7c8dda77
+@coverage internal/host 2e01734db9b2ce53f178b73ffa6cf5a9704f9551decbbbbf3ab267c431c52c57
+@coverage internal/host/units 7f984ed6db1973f26931d2d1217202b57397256b60fbe4ee0e79b82434c88fac
@coverage internal/instancectl e83c14f5dadbc8c8b649e78aaf8c8b3dc5c51f82ed50c58a9969c96b61d45c3f
@coverage internal/provision dd16f574fe4babebeae12ae5bd40018eb3e30ec517e21ef076c369051369be89
-@coverage internal/registry 593b31ec401dc3a7b8c3b0aebc18a5aecb94e0b62a3fc6e3d77bcc6394089cbd
+@coverage internal/registry 84d3e3a6e94c4c9a734d3daed9653bdf204651464bc24bbeb6e8f986649dd402
@coverage internal/release 6bbee0d9f2be1097a35ab5a10208cd8bc4db28afea8eedb9c8bc57ca8d507265
@coverage internal/seeds bf589a69355b0270a28225368dc81bd7b64ce49de4e5e2c3ff4c44135454d0c7
-@coverage internal/status 36d2ea23c4176cb96d384aeb237836a1812159908ee2f892e2c8efc80ec077dd
+@coverage internal/status 5249baf9d488acf568fa1020885dc126fd2867815c3b4b52f947ceec5ff03e0f
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index 3aaef9fd5..ef7a46fed 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -95,4 +95,4 @@ plan14-root-reads-region-ha-p3b1-f4.tsv 71bbbf68863266ffab90211a00aff2f1b694bf39
plan14-root-reads-agent-start-demo-2.tsv 1daafee8030f9d370adf5541b5e87313523073c4afdc022d4238c3a7bc1a60ba
plan14-root-reads-hosts-floor-release.tsv 1daafee8030f9d370adf5541b5e87313523073c4afdc022d4238c3a7bc1a60ba
plan14-root-reads-region-ha-p3b2.tsv 1b5ef39b210f3c7db69e589da8a467ac4d4a4f218e1d97fb4706cd277a27eae1
-plan14-root-reads-agent-start-demo-3.tsv 80bedac4a9d4db35759c598b9196d2adfe0d04c063fff9d7b872a0f2d4358789
+plan14-root-reads-agent-start-demo-3.tsv d349724aa21f06869c18ee043c3f1d5b39b40cd6f8f588cfb02877f9049b8944