carlos / platform Public

census: rootfs-apps-3-release proposal (Group R gate), awaiting cross-model approval

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 4ea4367e55d7774d43f899d635286e0e78a56e8f parent d9785f3
4 files changed, +189 −0
  • docs/superpowers/notes/census-proposal-rootfs-apps-3-release.md +83 −0
  • docs/superpowers/notes/census-rootfs-apps-3-release-claims.md +37 −0
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −0
  • internal/provision/testdata/plan14-root-reads-rootfs-apps-3-release.tsv +68 −0
diff --git a/docs/superpowers/notes/census-proposal-rootfs-apps-3-release.md b/docs/superpowers/notes/census-proposal-rootfs-apps-3-release.md
new file mode 100644
index 000000000..0acdcf5eb
--- /dev/null
+++ b/docs/superpowers/notes/census-proposal-rootfs-apps-3-release.md
@@ -0,0 +1,83 @@
+# Census approval: rootfs-apps-3-release
+
+Ruling `census-ruling-rootfs-apps-3-release`. The independent reviewer approves or rejects every change below, 16 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
+
+| unit | change | read sites | what changed |
+|---|---|---|---|
+| `internal/activator/activator.go` `Service.finishStop` | body | unchanged (5) | rootfs Plan 3 Group R: while the host has a release command's record (a.releaseOps[e.host], running or not proven stopped), replication and the lease stay and the stop is kept pending (keepPendingLocked) until the record's proof; the same five read sites, no read added; only holds a release back |
+| `internal/activator/activator.go` `Service.sweepOnce` | body | unchanged (39) | rootfs Plan 3 Group R: an entry whose host has a release record open (the in-memory a.releaseOps[e.host]) is not stopped by its plan's turn-off, by idleness or by the continuous-awake ceiling until the record goes; one more sweep pass, reapReleaseOpsLocked, retries an unproven release's stop (through finishPendingStops); the same 39 read sites, no read added; stops less, not more |
+| `internal/activator/activator.go` `type Service` | body | unchanged (0) | rootfs Plan 3 Group R: one new field, releaseOps (host to the in-memory release record, under a.mu); no read |
+| `internal/activator/claimwake.go` `Service.doClaimWake` | body | unchanged (28) | rootfs Plan 3 Group R: a claim wake is refused (errWakeUnproven) while another entry's release record of the host is open, as an unproven failed wake already refuses it; the in-memory map only, no read added; adds a refusal only |
+| `internal/activator/maintenance.go` `Service.cleanupFailedWake` | body | unchanged (15) | rootfs Plan 3 Group R [pf R3.1]: when the wake's own release ended with its unit not proven stopped, the wake's lease is handed to the release record (oweWakeLeaseToRelease) and nothing is given back here; the record gives the lease back only after the unit is proven gone; the same 15 read sites, no read added; only holds a lease back |
+| `internal/activator/maintenance.go` `Service.fenceAndStop` | body | unchanged (0) | rootfs Plan 3 Group R: with no entry, an open release record of the host (in-memory) makes the fence answer ErrStopUnproven instead of returning stop evidence; no read added; only refuses evidence |
+| `internal/activator/opset.go` `Service.releasable` | body | unchanged (2) | rootfs Plan 3 Group R [pf R1.11]: the termination proof also requires that no release record of the host is open (read under a.mu beside members, strays, restoring and resizing); the same two whole:Route sites, no read added |
+| `internal/activator/swap.go` `Service.swapOverlap` | body | unchanged (18) | rootfs Plan 3 Group R, R2: two new parameters from releaseBeforeSwap (pass, the proven pass, and due, whether the build needed a release); the admission and the exec gate both also ask releaseAdmitsSwapLocked, which refuses while any release record of the host is open (INV-R4) and, when a release was due, unless pass is this attempt's for the successor's build (INV-R5); no release runs here; the same 18 read sites, no read added; adds refusals only |
+| `internal/activator/swaphold.go` `Service.holdAdmitLocked` | body | unchanged (5) | rootfs Plan 3 Group R [pf R2.4]: refuses (errReleaseOpen) while a release record of the host is open, after swapChecksLocked and before the kind and layout checks; in-memory only, no read added; adds a refusal only |
+| `internal/activator/swaphold.go` `Service.wakeFailureEvent` | body | unchanged (0) | rootfs Plan 3 Group R, R3 fix: a hold's pinned-wake error is a failure event only when pinBuildFailedLocked also says the build can be blamed (its release failed with a *ReleaseError, or its web ran or may have, pinWebExec); otherwise it is logged as refused or abandoned; reads only the entry's in-memory flags; emits fewer failure events, never more |
+| `internal/activator/activator.go` `Service.doWake` | sites | +whole:Route ×2 | rootfs Plan 3 Group R, R3: (1) refuses (errWakeUnproven) while another entry's release record of the host is open; (2) a rootfs row with a plan or a pin reads its declared processes before the lease (declaredProcesses(rt, g): the existing staged-manifest read of ExecBackend.Processes, the manifest root's staging wrote, checked against the identity's path and digest) and refuses before Acquire on an error; (3) the staged-identity start runs releaseInWake(ctx, e, rt, id, lease) before startGenExe, under this wake's lease, and a release that did not pass fails the wake; (4) a rootfs row with no plan, no pin and no staged identity is refused, the lease given back, nothing started; (5) a start error whose release is not proven stopped hands the lease to the release record (oweWakeLeaseToRelease) instead of giving it back. New sites +whole:Route x2 (rt to declaredProcesses and releaseInWake); no new file read beyond the existing staged-manifest read; binary rows unchanged |
+| `internal/activator/activator.go` `Service.wake` | sites | +whole:Route | rootfs Plan 3 Group R [pf R3.5]: the wake's context ceiling is wakeCeilingFor(e.route): the old 5 minutes for a binary row, 5 minutes plus runs.MaxTimeout for a rootfs row (room for a release inside the wake); new site +whole:Route (e.route to wakeCeilingFor, which reads Runtime only); no other change |
+| `internal/activator/backend_rootfs.go` `Service.rootfsProcessesHook` | sites | -registry:Host | rootfs Plan 3 Group R, R1: the log line saying this box does not run the release process is removed (the box runs it now); site -registry:Host (that log line's rt.Host); still logs undeclared-to-run workers only and starts nothing |
+| `internal/activator/cmd.go` `Service.RunCmd` | sites | +registry:Host | rootfs Plan 3 Group R: a carlos run is refused with ErrCmdBusy while a release record of the host is open (a.releaseOps[rt.Host], in-memory), as a run already in flight refuses it; new site +registry:Host (that map lookup); adds a refusal only |
+| `internal/activator/rootfs_service.go` `Service.residentHeldLocked` | sites | +registry:Host | rootfs Plan 3 Group R: a resident is not started proactively while a release record of its host is open (a.releaseOps[rt.Host], in-memory); new site +registry:Host (that lookup); holds more, never less |
+| `internal/activator/wakeplan.go` `Service.spawnPlanned` | sites | +whole:Route ×3 | rootfs Plan 3 Group R, R3: for a rootfs row, B's release runs first (runRelease under the wake's lease watch and the plan's gate, planGate); a release that did not pass goes to spawnPlannedRelease; after a passed release B's health window starts from now, not from the wake's start [pf R3.4]; w.bootRan is also true when the release ran. New sites +whole:Route x3 (rt to runRelease, spawnPlannedRelease and the second firstWakeBudgetFor); no file read |
+
+Envelopes re-pinned: `internal/activator`, `internal/rollout`, `internal/rolloutwords`, `internal/status`.
+
+Review: a model from the other family than the author reads the branch's diff against main on the amadan.net remote (`origin` or `amadan`, whichever points at amadan.net) and gives a verdict for every unit and every re-pinned envelope above. For a unit, compare the change with its recorded disposition and basis below; for an envelope, read every changed function in the package and what it reaches. Escalate if the change lets root open, run, query or follow anything it did not before from a path or input a tenant, an app or a box agent can create, write or name; if it weakens a check, refusal, validation, argument or environment the basis relies on; or if the diff cannot settle either. Otherwise approve. Record each verdict on #280 with the tip. An escalation goes to the census owner as a decision.
+
+Recorded dispositions, which each change must still satisfy:
+
+- `internal/activator/activator.go` `Service.finishStop`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with a run's settle checked before replication closes, which keeps the stop pending until the run is proven stopped; read sites unchanged, offsets moved;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: an HA entry (its replica is an HA one, haEntryRep) now releases through releaseHAClean (a new unit on this card) instead of e.rep.Close; when that answers errHostSliceUnproven the stop is kept pending (keepPendingLocked) with the lease held and renewing, and the sweep finishes it once proven; a non-HA entry is unchanged; the same five sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: a forgotten entry's stop is noted for its resident (noteResidentStopLocked: crash or lost lease backs off, any other stop restarts on the next tick) and its ownerDone channel is closed; no read added
+- `internal/activator/activator.go` `Service.sweepOnce`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=PROPOSED-seed;basis=census-ruling-FS-R6; registry remains legacy; PROPOSED-plans-2-box-limits: the sweep also narrows an entry's idle window to its account's plan idle through the SetIdleFor hook (never lengthens it; always-on workers and held probe entries are untouched; the hibernate, inflight and held-for-tick guards are unchanged).;rev3=census-ruling-plans-4c-box-throttle;basis=after the worker max_run branch, stops a non-worker entry past the plans continuous-awake ceiling (maxRunFor, passed the row), busy or not, never mid-command (plans 4c). One more whole-row read: the row handed to the hook, as idleFor already is. This bypasses the inflight and held-for-tick protections the idle stop keeps, on purpose: escalated by Astra and ACCEPTED by Paul (census owner), 2026-10-25.;rev3=census-ruling-plans-4d-lapse;basis=stops a live entry the turned-off hook names (never mid-command, never a move's active probe), stands down an exited worker it names instead of restarting it (Astra finding 4), and skips such rows in the due loop and the always-on arm so they are not woken (plans 4d). Four more whole-row reads: the row handed to the hook (a.disabled), as idleFor and maxRunFor already are. Only stops or skips.;rev3=census-ruling-remote-instance-metrics;basis=its two entries-map insertions go through putEntryLocked (which also notes the route's tenant in memory for the metrics sampler); no read added;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: one more call at the top, a.retryOwedMarkers() (harelease.go), which starts at most one background lease.RetryPending pass over owed region HA release markers, off a.mu; the due query, idle, max-run and lapse logic are unchanged; the same 38 sites, no read added; merge of origin/main d7ae1d76: main's change is kept as main has it (census-ruling-remote-instance-metrics: its two entries-map insertions go through putEntryLocked); this branch's change is the same as above; read sites the same 38, offsets moved;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: a resident (Route.Resident) is never stopped for idleness or by the continuous-awake ceiling; the due-wake check is left on Hibernate (comment); stops less, not more
+- `internal/activator/activator.go` `type Service`: authority, task B,C,D,F,J4. Basis: rev3=PROPOSED-seed; existing activator lifecycle and due-wake state plus owned seed exclusion and incarnation-keyed diagnostics; normal refusal and preparation ordering remain authoritative; PROPOSED-plans-2-box-limits adds the idleFor hook field, which only narrows idle windows;rev3=census-ruling-plans-4c-box-throttle;basis=gains the maxRunFor hook field beside idleFor (plans 4c). No read added.;rev3=census-ruling-plans-4d-lapse;basis=gains the disabledFor hook field beside maxRunFor (plans 4d). No read added.;rev3=census-ruling-remote-instance-metrics;basis=gains tenancySeq, hostTenants and hostMixed, in-memory fields for Tenancies; no read added;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: one more field, markers (markerRetry: an atomic running flag and the last log time) for retryOwedMarkers; no read added; merge of origin/main d7ae1d76: main's fields are kept as main has them (census-ruling-remote-instance-metrics: tenancySeq, hostTenants, hostMixed); this branch's change is the same as above;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: new fields for rootfs admission (rootfsArmed, rootfsSwept), the per-host gate ask and refusal memo, and residency state (lister, backoff, start ceiling, cursor, test seam); no read
+- `internal/activator/claimwake.go` `Service.doClaimWake`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1,J4;basis=route-and-input
+- `internal/activator/maintenance.go` `Service.cleanupFailedWake`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): census ruling 292's body; when #292's whole proof holds for an aborted legacy start (legacyRunGone: the unit stopped and its cgroup empty) this wake's uncertainty is discharged and the stages it never reached (no sidecar, no replica) are recorded as held; when the proof fails the start is retained exactly as before, now named as the owner of this wake's uncertainty (owedBy). Read sites unchanged; the proof still only decides release-or-keep; no new read and no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: takes the wake's entry e as a new first argument and, when it is not nil, stops and joins the entry's HA files publisher (stopFiles) before anything else. Final fix F1: once the process's own proof has passed, an HA wake (haHeld(lease, w.rep)) is released only when haHostEmpty(rt) reads the host slice empty; otherwise it logs, marks the stop uncertain and retains the wake as unproven (retainUnprovenWake, with owedBy for a legacy start), keeping the lease and replica for the reaper. A non-HA wake's stop, proofs and give-back are unchanged. New sites +registry:Host (the log line) and +whole:Route x3 (rt to haHostEmpty and in the retained unprovenWake); no file read; only holds an HA release back
+- `internal/activator/maintenance.go` `Service.fenceAndStop`: authority, task B,C,D,F,J4. Basis: rev3=PROPOSED-seed; shared activator state and opaque owner token; waits existing request, scheduled-token and stop preparations before fencing; exact owner alone may resume or release
+- `internal/activator/opset.go` `Service.releasable`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with a run's settle added to the termination proof; read sites unchanged;rev3=census-ruling-instance-egress-sizes-328-329;basis=#329 plan 3 Task 6: the termination proof also waits for a live size change in flight (e.ops.resizing, read under a.mu beside members and restoring), so a stop keeps the lease until the CPU and IO write to the host's slice returns; no read added, the same two whole:Route sites (rt, g, p taken from the entry, then genTerminated).
+- `internal/activator/swap.go` `Service.swapOverlap`: 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 zddr4, with no further change from this branch. the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; admission and the switch refuse while a run's unit is starting, and the switch interrupts runs on the retiring generation; read sites unchanged, offsets moved;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=#329 plan 3 Task 4 and the final review: the new kind is registry:Size, one site, rt.Size != "" in the successor's max rule (the successor starts at the larger of its own sized tier and the incumbent's captured tier when the route has a size now or the incumbent runs at a tier other than its build's), and two more whole:Route sites: the successor's route is now sizedRouteLocked(e) with the wake route kept beside it as wakeRt for the incumbent's tier, and a second GenTier(rt, incumbent.Build) in that rule. The column comes from the agent's registry row (reconcile, from the signed app policy). Admission also refuses while a live size change is in flight. The raise still goes to root's /parent, whose memory_max root checks against its size table; no root decision here;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1, Task 8 and Task D: the incumbent's tier is recorded through recordCurrentTierLocked; genHealthy takes rt (so a rootfs generation is checked within the rootfs bound); the successor is installed through installProcLocked; after step 8 a rootfs build's declared processes are logged, never started (rootfsProcessesHook); no new file read
+- `internal/activator/swaphold.go` `Service.holdAdmitLocked`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-zddr4;basis=Census ruling zddr4: changed legacy row; the same entry route's layout is read through swapLayout instead of Classifier.Layout; the accepted layouts are unchanged. Boundary: agent-side, running as carlos; generation socket directories under the agent's own /run/carlos tree; no root decision; no registry, /data, release or claim read beyond what the unit read before.
+- `internal/activator/swaphold.go` `Service.wakeFailureEvent`: diagnostic, task C,J4. Basis: rev3=PROPOSED-seed; incarnation-keyed missing-files diagnostics and indexed retry results; throttles output only and grants no retry, stop or launch
+- `internal/activator/activator.go` `Service.doWake`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body (census ruling 292's legacy start mark and lease give-back; census ruling owed's pending record) with the seeded change ruled under census-ruling-seeded-instances (the refreshed row checked against the row the wake began from, twice; the seed's first upload recorded after the wake), and now one more line on a failed start: a start its pre-exec gate refused (launchNotStarted: the exec gate, the pending record or its recheck answered no before root was asked) is recorded as known not started (stopObservation.notStarted) instead of uncertain, only when the wake has started nothing else (wakeStartedNothing); otherwise it goes through cleanupFailedWake and its proofs. A refusal before its lease (step 1), which has started nothing, is recorded the same way. Read sites unchanged; no new read and no root decision;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=marks the end of each wake step on the woken instance's journal timer (wakeSteps: a.now() and a slice append, journal only); no read added, no step reordered;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: (1) after the restore it asks the backend for the replication class an HA restore imported from the host's published wake state (restoredReplication(rt)) and, if it differs, logs it and sets rt.Replication and the entry's route to it; (2) an HA lease of the stream class replicates with a 1 s monitor interval (SetMonitorInterval); (3) after Replicate, an HA replica opens the entry's files publisher (openEntryFiles(ctx, e, rt)) and starts it, and a publisher that will not open fails the wake through cleanupFailedWake; (4) every cleanupFailedWake call passes e; (5) final fix F1: the two start-error arms that gave the lease straight back (a start its pre-exec gate refused with nothing started, and the default arm) now call giveBackAfterStart(ctx, rt, w, lease), which gives a legacy lease back exactly as before and an HA one only over an empty host slice. New sites: registry:Replication x5 (the class compare, the log line, the assignment and the HA sync-interval check) and whole:Route x6 (rt handed to restoredReplication, openEntryFiles, the cleanup calls and giveBackAfterStart); no file read in this body; only adds a condition before an HA release, no check removed;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: the rootfs admission runs before the claim path and before Acquire on the refreshed row (rootfsWakeRefusal), again in full if a re-read under the lock changed any gate field, and a resident wake re-checks residentRunnable; for a rootfs row a held lease or refused config is an ownership refusal; a rootfs first boot (no good version, fresh) places the empty database under the lease (placeRootfsDB) and uploads it once (syncRootfsPlaceholder), while fresh with a good version is refused as a lost database; declared processes are logged after the wake (rootfsProcessesHook); binary rows unchanged; fix wave 1 and 2 (6189a9db, then the r2 ruling "refuse interrupted init"): a fresh rootfs first boot goes through rootfsFirstBoot (rootfsmarker.go) instead of placeRootfsDB alone: under the lease it reads the lifetime's first-boot marker from the hibernate bucket (present or unreadable refuses, present as errRootfsReplicaMissing), writes it create-only, reads it back (only a read back that finds it confirms it; a write conflict proves nothing), and only then places the database; a warm wake does nothing with the marker (fix wave 1's settleRootfsFirstBoot call and its whole:Route site are gone, no local pending record); adds refusals only, binary rows unchanged
+- `internal/activator/activator.go` `Service.wake`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-carlos-run;basis=Re-digested at the pre-land merge: the body includes main's own change under census ruling 292, with no further change from this branch. the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=logs that timer's breakdown to the journal after a successful wake (w.steps.String(), e.host, w.wakeTook); no read added;rev3=census-ruling-plans-4d-lapse;basis=cancels a wake whose row the turned-off hook names, like a fence, unless it is a move's active probe (plans 4d). One more whole-row read: the row handed to the hook (a.disabled). Only refuses.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: a refusal before the lease is reported once per change (noteRootfsRefusal) instead of a wake-failure event; the proc, generation and replica are installed through installProcLocked (which puts a resident under its lease watch before the fence); residency notes the outcome (noteResidentWakeLocked); same generation values
+- `internal/activator/backend_rootfs.go` `Service.rootfsProcessesHook`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task D (D8): after a swap, logs a rootfs build's declared workers and release process, which this box does not run yet; logs only, starts nothing
+- `internal/activator/cmd.go` `Service.RunCmd`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): admits one run against an awake entry under the agent's own lease, fence and swap checks; it starts nothing itself and root validates what it later names;rev3=census-ruling-edge-request-records;basis=passes nil for begin's new req parameter; no read added
+- `internal/activator/rootfs_service.go` `Service.residentHeldLocked`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: a resident is not started proactively while fenced, already entered, latched as an unproven wake, holding stray sidecars, or disabled; reads only the activator's own state and the route's host
+- `internal/activator/wakeplan.go` `Service.spawnPlanned`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the first-wake budget and the health bound are the route's (firstWakeBudgetFor, healthBoundFor read Runtime: the rootfs bound for a rootfs row, the binary constants otherwise)
+
+New dispositions, which census-propose wrote and the reviewer checks against the unit's reads and the diff:
+
+- new `internal/activator/backend_rootfs.go:ExecBackend.ReleaseEnv`: reads +registry:Host ×5, +whole:Route ×6; written legacy, accepted-legacy, frozen
+- new `internal/activator/backend_rootfs.go:ExecBackend.StartRelease`: reads +registry:Host, +whole:Route; written legacy, accepted-legacy, frozen
+- new `internal/activator/backend_rootfs.go:ExecBackend.startRootfsCmd`: reads +registry:Host ×14, +whole:Route ×8; written legacy, accepted-legacy, frozen
+- new `internal/activator/backend_unit.go:SplitBackend.ReleaseEnv`: reads +file:Exec, +registry:Backing, +registry:Host, +whole:Route; written legacy, accepted-legacy, frozen
+- new `internal/activator/backend_unit.go:SplitBackend.StartRelease`: reads +file:Exec, +registry:Backing, +registry:Host, +whole:Route; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsenv.go:ExecBackend.rootfsReleaseVars`: reads +whole:Route; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsrelease.go:Service.committedGood`: reads +registry:Host ×4, +registry:Incarnation ×4, +whole:Route ×3; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsrelease.go:Service.releaseAdmitLocked`: reads +registry:Kind, +whole:Route ×2; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsrelease.go:Service.releaseAppLog`: reads +registry:App, +registry:Host, +whole:Route; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsrelease.go:Service.releaseBeforeSwap`: reads +registry:Demand, +registry:Digest, +registry:GoodDemand, +registry:GoodDigest, +registry:GoodVersion, +registry:Version, +whole:Route ×5; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsrelease.go:Service.releaseInWake`: reads +whole:Route; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsrelease.go:Service.runRelease`: reads +registry:Host, +whole:Route ×11; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsrelease.go:releaseDue`: reads +whole:Route; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsrelease.go:releaseRan`: reads +registry:GoodDigest, +registry:GoodVersion; written legacy, accepted-legacy, frozen
+- new `internal/activator/wakeplan.go:Service.spawnPlannedRelease`: reads +registry:Host, +whole:Route; written legacy, accepted-legacy, frozen
+- reads `internal/activator/swaphold.go:Service.startPinnedChecked`: +registry:Host, +whole:Route; keeps legacy, task accepted-legacy
+
+Seal: `9e0c4a0c3c5299f68a046e989f49f35cfd2af82dbc76f2e5f00d15512f101a9d` → `83242973be16cfe500c9f1c43cb6a910bcdb4008185f275b439197b467099885`.
+
+Overlay: `internal/provision/testdata/plan14-root-reads-rootfs-apps-3-release.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
+
+## Record-write census
+
+Added by hand at the R gate. census-propose does not write this section, so a re-run of census-propose drops it and it has to be added again. `TestPlan9B8RecordWriteCensus` (`internal/provision`) passes on the merged tip with main's inventory as it is: Group R adds or changes no record-write, record-primitive or key site, so this branch adds no inventory layer. The release writes no instance record. What it writes is the agent's own: the release record in memory, the generations file, the build state (recordBuild, the existing before-exec write), the app log, and the instance's admin token and key when absent (the existing mint-if-absent steps of a web start).
+
+## Envelope changes outside the units above
+
+Added by hand at the R gate, for the reviewer reading the four re-pinned envelopes (`internal/activator`, `internal/rollout`, `internal/rolloutwords`, `internal/status`). These functions read nothing root-owned, so the scanner gives them no unit row; each is in the branch's diff against main.
+
+- `internal/activator/generations_file.go` `generationsSnapshotLocked`: the generations file also lists the build of every open release record, from admission until its unit is proven gone. Root reads this file (release.GenerationPins, GenerationVersions) to keep staged builds from its version sweep and restaging. The change only adds pins, so root keeps more, never less.
+- `internal/activator/rootfsrelease.go`, the release record's lifecycle: `superviseRelease` (stops the unit `releaseStopLead`, that is `cmdStopBound`, 2 min, before the lease's safety deadline, and at once on a loss), `settleRelease` (the existing cmd hold's stop and proof, retried after a lease trip until the last safety deadline read), `releaseProven` and `dropReleaseOp` (the lease given back, the stop history and the record dropped in one locked step, then the generations pin), `reapReleaseOpsLocked` (the sweep's retry of an unproven record), `oweWakeLeaseToRelease` (a failed wake's lease kept by the record until its proof), and the result tables `classifyRelease`, `isReleaseResult`, `holdReleaseResult`, `releaseSwapResult`, `releaseExit`, `releaseLeaseGone`, `releaseTimeout`, `releaseAdmitsSwapLocked`, `releasePass.matches`. None reads a file or the registry; each only holds the host, the lease or the stop longer, or classifies a result.
+- `internal/activator/activator.go`: `beginStopLocked` cancels a release the stopping entry owns; `Shutdown` also waits on open release records inside its budget; `logUnresolvedAtExit` names the ones left. `rootfs_service.go`: `wakeCeilingFor` (5 min, plus `runs.MaxTimeout` for a rootfs row) and `residentFailure` (a release result counts toward a resident's backoff only when it is the build's failure). `swap.go`: `verdictOf` reads `errReleaseOpen`, `errReleaseNotPassed` and `errReleaseTurnedOff` as NoOwnership; `Swap` refuses while a record is open and runs `releaseBeforeSwap` before `swapOverlap`. `swaphold.go`: `holdResult`, `markPinExec`, `markPinReleaseExec`, `pinBuildFailedLocked` (abandon, never SwapDown, for a release result that is not a failure). `logsink.go` `memberSafeWakeReason`: a release held or unproven shows the fence's existing text; a release failure shows its approved RFS-3-C05 to C07 text. `cmdunit.go` `cmdStream.copy`: tells a line-splitting writer its stream ended. `backend_exec.go`: `execLease.SafeUntil` and `Lost` forward `lease.Held`'s.
+- `internal/rollout/events.go` `reasonWord`, `internal/rolloutwords/words.go` (reasons `release`, `release-timeout`; six release events), `internal/status/snapshot.go` (`ReasonRelease`, `ReasonReleaseTimeout`): the approved copy RFS-3-C01 to C07 and C29 and the two reason words. Text only.
+
+The merge of origin/main ee066183 (03c67c8b) brought main's `retire-join-units-on-adopt` overlay, which is main's and approved there; its chain line stays before this branch's. No file under `internal/instancectl` changes (`git diff --name-only origin/main...HEAD -- internal/instancectl` is empty): root's half of the release is main's.
diff --git a/docs/superpowers/notes/census-rootfs-apps-3-release-claims.md b/docs/superpowers/notes/census-rootfs-apps-3-release-claims.md
new file mode 100644
index 000000000..38a8b4b0e
--- /dev/null
+++ b/docs/superpowers/notes/census-rootfs-apps-3-release-claims.md
@@ -0,0 +1,37 @@
+# CLAIMS for the root-read census, branch rootfs-apps-3-release (rootfs apps Plan 3 Group R: the release process).
+# Format (AGENTS.md "The census"): <file>:<unit><TAB><what changed>. Lines starting with # are ignored.
+# Base: origin/main ee066183, merged at the R gate (03c67c8b). Every unit runs in the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos); none runs as root.
+# Root's side of the release (the rootfs cmd unit, POST /cmd and its staged-image check, the poll, the stop) is main's and unchanged: no file under internal/instancectl changes.
+
+internal/activator/activator.go:Service.finishStop rootfs Plan 3 Group R: while the host has a release command's record (a.releaseOps[e.host], running or not proven stopped), replication and the lease stay and the stop is kept pending (keepPendingLocked) until the record's proof; the same five read sites, no read added; only holds a release back
+internal/activator/activator.go:Service.sweepOnce rootfs Plan 3 Group R: an entry whose host has a release record open (the in-memory a.releaseOps[e.host]) is not stopped by its plan's turn-off, by idleness or by the continuous-awake ceiling until the record goes; one more sweep pass, reapReleaseOpsLocked, retries an unproven release's stop (through finishPendingStops); the same 39 read sites, no read added; stops less, not more
+internal/activator/activator.go:type Service rootfs Plan 3 Group R: one new field, releaseOps (host to the in-memory release record, under a.mu); no read
+internal/activator/claimwake.go:Service.doClaimWake rootfs Plan 3 Group R: a claim wake is refused (errWakeUnproven) while another entry's release record of the host is open, as an unproven failed wake already refuses it; the in-memory map only, no read added; adds a refusal only
+internal/activator/maintenance.go:Service.cleanupFailedWake rootfs Plan 3 Group R [pf R3.1]: when the wake's own release ended with its unit not proven stopped, the wake's lease is handed to the release record (oweWakeLeaseToRelease) and nothing is given back here; the record gives the lease back only after the unit is proven gone; the same 15 read sites, no read added; only holds a lease back
+internal/activator/maintenance.go:Service.fenceAndStop rootfs Plan 3 Group R: with no entry, an open release record of the host (in-memory) makes the fence answer ErrStopUnproven instead of returning stop evidence; no read added; only refuses evidence
+internal/activator/opset.go:Service.releasable rootfs Plan 3 Group R [pf R1.11]: the termination proof also requires that no release record of the host is open (read under a.mu beside members, strays, restoring and resizing); the same two whole:Route sites, no read added
+internal/activator/swap.go:Service.swapOverlap rootfs Plan 3 Group R, R2: two new parameters from releaseBeforeSwap (pass, the proven pass, and due, whether the build needed a release); the admission and the exec gate both also ask releaseAdmitsSwapLocked, which refuses while any release record of the host is open (INV-R4) and, when a release was due, unless pass is this attempt's for the successor's build (INV-R5); no release runs here; the same 18 read sites, no read added; adds refusals only
+internal/activator/swaphold.go:Service.holdAdmitLocked rootfs Plan 3 Group R [pf R2.4]: refuses (errReleaseOpen) while a release record of the host is open, after swapChecksLocked and before the kind and layout checks; in-memory only, no read added; adds a refusal only
+internal/activator/swaphold.go:Service.wakeFailureEvent rootfs Plan 3 Group R, R3 fix: a hold's pinned-wake error is a failure event only when pinBuildFailedLocked also says the build can be blamed (its release failed with a *ReleaseError, or its web ran or may have, pinWebExec); otherwise it is logged as refused or abandoned; reads only the entry's in-memory flags; emits fewer failure events, never more
+internal/activator/activator.go:Service.doWake rootfs Plan 3 Group R, R3: (1) refuses (errWakeUnproven) while another entry's release record of the host is open; (2) a rootfs row with a plan or a pin reads its declared processes before the lease (declaredProcesses(rt, g): the existing staged-manifest read of ExecBackend.Processes, the manifest root's staging wrote, checked against the identity's path and digest) and refuses before Acquire on an error; (3) the staged-identity start runs releaseInWake(ctx, e, rt, id, lease) before startGenExe, under this wake's lease, and a release that did not pass fails the wake; (4) a rootfs row with no plan, no pin and no staged identity is refused, the lease given back, nothing started; (5) a start error whose release is not proven stopped hands the lease to the release record (oweWakeLeaseToRelease) instead of giving it back. New sites +whole:Route x2 (rt to declaredProcesses and releaseInWake); no new file read beyond the existing staged-manifest read; binary rows unchanged
+internal/activator/activator.go:Service.wake rootfs Plan 3 Group R [pf R3.5]: the wake's context ceiling is wakeCeilingFor(e.route): the old 5 minutes for a binary row, 5 minutes plus runs.MaxTimeout for a rootfs row (room for a release inside the wake); new site +whole:Route (e.route to wakeCeilingFor, which reads Runtime only); no other change
+internal/activator/backend_rootfs.go:Service.rootfsProcessesHook rootfs Plan 3 Group R, R1: the log line saying this box does not run the release process is removed (the box runs it now); site -registry:Host (that log line's rt.Host); still logs undeclared-to-run workers only and starts nothing
+internal/activator/cmd.go:Service.RunCmd rootfs Plan 3 Group R: a carlos run is refused with ErrCmdBusy while a release record of the host is open (a.releaseOps[rt.Host], in-memory), as a run already in flight refuses it; new site +registry:Host (that map lookup); adds a refusal only
+internal/activator/rootfs_service.go:Service.residentHeldLocked rootfs Plan 3 Group R: a resident is not started proactively while a release record of its host is open (a.releaseOps[rt.Host], in-memory); new site +registry:Host (that lookup); holds more, never less
+internal/activator/wakeplan.go:Service.spawnPlanned rootfs Plan 3 Group R, R3: for a rootfs row, B's release runs first (runRelease under the wake's lease watch and the plan's gate, planGate); a release that did not pass goes to spawnPlannedRelease; after a passed release B's health window starts from now, not from the wake's start [pf R3.4]; w.bootRan is also true when the release ran. New sites +whole:Route x3 (rt to runRelease, spawnPlannedRelease and the second firstWakeBudgetFor); no file read
+internal/activator/backend_rootfs.go:ExecBackend.ReleaseEnv rootfs Plan 3 Group R, R1 [pf R1.3]: new; the environment a release command launches with. Refuses a non-rootfs row and any layout but nested (fenced, conflict, flat: no mint into a flat directory); then the agent's own existing prepare steps for the run role: MkdirAll the instance's data dir (0700), ensureAdminTokenFor and ensureInstanceKeyFor (mint if absent, as a web start does), launchEnvLayer (the instance's file environment), replicaKeyGate (as a cmd start asks), then rootfsReleaseVars. Reads the agent's own instance files only; root reads nothing here (the result reaches root only inside the launch file startRootfsCmd writes); the environment is never logged
+internal/activator/backend_rootfs.go:ExecBackend.StartRelease rootfs Plan 3 Group R, R1: new; startRootfsCmd naming release.ProcessRelease, both streams through one capped line writer (releaseOutput, runs.MaxOutputBytes) into the caller's writer; no read of its own
+internal/activator/backend_rootfs.go:ExecBackend.startRootfsCmd rootfs Plan 3 Group R, R1 [pf R0.1, R1.4]: new; the agent's first caller of root's existing CmdRootfs (POST /cmd to root's control socket, unchanged). In order: rootfsGates; refuses a partial staged identity (version, path, digest); rootfsControl; prepare(rt, RoleCmd) (the instance's own directories); two stream listeners on the agent's own log sockets (logSocketNamed); the schema-2 launch file for RoleCmd with env alone (writeRootfsLaunchFor, the same writer and the same root reader as the web start's RoleRun file, rootfsLaunchEnv: never the agent's own environment); the caller's exec gate (runExecGate); then CmdRootfs(host, the row's tier memory.max, StagedImage{staged path, version, digest, process}), process being a declared process name root checks against the staged manifest. ErrStagedImage and ErrStartRefused are refusals with no unit; any other error returns a unit to stop and settle. Root validates the staged image and the process itself (instancectl, unchanged); registry:Host sites are log lines, socket and unit names
+internal/activator/backend_unit.go:SplitBackend.ReleaseEnv rootfs Plan 3 Group R, R1: new; forwards to the exec backend for a non-unit row when it implements ReleaseBackend, refuses (errNoRootfsControl) otherwise, as SplitBackend.Processes does; +file:Exec is the b.Exec field (the exec backend value), not a file read
+internal/activator/backend_unit.go:SplitBackend.StartRelease rootfs Plan 3 Group R, R1: new; forwards to the exec backend like ReleaseEnv, refuses with no unit otherwise; +file:Exec is the b.Exec field, not a file read
+internal/activator/rootfsenv.go:ExecBackend.rootfsReleaseVars rootfs Plan 3 Group R, R1 (D1): new; rootfsCmdVars over the file environment with no run id or run dir, then CARLOS_RUN_ID and CARLOS_RUN_DIR removed (a release is no carlos run); pure, no read
+internal/activator/rootfsrelease.go:Service.committedGood rootfs Plan 3 Group R, R2 fix (Astra R2 round 1 P1 1, D3): new; one read of the agent's own registry row (a.Routes.Get(rt.Host), the SQLite registry the agent's reconcile writes from the signed app policy) for the committed good build; refuses (refuseRootfs) a row that is gone, unreadable, changed in the fields wakeRouteChanged checks, or of another Incarnation; with no registry returns the entry's row's good build; only decides whether a release is skipped as already run, or refuses
+internal/activator/rootfsrelease.go:Service.releaseAdmitLocked rootfs Plan 3 Group R, R1 [pf R1.10]: new; the owner's half of a release's admission under a.mu: refuses while a run holds the cmd unit, and for an awake owner mirrors Swap's exclusions (worker or non-instance kind, a layout other than flat or nested through the existing swapLayout, members, a raised parent, a resize, a cmd start in flight); in-memory only; refusals only
+internal/activator/rootfsrelease.go:Service.releaseAppLog rootfs Plan 3 Group R, R1 [pf R1.5]: new; the writer a release's output goes through: each line to the instance's own app log (a.Logs.App(account, app, host, line)); reads the route's account, app and host for the log's key; no file read
+internal/activator/rootfsrelease.go:Service.releaseBeforeSwap rootfs Plan 3 Group R, R2: new; before an overlap swap of a rootfs row, under a gate of the swap's own checks plus the plan's turn-off: reads the committed good build (committedGood) over the entry's copy, builds the staged identity from the scheduler's attempt (at.Build, StagedPath, Digest, Demand), checks the staged bytes (release.VerifyStaged, the check swapOverlap already makes), then runs runRelease under the incumbent's replica as the lease watch, inside the attempt's context; the swap is admitted only on a proven pass. +registry:Version, Digest, Demand are the StagedIdentity literal's fields and +registry:Good* the three assignments from the committed row; a binary row reads nothing
+internal/activator/rootfsrelease.go:Service.releaseInWake rootfs Plan 3 Group R, R3: new; for a rootfs row, runRelease under the wake's own lease, gated by leaseLost(lease) and wakeOwned; a binary row runs nothing; no read of its own
+internal/activator/rootfsrelease.go:Service.runRelease rootfs Plan 3 Group R, R1: new; the one place a release command runs. Refuses while any record of the host is open; skips the row's good build (releaseRan); reads the declared processes (declaredProcesses: the existing staged-manifest read) and refuses on a read error, never treating it as no release; runs only when releaseDue; needs a lease watch and a ReleaseBackend; its gate is the caller's plus the lease's Err and its safety deadline more than releaseStopLead (cmdStopBound, 2 min) away; creates the record under a.mu after releaseAdmitLocked; publishes the generations file and the build state (recordBuild) before anything runs; times out at the manifest's timeout_sec (default, capped at runs.MaxTimeout); ReleaseEnv; a supervisor stops the unit ahead of the lease's safety deadline; StartRelease under the exec gate; polls the unit (root's existing cmd status); stops and settles it (the existing cmd hold's stop, cmdStopBound); only a non-zero exit, a signal or the timeout with the unit proven gone is the build's failure (*ReleaseError); registry:Host sites are the record key and log lines
+internal/activator/rootfsrelease.go:releaseDue rootfs Plan 3 Group R, R1: new; pure: a rootfs row, a build that declares release, and not the row's good build (releaseRan)
+internal/activator/rootfsrelease.go:releaseRan rootfs Plan 3 Group R, R1 (D3): new; pure: the identity is the row's good build by version and digest (case-insensitive digest compare)
+internal/activator/wakeplan.go:Service.spawnPlannedRelease rootfs Plan 3 Group R, R3 [pf R3.2]: new; spawnPlanned's branch for a release of B that did not pass: only a *ReleaseError (unit proven gone) is B's failure (w.failed on a first wake) and, with a fallback, boots the good build through its own planGate as the existing fallback does; every other outcome records nothing of B and fails the wake; no file read
+internal/activator/swaphold.go:Service.startPinnedChecked rootfs Plan 3 Group R, R3: for a rootfs row, the pin's release runs before its web (runRelease under the wake's lease watch and the same gate), refusing a partial staged identity; a release that ran marks pinExec (markPinReleaseExec); a non-failure result is wrapped (holdReleaseResult) so the hold abandons. New sites +registry:Host (releaseOpen(rt.Host)) and +whole:Route (rt to runRelease); binary rows unchanged
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index 92fe53086..ec7b10ef4 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -19,3 +19,4 @@ plan14-root-reads-nearest-region-followups.tsv f5afdacd495705841fcc8441eaefe0efb
plan14-root-reads-region-ha-p1b1.tsv 185170fe393cb565d18a3359dee5ace12676b3e1adecb8b638199d25ceeb779f
plan14-root-reads-rootfs-apps-3.tsv 4337475617b84cadf26e62a31387b7de1b6e9174bf5e6fa4d191f2d2a024e930
plan14-root-reads-retire-join-units-on-adopt.tsv 9e0c4a0c3c5299f68a046e989f49f35cfd2af82dbc76f2e5f00d15512f101a9d
+plan14-root-reads-rootfs-apps-3-release.tsv 83242973be16cfe500c9f1c43cb6a910bcdb4008185f275b439197b467099885
diff --git a/internal/provision/testdata/plan14-root-reads-rootfs-apps-3-release.tsv b/internal/provision/testdata/plan14-root-reads-rootfs-apps-3-release.tsv
new file mode 100644
index 000000000..0fc497812
--- /dev/null
+++ b/internal/provision/testdata/plan14-root-reads-rootfs-apps-3-release.tsv
@@ -0,0 +1,68 @@
+# Census overlay rootfs-apps-3-release, written by census-propose (#369). census-ruling-rootfs-apps-3-release, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-rootfs-apps-3-release.md.
+# 10 body, 6 sites, 4 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
+# 16 new dispositions: 1 reads re-frozen at their disposition with the claim, 15 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other.
+@legacy b1d061eea92fcb0ca940defec3c55da83970473c1632aaa1768b6cd740a01ff2 internal/activator/activator.go Service.finishStop legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with a run's settle checked before replication closes, which keeps the stop pending until the run is proven stopped; read sites unchanged, offsets moved;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: an HA entry (its replica is an HA one, haEntryRep) now releases through releaseHAClean (a new unit on this card) instead of e.rep.Close; when that answers errHostSliceUnproven the stop is kept pending (keepPendingLocked) with the lease held and renewing, and the sweep finishes it once proven; a non-HA entry is unchanged; the same five sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: a forgotten entry's stop is noted for its resident (noteResidentStopLocked: crash or lost lease backs off, any other stop restarts on the next tick) and its ownerDone channel is closed; no read added;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: while the host has a release command's record (a.releaseOps[e.host], running or not proven stopped), replication and the lease stay and the stop is kept pending (keepPendingLocked) until the record's proof; the same five read sites, no read added; only holds a release back registry:Socket@3152,registry:Socket@3257,whole:Route@3102,whole:Route@3154,whole:Route@3259 af439a1562935a5e43ed833aaf95559b4ec1c638be6f8fcb86da059b28f47cbe
+@legacy b9c0b93c8f4321eaef460d64fffd3a0910fde4aebb7cad3261afb968e018473d internal/activator/activator.go Service.sweepOnce legacy accepted-legacy accepted-legacy;rev3=PROPOSED-seed;basis=census-ruling-FS-R6; registry remains legacy; PROPOSED-plans-2-box-limits: the sweep also narrows an entry's idle window to its account's plan idle through the SetIdleFor hook (never lengthens it; always-on workers and held probe entries are untouched; the hibernate, inflight and held-for-tick guards are unchanged).;rev3=census-ruling-plans-4c-box-throttle;basis=after the worker max_run branch, stops a non-worker entry past the plans continuous-awake ceiling (maxRunFor, passed the row), busy or not, never mid-command (plans 4c). One more whole-row read: the row handed to the hook, as idleFor already is. This bypasses the inflight and held-for-tick protections the idle stop keeps, on purpose: escalated by Astra and ACCEPTED by Paul (census owner), 2026-10-25.;rev3=census-ruling-plans-4d-lapse;basis=stops a live entry the turned-off hook names (never mid-command, never a move's active probe), stands down an exited worker it names instead of restarting it (Astra finding 4), and skips such rows in the due loop and the always-on arm so they are not woken (plans 4d). Four more whole-row reads: the row handed to the hook (a.disabled), as idleFor and maxRunFor already are. Only stops or skips.;rev3=census-ruling-remote-instance-metrics;basis=its two entries-map insertions go through putEntryLocked (which also notes the route's tenant in memory for the metrics sampler); no read added;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: one more call at the top, a.retryOwedMarkers() (harelease.go), which starts at most one background lease.RetryPending pass over owed region HA release markers, off a.mu; the due query, idle, max-run and lapse logic are unchanged; the same 38 sites, no read added; merge of origin/main d7ae1d76: main's change is kept as main has it (census-ruling-remote-instance-metrics: its two entries-map insertions go through putEntryLocked); this branch's change is the same as above; read sites the same 38, offsets moved;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: a resident (Route.Resident) is never stopped for idleness or by the continuous-awake ceiling; the due-wake check is left on Hibernate (comment); stops less, not more;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: an entry whose host has a release record open (the in-memory a.releaseOps[e.host]) is not stopped by its plan's turn-off, by idleness or by the continuous-awake ceiling until the record goes; one more sweep pass, reapReleaseOpsLocked, retries an unproven release's stop (through finishPendingStops); the same 39 read sites, no read added; stops less, not more registry:Hibernate@10768,registry:Hibernate@14515,registry:Hibernate@23773,registry:Hibernate@5665,registry:Hibernate@7853,registry:Host@23842,registry:Host@23900,registry:Host@24367,registry:Host@24460,registry:Host@25195,registry:Host@25284,registry:Host@26348,registry:Host@26635,registry:Host@26691,registry:NextDue@25150,registry:Status@23789,whole:Route@10770,whole:Route@11618,whole:Route@14517,whole:Route@16450,whole:Route@18160,whole:Route@18350,whole:Route@18643,whole:Route@18815,whole:Route@18962,whole:Route@23173,whole:Route@23949,whole:Route@24864,whole:Route@25204,whole:Route@25211,whole:Route@26163,whole:Route@26464,whole:Route@26668,whole:Route@5476,whole:Route@5667,whole:Route@7686,whole:Route@7855,whole:Route@8048,whole:Route@8511 5194a34dd0f82212f94c0e8164118ccbb90a5d711c546ee4126e4d877f19a61b
+@legacy 1ef247c76ed2c81c5b4ca159b02354ad06d1f09942fe861f975455c84d2f9194 internal/activator/claimwake.go Service.doClaimWake legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: a claim wake is refused (errWakeUnproven) while another entry's release record of the host is open, as an unproven failed wake already refuses it; the in-memory map only, no read added; adds a refusal only file:Exec@1133,file:Prepare@2265,file:Read@140,file:Read@932,registry:Host@3329,registry:Host@3399,registry:Host@4520,registry:Host@4597,registry:Host@4723,registry:Host@5336,registry:WakeIncarnation@1464,registry:WakeIncarnation@1592,whole:Route@1466,whole:Route@1594,whole:Route@2363,whole:Route@2474,whole:Route@2529,whole:Route@2535,whole:Route@3542,whole:Route@3600,whole:Route@3606,whole:Route@4640,whole:Route@5600,whole:Route@6220,whole:Route@7579,whole:Route@7667,whole:Route@8339,whole:Route@8347 d5cd3ff317eda7efda0e53c354e4b0a04865987bd1c2f570621cb953c366d3bc
+@legacy e70a571923bd1a6501abf1b77db35249699fba19b3b9949fe4928f0a8461e6aa internal/activator/maintenance.go Service.cleanupFailedWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): census ruling 292's body; when #292's whole proof holds for an aborted legacy start (legacyRunGone: the unit stopped and its cgroup empty) this wake's uncertainty is discharged and the stages it never reached (no sidecar, no replica) are recorded as held; when the proof fails the start is retained exactly as before, now named as the owner of this wake's uncertainty (owedBy). Read sites unchanged; the proof still only decides release-or-keep; no new read and no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: takes the wake's entry e as a new first argument and, when it is not nil, stops and joins the entry's HA files publisher (stopFiles) before anything else. Final fix F1: once the process's own proof has passed, an HA wake (haHeld(lease, w.rep)) is released only when haHostEmpty(rt) reads the host slice empty; otherwise it logs, marks the stop uncertain and retains the wake as unproven (retainUnprovenWake, with owedBy for a legacy start), keeping the lease and replica for the reaper. A non-HA wake's stop, proofs and give-back are unchanged. New sites +registry:Host (the log line) and +whole:Route x3 (rt to haHostEmpty and in the retained unprovenWake); no file read; only holds an HA release back;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R [pf R3.1]: when the wake's own release ended with its unit not proven stopped, the wake's lease is handed to the release record (oweWakeLeaseToRelease) and nothing is given back here; the record gives the lease back only after the unit is proven gone; the same 15 read sites, no read added; only holds a lease back registry:Host@2332,registry:Host@2845,registry:Host@3796,registry:Host@4136,registry:Host@4828,registry:Host@5567,whole:Route@2199,whole:Route@2438,whole:Route@2442,whole:Route@3478,whole:Route@4161,whole:Route@4165,whole:Route@4731,whole:Route@4864,whole:Route@4868 bc62f47c3a5b8c98e6f88a7a84c439f634ac0ad1751d473402dd9c50ed5c019d
+@legacy 674ed0338ddb3578bd2db2675ff03f0f72beb37f9275c1d2a296acb3b20580ec internal/activator/opset.go Service.releasable legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with a run's settle added to the termination proof; read sites unchanged;rev3=census-ruling-instance-egress-sizes-328-329;basis=#329 plan 3 Task 6: the termination proof also waits for a live size change in flight (e.ops.resizing, read under a.mu beside members and restoring), so a stop keeps the lease until the CPU and IO write to the host's slice returns; no read added, the same two whole:Route sites (rt, g, p taken from the entry, then genTerminated).;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R [pf R1.11]: the termination proof also requires that no release record of the host is open (read under a.mu beside members, strays, restoring and resizing); the same two whole:Route sites, no read added whole:Route@244,whole:Route@392 5d1a12b842bd580eb9f3d9b6a19549ad36559181511fba47a4f1b22a1affd22f
+@legacy 7ea54b395f8b14d3a137973fdabe404afe0a08144dcc4a3faffadf1d8e62590c internal/activator/swap.go Service.swapOverlap 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 zddr4, with no further change from this branch. the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; admission and the switch refuse while a run's unit is starting, and the switch interrupts runs on the retiring generation; read sites unchanged, offsets moved;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=#329 plan 3 Task 4 and the final review: the new kind is registry:Size, one site, rt.Size != "" in the successor's max rule (the successor starts at the larger of its own sized tier and the incumbent's captured tier when the route has a size now or the incumbent runs at a tier other than its build's), and two more whole:Route sites: the successor's route is now sizedRouteLocked(e) with the wake route kept beside it as wakeRt for the incumbent's tier, and a second GenTier(rt, incumbent.Build) in that rule. The column comes from the agent's registry row (reconcile, from the signed app policy). Admission also refuses while a live size change is in flight. The raise still goes to root's /parent, whose memory_max root checks against its size table; no root decision here;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1, Task 8 and Task D: the incumbent's tier is recorded through recordCurrentTierLocked; genHealthy takes rt (so a rootfs generation is checked within the rootfs bound); the successor is installed through installProcLocked; after step 8 a rootfs build's declared processes are logged, never started (rootfsProcessesHook); no new file read;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R2: two new parameters from releaseBeforeSwap (pass, the proven pass, and due, whether the build needed a release); the admission and the exec gate both also ask releaseAdmitsSwapLocked, which refuses while any release record of the host is open (INV-R4) and, when a release was due, unless pass is this attempt's for the successor's build (INV-R5); no release runs here; the same 18 read sites, no read added; adds refusals only registry:Kind@2060,registry:Size@5198,whole:Route@10112,whole:Route@11958,whole:Route@11965,whole:Route@12005,whole:Route@12675,whole:Route@2062,whole:Route@2386,whole:Route@3729,whole:Route@3733,whole:Route@3778,whole:Route@4373,whole:Route@4425,whole:Route@5244,whole:Route@5821,whole:Route@7397,whole:Route@8116 eda7c4d8ea8eb0dd09b23e3cffb0a8c4920a42447344c47dd49e5836fea55ef5
+@legacy afe661b1bbae500d868b2de56a90ff95f5fe01d79257bd2009a0e831629d8e16 internal/activator/swaphold.go Service.holdAdmitLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-zddr4;basis=Census ruling zddr4: changed legacy row; the same entry route's layout is read through swapLayout instead of Classifier.Layout; the accepted layouts are unchanged. Boundary: agent-side, running as carlos; generation socket directories under the agent's own /run/carlos tree; no root decision; no registry, /data, release or claim read beyond what the unit read before.;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R [pf R2.4]: refuses (errReleaseOpen) while a release record of the host is open, after swapChecksLocked and before the kind and layout checks; in-memory only, no read added; adds a refusal only registry:Backing@278,registry:Kind@248,whole:Route@250,whole:Route@280,whole:Route@516 c4b78fa964ca773adedfc302c4a1cefb473726f256a8db10d3f3907f8d0373dd
+@legacy 56e04252cbed2ee29fa03d2020de524c507fd819f1d2e5c7a98fadd42394edf5 internal/activator/backend_rootfs.go ExecBackend.ReleaseEnv legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1 [pf R1.3]: new; the environment a release command launches with. Refuses a non-rootfs row and any layout but nested (fenced, conflict, flat: no mint into a flat directory); then the agent's own existing prepare steps for the run role: MkdirAll the instance's data dir (0700), ensureAdminTokenFor and ensureInstanceKeyFor (mint if absent, as a web start does), launchEnvLayer (the instance's file environment), replicaKeyGate (as a cmd start asks), then rootfsReleaseVars. Reads the agent's own instance files only; root reads nothing here (the result reaches root only inside the launch file startRootfsCmd writes); the environment is never logged registry:Host@1090,registry:Host@215,registry:Host@583,registry:Host@661,registry:Host@957,whole:Route@1017,whole:Route@1150,whole:Route@1220,whole:Route@1306,whole:Route@428,whole:Route@885 16ca47c738f83536220327f74ba71ca883fed4743d12438bd41aad9cae884a02
+@legacy 808ddc511b35d0b91c3429a227339175f87042418561c2a5f8e13f1acd925708 internal/activator/backend_rootfs.go ExecBackend.StartRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1: new; startRootfsCmd naming release.ProcessRelease, both streams through one capped line writer (releaseOutput, runs.MaxOutputBytes) into the caller's writer; no read of its own registry:Host@182,whole:Route@247 31ca011c424be830a540de451e70144c61c19da94745f38af80d2f9603ef0f49
+@legacy 22876669a364e8ac4d872235d4cf015e5078408c670d01bed55018ea07d33aa8 internal/activator/backend_rootfs.go ExecBackend.startRootfsCmd legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1 [pf R0.1, R1.4]: new; the agent's first caller of root's existing CmdRootfs (POST /cmd to root's control socket, unchanged). In order: rootfsGates; refuses a partial staged identity (version, path, digest); rootfsControl; prepare(rt, RoleCmd) (the instance's own directories); two stream listeners on the agent's own log sockets (logSocketNamed); the schema-2 launch file for RoleCmd with env alone (writeRootfsLaunchFor, the same writer and the same root reader as the web start's RoleRun file, rootfsLaunchEnv: never the agent's own environment); the caller's exec gate (runExecGate); then CmdRootfs(host, the row's tier memory.max, StagedImage{staged path, version, digest, process}), process being a declared process name root checks against the staged manifest. ErrStagedImage and ErrStartRefused are refusals with no unit; any other error returns a unit to stop and settle. Root validates the staged image and the process itself (instancectl, unchanged); registry:Host sites are log lines, socket and unit names registry:Host@1038,registry:Host@1156,registry:Host@1328,registry:Host@1752,registry:Host@1792,registry:Host@2099,registry:Host@2423,registry:Host@2550,registry:Host@2648,registry:Host@300,registry:Host@526,registry:Host@698,registry:Host@855,registry:Host@974,whole:Route@1808,whole:Route@2488,whole:Route@2492,whole:Route@2691,whole:Route@2729,whole:Route@2733,whole:Route@343,whole:Route@746 6aa5e4b0f2e37c0dd3bc4723ff20ff293d9d4cd1e8c2b034594ce47abadc98e9
+@legacy 06bb7e0523ca74fc4fac54a0a4eabcc94b7c9f47ef07f1e5d75ff85f1bdaae95 internal/activator/backend_unit.go SplitBackend.ReleaseEnv legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1: new; forwards to the exec backend for a non-unit row when it implements ReleaseBackend, refuses (errNoRootfsControl) otherwise, as SplitBackend.Processes does; +file:Exec is the b.Exec field (the exec backend value), not a file read file:Exec@158,registry:Backing@107,registry:Host@274,whole:Route@216 87c73130c05e34dbe2a15a5b65d0cf4666783caeab9510846bb4f8b076842a0b
+@legacy b49ad87f0ddbe6b9d89bebad4788a67306162e9ccff3b09335fbc7c9133a829a internal/activator/backend_unit.go SplitBackend.StartRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1: new; forwards to the exec backend like ReleaseEnv, refuses with no unit otherwise; +file:Exec is the b.Exec field, not a file read file:Exec@215,registry:Backing@164,registry:Host@347,whole:Route@275 f50c3262a337fe88c89804920ad7aecc00c776220cb9d6682d68c9be58822fbf
+@legacy e0e320176e1726804d71bcd7e2953d40fe991f7b47b44735d78040b7e62b7cf4 internal/activator/rootfsenv.go ExecBackend.rootfsReleaseVars legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1 (D1): new; rootfsCmdVars over the file environment with no run id or run dir, then CARLOS_RUN_ID and CARLOS_RUN_DIR removed (a release is no carlos run); pure, no read whole:Route@157 59788ae3308ea8f84d16878b09e55493d8b9e611398af012dfb1676af4f7ab4e
+@legacy 1c6b90618b7a05662b0059356c1f26186bf687dc3441a63af01bb9c5fd6614e7 internal/activator/rootfsrelease.go Service.committedGood legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R2 fix (Astra R2 round 1 P1 1, D3): new; one read of the agent's own registry row (a.Routes.Get(rt.Host), the SQLite registry the agent's reconcile writes from the signed app policy) for the committed good build; refuses (refuseRootfs) a row that is gone, unreadable, changed in the fields wakeRouteChanged checks, or of another Incarnation; with no registry returns the entry's row's good build; only decides whether a release is skipped as already run, or refuses registry:Host@158,registry:Host@280,registry:Host@413,registry:Host@744,registry:Incarnation@609,registry:Incarnation@630,registry:Incarnation@775,registry:Incarnation@794,whole:Route@302,whole:Route@476,whole:Route@481 d6c32ccd813495ba51de46afbcd0730d801b0a7dd5fc71dd62ee04df66017e52
+@legacy e76591130611efc5280b1c867979cd60cd0b8d4df39d8bdae549f5097c20ca83 internal/activator/rootfsrelease.go Service.releaseAdmitLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1 [pf R1.10]: new; the owner's half of a release's admission under a.mu: refuses while a run holds the cmd unit, and for an awake owner mirrors Swap's exclusions (worker or non-instance kind, a layout other than flat or nested through the existing swapLayout, members, a raised parent, a resize, a cmd start in flight); in-memory only; refusals only registry:Kind@163,whole:Route@165,whole:Route@244 3cbeb175df48fc3b3394a19002109eab5bd63bcd6102aae5cdff3193e56edb0f
+@legacy e1729675d6140658350202e8abc0a38bc8b5166569ea76bb58d1ad163f198bad internal/activator/rootfsrelease.go Service.releaseAppLog legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1 [pf R1.5]: new; the writer a release's output goes through: each line to the instance's own app log (a.Logs.App(account, app, host, line)); reads the route's account, app and host for the log's key; no file read registry:App@203,registry:Host@211,whole:Route@198 e2b276ee0a7b7094e5fc54219c864f1a2d7ed41f39525404d7ee592b2bd85857
+@legacy 6c2d405426f7fce7e72f346c2258ec63c2dd702e013b9fac7fdfedb389ae757a internal/activator/rootfsrelease.go Service.releaseBeforeSwap legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R2: new; before an overlap swap of a rootfs row, under a gate of the swap's own checks plus the plan's turn-off: reads the committed good build (committedGood) over the entry's copy, builds the staged identity from the scheduler's attempt (at.Build, StagedPath, Digest, Demand), checks the staged bytes (release.VerifyStaged, the check swapOverlap already makes), then runs runRelease under the incumbent's replica as the lease watch, inside the attempt's context; the swap is admitted only on a proven pass. +registry:Version, Digest, Demand are the StagedIdentity literal's fields and +registry:Good* the three assignments from the committed row; a binary row reads nothing registry:Demand@1422,registry:Digest@1409,registry:GoodDemand@1379,registry:GoodDigest@1364,registry:GoodVersion@1348,registry:Version@1395,whole:Route@1282,whole:Route@1956,whole:Route@211,whole:Route@434,whole:Route@858 271c9381fce56ea36b7b00e7431b2410bac221c2aafeb243c3b30a466fb4b1d6
+@legacy 675ba5af0088d8d504fab61569cb95e90054c1025d4738ac3045577076725a7d internal/activator/rootfsrelease.go Service.releaseInWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: new; for a rootfs row, runRelease under the wake's own lease, gated by leaseLost(lease) and wakeOwned; a binary row runs nothing; no read of its own whole:Route@317 63d890c8a50ff2690830f7ec3e83b6dd4280a350066b0bf05effd83092ba0364
+@legacy 1cd5745cb9a9588fc7f7ccb0c68ec477e08a000c183396e32686e88eb526f717 internal/activator/rootfsrelease.go Service.runRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1: new; the one place a release command runs. Refuses while any record of the host is open; skips the row's good build (releaseRan); reads the declared processes (declaredProcesses: the existing staged-manifest read) and refuses on a read error, never treating it as no release; runs only when releaseDue; needs a lease watch and a ReleaseBackend; its gate is the caller's plus the lease's Err and its safety deadline more than releaseStopLead (cmdStopBound, 2 min) away; creates the record under a.mu after releaseAdmitLocked; publishes the generations file and the build state (recordBuild) before anything runs; times out at the manifest's timeout_sec (default, capped at runs.MaxTimeout); ReleaseEnv; a supervisor stops the unit ahead of the lease's safety deadline; StartRelease under the exec gate; polls the unit (root's existing cmd status); stops and settles it (the existing cmd hold's stop, cmdStopBound); only a non-zero exit, a signal or the timeout with the unit proven gone is the build's failure (*ReleaseError); registry:Host sites are the record key and log lines registry:Host@184,whole:Route@2934,whole:Route@3163,whole:Route@3651,whole:Route@3680,whole:Route@5728,whole:Route@589,whole:Route@6196,whole:Route@6473,whole:Route@6903,whole:Route@817,whole:Route@902 e0cfa518c75e4671ef8a86c2f8438112af7aab07c49ed21fab0bf07438bafe68
+@legacy a8c0df96b63fb26c45df900ba9c37d2be4ba95b219c02c197bca479195c25835 internal/activator/rootfsrelease.go releaseDue legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1: new; pure: a rootfs row, a build that declares release, and not the row's good build (releaseRan) whole:Route@228 addbb4f26b9407b42128d50e30a393e472e6d89be29f2db8a1fe289f1784b96d
+@legacy aa8a53adb8368d0f0e8ef0b84958356a491495ecb9d332724332c90b9d64c483 internal/activator/rootfsrelease.go releaseRan legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1 (D3): new; pure: the identity is the row's good build by version and digest (case-insensitive digest compare) registry:GoodDigest@138,registry:GoodVersion@91 32054a5a8f77f68e69a848705c018dba53e12f6faf8fc05aaa3b9e206dc43b42
+@legacy 4f56c840092a2970ec8f748ec651b5e4d8ef5d2b0366c3fbcfe6a6c90158effa internal/activator/wakeplan.go Service.spawnPlannedRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3 [pf R3.2]: new; spawnPlanned's branch for a release of B that did not pass: only a *ReleaseError (unit proven gone) is B's failure (w.failed on a first wake) and, with a fallback, boots the good build through its own planGate as the existing fallback does; every other outcome records nothing of B and fails the wake; no file read registry:Host@241,whole:Route@650 8eb5377470b0eff04505abfa17b8f845ff8b678d1435c6e5ea1df879b7dcc9da
+@legacy d96c792b89affbb650b2336b01ae007bd7742cc67f2daa749282b7f64439bec2 internal/activator/swaphold.go Service.startPinnedChecked legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: for a rootfs row, the pin's release runs before its web (runRelease under the wake's lease watch and the same gate), refusing a partial staged identity; a release that ran marks pinExec (markPinReleaseExec); a non-failure result is wrapped (holdReleaseResult) so the hold abandons. New sites +registry:Host (releaseOpen(rt.Host)) and +whole:Route (rt to runRelease); binary rows unchanged registry:Host@1100,whole:Route@1160,whole:Route@942 d976f4051d7df794b085b5d814bd30b134d5336fef85c89b191173ffa9862c89
+@legacy d0a3d34cbac82aec615ffffd6055209b4114f091a9a0eebdc3088498c0cf7ca2 internal/activator/activator.go Service.doWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body (census ruling 292's legacy start mark and lease give-back; census ruling owed's pending record) with the seeded change ruled under census-ruling-seeded-instances (the refreshed row checked against the row the wake began from, twice; the seed's first upload recorded after the wake), and now one more line on a failed start: a start its pre-exec gate refused (launchNotStarted: the exec gate, the pending record or its recheck answered no before root was asked) is recorded as known not started (stopObservation.notStarted) instead of uncertain, only when the wake has started nothing else (wakeStartedNothing); otherwise it goes through cleanupFailedWake and its proofs. A refusal before its lease (step 1), which has started nothing, is recorded the same way. Read sites unchanged; no new read and no root decision;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=marks the end of each wake step on the woken instance's journal timer (wakeSteps: a.now() and a slice append, journal only); no read added, no step reordered;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: (1) after the restore it asks the backend for the replication class an HA restore imported from the host's published wake state (restoredReplication(rt)) and, if it differs, logs it and sets rt.Replication and the entry's route to it; (2) an HA lease of the stream class replicates with a 1 s monitor interval (SetMonitorInterval); (3) after Replicate, an HA replica opens the entry's files publisher (openEntryFiles(ctx, e, rt)) and starts it, and a publisher that will not open fails the wake through cleanupFailedWake; (4) every cleanupFailedWake call passes e; (5) final fix F1: the two start-error arms that gave the lease straight back (a start its pre-exec gate refused with nothing started, and the default arm) now call giveBackAfterStart(ctx, rt, w, lease), which gives a legacy lease back exactly as before and an HA one only over an empty host slice. New sites: registry:Replication x5 (the class compare, the log line, the assignment and the HA sync-interval check) and whole:Route x6 (rt handed to restoredReplication, openEntryFiles, the cleanup calls and giveBackAfterStart); no file read in this body; only adds a condition before an HA release, no check removed;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: the rootfs admission runs before the claim path and before Acquire on the refreshed row (rootfsWakeRefusal), again in full if a re-read under the lock changed any gate field, and a resident wake re-checks residentRunnable; for a rootfs row a held lease or refused config is an ownership refusal; a rootfs first boot (no good version, fresh) places the empty database under the lease (placeRootfsDB) and uploads it once (syncRootfsPlaceholder), while fresh with a good version is refused as a lost database; declared processes are logged after the wake (rootfsProcessesHook); binary rows unchanged; fix wave 1 and 2 (6189a9db, then the r2 ruling "refuse interrupted init"): a fresh rootfs first boot goes through rootfsFirstBoot (rootfsmarker.go) instead of placeRootfsDB alone: under the lease it reads the lifetime's first-boot marker from the hibernate bucket (present or unreadable refuses, present as errRootfsReplicaMissing), writes it create-only, reads it back (only a read back that finds it confirms it; a write conflict proves nothing), and only then places the database; a warm wake does nothing with the marker (fix wave 1's settleRootfsFirstBoot call and its whole:Route site are gone, no local pending record); adds refusals only, binary rows unchanged;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: (1) refuses (errWakeUnproven) while another entry's release record of the host is open; (2) a rootfs row with a plan or a pin reads its declared processes before the lease (declaredProcesses(rt, g): the existing staged-manifest read of ExecBackend.Processes, the manifest root's staging wrote, checked against the identity's path and digest) and refuses before Acquire on an error; (3) the staged-identity start runs releaseInWake(ctx, e, rt, id, lease) before startGenExe, under this wake's lease, and a release that did not pass fails the wake; (4) a rootfs row with no plan, no pin and no staged identity is refused, the lease given back, nothing started; (5) a start error whose release is not proven stopped hands the lease to the release record (oweWakeLeaseToRelease) instead of giving it back. New sites +whole:Route x2 (rt to declaredProcesses and releaseInWake); no new file read beyond the existing staged-manifest read; binary rows unchanged registry:DBPath@1703,registry:DBPath@1719,registry:DBPath@1846,registry:DBPath@1857,registry:DBPath@28521,registry:GoodVersion@13684,registry:Host@1532,registry:Host@1607,registry:Host@1685,registry:Host@1837,registry:Host@2171,registry:Host@4121,registry:Host@577,registry:Host@6378,registry:Replication@12307,registry:Replication@12436,registry:Replication@12455,registry:Replication@12536,registry:Replication@28424,registry:Replication@28556,registry:Seed@17242,registry:Socket@1732,registry:Socket@1748,registry:Socket@1871,registry:Socket@1882,whole:Route@10528,whole:Route@11409,whole:Route@12287,whole:Route@12538,whole:Route@13887,whole:Route@15176,whole:Route@15368,whole:Route@16058,whole:Route@1630,whole:Route@17343,whole:Route@17414,whole:Route@19830,whole:Route@2066,whole:Route@2071,whole:Route@2125,whole:Route@2131,whole:Route@21688,whole:Route@2197,whole:Route@2205,whole:Route@22334,whole:Route@23641,whole:Route@23795,whole:Route@24294,whole:Route@24364,whole:Route@24951,whole:Route@26036,whole:Route@26467,whole:Route@26675,whole:Route@26729,whole:Route@27658,whole:Route@27843,whole:Route@28633,whole:Route@29045,whole:Route@29094,whole:Route@29472,whole:Route@30694,whole:Route@30789,whole:Route@31396,whole:Route@3156,whole:Route@3250,whole:Route@3317,whole:Route@357,whole:Route@4011,whole:Route@562,whole:Route@5747,whole:Route@6006,whole:Route@6268,whole:Route@6273,whole:Route@6330,whole:Route@6336,whole:Route@6405,whole:Route@6413,whole:Route@6729,whole:Route@6790,whole:Route@6888,whole:Route@7712,whole:Route@8695,whole:Route@9269,whole:Route@9458 afd6ee142fef4335e940ba4576f638fa2fc0bd1fe47bb73209c4ee96735a9e0f
+@legacy f4e0952c12d590c3e1664edc91e2b5bab466abd0f01354fda01db76585a4111a internal/activator/activator.go Service.wake legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=Re-digested at the pre-land merge: the body includes main's own change under census ruling 292, with no further change from this branch. the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=logs that timer's breakdown to the journal after a successful wake (w.steps.String(), e.host, w.wakeTook); no read added;rev3=census-ruling-plans-4d-lapse;basis=cancels a wake whose row the turned-off hook names, like a fence, unless it is a move's active probe (plans 4d). One more whole-row read: the row handed to the hook (a.disabled). Only refuses.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: a refusal before the lease is reported once per change (noteRootfsRefusal) instead of a wake-failure event; the proc, generation and replica are installed through installProcLocked (which puts a resident under its lease watch before the fence); residency notes the outcome (noteResidentWakeLocked); same generation values;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R [pf R3.5]: the wake's context ceiling is wakeCeilingFor(e.route): the old 5 minutes for a binary row, 5 minutes plus runs.MaxTimeout for a rootfs row (room for a release inside the wake); new site +whole:Route (e.route to wakeCeilingFor, which reads Runtime only); no other change registry:Socket@7683,registry:Socket@7844,whole:Route@1034,whole:Route@2486,whole:Route@2577,whole:Route@2634,whole:Route@417,whole:Route@5931,whole:Route@7636,whole:Route@7685,whole:Route@7846,whole:Route@9169,whole:Route@9190 ddfc275bdf2b6933e04852e7e9e940c66aad042b3da8d5155e65c7b81d9c52b7
+@legacy 4bf0cd1386ddb6674162f98de522d12c081982da641e9decc823819b5388ce82 internal/activator/backend_rootfs.go Service.rootfsProcessesHook legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task D (D8): after a swap, logs a rootfs build's declared workers and release process, which this box does not run yet; logs only, starts nothing;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1: the log line saying this box does not run the release process is removed (the box runs it now); site -registry:Host (that log line's rt.Host); still logs undeclared-to-run workers only and starts nothing registry:Host@301,registry:Host@606,whole:Route@166 8ad13ee896193492c0e0090a7ad5acf3798357fead9ca7eb9977695f3e9a2684
+@legacy 84dcd2fb68555c92903a5e82dffa348ebc07416fca91757860846c7dbfb9e5fd internal/activator/cmd.go Service.RunCmd legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): admits one run against an awake entry under the agent's own lease, fence and swap checks; it starts nothing itself and root validates what it later names;rev3=census-ruling-edge-request-records;basis=passes nil for begin's new req parameter; no read added;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: a carlos run is refused with ErrCmdBusy while a release record of the host is open (a.releaseOps[rt.Host], in-memory), as a run already in flight refuses it; new site +registry:Host (that map lookup); adds a refusal only file:Prepare@1877,file:Prepare@1911,registry:Host@1047,registry:Host@1366,registry:Host@6883,registry:Kind@164,whole:Route@401,whole:Route@584,whole:Route@7483 ab8234fe719195d8cac0c167260de5360fb19524ba6c1b53f8e35ee3dd8928fb
+@legacy 6078820fb0a69f7a71e810560bf42c8f492460a81248506e52c37851453d455f internal/activator/rootfs_service.go Service.residentHeldLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: a resident is not started proactively while fenced, already entered, latched as an unproven wake, holding stray sidecars, or disabled; reads only the activator's own state and the route's host;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: a resident is not started proactively while a release record of its host is open (a.releaseOps[rt.Host], in-memory); new site +registry:Host (that lookup); holds more, never less registry:Host@103,registry:Host@172,registry:Host@213,registry:Host@263,registry:Host@76,whole:Route@317 b2f472b842c3ead5c3b3aa7034c55340f3a97c7577b5dd3b990fe77502d2c7d9
+@legacy c3ec17f28acd2e600e7d7d9e84cce952d58c191014125366cd6e3dd9895d0e98 internal/activator/wakeplan.go Service.spawnPlanned legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the first-wake budget and the health bound are the route's (firstWakeBudgetFor, healthBoundFor read Runtime: the rootfs bound for a rootfs row, the binary constants otherwise);rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: for a rootfs row, B's release runs first (runRelease under the wake's lease watch and the plan's gate, planGate); a release that did not pass goes to spawnPlannedRelease; after a passed release B's health window starts from now, not from the wake's start [pf R3.4]; w.bootRan is also true when the release ran. New sites +whole:Route x3 (rt to runRelease, spawnPlannedRelease and the second firstWakeBudgetFor); no file read registry:Host@2528,whole:Route@1156,whole:Route@1245,whole:Route@1617,whole:Route@1636,whole:Route@193,whole:Route@2784,whole:Route@5131,whole:Route@5454,whole:Route@574,whole:Route@706,whole:Route@945 9a2eb89f160e37992f4f87f8a7a7156030ef906165df3edc614167c26ba8363b
+internal/activator/activator.go Service.finishStop legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with a run's settle checked before replication closes, which keeps the stop pending until the run is proven stopped; read sites unchanged, offsets moved;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: an HA entry (its replica is an HA one, haEntryRep) now releases through releaseHAClean (a new unit on this card) instead of e.rep.Close; when that answers errHostSliceUnproven the stop is kept pending (keepPendingLocked) with the lease held and renewing, and the sweep finishes it once proven; a non-HA entry is unchanged; the same five sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: a forgotten entry's stop is noted for its resident (noteResidentStopLocked: crash or lost lease backs off, any other stop restarts on the next tick) and its ownerDone channel is closed; no read added;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: while the host has a release command's record (a.releaseOps[e.host], running or not proven stopped), replication and the lease stay and the stop is kept pending (keepPendingLocked) until the record's proof; the same five read sites, no read added; only holds a release back registry:Socket@3152,registry:Socket@3257,whole:Route@3102,whole:Route@3154,whole:Route@3259 af439a1562935a5e43ed833aaf95559b4ec1c638be6f8fcb86da059b28f47cbe
+internal/activator/activator.go Service.sweepOnce legacy accepted-legacy accepted-legacy;rev3=PROPOSED-seed;basis=census-ruling-FS-R6; registry remains legacy; PROPOSED-plans-2-box-limits: the sweep also narrows an entry's idle window to its account's plan idle through the SetIdleFor hook (never lengthens it; always-on workers and held probe entries are untouched; the hibernate, inflight and held-for-tick guards are unchanged).;rev3=census-ruling-plans-4c-box-throttle;basis=after the worker max_run branch, stops a non-worker entry past the plans continuous-awake ceiling (maxRunFor, passed the row), busy or not, never mid-command (plans 4c). One more whole-row read: the row handed to the hook, as idleFor already is. This bypasses the inflight and held-for-tick protections the idle stop keeps, on purpose: escalated by Astra and ACCEPTED by Paul (census owner), 2026-10-25.;rev3=census-ruling-plans-4d-lapse;basis=stops a live entry the turned-off hook names (never mid-command, never a move's active probe), stands down an exited worker it names instead of restarting it (Astra finding 4), and skips such rows in the due loop and the always-on arm so they are not woken (plans 4d). Four more whole-row reads: the row handed to the hook (a.disabled), as idleFor and maxRunFor already are. Only stops or skips.;rev3=census-ruling-remote-instance-metrics;basis=its two entries-map insertions go through putEntryLocked (which also notes the route's tenant in memory for the metrics sampler); no read added;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: one more call at the top, a.retryOwedMarkers() (harelease.go), which starts at most one background lease.RetryPending pass over owed region HA release markers, off a.mu; the due query, idle, max-run and lapse logic are unchanged; the same 38 sites, no read added; merge of origin/main d7ae1d76: main's change is kept as main has it (census-ruling-remote-instance-metrics: its two entries-map insertions go through putEntryLocked); this branch's change is the same as above; read sites the same 38, offsets moved;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: a resident (Route.Resident) is never stopped for idleness or by the continuous-awake ceiling; the due-wake check is left on Hibernate (comment); stops less, not more;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: an entry whose host has a release record open (the in-memory a.releaseOps[e.host]) is not stopped by its plan's turn-off, by idleness or by the continuous-awake ceiling until the record goes; one more sweep pass, reapReleaseOpsLocked, retries an unproven release's stop (through finishPendingStops); the same 39 read sites, no read added; stops less, not more registry:Hibernate@10768,registry:Hibernate@14515,registry:Hibernate@23773,registry:Hibernate@5665,registry:Hibernate@7853,registry:Host@23842,registry:Host@23900,registry:Host@24367,registry:Host@24460,registry:Host@25195,registry:Host@25284,registry:Host@26348,registry:Host@26635,registry:Host@26691,registry:NextDue@25150,registry:Status@23789,whole:Route@10770,whole:Route@11618,whole:Route@14517,whole:Route@16450,whole:Route@18160,whole:Route@18350,whole:Route@18643,whole:Route@18815,whole:Route@18962,whole:Route@23173,whole:Route@23949,whole:Route@24864,whole:Route@25204,whole:Route@25211,whole:Route@26163,whole:Route@26464,whole:Route@26668,whole:Route@5476,whole:Route@5667,whole:Route@7686,whole:Route@7855,whole:Route@8048,whole:Route@8511 5194a34dd0f82212f94c0e8164118ccbb90a5d711c546ee4126e4d877f19a61b
+internal/activator/activator.go type Service authority B,C,D,F,J4 rev3=PROPOSED-seed; existing activator lifecycle and due-wake state plus owned seed exclusion and incarnation-keyed diagnostics; normal refusal and preparation ordering remain authoritative; PROPOSED-plans-2-box-limits adds the idleFor hook field, which only narrows idle windows;rev3=census-ruling-plans-4c-box-throttle;basis=gains the maxRunFor hook field beside idleFor (plans 4c). No read added.;rev3=census-ruling-plans-4d-lapse;basis=gains the disabledFor hook field beside maxRunFor (plans 4d). No read added.;rev3=census-ruling-remote-instance-metrics;basis=gains tenancySeq, hostTenants and hostMixed, in-memory fields for Tenancies; no read added;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: one more field, markers (markerRetry: an atomic running flag and the last log time) for retryOwedMarkers; no read added; merge of origin/main d7ae1d76: main's fields are kept as main has them (census-ruling-remote-instance-metrics: tenancySeq, hostTenants, hostMixed); this branch's change is the same as above;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: new fields for rootfs admission (rootfsArmed, rootfsSwept), the per-host gate ask and refusal memo, and residency state (lister, backoff, start ceiling, cursor, test seam); no read;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: one new field, releaseOps (host to the in-memory release record, under a.mu); no read 68d534821b15048f91a188881355de7b04113e8fd410ec8d0c2979e09939068a
+internal/activator/claimwake.go Service.doClaimWake legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: a claim wake is refused (errWakeUnproven) while another entry's release record of the host is open, as an unproven failed wake already refuses it; the in-memory map only, no read added; adds a refusal only file:Exec@1133,file:Prepare@2265,file:Read@140,file:Read@932,registry:Host@3329,registry:Host@3399,registry:Host@4520,registry:Host@4597,registry:Host@4723,registry:Host@5336,registry:WakeIncarnation@1464,registry:WakeIncarnation@1592,whole:Route@1466,whole:Route@1594,whole:Route@2363,whole:Route@2474,whole:Route@2529,whole:Route@2535,whole:Route@3542,whole:Route@3600,whole:Route@3606,whole:Route@4640,whole:Route@5600,whole:Route@6220,whole:Route@7579,whole:Route@7667,whole:Route@8339,whole:Route@8347 d5cd3ff317eda7efda0e53c354e4b0a04865987bd1c2f570621cb953c366d3bc
+internal/activator/maintenance.go Service.cleanupFailedWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): census ruling 292's body; when #292's whole proof holds for an aborted legacy start (legacyRunGone: the unit stopped and its cgroup empty) this wake's uncertainty is discharged and the stages it never reached (no sidecar, no replica) are recorded as held; when the proof fails the start is retained exactly as before, now named as the owner of this wake's uncertainty (owedBy). Read sites unchanged; the proof still only decides release-or-keep; no new read and no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: takes the wake's entry e as a new first argument and, when it is not nil, stops and joins the entry's HA files publisher (stopFiles) before anything else. Final fix F1: once the process's own proof has passed, an HA wake (haHeld(lease, w.rep)) is released only when haHostEmpty(rt) reads the host slice empty; otherwise it logs, marks the stop uncertain and retains the wake as unproven (retainUnprovenWake, with owedBy for a legacy start), keeping the lease and replica for the reaper. A non-HA wake's stop, proofs and give-back are unchanged. New sites +registry:Host (the log line) and +whole:Route x3 (rt to haHostEmpty and in the retained unprovenWake); no file read; only holds an HA release back;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R [pf R3.1]: when the wake's own release ended with its unit not proven stopped, the wake's lease is handed to the release record (oweWakeLeaseToRelease) and nothing is given back here; the record gives the lease back only after the unit is proven gone; the same 15 read sites, no read added; only holds a lease back registry:Host@2332,registry:Host@2845,registry:Host@3796,registry:Host@4136,registry:Host@4828,registry:Host@5567,whole:Route@2199,whole:Route@2438,whole:Route@2442,whole:Route@3478,whole:Route@4161,whole:Route@4165,whole:Route@4731,whole:Route@4864,whole:Route@4868 bc62f47c3a5b8c98e6f88a7a84c439f634ac0ad1751d473402dd9c50ed5c019d
+internal/activator/maintenance.go Service.fenceAndStop authority B,C,D,F,J4 rev3=PROPOSED-seed; shared activator state and opaque owner token; waits existing request, scheduled-token and stop preparations before fencing; exact owner alone may resume or release;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: with no entry, an open release record of the host (in-memory) makes the fence answer ErrStopUnproven instead of returning stop evidence; no read added; only refuses evidence 57ef0800d87aef81f6bde38e4248a8665e4ae95651036f5f2671cf6aabe5855a
+internal/activator/opset.go Service.releasable legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with a run's settle added to the termination proof; read sites unchanged;rev3=census-ruling-instance-egress-sizes-328-329;basis=#329 plan 3 Task 6: the termination proof also waits for a live size change in flight (e.ops.resizing, read under a.mu beside members and restoring), so a stop keeps the lease until the CPU and IO write to the host's slice returns; no read added, the same two whole:Route sites (rt, g, p taken from the entry, then genTerminated).;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R [pf R1.11]: the termination proof also requires that no release record of the host is open (read under a.mu beside members, strays, restoring and resizing); the same two whole:Route sites, no read added whole:Route@244,whole:Route@392 5d1a12b842bd580eb9f3d9b6a19549ad36559181511fba47a4f1b22a1affd22f
+internal/activator/swap.go Service.swapOverlap 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 zddr4, with no further change from this branch. the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; admission and the switch refuse while a run's unit is starting, and the switch interrupts runs on the retiring generation; read sites unchanged, offsets moved;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=#329 plan 3 Task 4 and the final review: the new kind is registry:Size, one site, rt.Size != "" in the successor's max rule (the successor starts at the larger of its own sized tier and the incumbent's captured tier when the route has a size now or the incumbent runs at a tier other than its build's), and two more whole:Route sites: the successor's route is now sizedRouteLocked(e) with the wake route kept beside it as wakeRt for the incumbent's tier, and a second GenTier(rt, incumbent.Build) in that rule. The column comes from the agent's registry row (reconcile, from the signed app policy). Admission also refuses while a live size change is in flight. The raise still goes to root's /parent, whose memory_max root checks against its size table; no root decision here;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1, Task 8 and Task D: the incumbent's tier is recorded through recordCurrentTierLocked; genHealthy takes rt (so a rootfs generation is checked within the rootfs bound); the successor is installed through installProcLocked; after step 8 a rootfs build's declared processes are logged, never started (rootfsProcessesHook); no new file read;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R2: two new parameters from releaseBeforeSwap (pass, the proven pass, and due, whether the build needed a release); the admission and the exec gate both also ask releaseAdmitsSwapLocked, which refuses while any release record of the host is open (INV-R4) and, when a release was due, unless pass is this attempt's for the successor's build (INV-R5); no release runs here; the same 18 read sites, no read added; adds refusals only registry:Kind@2060,registry:Size@5198,whole:Route@10112,whole:Route@11958,whole:Route@11965,whole:Route@12005,whole:Route@12675,whole:Route@2062,whole:Route@2386,whole:Route@3729,whole:Route@3733,whole:Route@3778,whole:Route@4373,whole:Route@4425,whole:Route@5244,whole:Route@5821,whole:Route@7397,whole:Route@8116 eda7c4d8ea8eb0dd09b23e3cffb0a8c4920a42447344c47dd49e5836fea55ef5
+internal/activator/swaphold.go Service.holdAdmitLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-zddr4;basis=Census ruling zddr4: changed legacy row; the same entry route's layout is read through swapLayout instead of Classifier.Layout; the accepted layouts are unchanged. Boundary: agent-side, running as carlos; generation socket directories under the agent's own /run/carlos tree; no root decision; no registry, /data, release or claim read beyond what the unit read before.;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R [pf R2.4]: refuses (errReleaseOpen) while a release record of the host is open, after swapChecksLocked and before the kind and layout checks; in-memory only, no read added; adds a refusal only registry:Backing@278,registry:Kind@248,whole:Route@250,whole:Route@280,whole:Route@516 c4b78fa964ca773adedfc302c4a1cefb473726f256a8db10d3f3907f8d0373dd
+internal/activator/swaphold.go Service.wakeFailureEvent diagnostic C,J4 rev3=PROPOSED-seed; incarnation-keyed missing-files diagnostics and indexed retry results; throttles output only and grants no retry, stop or launch;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3 fix: a hold's pinned-wake error is a failure event only when pinBuildFailedLocked also says the build can be blamed (its release failed with a *ReleaseError, or its web ran or may have, pinWebExec); otherwise it is logged as refused or abandoned; reads only the entry's in-memory flags; emits fewer failure events, never more 517dcd7b41dfa4710f76bbbeb2d64b148dd37d6f887adb349e1fad4334506bd3
+internal/activator/backend_rootfs.go ExecBackend.ReleaseEnv legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1 [pf R1.3]: new; the environment a release command launches with. Refuses a non-rootfs row and any layout but nested (fenced, conflict, flat: no mint into a flat directory); then the agent's own existing prepare steps for the run role: MkdirAll the instance's data dir (0700), ensureAdminTokenFor and ensureInstanceKeyFor (mint if absent, as a web start does), launchEnvLayer (the instance's file environment), replicaKeyGate (as a cmd start asks), then rootfsReleaseVars. Reads the agent's own instance files only; root reads nothing here (the result reaches root only inside the launch file startRootfsCmd writes); the environment is never logged registry:Host@1090,registry:Host@215,registry:Host@583,registry:Host@661,registry:Host@957,whole:Route@1017,whole:Route@1150,whole:Route@1220,whole:Route@1306,whole:Route@428,whole:Route@885 16ca47c738f83536220327f74ba71ca883fed4743d12438bd41aad9cae884a02
+internal/activator/backend_rootfs.go ExecBackend.StartRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1: new; startRootfsCmd naming release.ProcessRelease, both streams through one capped line writer (releaseOutput, runs.MaxOutputBytes) into the caller's writer; no read of its own registry:Host@182,whole:Route@247 31ca011c424be830a540de451e70144c61c19da94745f38af80d2f9603ef0f49
+internal/activator/backend_rootfs.go ExecBackend.startRootfsCmd legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1 [pf R0.1, R1.4]: new; the agent's first caller of root's existing CmdRootfs (POST /cmd to root's control socket, unchanged). In order: rootfsGates; refuses a partial staged identity (version, path, digest); rootfsControl; prepare(rt, RoleCmd) (the instance's own directories); two stream listeners on the agent's own log sockets (logSocketNamed); the schema-2 launch file for RoleCmd with env alone (writeRootfsLaunchFor, the same writer and the same root reader as the web start's RoleRun file, rootfsLaunchEnv: never the agent's own environment); the caller's exec gate (runExecGate); then CmdRootfs(host, the row's tier memory.max, StagedImage{staged path, version, digest, process}), process being a declared process name root checks against the staged manifest. ErrStagedImage and ErrStartRefused are refusals with no unit; any other error returns a unit to stop and settle. Root validates the staged image and the process itself (instancectl, unchanged); registry:Host sites are log lines, socket and unit names registry:Host@1038,registry:Host@1156,registry:Host@1328,registry:Host@1752,registry:Host@1792,registry:Host@2099,registry:Host@2423,registry:Host@2550,registry:Host@2648,registry:Host@300,registry:Host@526,registry:Host@698,registry:Host@855,registry:Host@974,whole:Route@1808,whole:Route@2488,whole:Route@2492,whole:Route@2691,whole:Route@2729,whole:Route@2733,whole:Route@343,whole:Route@746 6aa5e4b0f2e37c0dd3bc4723ff20ff293d9d4cd1e8c2b034594ce47abadc98e9
+internal/activator/backend_unit.go SplitBackend.ReleaseEnv legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1: new; forwards to the exec backend for a non-unit row when it implements ReleaseBackend, refuses (errNoRootfsControl) otherwise, as SplitBackend.Processes does; +file:Exec is the b.Exec field (the exec backend value), not a file read file:Exec@158,registry:Backing@107,registry:Host@274,whole:Route@216 87c73130c05e34dbe2a15a5b65d0cf4666783caeab9510846bb4f8b076842a0b
+internal/activator/backend_unit.go SplitBackend.StartRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1: new; forwards to the exec backend like ReleaseEnv, refuses with no unit otherwise; +file:Exec is the b.Exec field, not a file read file:Exec@215,registry:Backing@164,registry:Host@347,whole:Route@275 f50c3262a337fe88c89804920ad7aecc00c776220cb9d6682d68c9be58822fbf
+internal/activator/rootfsenv.go ExecBackend.rootfsReleaseVars legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1 (D1): new; rootfsCmdVars over the file environment with no run id or run dir, then CARLOS_RUN_ID and CARLOS_RUN_DIR removed (a release is no carlos run); pure, no read whole:Route@157 59788ae3308ea8f84d16878b09e55493d8b9e611398af012dfb1676af4f7ab4e
+internal/activator/rootfsrelease.go Service.committedGood legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R2 fix (Astra R2 round 1 P1 1, D3): new; one read of the agent's own registry row (a.Routes.Get(rt.Host), the SQLite registry the agent's reconcile writes from the signed app policy) for the committed good build; refuses (refuseRootfs) a row that is gone, unreadable, changed in the fields wakeRouteChanged checks, or of another Incarnation; with no registry returns the entry's row's good build; only decides whether a release is skipped as already run, or refuses registry:Host@158,registry:Host@280,registry:Host@413,registry:Host@744,registry:Incarnation@609,registry:Incarnation@630,registry:Incarnation@775,registry:Incarnation@794,whole:Route@302,whole:Route@476,whole:Route@481 d6c32ccd813495ba51de46afbcd0730d801b0a7dd5fc71dd62ee04df66017e52
+internal/activator/rootfsrelease.go Service.releaseAdmitLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1 [pf R1.10]: new; the owner's half of a release's admission under a.mu: refuses while a run holds the cmd unit, and for an awake owner mirrors Swap's exclusions (worker or non-instance kind, a layout other than flat or nested through the existing swapLayout, members, a raised parent, a resize, a cmd start in flight); in-memory only; refusals only registry:Kind@163,whole:Route@165,whole:Route@244 3cbeb175df48fc3b3394a19002109eab5bd63bcd6102aae5cdff3193e56edb0f
+internal/activator/rootfsrelease.go Service.releaseAppLog legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1 [pf R1.5]: new; the writer a release's output goes through: each line to the instance's own app log (a.Logs.App(account, app, host, line)); reads the route's account, app and host for the log's key; no file read registry:App@203,registry:Host@211,whole:Route@198 e2b276ee0a7b7094e5fc54219c864f1a2d7ed41f39525404d7ee592b2bd85857
+internal/activator/rootfsrelease.go Service.releaseBeforeSwap legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R2: new; before an overlap swap of a rootfs row, under a gate of the swap's own checks plus the plan's turn-off: reads the committed good build (committedGood) over the entry's copy, builds the staged identity from the scheduler's attempt (at.Build, StagedPath, Digest, Demand), checks the staged bytes (release.VerifyStaged, the check swapOverlap already makes), then runs runRelease under the incumbent's replica as the lease watch, inside the attempt's context; the swap is admitted only on a proven pass. +registry:Version, Digest, Demand are the StagedIdentity literal's fields and +registry:Good* the three assignments from the committed row; a binary row reads nothing registry:Demand@1422,registry:Digest@1409,registry:GoodDemand@1379,registry:GoodDigest@1364,registry:GoodVersion@1348,registry:Version@1395,whole:Route@1282,whole:Route@1956,whole:Route@211,whole:Route@434,whole:Route@858 271c9381fce56ea36b7b00e7431b2410bac221c2aafeb243c3b30a466fb4b1d6
+internal/activator/rootfsrelease.go Service.releaseInWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: new; for a rootfs row, runRelease under the wake's own lease, gated by leaseLost(lease) and wakeOwned; a binary row runs nothing; no read of its own whole:Route@317 63d890c8a50ff2690830f7ec3e83b6dd4280a350066b0bf05effd83092ba0364
+internal/activator/rootfsrelease.go Service.runRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1: new; the one place a release command runs. Refuses while any record of the host is open; skips the row's good build (releaseRan); reads the declared processes (declaredProcesses: the existing staged-manifest read) and refuses on a read error, never treating it as no release; runs only when releaseDue; needs a lease watch and a ReleaseBackend; its gate is the caller's plus the lease's Err and its safety deadline more than releaseStopLead (cmdStopBound, 2 min) away; creates the record under a.mu after releaseAdmitLocked; publishes the generations file and the build state (recordBuild) before anything runs; times out at the manifest's timeout_sec (default, capped at runs.MaxTimeout); ReleaseEnv; a supervisor stops the unit ahead of the lease's safety deadline; StartRelease under the exec gate; polls the unit (root's existing cmd status); stops and settles it (the existing cmd hold's stop, cmdStopBound); only a non-zero exit, a signal or the timeout with the unit proven gone is the build's failure (*ReleaseError); registry:Host sites are the record key and log lines registry:Host@184,whole:Route@2934,whole:Route@3163,whole:Route@3651,whole:Route@3680,whole:Route@5728,whole:Route@589,whole:Route@6196,whole:Route@6473,whole:Route@6903,whole:Route@817,whole:Route@902 e0cfa518c75e4671ef8a86c2f8438112af7aab07c49ed21fab0bf07438bafe68
+internal/activator/rootfsrelease.go releaseDue legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1: new; pure: a rootfs row, a build that declares release, and not the row's good build (releaseRan) whole:Route@228 addbb4f26b9407b42128d50e30a393e472e6d89be29f2db8a1fe289f1784b96d
+internal/activator/rootfsrelease.go releaseRan legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1 (D3): new; pure: the identity is the row's good build by version and digest (case-insensitive digest compare) registry:GoodDigest@138,registry:GoodVersion@91 32054a5a8f77f68e69a848705c018dba53e12f6faf8fc05aaa3b9e206dc43b42
+internal/activator/wakeplan.go Service.spawnPlannedRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3 [pf R3.2]: new; spawnPlanned's branch for a release of B that did not pass: only a *ReleaseError (unit proven gone) is B's failure (w.failed on a first wake) and, with a fallback, boots the good build through its own planGate as the existing fallback does; every other outcome records nothing of B and fails the wake; no file read registry:Host@241,whole:Route@650 8eb5377470b0eff04505abfa17b8f845ff8b678d1435c6e5ea1df879b7dcc9da
+internal/activator/swaphold.go Service.startPinnedChecked legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: for a rootfs row, the pin's release runs before its web (runRelease under the wake's lease watch and the same gate), refusing a partial staged identity; a release that ran marks pinExec (markPinReleaseExec); a non-failure result is wrapped (holdReleaseResult) so the hold abandons. New sites +registry:Host (releaseOpen(rt.Host)) and +whole:Route (rt to runRelease); binary rows unchanged registry:Host@1100,whole:Route@1160,whole:Route@942 d976f4051d7df794b085b5d814bd30b134d5336fef85c89b191173ffa9862c89
+internal/activator/activator.go Service.doWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body (census ruling 292's legacy start mark and lease give-back; census ruling owed's pending record) with the seeded change ruled under census-ruling-seeded-instances (the refreshed row checked against the row the wake began from, twice; the seed's first upload recorded after the wake), and now one more line on a failed start: a start its pre-exec gate refused (launchNotStarted: the exec gate, the pending record or its recheck answered no before root was asked) is recorded as known not started (stopObservation.notStarted) instead of uncertain, only when the wake has started nothing else (wakeStartedNothing); otherwise it goes through cleanupFailedWake and its proofs. A refusal before its lease (step 1), which has started nothing, is recorded the same way. Read sites unchanged; no new read and no root decision;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=marks the end of each wake step on the woken instance's journal timer (wakeSteps: a.now() and a slice append, journal only); no read added, no step reordered;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: (1) after the restore it asks the backend for the replication class an HA restore imported from the host's published wake state (restoredReplication(rt)) and, if it differs, logs it and sets rt.Replication and the entry's route to it; (2) an HA lease of the stream class replicates with a 1 s monitor interval (SetMonitorInterval); (3) after Replicate, an HA replica opens the entry's files publisher (openEntryFiles(ctx, e, rt)) and starts it, and a publisher that will not open fails the wake through cleanupFailedWake; (4) every cleanupFailedWake call passes e; (5) final fix F1: the two start-error arms that gave the lease straight back (a start its pre-exec gate refused with nothing started, and the default arm) now call giveBackAfterStart(ctx, rt, w, lease), which gives a legacy lease back exactly as before and an HA one only over an empty host slice. New sites: registry:Replication x5 (the class compare, the log line, the assignment and the HA sync-interval check) and whole:Route x6 (rt handed to restoredReplication, openEntryFiles, the cleanup calls and giveBackAfterStart); no file read in this body; only adds a condition before an HA release, no check removed;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: the rootfs admission runs before the claim path and before Acquire on the refreshed row (rootfsWakeRefusal), again in full if a re-read under the lock changed any gate field, and a resident wake re-checks residentRunnable; for a rootfs row a held lease or refused config is an ownership refusal; a rootfs first boot (no good version, fresh) places the empty database under the lease (placeRootfsDB) and uploads it once (syncRootfsPlaceholder), while fresh with a good version is refused as a lost database; declared processes are logged after the wake (rootfsProcessesHook); binary rows unchanged; fix wave 1 and 2 (6189a9db, then the r2 ruling "refuse interrupted init"): a fresh rootfs first boot goes through rootfsFirstBoot (rootfsmarker.go) instead of placeRootfsDB alone: under the lease it reads the lifetime's first-boot marker from the hibernate bucket (present or unreadable refuses, present as errRootfsReplicaMissing), writes it create-only, reads it back (only a read back that finds it confirms it; a write conflict proves nothing), and only then places the database; a warm wake does nothing with the marker (fix wave 1's settleRootfsFirstBoot call and its whole:Route site are gone, no local pending record); adds refusals only, binary rows unchanged;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: (1) refuses (errWakeUnproven) while another entry's release record of the host is open; (2) a rootfs row with a plan or a pin reads its declared processes before the lease (declaredProcesses(rt, g): the existing staged-manifest read of ExecBackend.Processes, the manifest root's staging wrote, checked against the identity's path and digest) and refuses before Acquire on an error; (3) the staged-identity start runs releaseInWake(ctx, e, rt, id, lease) before startGenExe, under this wake's lease, and a release that did not pass fails the wake; (4) a rootfs row with no plan, no pin and no staged identity is refused, the lease given back, nothing started; (5) a start error whose release is not proven stopped hands the lease to the release record (oweWakeLeaseToRelease) instead of giving it back. New sites +whole:Route x2 (rt to declaredProcesses and releaseInWake); no new file read beyond the existing staged-manifest read; binary rows unchanged registry:DBPath@1703,registry:DBPath@1719,registry:DBPath@1846,registry:DBPath@1857,registry:DBPath@28521,registry:GoodVersion@13684,registry:Host@1532,registry:Host@1607,registry:Host@1685,registry:Host@1837,registry:Host@2171,registry:Host@4121,registry:Host@577,registry:Host@6378,registry:Replication@12307,registry:Replication@12436,registry:Replication@12455,registry:Replication@12536,registry:Replication@28424,registry:Replication@28556,registry:Seed@17242,registry:Socket@1732,registry:Socket@1748,registry:Socket@1871,registry:Socket@1882,whole:Route@10528,whole:Route@11409,whole:Route@12287,whole:Route@12538,whole:Route@13887,whole:Route@15176,whole:Route@15368,whole:Route@16058,whole:Route@1630,whole:Route@17343,whole:Route@17414,whole:Route@19830,whole:Route@2066,whole:Route@2071,whole:Route@2125,whole:Route@2131,whole:Route@21688,whole:Route@2197,whole:Route@2205,whole:Route@22334,whole:Route@23641,whole:Route@23795,whole:Route@24294,whole:Route@24364,whole:Route@24951,whole:Route@26036,whole:Route@26467,whole:Route@26675,whole:Route@26729,whole:Route@27658,whole:Route@27843,whole:Route@28633,whole:Route@29045,whole:Route@29094,whole:Route@29472,whole:Route@30694,whole:Route@30789,whole:Route@31396,whole:Route@3156,whole:Route@3250,whole:Route@3317,whole:Route@357,whole:Route@4011,whole:Route@562,whole:Route@5747,whole:Route@6006,whole:Route@6268,whole:Route@6273,whole:Route@6330,whole:Route@6336,whole:Route@6405,whole:Route@6413,whole:Route@6729,whole:Route@6790,whole:Route@6888,whole:Route@7712,whole:Route@8695,whole:Route@9269,whole:Route@9458 afd6ee142fef4335e940ba4576f638fa2fc0bd1fe47bb73209c4ee96735a9e0f
+internal/activator/activator.go Service.wake legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=Re-digested at the pre-land merge: the body includes main's own change under census ruling 292, with no further change from this branch. the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=logs that timer's breakdown to the journal after a successful wake (w.steps.String(), e.host, w.wakeTook); no read added;rev3=census-ruling-plans-4d-lapse;basis=cancels a wake whose row the turned-off hook names, like a fence, unless it is a move's active probe (plans 4d). One more whole-row read: the row handed to the hook (a.disabled). Only refuses.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: a refusal before the lease is reported once per change (noteRootfsRefusal) instead of a wake-failure event; the proc, generation and replica are installed through installProcLocked (which puts a resident under its lease watch before the fence); residency notes the outcome (noteResidentWakeLocked); same generation values;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R [pf R3.5]: the wake's context ceiling is wakeCeilingFor(e.route): the old 5 minutes for a binary row, 5 minutes plus runs.MaxTimeout for a rootfs row (room for a release inside the wake); new site +whole:Route (e.route to wakeCeilingFor, which reads Runtime only); no other change registry:Socket@7683,registry:Socket@7844,whole:Route@1034,whole:Route@2486,whole:Route@2577,whole:Route@2634,whole:Route@417,whole:Route@5931,whole:Route@7636,whole:Route@7685,whole:Route@7846,whole:Route@9169,whole:Route@9190 ddfc275bdf2b6933e04852e7e9e940c66aad042b3da8d5155e65c7b81d9c52b7
+internal/activator/backend_rootfs.go Service.rootfsProcessesHook legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task D (D8): after a swap, logs a rootfs build's declared workers and release process, which this box does not run yet; logs only, starts nothing;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1: the log line saying this box does not run the release process is removed (the box runs it now); site -registry:Host (that log line's rt.Host); still logs undeclared-to-run workers only and starts nothing registry:Host@301,registry:Host@606,whole:Route@166 8ad13ee896193492c0e0090a7ad5acf3798357fead9ca7eb9977695f3e9a2684
+internal/activator/cmd.go Service.RunCmd legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): admits one run against an awake entry under the agent's own lease, fence and swap checks; it starts nothing itself and root validates what it later names;rev3=census-ruling-edge-request-records;basis=passes nil for begin's new req parameter; no read added;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: a carlos run is refused with ErrCmdBusy while a release record of the host is open (a.releaseOps[rt.Host], in-memory), as a run already in flight refuses it; new site +registry:Host (that map lookup); adds a refusal only file:Prepare@1877,file:Prepare@1911,registry:Host@1047,registry:Host@1366,registry:Host@6883,registry:Kind@164,whole:Route@401,whole:Route@584,whole:Route@7483 ab8234fe719195d8cac0c167260de5360fb19524ba6c1b53f8e35ee3dd8928fb
+internal/activator/rootfs_service.go Service.residentHeldLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: a resident is not started proactively while fenced, already entered, latched as an unproven wake, holding stray sidecars, or disabled; reads only the activator's own state and the route's host;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: a resident is not started proactively while a release record of its host is open (a.releaseOps[rt.Host], in-memory); new site +registry:Host (that lookup); holds more, never less registry:Host@103,registry:Host@172,registry:Host@213,registry:Host@263,registry:Host@76,whole:Route@317 b2f472b842c3ead5c3b3aa7034c55340f3a97c7577b5dd3b990fe77502d2c7d9
+internal/activator/wakeplan.go Service.spawnPlanned legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the first-wake budget and the health bound are the route's (firstWakeBudgetFor, healthBoundFor read Runtime: the rootfs bound for a rootfs row, the binary constants otherwise);rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: for a rootfs row, B's release runs first (runRelease under the wake's lease watch and the plan's gate, planGate); a release that did not pass goes to spawnPlannedRelease; after a passed release B's health window starts from now, not from the wake's start [pf R3.4]; w.bootRan is also true when the release ran. New sites +whole:Route x3 (rt to runRelease, spawnPlannedRelease and the second firstWakeBudgetFor); no file read registry:Host@2528,whole:Route@1156,whole:Route@1245,whole:Route@1617,whole:Route@1636,whole:Route@193,whole:Route@2784,whole:Route@5131,whole:Route@5454,whole:Route@574,whole:Route@706,whole:Route@945 9a2eb89f160e37992f4f87f8a7a7156030ef906165df3edc614167c26ba8363b
+@coverage internal/activator ca14b51de82b71c5de3054f123f02c261f1c76077213dc7690c0bf62a6674b68
+@coverage internal/rollout 277a2450af70ccca8a6959f25d6ee533419e9484dac649c080bfb7b20fb194b7
+@coverage internal/rolloutwords 120f05017f6bd75d7ebccdce4e671bf5650f635e1927a499ab76ea2a8861a353
+@coverage internal/status 025fcb50928b94d4a6a1744fa9de7c01caad5d1bb99467f7ea7e7f3baa2f1465