carlos / platform Public

census: refresh rootfs-apps-3 after fix wave 1

Claims for the fix wave's units (spawnRootfs, startRootfs,
startStagedRootfs, doWake, Reconcile and the 12 new rootfsmarker.go
units), a re-run of census-propose (seal now e1631e8f), the hand
"Record-write re-pins" section restored, Reconcile re-pinned again in
rootfsApps4WriteCensusInventory (ceea6353's refusal before minting) and
SettleRootfsFirstBoot's marker Put added as a nonrecord entry. The card
gains "Changes since round 1 (fix wave 1)" for the reviewer.

PROPOSED, not approved.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 46cd42f22bf070b5a2cf547157c999fbdf6abda4 parent ceea635
5 files changed, +127 −21
  • docs/superpowers/notes/census-proposal-rootfs-apps-3.md +48 −4
  • docs/superpowers/notes/census-rootfs-apps-3-claims.md +24 −3
  • internal/provision/rootfs_apps_4_census_test.go +15 −2
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-rootfs-apps-3.tsv +39 −11
diff --git a/docs/superpowers/notes/census-proposal-rootfs-apps-3.md b/docs/superpowers/notes/census-proposal-rootfs-apps-3.md
index dd4ffb2de..3c15206b8 100644
--- a/docs/superpowers/notes/census-proposal-rootfs-apps-3.md
+++ b/docs/superpowers/notes/census-proposal-rootfs-apps-3.md
@@ -1,6 +1,28 @@
# Census approval: rootfs-apps-3
-Ruling `census-ruling-rootfs-apps-3`. The independent reviewer approves or rejects every change below, 71 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
+Ruling `census-ruling-rootfs-apps-3`. The independent reviewer approves or rejects every change below, 83 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
+
+## Changes since round 1 (fix wave 1)
+
+Round 1 reviewed this card at seal `05388abc` (proposal d03a931c, record-write re-pins 78fd0d8a). Fix wave 1 then changed the units below (commits d35fcb1f, 6189a9db, 3c087d8e, ceea6353). The seal is now `e1631e8f`. Every other row is as round 1 saw it, so the reviewer can focus here. Fix reports: `.superpowers/sdd/2026-10-24-rootfs-apps-3-lifecycle/fixwave-1-activator.md` and `fixwave-1-console.md`.
+
+Root-read units, in the tables below:
+
+- `internal/activator/rootfs.go` `ExecBackend.spawnRootfs` and `ExecBackend.startRootfs`: new on this card (body). spawnRootfs takes the tier root is asked for, a zero tier meaning GenTier's; startRootfs passes zero (d35fcb1f, census P1-1).
+- `internal/activator/rootfs.go` `ExecBackend.startStagedRootfs` (new): now passes the generation's own tier, g.Tier, to spawnRootfs (d35fcb1f). Its claim is extended.
+- `internal/activator/activator.go` `Service.doWake` (reads): one more whole:Route site. A fresh rootfs first boot goes through rootfsFirstBoot instead of placeRootfsDB alone, and a rootfs row that is not fresh first settles a first boot this box left pending (6189a9db, branch review P1-1). Its claim is extended.
+- `internal/activator/rootfsmarker.go`: 12 new units (6189a9db): `Config.rootfsMarkerKey`, `ExecBackend.RootfsInitialized`, `ExecBackend.rootfsPendingPath`, `ExecBackend.BeginRootfsFirstBoot`, `ExecBackend.SettleRootfsFirstBoot`, `syncDirBestEffort`, `SplitBackend.RootfsInitialized`, `SplitBackend.BeginRootfsFirstBoot`, `SplitBackend.SettleRootfsFirstBoot`, `SplitBackend.execMarker`, `Service.rootfsFirstBoot`, `Service.settleRootfsFirstBoot`. The new reads are the marker GET and create-only PUT of `<hibernate prefix>/rootfs-initialized/<incarnation>.json` through the hibernate FilesStore, and the agent's own pending record under `DataDir/.rootfs-first-boot/`. `SplitBackend.execMarker`'s file:Exec site is the `SplitBackend.Exec` field, not a file.
+- `internal/provision/reconcile.go` `Reconcile` (reads): before minting a row for a record with no runtime and no row, the pass reads the app's kind marker from the release store (release.ReadAppKindMarker, one GET per app per pass). A rootfs app's record is left unminted, and an unreadable marker defers the mint (ceea6353, whole-branch P1-2). Its claim is extended.
+
+Envelope-only changes (no root-read row; re-pinned `internal/activator`, `internal/provision` and `internal/release`):
+
+- `internal/release/rootfs_ship.go` `ReadAppKindMarker` (ceea6353): new exported wrapper over readAppKindMarker, for Reconcile.
+- `internal/release/systempointer.go` `PrepareSystemPromotion` and `PromoteSystem` (3c087d8e, whole-branch P1-3): an optional expected ETag. A pointer that moved since the caller judged it is ErrCASConflict, before anything is verified or signed.
+- `internal/release/systempointer.go` `RollbackSystem` (3c087d8e, P2-4): takes the full SystemPromoteOptions, so the rootfs floor override is signed onto a rollback as on every other path.
+
+Record-write census (section "Record-write re-pins" below): `Reconcile` re-pinned again (`403b806f` to `14f504ff`); `ExecBackend.SettleRootfsFirstBoot` added as a new nonrecord `sel:Put` entry.
+
+Class counts: round 1 had 141 units (29 body, 41 sites, 53 new, 17 reads, 1 quiet). Now 153 (31 body, 41 sites, 65 new, 17 reads, 1 quiet). The same 17 envelopes are re-pinned. The console-side changes (`internal/console`) are outside the census scope.
| unit | change | read sites | what changed |
|---|---|---|---|
@@ -11,6 +33,8 @@ Ruling `census-ruling-rootfs-apps-3`. The independent reviewer approves or rejec
| `internal/activator/recoveryprobe.go` `Service.finishRecoveryProbe` | body | unchanged (1) | rootfs Plan 3 Task 8: installs the probed proc and generation through installProcLocked instead of assigning them inline; same values, no read added |
| `internal/activator/rootfs.go` `ExecBackend.rootfsGateCheck` | body | unchanged (10) | rootfs Plan 3 Task 7: takes the caller's ctx and passes it to RootfsOK and RootfsPlacement so a shutdown ends the asks; same checks, no read added |
| `internal/activator/rootfs.go` `ExecBackend.rootfsGates` | body | unchanged (1) | rootfs Plan 3 Task 7: ctx threaded to rootfsGateCheck; no read added |
+| `internal/activator/rootfs.go` `ExecBackend.spawnRootfs` | body | unchanged (19) | rootfs Plan 3 fix wave 1 (d35fcb1f, census P1-1): takes the tier root is asked for as an argument; a zero tier means GenTier's (the former body), so a caller that chose a limit has it kept, as spawnChildFrom and spawnUnitFrom keep theirs; the same nineteen sites, no read added |
+| `internal/activator/rootfs.go` `ExecBackend.startRootfs` | body | unchanged (5) | rootfs Plan 3 fix wave 1 (d35fcb1f, census P1-1): passes a zero tier to spawnRootfs, which is GenTier's as before; it records GenTier afterwards as it did; no read added |
| `internal/activator/rootfs.go` `ExecBackend.startRootfsFromLive` | body | unchanged (4) | rootfs Plan 3 N1: returns the full staged identity it started (version, staged path, digest, demand) instead of only the version; same live identity read and gates |
| `internal/activator/rootfs.go` `ExecBackend.startRootfsGen` | body | unchanged (7) | rootfs Plan 3 N1 and Task 7: ctx to the gates; the generation records the staged identity of what actually ran on both paths (from live too), so a swap can compare it; no read added |
| `internal/appconfig/sync.go` `syncHostClaimed` | body | unchanged (32) | rootfs Plan 3: comment only, the Hibernate case is left as is for a resident rootfs instance |
@@ -88,6 +112,8 @@ Recorded dispositions, which each change must still satisfy:
- `internal/activator/recoveryprobe.go` `Service.finishRecoveryProbe`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved
- `internal/activator/rootfs.go` `ExecBackend.rootfsGateCheck`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as nestedGate): new (rootfs Plan 2 Tasks 8 and 9): every refusal a rootfs start makes before it touches anything: nestedReady, a row that is not nested (RFS-2-C01), the rootfs probe (RootfsOK), the placement rules (RootfsPlacement), claim control armed, a control channel with no rootfs half; its sites are the row's host for error text and the route handed to pathsFor and RootfsPlacement; it only refuses; no root decision
- `internal/activator/rootfs.go` `ExecBackend.rootfsGates`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as nestedGate): new (rootfs Plan 2 Task 9): rootfsGateCheck with the refusal marked errRootfsRefused; its one site is the route passed through; no root decision
+- `internal/activator/rootfs.go` `ExecBackend.spawnRootfs`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as spawnUnitFrom, whose shape it has): new (rootfs Plan 2 Tasks 5 and 9): prepareKeyedAt (the instance's own directories, environment and listeners, unchanged), the schema-2 tenant launch file (environment only, CARLOS_SOCKET and CARLOS_DB set by the agent), the caller's exec gate, then StartRootfs over the control socket naming the image and web; root resolves the command from its own staged manifest (C4) and the tenant file may name no command (the trampoline refuses one); the failure handling is spawnUnitFrom's; its sites are the row's host and route; no root decision; final fix I1: root's answers that guarantee no start (ErrStartRefused: 503 not ready or claim-armed, 501 unconfigured, 400, 409, 507), like its 403, are marked a refusal (refuseRootfs), so verdictOf and classifyStep record no failure of the build and no stop is asked; a 502 and a transport failure still may have run; the same nineteen sites, offsets moved
+- `internal/activator/rootfs.go` `ExecBackend.startRootfs`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as startUnitAt): new (rootfs Plan 2 Task 9): spawnRootfs, then the web process's health wait on its own socket bounded by rootfsHealthTimeout (RFS-2-C09); a failed wait stops the unit as startUnitAt does; its sites are the row's host and route; no root decision
- `internal/activator/rootfs.go` `ExecBackend.startRootfsFromLive`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as Start): new (rootfs Plan 2 Task 9): a rootfs start of what the row's live link names, after rootfsGates: LiveIdentity, the live exec gate, release.VerifyStaged, then startRootfs; its sites are the row's host and route; no root decision
- `internal/activator/rootfs.go` `ExecBackend.startRootfsGen`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as StartGen and StartGenExe): new (rootfs Plan 2 Task 9): StartGen and StartGenExe for a rootfs row: rootfsGates first, then generation n on its per-generation socket in the instance's own run dir (or the row's canonical socket), from the live link or from the recorded identity checked with release.VerifyStaged; its sites are the row's host, socket and route; no root decision
- `internal/appconfig/sync.go` `syncHostClaimed`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1,J4;basis=route-and-input
@@ -195,6 +221,18 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- new `internal/activator/rootfsdb.go:buildEmptySQLiteDB`: reads +file:Exec, +file:Open, +file:QueryRow, +file:ReadFile; written legacy, accepted-legacy, frozen
- new `internal/activator/rootfsdb.go:writeBeneathExcl`: reads +file:Stat; written legacy, accepted-legacy, frozen
- new `internal/activator/rootfsenv.go:ExecBackend.rootfsCmdVars`: reads +registry:Socket, +whole:Route; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsmarker.go:Config.rootfsMarkerKey`: reads +registry:Host, +registry:Incarnation; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsmarker.go:ExecBackend.BeginRootfsFirstBoot`: reads +file:OpenFile, +whole:Route ×2; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsmarker.go:ExecBackend.RootfsInitialized`: reads +whole:Route; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsmarker.go:ExecBackend.SettleRootfsFirstBoot`: reads +file:Lstat, +registry:Account, +registry:App, +registry:Host ×2, +registry:Incarnation, +whole:Route ×2; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsmarker.go:ExecBackend.rootfsPendingPath`: reads +registry:Host ×3, +registry:Incarnation; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsmarker.go:Service.rootfsFirstBoot`: reads +registry:Host ×7, +registry:Incarnation, +whole:Route ×4; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsmarker.go:Service.settleRootfsFirstBoot`: reads +registry:Host, +whole:Route; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsmarker.go:SplitBackend.BeginRootfsFirstBoot`: reads +registry:Host, +whole:Route ×2; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsmarker.go:SplitBackend.RootfsInitialized`: reads +registry:Host, +whole:Route ×2; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsmarker.go:SplitBackend.SettleRootfsFirstBoot`: reads +whole:Route ×2; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsmarker.go:SplitBackend.execMarker`: reads +file:Exec, +registry:Backing; written legacy, accepted-legacy, frozen
+- new `internal/activator/rootfsmarker.go:syncDirBestEffort`: reads +file:Open; written legacy, accepted-legacy, frozen
- new `internal/activator/swap.go:Service.genHealthy`: reads +whole:Route; written legacy, accepted-legacy, frozen
- new `internal/host/socket_advice.go:socketAdvice`: reads +data-literal, +registry:Host ×3, +registry:Socket ×2; written legacy, accepted-legacy, frozen
- new `internal/layout/pass.go:Pass.Held`: reads +registry:Host, +whole:Route; written legacy, accepted-legacy, frozen
@@ -210,7 +248,7 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- quiet `internal/host/schedule_wiring.go:activatorDeliverer.managedByGenerations`: reads nothing now; retired while it reads nothing (or its row keeps no sites)
- reads `cli.go:addMintsNested`: +registry:Runtime; keeps legacy, task accepted-legacy
- reads `cli.go:runRouteHibernate`: +registry:Host, +registry:Runtime; keeps legacy, task accepted-legacy
-- reads `internal/activator/activator.go:Service.doWake`: +registry:GoodVersion, +whole:Route ×10; keeps legacy, task accepted-legacy
+- reads `internal/activator/activator.go:Service.doWake`: +registry:GoodVersion, +whole:Route ×11; keeps legacy, task accepted-legacy
- reads `internal/activator/backend_exec.go:ExecBackend.HasSidecar`: +registry:Runtime; keeps legacy, task accepted-legacy
- reads `internal/activator/genbackend.go:ExecBackend.EmptyHost`: +whole:Route; keeps legacy, task accepted-legacy
- reads `internal/activator/genbackend.go:ExecBackend.KillHost`: +whole:Route; keeps legacy, task accepted-legacy
@@ -226,7 +264,7 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- reads `internal/registry/registry.go:Registry.SetPlacement`: +registry:Runtime, +whole:Route; keeps legacy, task accepted-legacy
- reads `internal/registry/registry.go:normalizeRoute`: +registry:Runtime; keeps authority, task E3
-Seal: `f5afdacd495705841fcc8441eaefe0efb9db7056de281bb06d1714960a5575b7` → `05388abcaf0b068183872a8112b6202b5615870167ecbaa9678c2bb07bdb3ae7`.
+Seal: `f5afdacd495705841fcc8441eaefe0efb9db7056de281bb06d1714960a5575b7` → `e1631e8f6d13bdd8bd4bea2fbc91b46d57a410ef55d6991e8150b6fdbf1019f6`.
Overlay: `internal/provision/testdata/plan14-root-reads-rootfs-apps-3.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
@@ -244,5 +282,11 @@ Added by hand at Gate A (Plan 3 Task 16). census-propose does not write this sec
| `internal/console/lifetimes_create.go:Server.createRecordWithLifetimeLocked` (key-site) | `f18477b4` | `27810c60` | 953a6494 (Plan 4 Task 2/3) | Runs firstKindRecheck under the caller's app lock before anything is read or persisted. | Adds a refusal before the create. The record key and write are unchanged. |
| `internal/console/hostsused.go:Server.createRecordMarked` (record-writer) | `1c2b1885` | `9b39448c` | 953a6494 | Runs firstKindRecheck under the app lock, before the mark and the create. | Adds a refusal before the write. CreateRecord is unchanged. |
| `internal/provision/record_sequence.go:WriteRecord` (record-primitive) | `d58d1106` | `5b0f8b68` | f5620882, 5773b78b (Plan 3 Task 3) | A create ({} before) with an etag is refused. runtimeFixed refuses a write that changes the runtime, or a rootfs record's hibernation. It checks the body it is handed and again the bytes Put stores. | The one primitive refuses more and writes nothing new. The key check, sequencing, kind guard and Put are unchanged. |
-| `internal/provision/reconcile.go:Reconcile` (key-site) | `7a88f0f9` | `403b806f` | d35af56b, 5b166658 (Plan 3 Tasks 2 and 4) | A seeded record over a row with a runtime is skipped. A row with a runtime takes no seed. Runtime and a rootfs row's hibernation are never converged from a record, and a record that claims a runtime its row lacks is not applied. | The box writes less. No record key use or record write changes. |
+| `internal/provision/reconcile.go:Reconcile` (key-site) | `7a88f0f9` | `14f504ff` (round 1: `403b806f`) | d35af56b, 5b166658 (Plan 3 Tasks 2 and 4); ceea6353 (fix wave 1, whole-branch P1-2) | A seeded record over a row with a runtime is skipped. A row with a runtime takes no seed. Runtime and a rootfs row's hibernation are never converged from a record, and a record that claims a runtime its row lacks is not applied. Fix wave 1: before minting a row for a record with no runtime and no row, the pass reads the app's kind marker (release.ReadAppKindMarker, one GET per app per pass). A rootfs app's record is left unminted and logged, and a marker that cannot be read defers the mint. This is a refusal before minting. | The box writes less. No record key use or record write changes. |
| `internal/ops/litestream.go:FleetDBsWithSkipped` (key-site) | `f62291df` | `1289226c` | d1474316 (Plan 3 Task 5) | The box-wide litestream exclusion is Route.ActivatorLeased instead of Hibernate, so the activator alone replicates a resident rootfs database. | Same `instances` literal, no record write. One database is never streamed by two writers. |
+
+New record-write entry at fix wave 1, appended to `rootfsApps4WriteCensusInventory`:
+
+| site | digest | commit | what it writes | why it is safe |
+|---|---|---|---|---|
+| `internal/activator/rootfsmarker.go:ExecBackend.SettleRootfsFirstBoot` (nonrecord, `sel:Put`) | `4cdcb1a6` | 6189a9db (fix wave 1, branch review P1-1) | One create-only Put of a rootfs lifetime's first-boot marker, `<hibernate prefix>/rootfs-initialized/<incarnation>.json`, through the hibernate FilesStore, only when this box has that first boot pending. The body is a small JSON note (host, account, app, incarnation, time). | Not an instance or sidecar record and no record key. Create-only, so it never overwrites a marker; nothing parses the body. |
diff --git a/docs/superpowers/notes/census-rootfs-apps-3-claims.md b/docs/superpowers/notes/census-rootfs-apps-3-claims.md
index 649dead23..142ed1739 100644
--- a/docs/superpowers/notes/census-rootfs-apps-3-claims.md
+++ b/docs/superpowers/notes/census-rootfs-apps-3-claims.md
@@ -87,7 +87,7 @@ internal/activator/backend_unit.go:SplitBackend.rootfsStartable rootfs Plan 3 Ta
internal/activator/genbackend.go:refuseHostCgroupProof rootfs Plan 3 N1: refuses the binary host-cgroup kill and emptiness proofs for a row with a runtime; reads Host and Runtime
internal/activator/layout.go:LayoutExempt rootfs Plan 3 Task 5: a row with a runtime is never the layout machinery's; reads Runtime
internal/activator/rootfs.go:ExecBackend.rootfsStartable rootfs Plan 3 Task 7: the backend's rootfs gates (rootfsGates) as the activator's pre-lease admission asks them; no read of its own
-internal/activator/rootfs.go:ExecBackend.startStagedRootfs rootfs Plan 3 N1: a rootfs generation's staged start for an overlap swap: refuses a partial staged identity, passes the rootfs gates, verifies the staged bytes (release.VerifyStaged, as the binary staged start does), then spawns through the existing spawnRootfs at the generation's nested socket; no new file read
+internal/activator/rootfs.go:ExecBackend.startStagedRootfs rootfs Plan 3 N1: a rootfs generation's staged start for an overlap swap: refuses a partial staged identity, passes the rootfs gates, verifies the staged bytes (release.VerifyStaged, as the binary staged start does), then spawns through the existing spawnRootfs at the generation's nested socket; no new file read; fix wave 1 (d35fcb1f, census P1-1): passes g.Tier to spawnRootfs, so root is asked for the limit the caller chose (a swap keeps the incumbent's larger tier) rather than a recomputed one; no read added
internal/activator/rootfs_service.go:Service.killResidentGens rootfs Plan 3 Task 8 (C7): after a resident's lease is lost, kills each of its generations through the backend's existing KillGen (the root control service's kill and proof), bounded, logging each outcome; reads only the route's host
internal/activator/rootfs_service.go:Service.noteResidentRefusalLocked rootfs Plan 3 Task 8: reports a resident's pre-lease refusal once per change (noteRootfsRefusal); log and event only
internal/activator/rootfs_service.go:Service.noteResidentStopLocked rootfs Plan 3 Task 8: a resident's stop sets its next start: a crash or a lost lease backs off (residentBackoff, failures reset after a healthy run) and emits the resident restart event (RFS-3-C11); any other stop restarts on the next tick; state and event only
@@ -128,7 +128,7 @@ internal/registry/runtime.go:Route.Rootfs rootfs Plan 3: runtime is rootfs-v1; r
internal/host/schedule_wiring.go:activatorDeliverer.managedByGenerations rootfs Plan 3 Task 5: Kind and Hibernate inline become Route.ActivatorOwned, a method call the census does not count as a site; same fields plus Runtime
cli.go:addMintsNested rootfs Plan 3 Task 5: a row with a runtime is not evidence the box moved to nested (it is minted nested everywhere), so only binary rows count; adds a Runtime read that narrows the test
cli.go:runRouteHibernate rootfs Plan 3 Task 2: carlos route hibernate refuses a row with a runtime first (its hibernation is fixed at mint), before any dry run or other rail; reads Host and Runtime of the row already read; a refusal only
-internal/activator/activator.go:Service.doWake 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
+internal/activator/activator.go:Service.doWake 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 (6189a9db, branch review P1-1): a fresh rootfs first boot now 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), records a pending first boot in the agent's DataDir, places the database, then writes and confirms the marker before the start; a rootfs row that is not fresh first settles a first boot this box left pending (settleRootfsFirstBoot: a local Lstat, and a PUT only if pending), refusing and giving the lease back if the marker write fails; one new whole:Route site (rt handed to settleRootfsFirstBoot); adds refusals only, binary rows unchanged
internal/activator/backend_exec.go:ExecBackend.HasSidecar rootfs Plan 3 N1: a row with a runtime has no binary sidecar, answered before the sidecar env Stat; reads Runtime; Stats less
internal/activator/genbackend.go:ExecBackend.EmptyHost rootfs Plan 3 N1: refuses a row with a runtime first (refuseHostCgroupProof); the cgroup open moves into openHostCgroup (same delegation check and OpenCleanup, with the test seam); reads Runtime
internal/activator/genbackend.go:ExecBackend.KillHost rootfs Plan 3 N1: refuses a row with a runtime first (refuseHostCgroupProof); the cgroup open moves into openHostCgroup (same delegation check and OpenCleanup); reads Runtime
@@ -136,10 +136,31 @@ internal/activator/genbackend.go:ExecBackend.StartStaged rootfs Plan 3 N1: refus
internal/activator/wakeidentity.go:wakeRouteChanged rootfs Plan 3 Task 7: a runtime change between the wake's start and now refuses the wake, like the other identity changes; reads Runtime of both rows; a refusal only
internal/host/layoutleg.go:nestedRowsPresent rootfs Plan 3 Task 5: only binary rows count as evidence the box is nested (a rootfs row is minted nested everywhere); adds a Runtime read that narrows the test
internal/layout/pass.go:Pass.recheck rootfs Plan 3 Task 5: a host whose listed row has a runtime is never plantable ("rootfs instances are always nested"), before the plan read; reads Host and Runtime of the listed rows
-internal/provision/reconcile.go:Reconcile rootfs Plan 3 Tasks 2 and 5 (D5, spec §5.0): a seeded record over a row with a runtime is skipped and logged; a row with a runtime (or a new record with one) takes no seed; runtime and a rootfs row's hibernation are never converged from a record (a mismatch is logged; a record claiming a runtime its row lacks is not applied); reads Runtime of the record and the row; the box writes less
+internal/provision/reconcile.go:Reconcile rootfs Plan 3 Tasks 2 and 5 (D5, spec §5.0): a seeded record over a row with a runtime is skipped and logged; a row with a runtime (or a new record with one) takes no seed; runtime and a rootfs row's hibernation are never converged from a record (a mismatch is logged; a record claiming a runtime its row lacks is not applied); reads Runtime of the record and the row; the box writes less; fix wave 1 (ceea6353, whole-branch P1-2): before minting a row for a record with no runtime and no row (both mint paths), the pass reads the app's kind marker once per app per pass (release.ReadAppKindMarker: one GET of the create-only kind.json from the release store s, through freshStore, validated by readAppKindMarker); a rootfs marker leaves the record unmaterialized and logged (an older console stripped its runtime), and a marker that cannot be read defers the mint this pass; a refusal before minting only, registry read sites unchanged, the box writes less
internal/provision/reconcile.go:RouteFor rootfs Plan 3 Task 2: the row is minted with the record's Runtime (the console-written instance record, guarded by WriteRecord's runtimeFixed); a rootfs row always gets the nested socket and db path under dataDir and no seed or seed source; the paths are computed from the host, not read from the record
internal/provision/reconcile.go:everywhereRoute rootfs Plan 3: a row with any runtime is home-boxed, never an everywhere route; reads Runtime; narrows
internal/provision/reconcile.go:shapeMismatch rootfs Plan 3 Task 2: a hand-added row is never adopted across runtimes; reads Runtime of both; a refusal only
internal/registry/registry.go:Registry.SetHibernate rootfs Plan 3 Task 2: both updates add AND runtime = '' so a row with a runtime keeps its hibernation; when nothing matched, a Get tells a rootfs row (ErrRuntimeFixed) from no row (the old silent no-op); the follow-up read changes only the error
internal/registry/registry.go:Registry.SetPlacement rootfs Plan 3 Task 13: the region update adds AND (runtime = '' OR region = target) so a row with a runtime never moves; when nothing matched, a Get tells a rootfs row (ErrRuntimePlacement) from no row; the follow-up read changes only the error
internal/registry/registry.go:normalizeRoute rootfs Plan 3 Task 5: a non-hibernating row keeps its replication rung when it has a runtime (the activator replicates it, Route.ActivatorLeased); binary rows unchanged; reads Runtime
+
+# Fix wave 1 (d35fcb1f, 6189a9db, 3c087d8e, ceea6353), after census round 1.
+internal/activator/rootfs.go:ExecBackend.spawnRootfs rootfs Plan 3 fix wave 1 (d35fcb1f, census P1-1): takes the tier root is asked for as an argument; a zero tier means GenTier's (the former body), so a caller that chose a limit has it kept, as spawnChildFrom and spawnUnitFrom keep theirs; the same nineteen sites, no read added
+internal/activator/rootfs.go:ExecBackend.startRootfs rootfs Plan 3 fix wave 1 (d35fcb1f, census P1-1): passes a zero tier to spawnRootfs, which is GenTier's as before; it records GenTier afterwards as it did; no read added
+internal/activator/rootfsmarker.go:Config.rootfsMarkerKey rootfs Plan 3 fix wave 1 (6189a9db, branch review P1-1): the first-boot marker's bucket key, <hibernate prefix>/rootfs-initialized/<Incarnation>.json, computed from the row's Host and Incarnation (the record lifetime); reads Host and Incarnation
+internal/activator/rootfsmarker.go:ExecBackend.RootfsInitialized rootfs Plan 3 fix wave 1 (6189a9db): the marker read, one GET of rootfsMarkerKey through ExecBackend.FilesStore (the hibernate bucket, the replica's bucket and credentials); true for any object, false only on a definite not-found, any other answer an error (the wake refuses); the body is never parsed; no FilesStore is errNoRootfsMarker
+internal/activator/rootfsmarker.go:ExecBackend.rootfsPendingPath rootfs Plan 3 fix wave 1 (6189a9db): the pending first-boot record's path, DataDir/.rootfs-first-boot/<host>@<incarnation> (the agent's data directory, which no tenant writes); refuses an empty host or a name that is not a single path element; reads Host and Incarnation
+internal/activator/rootfsmarker.go:ExecBackend.BeginRootfsFirstBoot rootfs Plan 3 fix wave 1 (6189a9db): as the agent, creates the pending record (MkdirAll 0700, OpenFile O_CREATE|O_TRUNC 0600 under rootfsPendingPath), writes the marker key into it, syncs it and its directory; writes only the agent's own file, reads nothing back
+internal/activator/rootfsmarker.go:ExecBackend.SettleRootfsFirstBoot rootfs Plan 3 fix wave 1 (6189a9db): Lstat of this box's pending record (nothing pending: nil, the bucket not asked); otherwise a create-only PUT of the marker (host, account, app, incarnation, time) through FilesStore, a CAS conflict counting as confirmed, then removes the pending record; reads Host, Account, App and Incarnation of the row and only whether the agent's own pending file exists
+internal/activator/rootfsmarker.go:syncDirBestEffort rootfs Plan 3 fix wave 1 (6189a9db): opens a directory the caller named (the pending record's, in the agent's DataDir) and syncs it, errors ignored; reads nothing
+internal/activator/rootfsmarker.go:SplitBackend.RootfsInitialized rootfs Plan 3 fix wave 1 (6189a9db): forwards the marker read to the exec backend for a non-unit row (execMarker); a unit-backed row is errNoRootfsMarker; reads Host
+internal/activator/rootfsmarker.go:SplitBackend.BeginRootfsFirstBoot rootfs Plan 3 fix wave 1 (6189a9db): forwards the pending record to the exec backend for a non-unit row; a unit-backed row is errNoRootfsMarker; reads Host
+internal/activator/rootfsmarker.go:SplitBackend.SettleRootfsFirstBoot rootfs Plan 3 fix wave 1 (6189a9db): forwards the settle to the exec backend for a non-unit row; a unit-backed row has nothing pending (nil)
+internal/activator/rootfsmarker.go:SplitBackend.execMarker rootfs Plan 3 fix wave 1 (6189a9db): the exec side's marker capability for a row that is not unit-backed; reads Backing; its file:Exec site is the SplitBackend.Exec field (the exec backend, a type assertion), no file is opened or run
+internal/activator/rootfsmarker.go:Service.rootfsFirstBoot rootfs Plan 3 fix wave 1 (6189a9db): doWake's step 2a for a fresh rootfs row with no good version, under the lease: checks both capabilities, reads the marker (present refuses as errRootfsReplicaMissing, unreadable refuses), records the pending first boot, places the empty database (placeRootfsDB, unchanged), then writes and confirms the marker before the start; every failure is a rootfs refusal; reads Host and Incarnation for messages and passes the row on
+internal/activator/rootfsmarker.go:Service.settleRootfsFirstBoot rootfs Plan 3 fix wave 1 (6189a9db): doWake's step 2a for a rootfs row that is not fresh: settles a first boot this box left pending (SettleRootfsFirstBoot) before anything starts, a failure a rootfs refusal; a backend without the marker has nothing pending; reads Host
+# Release units the fix wave changed. They carry no root-read row (the census sees them only as the re-pinned internal/release envelope) and census-propose refuses a claim it does not see, so they are kept here as comments for the reviewer.
+# internal/release/rootfs_ship.go:ReadAppKindMarker rootfs Plan 3 fix wave 1 (ceea6353, whole-branch P1-2): exported wrapper over readAppKindMarker for provision's Reconcile: one GET of the app's create-only kind marker from the release store it is handed, strictly decoded and validated (schema, account, app, kind, version); (nil, nil) when absent
+# internal/release/systempointer.go:PrepareSystemPromotion rootfs Plan 3 fix wave 1 (3c087d8e, whole-branch P1-3): an optional expected ETag binds the preparation to the pointer snapshot the caller judged ("" means no pointer); a moved pointer is ErrCASConflict before the old pointer is verified or anything signed; without it, the former body; adds a refusal only
+# internal/release/systempointer.go:PromoteSystem rootfs Plan 3 fix wave 1 (3c087d8e, whole-branch P1-3): passes an optional expected ETag through to PrepareSystemPromotion; otherwise unchanged
+# internal/release/systempointer.go:RollbackSystem rootfs Plan 3 fix wave 1 (3c087d8e, whole-branch P2-4): takes the full SystemPromoteOptions (actor and the rootfs floor override) instead of an actor string, so the override is signed onto a rollback's pointer as on every other path; the expected ETag as before
diff --git a/internal/provision/rootfs_apps_4_census_test.go b/internal/provision/rootfs_apps_4_census_test.go
index ebd3c788d..17f1d5d6f 100644
--- a/internal/provision/rootfs_apps_4_census_test.go
+++ b/internal/provision/rootfs_apps_4_census_test.go
@@ -41,8 +41,19 @@ package provision
// - WriteRecord: runtimeFixed on the body and on the stored bytes, and a
// create never carries an etag (f5620882, 5773b78b).
// - Reconcile: no seed and no runtime or rootfs hibernation converge for
-// a row with a runtime (d35af56b, 5b166658).
+// a row with a runtime (d35af56b, 5b166658). Re-pinned again for fix
+// wave 1 (ceea6353): before minting a row for a record with no runtime,
+// the app's kind marker is read (release.ReadAppKindMarker), and a
+// rootfs app's record is left unminted; a refusal before the mint, the
+// record-key sites unchanged.
// - FleetDBsWithSkipped: the exclusion is Route.ActivatorLeased (d1474316).
+//
+// New at fix wave 1 (6189a9db), PROPOSED-rootfs-apps-3:
+// - ExecBackend.SettleRootfsFirstBoot (activator): the one Put of a rootfs
+// lifetime's first-boot marker, <hibernate prefix>/rootfs-initialized/
+// <incarnation>.json, create-only, through the hibernate FilesStore.
+// The body is a small JSON note (host, account, app, incarnation,
+// time), no instance or sidecar record: nonrecord.
func rootfsApps4WriteCensusInventory() []censusEntry {
entries := append([]censusEntry(nil), plans6bWriteCensusInventory()...)
replacements := []censusEntry{
@@ -54,7 +65,7 @@ func rootfsApps4WriteCensusInventory() []censusEntry {
{"internal/ops/litestream.go", "FleetDBsWithSkipped", "key-site", "lit:instances", "1289226caab31a729646c35ad702aaf7f3917552f7e088022080bc3f022d4c39"},
{"internal/provision/provision.go", "SetRecordRegion", "record-writer", "key:SetRecordRegion,key:updateRecord", "70d7e6b1b39ece28c795c801f67cd019720de0b000c056a65d75bef3d1a59909"},
{"internal/provision/record_sequence.go", "WriteRecord", "record-primitive", "key:IsRecordKey,key:WriteRecord,key:preparedRecordKey,sel:Put", "5b0f8b687e0b134117f4a82d38aca6ef067fa0bbb37c1cac922734169f56d610"},
- {"internal/provision/reconcile.go", "Reconcile", "key-site", "key:ParseRecordKey,key:RecordKey,lit:instances", "403b806f66e47e20f2a7b9b95846944879c360dab64e5fac27c2cfe7a02b946a"},
+ {"internal/provision/reconcile.go", "Reconcile", "key-site", "key:ParseRecordKey,key:RecordKey,lit:instances", "14f504ff102a8b0f37c8a88f1bdcdc65c87599d30c12ea70fb1aec19157475ae"},
{"internal/console/fleets.go", "Server.placeAppTarget", "record-writer", "key:RecordsPrefix,key:SetRecordRegion", "3dca2e95b42ae382c9ec3ce81fae9b61159b20275920b7128f784c3ee0eca293"},
{"internal/console/lifetimes_create.go", "Server.createRecordWithLifetimeLocked", "key-site", "key:RecordKey", "27810c6055d86dea23f51f5bd352a6b714720572efc6ed589b51b7c548890742"},
{"internal/console/hostsused.go", "Server.createRecordMarked", "record-writer", "key:CreateRecord,key:RecordKey", "9b39448ce817867c94e51d5feeff6dd24e4458cb452284ffa637b42c250b28fd"},
@@ -73,5 +84,7 @@ func rootfsApps4WriteCensusInventory() []censusEntry {
return append(entries,
censusEntry{"internal/console/fleetowner.go", "Server.writeFleetOwner", "nonrecord", "sel:Put", "e955cfd3b9f4af9b216a499152971f59403aa3bbb498a9107ea38a11e97e2111"},
censusEntry{"internal/hostops/fleetowner_classifier.go", "classifyFleetOwner", "reference", "str:Put", "79d7cac1ec85dbe45908ada0ffb7d862e594b369817958c7e23ed37d0c6af96f"},
+ // Fix wave 1 (PROPOSED-rootfs-apps-3).
+ censusEntry{"internal/activator/rootfsmarker.go", "ExecBackend.SettleRootfsFirstBoot", "nonrecord", "sel:Put", "4cdcb1a664271fdf24629a145190aab8b469815328aec2a3938bc16c4686a5f5"},
)
}
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index 3a99dea26..fd064e731 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -15,4 +15,4 @@ plan14-root-reads-alias-wake-338.tsv deeddee1bf22a18562acda97cc34c6d73ee0dff1825
plan14-root-reads-analytics-onramp.tsv f5afdacd495705841fcc8441eaefe0efb9db7056de281bb06d1714960a5575b7
plan14-root-reads-nearest-region-scan.tsv f5afdacd495705841fcc8441eaefe0efb9db7056de281bb06d1714960a5575b7
plan14-root-reads-plans-6b-checkout-flow.tsv f5afdacd495705841fcc8441eaefe0efb9db7056de281bb06d1714960a5575b7
-plan14-root-reads-rootfs-apps-3.tsv 05388abcaf0b068183872a8112b6202b5615870167ecbaa9678c2bb07bdb3ae7
+plan14-root-reads-rootfs-apps-3.tsv e1631e8f6d13bdd8bd4bea2fbc91b46d57a410ef55d6991e8150b6fdbf1019f6
diff --git a/internal/provision/testdata/plan14-root-reads-rootfs-apps-3.tsv b/internal/provision/testdata/plan14-root-reads-rootfs-apps-3.tsv
index 73e97f82b..fb707cf02 100644
--- a/internal/provision/testdata/plan14-root-reads-rootfs-apps-3.tsv
+++ b/internal/provision/testdata/plan14-root-reads-rootfs-apps-3.tsv
@@ -1,10 +1,12 @@
# Census overlay rootfs-apps-3, written by census-propose (#369). census-ruling-rootfs-apps-3, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-rootfs-apps-3.md.
-# 29 body, 41 sites, 17 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
-# 71 new dispositions: 17 reads re-frozen at their disposition with the claim, 53 new units frozen accepted-legacy, 1 quiet units retired while they read nothing, 0 other.
+# 31 body, 41 sites, 17 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
+# 83 new dispositions: 17 reads re-frozen at their disposition with the claim, 65 new units frozen accepted-legacy, 1 quiet units retired while they read nothing, 0 other.
@legacy 8a4584f14d5cbf19c23a936cf5ef31fceb7a88ac01b2db1edba7c1a637d9d4a6 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 registry:Socket@2595,registry:Socket@2700,whole:Route@2545,whole:Route@2597,whole:Route@2702 891ba19c5c70bc47ee8c3b4861c27f369dbdbded15a284edea78dd539e370593
@legacy b1846c80393a65745c7f8c1442b5826ed5339ae74fac48fc29f963cfbab0ea50 internal/activator/recoveryprobe.go Service.finishRecoveryProbe legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: installs the probed proc and generation through installProcLocked instead of assigning them inline; same values, no read added whole:Route@808 ae736b6a1121902f262b4ef68d2533396fe8abb09ef077ab4164ead807be80b6
@legacy eac9b5b895d4e3a1320a6a8150597fc47af43a42a30208d5f864849c8c8a8f64 internal/activator/rootfs.go ExecBackend.rootfsGateCheck legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as nestedGate): new (rootfs Plan 2 Tasks 8 and 9): every refusal a rootfs start makes before it touches anything: nestedReady, a row that is not nested (RFS-2-C01), the rootfs probe (RootfsOK), the placement rules (RootfsPlacement), claim control armed, a control channel with no rootfs half; its sites are the row's host for error text and the route handed to pathsFor and RootfsPlacement; it only refuses; no root decision;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: takes the caller's ctx and passes it to RootfsOK and RootfsPlacement so a shutdown ends the asks; same checks, no read added registry:Host@289,registry:Host@348,registry:Host@464,registry:Host@603,registry:Host@720,registry:Host@834,registry:Host@999,whole:Route@111,whole:Route@169,whole:Route@786 616809c5d54613a50bb65946c9618f8b055c3347b622e18dcb354380ffb32da8
@legacy 07f1069aed1e82fd68b2c43aa00ee19fb5d9ddc5f281af4619496a84e954c139 internal/activator/rootfs.go ExecBackend.rootfsGates legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as nestedGate): new (rootfs Plan 2 Task 9): rootfsGateCheck with the refusal marked errRootfsRefused; its one site is the route passed through; no root decision;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: ctx threaded to rootfsGateCheck; no read added whole:Route@126 4f04d13f251dc5aae7c011e35e097fb5212b4bab836eefc40d4a03eaaceb6c75
+@legacy 350943e7823272d801c01716e3eac28296f4c87ea29711b21a061d1240f6bed9 internal/activator/rootfs.go ExecBackend.spawnRootfs legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as spawnUnitFrom, whose shape it has): new (rootfs Plan 2 Tasks 5 and 9): prepareKeyedAt (the instance's own directories, environment and listeners, unchanged), the schema-2 tenant launch file (environment only, CARLOS_SOCKET and CARLOS_DB set by the agent), the caller's exec gate, then StartRootfs over the control socket naming the image and web; root resolves the command from its own staged manifest (C4) and the tenant file may name no command (the trampoline refuses one); the failure handling is spawnUnitFrom's; its sites are the row's host and route; no root decision; final fix I1: root's answers that guarantee no start (ErrStartRefused: 503 not ready or claim-armed, 501 unconfigured, 400, 409, 507), like its 403, are marked a refusal (refuseRootfs), so verdictOf and classifyStep record no failure of the build and no stop is asked; a 502 and a transport failure still may have run; the same nineteen sites, offsets moved;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (d35fcb1f, census P1-1): takes the tier root is asked for as an argument; a zero tier means GenTier's (the former body), so a caller that chose a limit has it kept, as spawnChildFrom and spawnUnitFrom keep theirs; the same nineteen sites, no read added registry:Host@1212,registry:Host@1385,registry:Host@1685,registry:Host@2419,registry:Host@2749,registry:Host@2876,registry:Host@304,registry:Host@3201,registry:Host@3291,registry:Host@3395,registry:Host@3868,registry:Host@3962,whole:Route@1035,whole:Route@1779,whole:Route@2582,whole:Route@3471,whole:Route@416,whole:Route@516,whole:Route@646 cb444fa40994f9225ad0923a5c58d9c04c5618327bd631edb6245b81588c96a9
+@legacy 154e53154b5c193ee6b8f268469efaccb95550bc7ee269f7bb85f37989b85d06 internal/activator/rootfs.go ExecBackend.startRootfs legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as startUnitAt): new (rootfs Plan 2 Task 9): spawnRootfs, then the web process's health wait on its own socket bounded by rootfsHealthTimeout (RFS-2-C09); a failed wait stops the unit as startUnitAt does; its sites are the row's host and route; no root decision;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (d35fcb1f, census P1-1): passes a zero tier to spawnRootfs, which is GenTier's as before; it records GenTier afterwards as it did; no read added registry:Host@1227,registry:Host@434,registry:Host@840,whole:Route@1361,whole:Route@205 28476188e585004cbd6c562af49d02746f724a3551a6b1e85f87dc65d95132fd
@legacy 10ae0ca944130a000ff278dd088864153f5b4fdafc7e166d1f6d40b405cf7f53 internal/activator/rootfs.go ExecBackend.startRootfsFromLive legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as Start): new (rootfs Plan 2 Task 9): a rootfs start of what the row's live link names, after rootfsGates: LiveIdentity, the live exec gate, release.VerifyStaged, then startRootfs; its sites are the row's host and route; no root decision;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: returns the full staged identity it started (version, staged path, digest, demand) instead of only the version; same live identity read and gates registry:Host@512,whole:Route@177,whole:Route@300,whole:Route@579 dbad410d5e8881339d33e12b5e77769e2f82affaffd44965cf36b955c6272dc5
@legacy eacca46e3e305c753b32d58f57233d5249a4158521184ba684069a6029be0a30 internal/activator/rootfs.go ExecBackend.startRootfsGen legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as StartGen and StartGenExe): new (rootfs Plan 2 Task 9): StartGen and StartGenExe for a rootfs row: rootfsGates first, then generation n on its per-generation socket in the instance's own run dir (or the row's canonical socket), from the live link or from the recorded identity checked with release.VerifyStaged; its sites are the row's host, socket and route; no root decision;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1 and Task 7: ctx to the gates; the generation records the staged identity of what actually ran on both paths (from live too), so a swap can compare it; no read added registry:Host@579,registry:Socket@234,whole:Route@1027,whole:Route@179,whole:Route@295,whole:Route@440,whole:Route@668 739542f5509cf63a4bb84447068bc67a1116f53fab3c6b02802108c2ebea30f8
@legacy c8f0f0865521c4822f5d9df2b789d5d7cab8679b5b46c52715fdb5f93a55a0a1 internal/appconfig/sync.go syncHostClaimed legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate case is left as is for a resident rootfs instance file:ReadFile@800,registry:App@3798,registry:App@3819,registry:App@4162,registry:App@4220,registry:Environment@3183,registry:Environment@3247,registry:Environment@5778,registry:Hibernate@8113,registry:Host@3789,registry:Host@4153,registry:Host@4363,registry:Host@536,registry:Host@553,registry:Host@571,registry:Host@590,registry:Host@5983,registry:Host@615,registry:Host@6220,registry:Host@6622,registry:Host@715,registry:Host@7197,registry:Host@771,registry:Host@7849,registry:Host@8062,registry:Host@8318,registry:Host@8408,registry:Host@8627,registry:Host@917,whole:Route@4299,whole:Route@6646,whole:Route@6766 1343c82c3aab8583ac816075541f6257703882520f392ddf2ad740ae40af7f90
@@ -32,7 +34,7 @@
@legacy e411f0510859eadc8efe4834d3fc8612a78d1902c336f3aeb41eba456d05a9f1 internal/activator/genbackend.go refuseHostCgroupProof legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: refuses the binary host-cgroup kill and emptiness proofs for a row with a runtime; reads Host and Runtime registry:Host@134,registry:Runtime@143,registry:Runtime@58 458bca950cb38b0a6eb86695cc1dea0d186e80c26ee2a60ccea6ed27cadec83c
@legacy 48313e3c14d88c40bd7cec022ad2151ab581978661deab4fea8bac4a460fbac8 internal/activator/layout.go LayoutExempt legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: a row with a runtime is never the layout machinery's; reads Runtime registry:Runtime@51 990fe074adf1aafac173d0f83d90296f800eb8e2649ce0c3de0d0e5d7696948f
@legacy 8e8d2660de2c27b96fbd5e2124047868e2fa6aa1dae56c919cebe22fd4032a03 internal/activator/rootfs.go ExecBackend.rootfsStartable legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the backend's rootfs gates (rootfsGates) as the activator's pre-lease admission asks them; no read of its own whole:Route@113 f35e818377d3f55531431e2e9fc25186f5d9809a6413423f9ccafa9381da1a0c
-@legacy fec1f49d02ca3ad8fffafcbd22789c24a233686edce9989f881a6fb3e1dc3b03 internal/activator/rootfs.go ExecBackend.startStagedRootfs legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: a rootfs generation's staged start for an overlap swap: refuses a partial staged identity, passes the rootfs gates, verifies the staged bytes (release.VerifyStaged, as the binary staged start does), then spawns through the existing spawnRootfs at the generation's nested socket; no new file read registry:Host@231,registry:Host@498,whole:Route@279,whole:Route@375,whole:Route@565,whole:Route@618 a3f4adb66d56c622f1118145c3ad6607fae648d3a0d9b7a9cd0a8960ea89f85b
+@legacy ef2ff6b882526c38fcc761633cbb5a42bcf04065b4a98827120676029f0b316e internal/activator/rootfs.go ExecBackend.startStagedRootfs legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: a rootfs generation's staged start for an overlap swap: refuses a partial staged identity, passes the rootfs gates, verifies the staged bytes (release.VerifyStaged, as the binary staged start does), then spawns through the existing spawnRootfs at the generation's nested socket; no new file read; fix wave 1 (d35fcb1f, census P1-1): passes g.Tier to spawnRootfs, so root is asked for the limit the caller chose (a swap keeps the incumbent's larger tier) rather than a recomputed one; no read added registry:Host@231,registry:Host@498,whole:Route@279,whole:Route@375,whole:Route@565,whole:Route@825 b37f3d4f110ad2a86cfcbf43a214b61ed4caa190f883e1fca872196e6796b734
@legacy 9f7dac1d767a45844413045127e5812fcf1c19fea6ae5bd28e6c73c2313ed7d1 internal/activator/rootfs_service.go Service.killResidentGens legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8 (C7): after a resident's lease is lost, kills each of its generations through the backend's existing KillGen (the root control service's kill and proof), bounded, logging each outcome; reads only the route's host registry:Host@210,registry:Host@630,registry:Host@757,whole:Route@483 0ba0bad6d3886ddecdfc6973e829d68e6f8afb9acfcc9f7b55f5953e02e17c09
@legacy 83ad79405a3283f99d306e7b090a901b8299f8a406ca0af4ae5b745a8927e3f4 internal/activator/rootfs_service.go Service.noteResidentRefusalLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: reports a resident's pre-lease refusal once per change (noteRootfsRefusal); log and event only whole:Route@190 039ba071eacb828ed4063a0e40f02d03f766983ab9fd7d54debf6a5f497615bc
@legacy bda8bbd0237574dbb0d01623d66ba017f73a67a318c3bb0c7b013e139aae2786 internal/activator/rootfs_service.go Service.noteResidentStopLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: a resident's stop sets its next start: a crash or a lost lease backs off (residentBackoff, failures reset after a healthy run) and emits the resident restart event (RFS-3-C11); any other stop restarts on the next tick; state and event only whole:Route@511,whole:Route@63 b4d413043e0b25d022f7d1527fed6e0d497ae9a68da66674ee18f55970043804
@@ -58,6 +60,18 @@
@legacy 17de26abda593765fd0359001bc14cd7a7250774ef395952eabc2cb107ce5ba3 internal/activator/rootfsdb.go buildEmptySQLiteDB legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7 (D7): builds the empty WAL database's bytes once in a fresh private temp dir (os.MkdirTemp) and reads them back; nothing outside its own temp dir file:Exec@322,file:Open@209,file:QueryRow@383,file:ReadFile@713 5d594688812ba339390c9c62b6adf73633250931edc8d9c4da8c2992919648f1
@legacy 6a6519ebcb42b2ba161dd83e73925977515c72e3ba3090e477c17997b2f45734 internal/activator/rootfsdb.go writeBeneathExcl legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: creates name beneath dir exclusively (instancefs.OpenBeneath, O_CREATE|O_EXCL, 0600), writes, syncs and returns the file's own Stat for later identity checks file:Stat@259 f36a8e9f65ade58bc91bdaccdc8a3e5f3394da5ad6a470458f4f70e7c6cdd127
@legacy 45c39556074b07bf583269830a1cd6a83784939a04f2ff74ee40702d8871fac3 internal/activator/rootfsenv.go ExecBackend.rootfsCmdVars legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 6: a rootfs cmd's environment is the binary cmdVars composed through rootfsVars (the image's socket and database paths); reads Socket registry:Socket@198,whole:Route@161 bd669651d1214e229b138437bc94e464b6f953102a68f909950eb99580c77a7b
+@legacy c337cc4ac4cdae9a3f45054db37dd3f38e0eee01778f1e32511c5dcbdfac90ea internal/activator/rootfsmarker.go Config.rootfsMarkerKey legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db, branch review P1-1): the first-boot marker's bucket key, <hibernate prefix>/rootfs-initialized/<Incarnation>.json, computed from the row's Host and Incarnation (the record lifetime); reads Host and Incarnation registry:Host@86,registry:Incarnation@146 84efa170588d79aac2691b75d50a3b320c05557da26d1ca96067f42430d93232
+@legacy 9d8ff82e62ce1017208498e1c18ac620cc4c7412edd045daaa82cb61a03f80bf internal/activator/rootfsmarker.go ExecBackend.BeginRootfsFirstBoot legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): as the agent, creates the pending record (MkdirAll 0700, OpenFile O_CREATE|O_TRUNC 0600 under rootfsPendingPath), writes the marker key into it, syncs it and its directory; writes only the agent's own file, reads nothing back file:OpenFile@294,whole:Route@157,whole:Route@434 a115adbff53f0f451fcc51a06e988faf2b9ff4448fad083d0945b20bc515da80
+@legacy a8ea03625acdb9f47fd0ef8a312b2293808c6a0846edd1ce9581241d03c629bd internal/activator/rootfsmarker.go ExecBackend.RootfsInitialized legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): the marker read, one GET of rootfsMarkerKey through ExecBackend.FilesStore (the hibernate bucket, the replica's bucket and credentials); true for any object, false only on a definite not-found, any other answer an error (the wake refuses); the body is never parsed; no FilesStore is errNoRootfsMarker whole:Route@217 697f5accc6b70e3ce4d044a07b8796cd9c42eae72ab926e610dba5a134510687
+@legacy d7a788e030461106e723bcaea7195ebe4c5d91b2a3ba79da676e8cd07997a214 internal/activator/rootfsmarker.go ExecBackend.SettleRootfsFirstBoot legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): Lstat of this box's pending record (nothing pending: nil, the bucket not asked); otherwise a create-only PUT of the marker (host, account, app, incarnation, time) through FilesStore, a CAS conflict counting as confirmed, then removes the pending record; reads Host, Account, App and Incarnation of the row and only whether the agent's own pending file exists file:Lstat@174,registry:Account@393,registry:App@410,registry:Host@375,registry:Host@847,registry:Incarnation@431,whole:Route@123,whole:Route@554 4cdcb1a664271fdf24629a145190aab8b469815328aec2a3938bc16c4686a5f5
+@legacy cff6b40d881361d9c27df61195e0fafb65b94f9ae202ed3ac51da448c4e50653 internal/activator/rootfsmarker.go ExecBackend.rootfsPendingPath legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): the pending first-boot record's path, DataDir/.rootfs-first-boot/<host>@<incarnation> (the agent's data directory, which no tenant writes); refuses an empty host or a name that is not a single path element; reads Host and Incarnation registry:Host@142,registry:Host@201,registry:Host@327,registry:Incarnation@177 4193c41eff17236553a4ab5f41c9ac64ead14ce98e43be96046d4a7fea2cdcbb
+@legacy c87cdb76a333fb7ab58f8cd5aca3b059224601916ad7c499b190bc4ea5da7f5d internal/activator/rootfsmarker.go Service.rootfsFirstBoot legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): doWake's step 2a for a fresh rootfs row with no good version, under the lease: checks both capabilities, reads the marker (present refuses as errRootfsReplicaMissing, unreadable refuses), records the pending first boot, places the empty database (placeRootfsDB, unchanged), then writes and confirms the marker before the start; every failure is a rootfs refusal; reads Host and Incarnation for messages and passes the row on registry:Host@1081,registry:Host@172,registry:Host@297,registry:Host@462,registry:Host@643,registry:Host@711,registry:Host@867,registry:Incarnation@652,whole:Route@370,whole:Route@783,whole:Route@917,whole:Route@991 afc9d8c8ae94027750f412a756fa1ab4c3d470b33a1b9a42cc818dc6768e475a
+@legacy c4eb691030e221e41c29372cdadfb8f079e39c793448c721ffc9cd2134c6d50e internal/activator/rootfsmarker.go Service.settleRootfsFirstBoot legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): doWake's step 2a for a rootfs row that is not fresh: settles a first boot this box left pending (SettleRootfsFirstBoot) before anything starts, a failure a rootfs refusal; a backend without the marker has nothing pending; reads Host registry:Host@288,whole:Route@198 f949f5afc703b530f926d6b51e456d1141c5913e18e05aad6df188fdcf93c85d
+@legacy 3d59ded1fbd323323f0f264335f5e449c0c31ea9cea2cdbdd3f190fc90c47aed internal/activator/rootfsmarker.go SplitBackend.BeginRootfsFirstBoot legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): forwards the pending record to the exec backend for a non-unit row; a unit-backed row is errNoRootfsMarker; reads Host registry:Host@175,whole:Route@139,whole:Route@97 31ce080f63adfa5dda1198957a83dfea4d10a5dc20e0e91dbf2a2ab10fa57e7c
+@legacy a7f4adadf0ef68acd4656dd303ab5c1198647f2d2edfba7357971d1efd2478cc internal/activator/rootfsmarker.go SplitBackend.RootfsInitialized legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): forwards the marker read to the exec backend for a non-unit row (execMarker); a unit-backed row is errNoRootfsMarker; reads Host registry:Host@210,whole:Route@123,whole:Route@167 bb639b0452b7d6d70c56a7a3d159b146179647d5d54d4b6410b3377717ad4347
+@legacy ce8ddb720e3765d1f589514bfc7d33b40d12cdbfbd4d1b9f10f9cb6a0c478a9b internal/activator/rootfsmarker.go SplitBackend.SettleRootfsFirstBoot legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): forwards the settle to the exec backend for a non-unit row; a unit-backed row has nothing pending (nil) whole:Route@119,whole:Route@167 d238ec5afc02cb7efbec359896c9a2df394de82b5ff1dcc4635df460869f97d2
+@legacy 0a1f8d9f4c693a805f19abb976db834b4eaea8df3c5f0079d43a5bc0bf7702e5 internal/activator/rootfsmarker.go SplitBackend.execMarker legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): the exec side's marker capability for a row that is not unit-backed; reads Backing; its file:Exec site is the SplitBackend.Exec field (the exec backend, a type assertion), no file is opened or run file:Exec@159,registry:Backing@89 999577c1bd61b6ed11822b81663b96aeb91d057143c44e9f840d482470d6bbe3
+@legacy d7799dbbda5262e6372708b9b85785755236e0368cdf4074077a9618d9f41604 internal/activator/rootfsmarker.go syncDirBestEffort legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): opens a directory the caller named (the pending record's, in the agent's DataDir) and syncs it, errors ignored; reads nothing file:Open@51 bb2040e7e0eafcbd0ed25894880cb69b1de0d86a7add91f51f3d8250a74ce12c
@legacy 15f724b4599bed9038d7c79c0bc45ae60f533c45ddb0a6a06694b11a3a28cbfa internal/activator/swap.go Service.genHealthy legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: takes the route so the health wait is healthBoundFor(rt) instead of the binary constant; same check whole:Route@266 e86f90e197834d7c677047091ddf5593d9a40f1889608664fc95a8faa6411d93
@legacy f4f8632ca9301473983ea41ba40e06c12f1308f1f7ff17a0137481c0e3e06eb7 internal/host/socket_advice.go socketAdvice legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the two advisory log lines socketAdvisoryLoop wrote inline, chosen by Route.ActivatorLeased instead of Hibernate; log text only data-literal@381,registry:Host@338,registry:Host@713,registry:Host@733,registry:Socket@347,registry:Socket@722 6da9ff4ff6c34a480d18d9aa2f5c077b7ab215f0a376f733a7595bfecacdd34a
@legacy d10b6f81aee6231260164070232ada7a5419e69b102cc7d201fd92c99a1a84a7 internal/layout/pass.go Pass.Held legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: takes the whole route and answers not held for a row with a runtime (LayoutExempt) before the existing kept-fence check registry:Host@120,whole:Route@83 0a136240aed9d9dc7eccffa1ef864952ff8978e09f395f2027c44645ec6806bf
@@ -72,7 +86,7 @@
@legacy db3dd606d9b54c534479da3bfb98dbd61d71fb42f074b614fbe1d8a2602cf319 internal/registry/runtime.go Route.Rootfs legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: runtime is rootfs-v1; reads Runtime registry:Runtime@38 3b0819618fb8b69c34c8e4457108d59a64c4d27f0234d3a6233b2dc4bc7e3872
@legacy 15edcc813d9bace944d6b12a4f69ddeb6aac6ffd646d91e7599aa405129910f6 cli.go addMintsNested legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: a row with a runtime is not evidence the box moved to nested (it is minted nested everywhere), so only binary rows count; adds a Runtime read that narrows the test registry:Runtime@642,whole:Route@594,whole:Route@635,whole:Route@688 96af07e923ed6f3b04cc45a0d493cc8ebe81e47809a2606af38d174ec8f6521b
@legacy ab72ccabe8df38a113612a3216bc89232a5cc2e7344c8856c55630094d19a331 cli.go runRouteHibernate legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 2: carlos route hibernate refuses a row with a runtime first (its hibernation is fixed at mint), before any dry run or other rail; reads Host and Runtime of the row already read; a refusal only registry:App@2812,registry:Hibernate@3464,registry:Hibernate@3751,registry:Host@1052,registry:Host@2748,registry:Host@3134,registry:Host@3227,registry:Host@3553,registry:Host@3619,registry:Host@3742,registry:Host@525,registry:Provisioned@1086,registry:Replication@4374,registry:Replication@4545,registry:Runtime@345,whole:Route@2807,whole:Route@2968,whole:Route@2973,whole:Route@3314,whole:Route@564 6b1ef36f22e6308fb6ddf3df2a704d37cc0d9c9c2d6acff55dcc49481f3874ea
-@legacy 9f26611fe0879ef006ba52b446df993e03956383d97f42b585b01801240501d0 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 registry:DBPath@1703,registry:DBPath@1719,registry:DBPath@1846,registry:DBPath@1857,registry:DBPath@26321,registry:GoodVersion@12558,registry:Host@1532,registry:Host@1607,registry:Host@1685,registry:Host@1837,registry:Host@2171,registry:Host@4121,registry:Host@577,registry:Host@6096,registry:Replication@11536,registry:Replication@11665,registry:Replication@11684,registry:Replication@11765,registry:Replication@26224,registry:Replication@26356,registry:Seed@16114,registry:Socket@1732,registry:Socket@1748,registry:Socket@1871,registry:Socket@1882,whole:Route@10638,whole:Route@11516,whole:Route@11767,whole:Route@12759,whole:Route@14048,whole:Route@14240,whole:Route@14930,whole:Route@16215,whole:Route@16286,whole:Route@1630,whole:Route@18702,whole:Route@20560,whole:Route@2066,whole:Route@2071,whole:Route@21206,whole:Route@2125,whole:Route@2131,whole:Route@2197,whole:Route@2205,whole:Route@22513,whole:Route@22667,whole:Route@23023,whole:Route@23117,whole:Route@23836,whole:Route@24267,whole:Route@24475,whole:Route@24529,whole:Route@25458,whole:Route@25643,whole:Route@26433,whole:Route@26845,whole:Route@26894,whole:Route@27272,whole:Route@28494,whole:Route@28589,whole:Route@29196,whole:Route@3156,whole:Route@3250,whole:Route@3317,whole:Route@357,whole:Route@4011,whole:Route@5465,whole:Route@562,whole:Route@5724,whole:Route@5986,whole:Route@5991,whole:Route@6048,whole:Route@6054,whole:Route@6123,whole:Route@6131,whole:Route@6447,whole:Route@6508,whole:Route@6606,whole:Route@7430,whole:Route@8498,whole:Route@8687,whole:Route@9757 b9fd18099c622fa03d61945423cfe11db89e5bdec1293d666149867adc1ceb71
+@legacy 36030e0854ade00c828af0138440ef618decb71c693c60ba7ea6e1c79f2d7934 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 (6189a9db, branch review P1-1): a fresh rootfs first boot now 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), records a pending first boot in the agent's DataDir, places the database, then writes and confirms the marker before the start; a rootfs row that is not fresh first settles a first boot this box left pending (settleRootfsFirstBoot: a local Lstat, and a PUT only if pending), refusing and giving the lease back if the marker write fails; one new whole:Route site (rt handed to settleRootfsFirstBoot); adds refusals only, binary rows unchanged registry:DBPath@1703,registry:DBPath@1719,registry:DBPath@1846,registry:DBPath@1857,registry:DBPath@26862,registry:GoodVersion@13097,registry:Host@1532,registry:Host@1607,registry:Host@1685,registry:Host@1837,registry:Host@2171,registry:Host@4121,registry:Host@577,registry:Host@6096,registry:Replication@11536,registry:Replication@11665,registry:Replication@11684,registry:Replication@11765,registry:Replication@26765,registry:Replication@26897,registry:Seed@16655,registry:Socket@1732,registry:Socket@1748,registry:Socket@1871,registry:Socket@1882,whole:Route@10638,whole:Route@11516,whole:Route@11767,whole:Route@12961,whole:Route@13300,whole:Route@14589,whole:Route@14781,whole:Route@15471,whole:Route@1630,whole:Route@16756,whole:Route@16827,whole:Route@19243,whole:Route@2066,whole:Route@2071,whole:Route@21101,whole:Route@2125,whole:Route@2131,whole:Route@21747,whole:Route@2197,whole:Route@2205,whole:Route@23054,whole:Route@23208,whole:Route@23564,whole:Route@23658,whole:Route@24377,whole:Route@24808,whole:Route@25016,whole:Route@25070,whole:Route@25999,whole:Route@26184,whole:Route@26974,whole:Route@27386,whole:Route@27435,whole:Route@27813,whole:Route@29035,whole:Route@29130,whole:Route@29737,whole:Route@3156,whole:Route@3250,whole:Route@3317,whole:Route@357,whole:Route@4011,whole:Route@5465,whole:Route@562,whole:Route@5724,whole:Route@5986,whole:Route@5991,whole:Route@6048,whole:Route@6054,whole:Route@6123,whole:Route@6131,whole:Route@6447,whole:Route@6508,whole:Route@6606,whole:Route@7430,whole:Route@8498,whole:Route@8687,whole:Route@9757 4ec483129187ca5eddae88ff7bf70316504d47d6bacd7d2fb82d2b638f04cc1b
@legacy 9f6f3bdc0ab9fc1c4b151d38efd54bbbde8da6cd27fa90d8855fbaebb526318e internal/activator/backend_exec.go ExecBackend.HasSidecar legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: a row with a runtime has no binary sidecar, answered before the sidecar env Stat; reads Runtime; Stats less file:Stat@111,registry:Runtime@63,whole:Route@130 455705cdfd899bfe06c893e09f50e4f44337237ddf6e7d4116458abcd5560516
@legacy afd589d40185e3906687a48da15ab55d077c091b5f0fab06565ea8e09f02820f internal/activator/genbackend.go ExecBackend.EmptyHost legacy accepted-legacy accepted-legacy;rev3=fix1-merge-review;basis=Checks agent-owned host cleanup before lease release; no root authority is derived from it.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: refuses a row with a runtime first (refuseHostCgroupProof); the cgroup open moves into openHostCgroup (same delegation check and OpenCleanup, with the test seam); reads Runtime registry:Host@175,registry:Host@425,whole:Route@113 84e9410c89478fb18c2740ca8fedf01a5bfb218348eb2423fb8e05ec9da2a45e
@legacy 86f7194062928ba9c3168f526d55133e8a9bef3a187f12629061d060beb25b12 internal/activator/genbackend.go ExecBackend.KillHost legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: refuses a row with a runtime first (refuseHostCgroupProof); the cgroup open moves into openHostCgroup (same delegation check and OpenCleanup); reads Runtime registry:Host@174,whole:Route@112 46ce2f055a9975f6c83489b30c0205386ae623fad527b3ec7d0d042f296d89e7
@@ -80,7 +94,7 @@
@legacy 2483e8c72ef96277d620794abe5aed1ea67119b25b13d4c2ce8e03145d9ebe49 internal/activator/wakeidentity.go wakeRouteChanged legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): doWake's refusal when the registry row changed under a wake the edge admitted on its cached row; the agent refuses its own wake; no root decision;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: a runtime change between the wake's start and now refuses the wake, like the other identity changes; reads Runtime of both rows; a refusal only registry:Account@657,registry:Account@674,registry:Account@818,registry:Account@840,registry:Addr@1008,registry:Addr@872,registry:Addr@886,registry:Addr@998,registry:App@689,registry:App@702,registry:App@831,registry:App@855,registry:Host@1148,registry:Host@1311,registry:Host@202,registry:Host@351,registry:Host@613,registry:Host@808,registry:Host@988,registry:ImportGate@1026,registry:ImportGate@1046,registry:Runtime@367,registry:Runtime@384,registry:Runtime@623,registry:Runtime@636,registry:SeedSource@1174,registry:SeedSource@1205,registry:SeedSource@1331,registry:SeedSource@1358,whole:Route@241,whole:Route@248 14db3c61a17fb5f59a84e879eedd7874f3d7488d68e17073abf6f094446bcfcc
@legacy f307bb87d509511d02831b61910d4b52188042d7758a4361e578b79e0f22c677 internal/host/layoutleg.go nestedRowsPresent legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: only binary rows count as evidence the box is nested (a rootfs row is minted nested everywhere); adds a Runtime read that narrows the test registry:Runtime@165,whole:Route@119,whole:Route@158,whole:Route@211 56486e871eb7fdca0873f487d7e6938425187dbb405f8cb17a78c8ba41781cd8
@legacy f42164d99db6e0c0a1e309312aaa4ae7a910775bae9c03552932bd86948221f1 internal/layout/pass.go Pass.recheck legacy accepted-legacy accepted-legacy;rev3=J1,J2,J4;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: a host whose listed row has a runtime is never plantable ("rootfs instances are always nested"), before the plan read; reads Host and Runtime of the listed rows registry:Host@129,whole:Route@115,whole:Route@171,whole:Route@400,whole:Route@602 deb937f7584007d13c6ade75cf3d73643fbe5834ca400f0e9e428664af9a229f
-@legacy f2f817da040c2319b24479b3eda5b5fd021c79e777275f7b4a22125f67140d58 internal/provision/reconcile.go Reconcile legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from its reconcile loops: each listed record is observed through the box's lifetime judge (ObserveWith: the record, then its host incarnation slot) before the shape, channel and scope checks, a stale record is left out and an unjudgeable one protected; the removal phase observes a row's own record key when the pass holds none for it under that key, and deletes a held row whose record is gone or stale through DeleteIfHold; a nil judge (claims on) is main's body; registry read sites unchanged, offsets moved; fix round 1: the removal phase observes a row's own key only under an account the listing trusts, so a retired or unmaterialised account's row keeps record gone, and the pass arms its own context with the judge; Task 7: under a judge an existing provisioned row of the record's own app and account follows the existing-row rules (heldByVanishedPredecessor and retireHeldPredecessor's DeleteIfHold first, the record then minted on the same pass; the hold; installRowLifetime), each a separate write under the host's hold lock; registry read sites unchanged, offsets moved;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=#328/#329 plan 1 Task 7: the pass reads its apps' policy objects (control/app-policy/<sqid>/<app>.json in the bucket) through the agent's PolicyCache, each verified with ReleasePub by apppolicy.VerifyKey (ed25519 over the policy's own domain line, bound to the account and app, unexpired, not future-dated; anything else is no policy), and carries the columns into its rows. New kinds registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each, all the assignment of a fresh row's columns (nr) from policies.cols; plus one whole:Route site, the existing row handed to policies.forRow. Other read sites unchanged, offsets moved; the agent's own pass, no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos, from its reconcile loops: after the scan, hands the in-scope records to cfg.Lifetimes (the box's lifetime index): Merge after a failed read or partial listing, Replace after a complete one, nothing on a dry run or with no index; the scan, judge and removal phases unchanged; the same 166 sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 2 and 5 (D5, spec §5.0): a seeded record over a row with a runtime is skipped and logged; a row with a runtime (or a new record with one) takes no seed; runtime and a rootfs row's hibernation are never converged from a record (a mismatch is logged; a record claiming a runtime its row lacks is not applied); reads Runtime of the record and the row; the box writes less registry:Account@28949,registry:Account@30214,registry:Account@48093,registry:Account@48139,registry:Account@48957,registry:Account@49334,registry:Account@49560,registry:Account@49627,registry:Account@49673,registry:Account@49766,registry:Account@49808,registry:Account@50456,registry:Account@50714,registry:Account@51254,registry:Account@51302,registry:Account@51675,registry:Account@51721,registry:Account@51966,registry:Account@52454,registry:Account@53190,registry:Account@53383,registry:Account@53729,registry:Account@54294,registry:App@28922,registry:App@30187,registry:App@48113,registry:App@48151,registry:App@48969,registry:App@49346,registry:App@49572,registry:App@49647,registry:App@49685,registry:App@49786,registry:App@50468,registry:App@50726,registry:App@51266,registry:App@51314,registry:App@51695,registry:App@51733,registry:App@51978,registry:App@52466,registry:App@53202,registry:App@53395,registry:App@53741,registry:App@54306,registry:ClaimOwnership@29536,registry:DBPath@38393,registry:DBPath@38408,registry:DBPath@38654,registry:DBPath@39257,registry:DBPath@39270,registry:EgressAllow@28035,registry:Gate@34738,registry:Gate@34878,registry:Gate@35165,registry:Hibernate@33410,registry:Hibernate@33608,registry:Hibernate@33673,registry:Hibernate@34012,registry:Hibernate@34363,registry:Hibernate@34673,registry:HoldOp@52935,registry:HoldOp@53026,registry:HoldOp@53161,registry:HoldOp@53537,registry:Host@20024,registry:Host@48072,registry:Host@48933,registry:Host@49310,registry:Host@49474,registry:Host@49580,registry:Host@50476,registry:Host@50682,registry:Host@51558,registry:Host@51830,registry:Host@51945,registry:Host@52331,registry:Host@52428,registry:Host@52642,registry:Host@53017,registry:Host@53152,registry:Host@53356,registry:Host@53429,registry:Host@53528,registry:Host@53703,registry:Host@53778,registry:Host@53864,registry:Host@54271,registry:Kind@29678,registry:Kind@29941,registry:Kind@38311,registry:Kind@38324,registry:Kind@38434,registry:Kind@38447,registry:Kind@39168,registry:Kind@39179,registry:Kind@47215,registry:Kind@52633,registry:Kind@53143,registry:Kind@53519,registry:Kind@53694,registry:Kind@53855,registry:PolicyExpiresAt@28060,registry:Pool@47282,registry:Provisioned@28898,registry:Provisioned@30163,registry:Provisioned@47241,registry:RateLimit@35251,registry:RateLimit@35402,registry:RateLimit@35689,registry:Region@47271,registry:Replication@34097,registry:Replication@34224,registry:Runtime@21746,registry:Runtime@21924,registry:Runtime@24083,registry:Runtime@32777,registry:Runtime@32831,registry:Runtime@33035,registry:Seed@36791,registry:SeedSource@36274,registry:Size@28051,registry:Socket@38359,registry:Socket@38374,registry:Socket@38671,registry:Socket@39227,registry:Socket@39240,registry:Unit@38277,registry:Unit@38290,registry:Unit@39194,registry:Unit@39205,whole:ClaimOwnership@29539,whole:ClaimOwnership@29556,whole:Route@20006,whole:Route@20017,whole:Route@20035,whole:Route@21214,whole:Route@22241,whole:Route@22248,whole:Route@22288,whole:Route@22649,whole:Route@22987,whole:Route@23434,whole:Route@23485,whole:Route@23522,whole:Route@25148,whole:Route@25357,whole:Route@25696,whole:Route@25705,whole:Route@25751,whole:Route@27984,whole:Route@28543,whole:Route@29014,whole:Route@29024,whole:Route@29381,whole:Route@29388,whole:Route@29456,whole:Route@29779,whole:Route@30812,whole:Route@33763,whole:Route@38503,whole:Route@40089,whole:Route@40134,whole:Route@40144,whole:Route@41014,whole:Route@42041,whole:Route@47307,whole:Route@47455,whole:Route@48526,whole:Route@48885,whole:Route@49267,whole:Route@53616,whole:Route@54201,whole:Route@54251 403b806f66e47e20f2a7b9b95846944879c360dab64e5fac27c2cfe7a02b946a
+@legacy 2dc421300dea4bd7550b22e2de2b4542ca9e739cb76cd1766a8859296518c0e4 internal/provision/reconcile.go Reconcile legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from its reconcile loops: each listed record is observed through the box's lifetime judge (ObserveWith: the record, then its host incarnation slot) before the shape, channel and scope checks, a stale record is left out and an unjudgeable one protected; the removal phase observes a row's own record key when the pass holds none for it under that key, and deletes a held row whose record is gone or stale through DeleteIfHold; a nil judge (claims on) is main's body; registry read sites unchanged, offsets moved; fix round 1: the removal phase observes a row's own key only under an account the listing trusts, so a retired or unmaterialised account's row keeps record gone, and the pass arms its own context with the judge; Task 7: under a judge an existing provisioned row of the record's own app and account follows the existing-row rules (heldByVanishedPredecessor and retireHeldPredecessor's DeleteIfHold first, the record then minted on the same pass; the hold; installRowLifetime), each a separate write under the host's hold lock; registry read sites unchanged, offsets moved;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=#328/#329 plan 1 Task 7: the pass reads its apps' policy objects (control/app-policy/<sqid>/<app>.json in the bucket) through the agent's PolicyCache, each verified with ReleasePub by apppolicy.VerifyKey (ed25519 over the policy's own domain line, bound to the account and app, unexpired, not future-dated; anything else is no policy), and carries the columns into its rows. New kinds registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each, all the assignment of a fresh row's columns (nr) from policies.cols; plus one whole:Route site, the existing row handed to policies.forRow. Other read sites unchanged, offsets moved; the agent's own pass, no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos, from its reconcile loops: after the scan, hands the in-scope records to cfg.Lifetimes (the box's lifetime index): Merge after a failed read or partial listing, Replace after a complete one, nothing on a dry run or with no index; the scan, judge and removal phases unchanged; the same 166 sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 2 and 5 (D5, spec §5.0): a seeded record over a row with a runtime is skipped and logged; a row with a runtime (or a new record with one) takes no seed; runtime and a rootfs row's hibernation are never converged from a record (a mismatch is logged; a record claiming a runtime its row lacks is not applied); reads Runtime of the record and the row; the box writes less; fix wave 1 (ceea6353, whole-branch P1-2): before minting a row for a record with no runtime and no row (both mint paths), the pass reads the app's kind marker once per app per pass (release.ReadAppKindMarker: one GET of the create-only kind.json from the release store s, through freshStore, validated by readAppKindMarker); a rootfs marker leaves the record unmaterialized and logged (an older console stripped its runtime), and a marker that cannot be read defers the mint this pass; a refusal before minting only, registry read sites unchanged, the box writes less registry:Account@30762,registry:Account@32027,registry:Account@49906,registry:Account@49952,registry:Account@50770,registry:Account@51147,registry:Account@51373,registry:Account@51440,registry:Account@51486,registry:Account@51579,registry:Account@51621,registry:Account@52269,registry:Account@52527,registry:Account@53067,registry:Account@53115,registry:Account@53488,registry:Account@53534,registry:Account@53779,registry:Account@54267,registry:Account@55003,registry:Account@55196,registry:Account@55542,registry:Account@56107,registry:App@30735,registry:App@32000,registry:App@49926,registry:App@49964,registry:App@50782,registry:App@51159,registry:App@51385,registry:App@51460,registry:App@51498,registry:App@51599,registry:App@52281,registry:App@52539,registry:App@53079,registry:App@53127,registry:App@53508,registry:App@53546,registry:App@53791,registry:App@54279,registry:App@55015,registry:App@55208,registry:App@55554,registry:App@56119,registry:ClaimOwnership@31349,registry:DBPath@40206,registry:DBPath@40221,registry:DBPath@40467,registry:DBPath@41070,registry:DBPath@41083,registry:EgressAllow@29848,registry:Gate@36551,registry:Gate@36691,registry:Gate@36978,registry:Hibernate@35223,registry:Hibernate@35421,registry:Hibernate@35486,registry:Hibernate@35825,registry:Hibernate@36176,registry:Hibernate@36486,registry:HoldOp@54748,registry:HoldOp@54839,registry:HoldOp@54974,registry:HoldOp@55350,registry:Host@21741,registry:Host@49885,registry:Host@50746,registry:Host@51123,registry:Host@51287,registry:Host@51393,registry:Host@52289,registry:Host@52495,registry:Host@53371,registry:Host@53643,registry:Host@53758,registry:Host@54144,registry:Host@54241,registry:Host@54455,registry:Host@54830,registry:Host@54965,registry:Host@55169,registry:Host@55242,registry:Host@55341,registry:Host@55516,registry:Host@55591,registry:Host@55677,registry:Host@56084,registry:Kind@31491,registry:Kind@31754,registry:Kind@40124,registry:Kind@40137,registry:Kind@40247,registry:Kind@40260,registry:Kind@40981,registry:Kind@40992,registry:Kind@49028,registry:Kind@54446,registry:Kind@54956,registry:Kind@55332,registry:Kind@55507,registry:Kind@55668,registry:PolicyExpiresAt@29873,registry:Pool@49095,registry:Provisioned@30711,registry:Provisioned@31976,registry:Provisioned@49054,registry:RateLimit@37064,registry:RateLimit@37215,registry:RateLimit@37502,registry:Region@49084,registry:Replication@35910,registry:Replication@36037,registry:Runtime@23513,registry:Runtime@23691,registry:Runtime@25896,registry:Runtime@34590,registry:Runtime@34644,registry:Runtime@34848,registry:Seed@38604,registry:SeedSource@38087,registry:Size@29864,registry:Socket@40172,registry:Socket@40187,registry:Socket@40484,registry:Socket@41040,registry:Socket@41053,registry:Unit@40090,registry:Unit@40103,registry:Unit@41007,registry:Unit@41018,whole:ClaimOwnership@31352,whole:ClaimOwnership@31369,whole:Route@21723,whole:Route@21734,whole:Route@21752,whole:Route@22931,whole:Route@24008,whole:Route@24015,whole:Route@24055,whole:Route@24416,whole:Route@24754,whole:Route@25201,whole:Route@25252,whole:Route@25289,whole:Route@26961,whole:Route@27170,whole:Route@27509,whole:Route@27518,whole:Route@27564,whole:Route@29797,whole:Route@30356,whole:Route@30827,whole:Route@30837,whole:Route@31194,whole:Route@31201,whole:Route@31269,whole:Route@31592,whole:Route@32625,whole:Route@35576,whole:Route@40316,whole:Route@41902,whole:Route@41947,whole:Route@41957,whole:Route@42827,whole:Route@43854,whole:Route@49120,whole:Route@49268,whole:Route@50339,whole:Route@50698,whole:Route@51080,whole:Route@55429,whole:Route@56014,whole:Route@56064 14f504ff102a8b0f37c8a88f1bdcdc65c87599d30c12ea70fb1aec19157475ae
@legacy 3bbaef029e96ed6183ec8b7fcf6589b4cec3d4d6f5d3564b1000e3fbd995df79 internal/provision/reconcile.go everywhereRoute legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: a row with any runtime is home-boxed, never an everywhere route; reads Runtime; narrows registry:Backing@459,registry:Caps@498,registry:Hibernate@443,registry:Kind@536,registry:Replica@391,registry:Runtime@148,registry:Tunnel@479,registry:Unit@426 0c66cebe309f9f087986b36b6d6739719e1cf13ca676bdcda9bb732d07e3745d
@legacy 8a6feea4d0e74eaa1e5060da6907f47eaf4bfed3d6ef5743495579f8fb350d43 internal/provision/reconcile.go shapeMismatch legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 2: a hand-added row is never adopted across runtimes; reads Runtime of both; a refusal only registry:Account@1225,registry:Account@1245,registry:Account@1297,registry:Account@1315,registry:Addr@1675,registry:Addr@1692,registry:Addr@1738,registry:Addr@1753,registry:Addrs@1770,registry:Addrs@1788,registry:Addrs@1836,registry:Addrs@1852,registry:App@1135,registry:App@1151,registry:App@1195,registry:App@1209,registry:Backing@176,registry:Backing@75,registry:Canary@521,registry:Caps@322,registry:Caps@417,registry:DBPath@2470,registry:DBPath@2489,registry:DBPath@2535,registry:DBPath@2552,registry:Health@1870,registry:Health@1889,registry:Health@1939,registry:Health@1956,registry:Kind@1335,registry:Kind@1352,registry:Kind@1398,registry:Kind@1413,registry:Platform@438,registry:Pool@2165,registry:Pool@2182,registry:Pool@2228,registry:Pool@2243,registry:Region@2260,registry:Region@2279,registry:Region@2329,registry:Region@2346,registry:Runtime@1565,registry:Runtime@1585,registry:Runtime@1637,registry:Runtime@1655,registry:Slug@2070,registry:Slug@2087,registry:Slug@2133,registry:Slug@2148,registry:Socket@2365,registry:Socket@2384,registry:Socket@2434,registry:Socket@2451,registry:Tunnel@200,registry:Tunnel@299,registry:Unit@1975,registry:Unit@1992,registry:Unit@2038,registry:Unit@2053 f0847cd535b02824f99f1b0485585f1731cc9becefaf53ae15635f94016185e7
@legacy 853c6ba5c0870846b6e9ff52a8c553cdebcea7d2910226d3ae713f6e585decef internal/registry/registry.go Registry.SetHibernate legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 2: both updates add AND runtime = '' so a row with a runtime keeps its hibernation; when nothing matched, a Get tells a rootfs row (ErrRuntimeFixed) from no row (the old silent no-op); the follow-up read changes only the error file:Exec@254,file:Exec@379,registry:Runtime@715,registry:remote@66,registry:remote@96,registry:sql@254,registry:sql@379,whole:Route@702,whole:remoteClient@68,whole:remoteClient@98 47344cd6be0343f83e5e13346e7e6c0fc30d48ce1df3be8629905bf411f9a36a
@@ -124,6 +138,8 @@ internal/activator/activator.go type Service authority B,C,D,F,J4 rev3=PROPOSED-
internal/activator/recoveryprobe.go Service.finishRecoveryProbe legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: installs the probed proc and generation through installProcLocked instead of assigning them inline; same values, no read added whole:Route@808 ae736b6a1121902f262b4ef68d2533396fe8abb09ef077ab4164ead807be80b6
internal/activator/rootfs.go ExecBackend.rootfsGateCheck legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as nestedGate): new (rootfs Plan 2 Tasks 8 and 9): every refusal a rootfs start makes before it touches anything: nestedReady, a row that is not nested (RFS-2-C01), the rootfs probe (RootfsOK), the placement rules (RootfsPlacement), claim control armed, a control channel with no rootfs half; its sites are the row's host for error text and the route handed to pathsFor and RootfsPlacement; it only refuses; no root decision;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: takes the caller's ctx and passes it to RootfsOK and RootfsPlacement so a shutdown ends the asks; same checks, no read added registry:Host@289,registry:Host@348,registry:Host@464,registry:Host@603,registry:Host@720,registry:Host@834,registry:Host@999,whole:Route@111,whole:Route@169,whole:Route@786 616809c5d54613a50bb65946c9618f8b055c3347b622e18dcb354380ffb32da8
internal/activator/rootfs.go ExecBackend.rootfsGates legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as nestedGate): new (rootfs Plan 2 Task 9): rootfsGateCheck with the refusal marked errRootfsRefused; its one site is the route passed through; no root decision;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: ctx threaded to rootfsGateCheck; no read added whole:Route@126 4f04d13f251dc5aae7c011e35e097fb5212b4bab836eefc40d4a03eaaceb6c75
+internal/activator/rootfs.go ExecBackend.spawnRootfs legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as spawnUnitFrom, whose shape it has): new (rootfs Plan 2 Tasks 5 and 9): prepareKeyedAt (the instance's own directories, environment and listeners, unchanged), the schema-2 tenant launch file (environment only, CARLOS_SOCKET and CARLOS_DB set by the agent), the caller's exec gate, then StartRootfs over the control socket naming the image and web; root resolves the command from its own staged manifest (C4) and the tenant file may name no command (the trampoline refuses one); the failure handling is spawnUnitFrom's; its sites are the row's host and route; no root decision; final fix I1: root's answers that guarantee no start (ErrStartRefused: 503 not ready or claim-armed, 501 unconfigured, 400, 409, 507), like its 403, are marked a refusal (refuseRootfs), so verdictOf and classifyStep record no failure of the build and no stop is asked; a 502 and a transport failure still may have run; the same nineteen sites, offsets moved;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (d35fcb1f, census P1-1): takes the tier root is asked for as an argument; a zero tier means GenTier's (the former body), so a caller that chose a limit has it kept, as spawnChildFrom and spawnUnitFrom keep theirs; the same nineteen sites, no read added registry:Host@1212,registry:Host@1385,registry:Host@1685,registry:Host@2419,registry:Host@2749,registry:Host@2876,registry:Host@304,registry:Host@3201,registry:Host@3291,registry:Host@3395,registry:Host@3868,registry:Host@3962,whole:Route@1035,whole:Route@1779,whole:Route@2582,whole:Route@3471,whole:Route@416,whole:Route@516,whole:Route@646 cb444fa40994f9225ad0923a5c58d9c04c5618327bd631edb6245b81588c96a9
+internal/activator/rootfs.go ExecBackend.startRootfs legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as startUnitAt): new (rootfs Plan 2 Task 9): spawnRootfs, then the web process's health wait on its own socket bounded by rootfsHealthTimeout (RFS-2-C09); a failed wait stops the unit as startUnitAt does; its sites are the row's host and route; no root decision;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (d35fcb1f, census P1-1): passes a zero tier to spawnRootfs, which is GenTier's as before; it records GenTier afterwards as it did; no read added registry:Host@1227,registry:Host@434,registry:Host@840,whole:Route@1361,whole:Route@205 28476188e585004cbd6c562af49d02746f724a3551a6b1e85f87dc65d95132fd
internal/activator/rootfs.go ExecBackend.startRootfsFromLive legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as Start): new (rootfs Plan 2 Task 9): a rootfs start of what the row's live link names, after rootfsGates: LiveIdentity, the live exec gate, release.VerifyStaged, then startRootfs; its sites are the row's host and route; no root decision;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: returns the full staged identity it started (version, staged path, digest, demand) instead of only the version; same live identity read and gates registry:Host@512,whole:Route@177,whole:Route@300,whole:Route@579 dbad410d5e8881339d33e12b5e77769e2f82affaffd44965cf36b955c6272dc5
internal/activator/rootfs.go ExecBackend.startRootfsGen legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-2;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=root-route (J1, as StartGen and StartGenExe): new (rootfs Plan 2 Task 9): StartGen and StartGenExe for a rootfs row: rootfsGates first, then generation n on its per-generation socket in the instance's own run dir (or the row's canonical socket), from the live link or from the recorded identity checked with release.VerifyStaged; its sites are the row's host, socket and route; no root decision;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1 and Task 7: ctx to the gates; the generation records the staged identity of what actually ran on both paths (from live too), so a swap can compare it; no read added registry:Host@579,registry:Socket@234,whole:Route@1027,whole:Route@179,whole:Route@295,whole:Route@440,whole:Route@668 739542f5509cf63a4bb84447068bc67a1116f53fab3c6b02802108c2ebea30f8
internal/appconfig/sync.go syncHostClaimed legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate case is left as is for a resident rootfs instance file:ReadFile@800,registry:App@3798,registry:App@3819,registry:App@4162,registry:App@4220,registry:Environment@3183,registry:Environment@3247,registry:Environment@5778,registry:Hibernate@8113,registry:Host@3789,registry:Host@4153,registry:Host@4363,registry:Host@536,registry:Host@553,registry:Host@571,registry:Host@590,registry:Host@5983,registry:Host@615,registry:Host@6220,registry:Host@6622,registry:Host@715,registry:Host@7197,registry:Host@771,registry:Host@7849,registry:Host@8062,registry:Host@8318,registry:Host@8408,registry:Host@8627,registry:Host@917,whole:Route@4299,whole:Route@6646,whole:Route@6766 1343c82c3aab8583ac816075541f6257703882520f392ddf2ad740ae40af7f90
@@ -161,7 +177,7 @@ internal/activator/backend_unit.go SplitBackend.rootfsStartable legacy accepted-
internal/activator/genbackend.go refuseHostCgroupProof legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: refuses the binary host-cgroup kill and emptiness proofs for a row with a runtime; reads Host and Runtime registry:Host@134,registry:Runtime@143,registry:Runtime@58 458bca950cb38b0a6eb86695cc1dea0d186e80c26ee2a60ccea6ed27cadec83c
internal/activator/layout.go LayoutExempt legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: a row with a runtime is never the layout machinery's; reads Runtime registry:Runtime@51 990fe074adf1aafac173d0f83d90296f800eb8e2649ce0c3de0d0e5d7696948f
internal/activator/rootfs.go ExecBackend.rootfsStartable legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the backend's rootfs gates (rootfsGates) as the activator's pre-lease admission asks them; no read of its own whole:Route@113 f35e818377d3f55531431e2e9fc25186f5d9809a6413423f9ccafa9381da1a0c
-internal/activator/rootfs.go ExecBackend.startStagedRootfs legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: a rootfs generation's staged start for an overlap swap: refuses a partial staged identity, passes the rootfs gates, verifies the staged bytes (release.VerifyStaged, as the binary staged start does), then spawns through the existing spawnRootfs at the generation's nested socket; no new file read registry:Host@231,registry:Host@498,whole:Route@279,whole:Route@375,whole:Route@565,whole:Route@618 a3f4adb66d56c622f1118145c3ad6607fae648d3a0d9b7a9cd0a8960ea89f85b
+internal/activator/rootfs.go ExecBackend.startStagedRootfs legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: a rootfs generation's staged start for an overlap swap: refuses a partial staged identity, passes the rootfs gates, verifies the staged bytes (release.VerifyStaged, as the binary staged start does), then spawns through the existing spawnRootfs at the generation's nested socket; no new file read; fix wave 1 (d35fcb1f, census P1-1): passes g.Tier to spawnRootfs, so root is asked for the limit the caller chose (a swap keeps the incumbent's larger tier) rather than a recomputed one; no read added registry:Host@231,registry:Host@498,whole:Route@279,whole:Route@375,whole:Route@565,whole:Route@825 b37f3d4f110ad2a86cfcbf43a214b61ed4caa190f883e1fca872196e6796b734
internal/activator/rootfs_service.go Service.killResidentGens legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8 (C7): after a resident's lease is lost, kills each of its generations through the backend's existing KillGen (the root control service's kill and proof), bounded, logging each outcome; reads only the route's host registry:Host@210,registry:Host@630,registry:Host@757,whole:Route@483 0ba0bad6d3886ddecdfc6973e829d68e6f8afb9acfcc9f7b55f5953e02e17c09
internal/activator/rootfs_service.go Service.noteResidentRefusalLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: reports a resident's pre-lease refusal once per change (noteRootfsRefusal); log and event only whole:Route@190 039ba071eacb828ed4063a0e40f02d03f766983ab9fd7d54debf6a5f497615bc
internal/activator/rootfs_service.go Service.noteResidentStopLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: a resident's stop sets its next start: a crash or a lost lease backs off (residentBackoff, failures reset after a healthy run) and emits the resident restart event (RFS-3-C11); any other stop restarts on the next tick; state and event only whole:Route@511,whole:Route@63 b4d413043e0b25d022f7d1527fed6e0d497ae9a68da66674ee18f55970043804
@@ -187,6 +203,18 @@ internal/activator/rootfsdb.go ExecBackend.PlaceRootfsDB legacy accepted-legacy
internal/activator/rootfsdb.go buildEmptySQLiteDB legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7 (D7): builds the empty WAL database's bytes once in a fresh private temp dir (os.MkdirTemp) and reads them back; nothing outside its own temp dir file:Exec@322,file:Open@209,file:QueryRow@383,file:ReadFile@713 5d594688812ba339390c9c62b6adf73633250931edc8d9c4da8c2992919648f1
internal/activator/rootfsdb.go writeBeneathExcl legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: creates name beneath dir exclusively (instancefs.OpenBeneath, O_CREATE|O_EXCL, 0600), writes, syncs and returns the file's own Stat for later identity checks file:Stat@259 f36a8e9f65ade58bc91bdaccdc8a3e5f3394da5ad6a470458f4f70e7c6cdd127
internal/activator/rootfsenv.go ExecBackend.rootfsCmdVars legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 6: a rootfs cmd's environment is the binary cmdVars composed through rootfsVars (the image's socket and database paths); reads Socket registry:Socket@198,whole:Route@161 bd669651d1214e229b138437bc94e464b6f953102a68f909950eb99580c77a7b
+internal/activator/rootfsmarker.go Config.rootfsMarkerKey legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db, branch review P1-1): the first-boot marker's bucket key, <hibernate prefix>/rootfs-initialized/<Incarnation>.json, computed from the row's Host and Incarnation (the record lifetime); reads Host and Incarnation registry:Host@86,registry:Incarnation@146 84efa170588d79aac2691b75d50a3b320c05557da26d1ca96067f42430d93232
+internal/activator/rootfsmarker.go ExecBackend.BeginRootfsFirstBoot legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): as the agent, creates the pending record (MkdirAll 0700, OpenFile O_CREATE|O_TRUNC 0600 under rootfsPendingPath), writes the marker key into it, syncs it and its directory; writes only the agent's own file, reads nothing back file:OpenFile@294,whole:Route@157,whole:Route@434 a115adbff53f0f451fcc51a06e988faf2b9ff4448fad083d0945b20bc515da80
+internal/activator/rootfsmarker.go ExecBackend.RootfsInitialized legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): the marker read, one GET of rootfsMarkerKey through ExecBackend.FilesStore (the hibernate bucket, the replica's bucket and credentials); true for any object, false only on a definite not-found, any other answer an error (the wake refuses); the body is never parsed; no FilesStore is errNoRootfsMarker whole:Route@217 697f5accc6b70e3ce4d044a07b8796cd9c42eae72ab926e610dba5a134510687
+internal/activator/rootfsmarker.go ExecBackend.SettleRootfsFirstBoot legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): Lstat of this box's pending record (nothing pending: nil, the bucket not asked); otherwise a create-only PUT of the marker (host, account, app, incarnation, time) through FilesStore, a CAS conflict counting as confirmed, then removes the pending record; reads Host, Account, App and Incarnation of the row and only whether the agent's own pending file exists file:Lstat@174,registry:Account@393,registry:App@410,registry:Host@375,registry:Host@847,registry:Incarnation@431,whole:Route@123,whole:Route@554 4cdcb1a664271fdf24629a145190aab8b469815328aec2a3938bc16c4686a5f5
+internal/activator/rootfsmarker.go ExecBackend.rootfsPendingPath legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): the pending first-boot record's path, DataDir/.rootfs-first-boot/<host>@<incarnation> (the agent's data directory, which no tenant writes); refuses an empty host or a name that is not a single path element; reads Host and Incarnation registry:Host@142,registry:Host@201,registry:Host@327,registry:Incarnation@177 4193c41eff17236553a4ab5f41c9ac64ead14ce98e43be96046d4a7fea2cdcbb
+internal/activator/rootfsmarker.go Service.rootfsFirstBoot legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): doWake's step 2a for a fresh rootfs row with no good version, under the lease: checks both capabilities, reads the marker (present refuses as errRootfsReplicaMissing, unreadable refuses), records the pending first boot, places the empty database (placeRootfsDB, unchanged), then writes and confirms the marker before the start; every failure is a rootfs refusal; reads Host and Incarnation for messages and passes the row on registry:Host@1081,registry:Host@172,registry:Host@297,registry:Host@462,registry:Host@643,registry:Host@711,registry:Host@867,registry:Incarnation@652,whole:Route@370,whole:Route@783,whole:Route@917,whole:Route@991 afc9d8c8ae94027750f412a756fa1ab4c3d470b33a1b9a42cc818dc6768e475a
+internal/activator/rootfsmarker.go Service.settleRootfsFirstBoot legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): doWake's step 2a for a rootfs row that is not fresh: settles a first boot this box left pending (SettleRootfsFirstBoot) before anything starts, a failure a rootfs refusal; a backend without the marker has nothing pending; reads Host registry:Host@288,whole:Route@198 f949f5afc703b530f926d6b51e456d1141c5913e18e05aad6df188fdcf93c85d
+internal/activator/rootfsmarker.go SplitBackend.BeginRootfsFirstBoot legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): forwards the pending record to the exec backend for a non-unit row; a unit-backed row is errNoRootfsMarker; reads Host registry:Host@175,whole:Route@139,whole:Route@97 31ce080f63adfa5dda1198957a83dfea4d10a5dc20e0e91dbf2a2ab10fa57e7c
+internal/activator/rootfsmarker.go SplitBackend.RootfsInitialized legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): forwards the marker read to the exec backend for a non-unit row (execMarker); a unit-backed row is errNoRootfsMarker; reads Host registry:Host@210,whole:Route@123,whole:Route@167 bb639b0452b7d6d70c56a7a3d159b146179647d5d54d4b6410b3377717ad4347
+internal/activator/rootfsmarker.go SplitBackend.SettleRootfsFirstBoot legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): forwards the settle to the exec backend for a non-unit row; a unit-backed row has nothing pending (nil) whole:Route@119,whole:Route@167 d238ec5afc02cb7efbec359896c9a2df394de82b5ff1dcc4635df460869f97d2
+internal/activator/rootfsmarker.go SplitBackend.execMarker legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): the exec side's marker capability for a row that is not unit-backed; reads Backing; its file:Exec site is the SplitBackend.Exec field (the exec backend, a type assertion), no file is opened or run file:Exec@159,registry:Backing@89 999577c1bd61b6ed11822b81663b96aeb91d057143c44e9f840d482470d6bbe3
+internal/activator/rootfsmarker.go syncDirBestEffort legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 fix wave 1 (6189a9db): opens a directory the caller named (the pending record's, in the agent's DataDir) and syncs it, errors ignored; reads nothing file:Open@51 bb2040e7e0eafcbd0ed25894880cb69b1de0d86a7add91f51f3d8250a74ce12c
internal/activator/swap.go Service.genHealthy legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: takes the route so the health wait is healthBoundFor(rt) instead of the binary constant; same check whole:Route@266 e86f90e197834d7c677047091ddf5593d9a40f1889608664fc95a8faa6411d93
internal/host/socket_advice.go socketAdvice legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the two advisory log lines socketAdvisoryLoop wrote inline, chosen by Route.ActivatorLeased instead of Hibernate; log text only data-literal@381,registry:Host@338,registry:Host@713,registry:Host@733,registry:Socket@347,registry:Socket@722 6da9ff4ff6c34a480d18d9aa2f5c077b7ab215f0a376f733a7595bfecacdd34a
internal/layout/pass.go Pass.Held legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: takes the whole route and answers not held for a row with a runtime (LayoutExempt) before the existing kept-fence check registry:Host@120,whole:Route@83 0a136240aed9d9dc7eccffa1ef864952ff8978e09f395f2027c44645ec6806bf
@@ -201,7 +229,7 @@ internal/registry/runtime.go Route.Resident legacy accepted-legacy accepted-lega
internal/registry/runtime.go Route.Rootfs legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: runtime is rootfs-v1; reads Runtime registry:Runtime@38 3b0819618fb8b69c34c8e4457108d59a64c4d27f0234d3a6233b2dc4bc7e3872
cli.go addMintsNested legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: a row with a runtime is not evidence the box moved to nested (it is minted nested everywhere), so only binary rows count; adds a Runtime read that narrows the test registry:Runtime@642,whole:Route@594,whole:Route@635,whole:Route@688 96af07e923ed6f3b04cc45a0d493cc8ebe81e47809a2606af38d174ec8f6521b
cli.go runRouteHibernate legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 2: carlos route hibernate refuses a row with a runtime first (its hibernation is fixed at mint), before any dry run or other rail; reads Host and Runtime of the row already read; a refusal only registry:App@2812,registry:Hibernate@3464,registry:Hibernate@3751,registry:Host@1052,registry:Host@2748,registry:Host@3134,registry:Host@3227,registry:Host@3553,registry:Host@3619,registry:Host@3742,registry:Host@525,registry:Provisioned@1086,registry:Replication@4374,registry:Replication@4545,registry:Runtime@345,whole:Route@2807,whole:Route@2968,whole:Route@2973,whole:Route@3314,whole:Route@564 6b1ef36f22e6308fb6ddf3df2a704d37cc0d9c9c2d6acff55dcc49481f3874ea
-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 registry:DBPath@1703,registry:DBPath@1719,registry:DBPath@1846,registry:DBPath@1857,registry:DBPath@26321,registry:GoodVersion@12558,registry:Host@1532,registry:Host@1607,registry:Host@1685,registry:Host@1837,registry:Host@2171,registry:Host@4121,registry:Host@577,registry:Host@6096,registry:Replication@11536,registry:Replication@11665,registry:Replication@11684,registry:Replication@11765,registry:Replication@26224,registry:Replication@26356,registry:Seed@16114,registry:Socket@1732,registry:Socket@1748,registry:Socket@1871,registry:Socket@1882,whole:Route@10638,whole:Route@11516,whole:Route@11767,whole:Route@12759,whole:Route@14048,whole:Route@14240,whole:Route@14930,whole:Route@16215,whole:Route@16286,whole:Route@1630,whole:Route@18702,whole:Route@20560,whole:Route@2066,whole:Route@2071,whole:Route@21206,whole:Route@2125,whole:Route@2131,whole:Route@2197,whole:Route@2205,whole:Route@22513,whole:Route@22667,whole:Route@23023,whole:Route@23117,whole:Route@23836,whole:Route@24267,whole:Route@24475,whole:Route@24529,whole:Route@25458,whole:Route@25643,whole:Route@26433,whole:Route@26845,whole:Route@26894,whole:Route@27272,whole:Route@28494,whole:Route@28589,whole:Route@29196,whole:Route@3156,whole:Route@3250,whole:Route@3317,whole:Route@357,whole:Route@4011,whole:Route@5465,whole:Route@562,whole:Route@5724,whole:Route@5986,whole:Route@5991,whole:Route@6048,whole:Route@6054,whole:Route@6123,whole:Route@6131,whole:Route@6447,whole:Route@6508,whole:Route@6606,whole:Route@7430,whole:Route@8498,whole:Route@8687,whole:Route@9757 b9fd18099c622fa03d61945423cfe11db89e5bdec1293d666149867adc1ceb71
+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 (6189a9db, branch review P1-1): a fresh rootfs first boot now 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), records a pending first boot in the agent's DataDir, places the database, then writes and confirms the marker before the start; a rootfs row that is not fresh first settles a first boot this box left pending (settleRootfsFirstBoot: a local Lstat, and a PUT only if pending), refusing and giving the lease back if the marker write fails; one new whole:Route site (rt handed to settleRootfsFirstBoot); adds refusals only, binary rows unchanged registry:DBPath@1703,registry:DBPath@1719,registry:DBPath@1846,registry:DBPath@1857,registry:DBPath@26862,registry:GoodVersion@13097,registry:Host@1532,registry:Host@1607,registry:Host@1685,registry:Host@1837,registry:Host@2171,registry:Host@4121,registry:Host@577,registry:Host@6096,registry:Replication@11536,registry:Replication@11665,registry:Replication@11684,registry:Replication@11765,registry:Replication@26765,registry:Replication@26897,registry:Seed@16655,registry:Socket@1732,registry:Socket@1748,registry:Socket@1871,registry:Socket@1882,whole:Route@10638,whole:Route@11516,whole:Route@11767,whole:Route@12961,whole:Route@13300,whole:Route@14589,whole:Route@14781,whole:Route@15471,whole:Route@1630,whole:Route@16756,whole:Route@16827,whole:Route@19243,whole:Route@2066,whole:Route@2071,whole:Route@21101,whole:Route@2125,whole:Route@2131,whole:Route@21747,whole:Route@2197,whole:Route@2205,whole:Route@23054,whole:Route@23208,whole:Route@23564,whole:Route@23658,whole:Route@24377,whole:Route@24808,whole:Route@25016,whole:Route@25070,whole:Route@25999,whole:Route@26184,whole:Route@26974,whole:Route@27386,whole:Route@27435,whole:Route@27813,whole:Route@29035,whole:Route@29130,whole:Route@29737,whole:Route@3156,whole:Route@3250,whole:Route@3317,whole:Route@357,whole:Route@4011,whole:Route@5465,whole:Route@562,whole:Route@5724,whole:Route@5986,whole:Route@5991,whole:Route@6048,whole:Route@6054,whole:Route@6123,whole:Route@6131,whole:Route@6447,whole:Route@6508,whole:Route@6606,whole:Route@7430,whole:Route@8498,whole:Route@8687,whole:Route@9757 4ec483129187ca5eddae88ff7bf70316504d47d6bacd7d2fb82d2b638f04cc1b
internal/activator/backend_exec.go ExecBackend.HasSidecar legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: a row with a runtime has no binary sidecar, answered before the sidecar env Stat; reads Runtime; Stats less file:Stat@111,registry:Runtime@63,whole:Route@130 455705cdfd899bfe06c893e09f50e4f44337237ddf6e7d4116458abcd5560516
internal/activator/genbackend.go ExecBackend.EmptyHost legacy accepted-legacy accepted-legacy;rev3=fix1-merge-review;basis=Checks agent-owned host cleanup before lease release; no root authority is derived from it.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: refuses a row with a runtime first (refuseHostCgroupProof); the cgroup open moves into openHostCgroup (same delegation check and OpenCleanup, with the test seam); reads Runtime registry:Host@175,registry:Host@425,whole:Route@113 84e9410c89478fb18c2740ca8fedf01a5bfb218348eb2423fb8e05ec9da2a45e
internal/activator/genbackend.go ExecBackend.KillHost legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: refuses a row with a runtime first (refuseHostCgroupProof); the cgroup open moves into openHostCgroup (same delegation check and OpenCleanup); reads Runtime registry:Host@174,whole:Route@112 46ce2f055a9975f6c83489b30c0205386ae623fad527b3ec7d0d042f296d89e7
@@ -209,7 +237,7 @@ internal/activator/genbackend.go ExecBackend.StartStaged legacy accepted-legacy
internal/activator/wakeidentity.go wakeRouteChanged legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): doWake's refusal when the registry row changed under a wake the edge admitted on its cached row; the agent refuses its own wake; no root decision;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: a runtime change between the wake's start and now refuses the wake, like the other identity changes; reads Runtime of both rows; a refusal only registry:Account@657,registry:Account@674,registry:Account@818,registry:Account@840,registry:Addr@1008,registry:Addr@872,registry:Addr@886,registry:Addr@998,registry:App@689,registry:App@702,registry:App@831,registry:App@855,registry:Host@1148,registry:Host@1311,registry:Host@202,registry:Host@351,registry:Host@613,registry:Host@808,registry:Host@988,registry:ImportGate@1026,registry:ImportGate@1046,registry:Runtime@367,registry:Runtime@384,registry:Runtime@623,registry:Runtime@636,registry:SeedSource@1174,registry:SeedSource@1205,registry:SeedSource@1331,registry:SeedSource@1358,whole:Route@241,whole:Route@248 14db3c61a17fb5f59a84e879eedd7874f3d7488d68e17073abf6f094446bcfcc
internal/host/layoutleg.go nestedRowsPresent legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: only binary rows count as evidence the box is nested (a rootfs row is minted nested everywhere); adds a Runtime read that narrows the test registry:Runtime@165,whole:Route@119,whole:Route@158,whole:Route@211 56486e871eb7fdca0873f487d7e6938425187dbb405f8cb17a78c8ba41781cd8
internal/layout/pass.go Pass.recheck legacy accepted-legacy accepted-legacy;rev3=J1,J2,J4;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: a host whose listed row has a runtime is never plantable ("rootfs instances are always nested"), before the plan read; reads Host and Runtime of the listed rows registry:Host@129,whole:Route@115,whole:Route@171,whole:Route@400,whole:Route@602 deb937f7584007d13c6ade75cf3d73643fbe5834ca400f0e9e428664af9a229f
-internal/provision/reconcile.go Reconcile legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from its reconcile loops: each listed record is observed through the box's lifetime judge (ObserveWith: the record, then its host incarnation slot) before the shape, channel and scope checks, a stale record is left out and an unjudgeable one protected; the removal phase observes a row's own record key when the pass holds none for it under that key, and deletes a held row whose record is gone or stale through DeleteIfHold; a nil judge (claims on) is main's body; registry read sites unchanged, offsets moved; fix round 1: the removal phase observes a row's own key only under an account the listing trusts, so a retired or unmaterialised account's row keeps record gone, and the pass arms its own context with the judge; Task 7: under a judge an existing provisioned row of the record's own app and account follows the existing-row rules (heldByVanishedPredecessor and retireHeldPredecessor's DeleteIfHold first, the record then minted on the same pass; the hold; installRowLifetime), each a separate write under the host's hold lock; registry read sites unchanged, offsets moved;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=#328/#329 plan 1 Task 7: the pass reads its apps' policy objects (control/app-policy/<sqid>/<app>.json in the bucket) through the agent's PolicyCache, each verified with ReleasePub by apppolicy.VerifyKey (ed25519 over the policy's own domain line, bound to the account and app, unexpired, not future-dated; anything else is no policy), and carries the columns into its rows. New kinds registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each, all the assignment of a fresh row's columns (nr) from policies.cols; plus one whole:Route site, the existing row handed to policies.forRow. Other read sites unchanged, offsets moved; the agent's own pass, no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos, from its reconcile loops: after the scan, hands the in-scope records to cfg.Lifetimes (the box's lifetime index): Merge after a failed read or partial listing, Replace after a complete one, nothing on a dry run or with no index; the scan, judge and removal phases unchanged; the same 166 sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 2 and 5 (D5, spec §5.0): a seeded record over a row with a runtime is skipped and logged; a row with a runtime (or a new record with one) takes no seed; runtime and a rootfs row's hibernation are never converged from a record (a mismatch is logged; a record claiming a runtime its row lacks is not applied); reads Runtime of the record and the row; the box writes less registry:Account@28949,registry:Account@30214,registry:Account@48093,registry:Account@48139,registry:Account@48957,registry:Account@49334,registry:Account@49560,registry:Account@49627,registry:Account@49673,registry:Account@49766,registry:Account@49808,registry:Account@50456,registry:Account@50714,registry:Account@51254,registry:Account@51302,registry:Account@51675,registry:Account@51721,registry:Account@51966,registry:Account@52454,registry:Account@53190,registry:Account@53383,registry:Account@53729,registry:Account@54294,registry:App@28922,registry:App@30187,registry:App@48113,registry:App@48151,registry:App@48969,registry:App@49346,registry:App@49572,registry:App@49647,registry:App@49685,registry:App@49786,registry:App@50468,registry:App@50726,registry:App@51266,registry:App@51314,registry:App@51695,registry:App@51733,registry:App@51978,registry:App@52466,registry:App@53202,registry:App@53395,registry:App@53741,registry:App@54306,registry:ClaimOwnership@29536,registry:DBPath@38393,registry:DBPath@38408,registry:DBPath@38654,registry:DBPath@39257,registry:DBPath@39270,registry:EgressAllow@28035,registry:Gate@34738,registry:Gate@34878,registry:Gate@35165,registry:Hibernate@33410,registry:Hibernate@33608,registry:Hibernate@33673,registry:Hibernate@34012,registry:Hibernate@34363,registry:Hibernate@34673,registry:HoldOp@52935,registry:HoldOp@53026,registry:HoldOp@53161,registry:HoldOp@53537,registry:Host@20024,registry:Host@48072,registry:Host@48933,registry:Host@49310,registry:Host@49474,registry:Host@49580,registry:Host@50476,registry:Host@50682,registry:Host@51558,registry:Host@51830,registry:Host@51945,registry:Host@52331,registry:Host@52428,registry:Host@52642,registry:Host@53017,registry:Host@53152,registry:Host@53356,registry:Host@53429,registry:Host@53528,registry:Host@53703,registry:Host@53778,registry:Host@53864,registry:Host@54271,registry:Kind@29678,registry:Kind@29941,registry:Kind@38311,registry:Kind@38324,registry:Kind@38434,registry:Kind@38447,registry:Kind@39168,registry:Kind@39179,registry:Kind@47215,registry:Kind@52633,registry:Kind@53143,registry:Kind@53519,registry:Kind@53694,registry:Kind@53855,registry:PolicyExpiresAt@28060,registry:Pool@47282,registry:Provisioned@28898,registry:Provisioned@30163,registry:Provisioned@47241,registry:RateLimit@35251,registry:RateLimit@35402,registry:RateLimit@35689,registry:Region@47271,registry:Replication@34097,registry:Replication@34224,registry:Runtime@21746,registry:Runtime@21924,registry:Runtime@24083,registry:Runtime@32777,registry:Runtime@32831,registry:Runtime@33035,registry:Seed@36791,registry:SeedSource@36274,registry:Size@28051,registry:Socket@38359,registry:Socket@38374,registry:Socket@38671,registry:Socket@39227,registry:Socket@39240,registry:Unit@38277,registry:Unit@38290,registry:Unit@39194,registry:Unit@39205,whole:ClaimOwnership@29539,whole:ClaimOwnership@29556,whole:Route@20006,whole:Route@20017,whole:Route@20035,whole:Route@21214,whole:Route@22241,whole:Route@22248,whole:Route@22288,whole:Route@22649,whole:Route@22987,whole:Route@23434,whole:Route@23485,whole:Route@23522,whole:Route@25148,whole:Route@25357,whole:Route@25696,whole:Route@25705,whole:Route@25751,whole:Route@27984,whole:Route@28543,whole:Route@29014,whole:Route@29024,whole:Route@29381,whole:Route@29388,whole:Route@29456,whole:Route@29779,whole:Route@30812,whole:Route@33763,whole:Route@38503,whole:Route@40089,whole:Route@40134,whole:Route@40144,whole:Route@41014,whole:Route@42041,whole:Route@47307,whole:Route@47455,whole:Route@48526,whole:Route@48885,whole:Route@49267,whole:Route@53616,whole:Route@54201,whole:Route@54251 403b806f66e47e20f2a7b9b95846944879c360dab64e5fac27c2cfe7a02b946a
+internal/provision/reconcile.go Reconcile legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from its reconcile loops: each listed record is observed through the box's lifetime judge (ObserveWith: the record, then its host incarnation slot) before the shape, channel and scope checks, a stale record is left out and an unjudgeable one protected; the removal phase observes a row's own record key when the pass holds none for it under that key, and deletes a held row whose record is gone or stale through DeleteIfHold; a nil judge (claims on) is main's body; registry read sites unchanged, offsets moved; fix round 1: the removal phase observes a row's own key only under an account the listing trusts, so a retired or unmaterialised account's row keeps record gone, and the pass arms its own context with the judge; Task 7: under a judge an existing provisioned row of the record's own app and account follows the existing-row rules (heldByVanishedPredecessor and retireHeldPredecessor's DeleteIfHold first, the record then minted on the same pass; the hold; installRowLifetime), each a separate write under the host's hold lock; registry read sites unchanged, offsets moved;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=#328/#329 plan 1 Task 7: the pass reads its apps' policy objects (control/app-policy/<sqid>/<app>.json in the bucket) through the agent's PolicyCache, each verified with ReleasePub by apppolicy.VerifyKey (ed25519 over the policy's own domain line, bound to the account and app, unexpired, not future-dated; anything else is no policy), and carries the columns into its rows. New kinds registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each, all the assignment of a fresh row's columns (nr) from policies.cols; plus one whole:Route site, the existing row handed to policies.forRow. Other read sites unchanged, offsets moved; the agent's own pass, no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos, from its reconcile loops: after the scan, hands the in-scope records to cfg.Lifetimes (the box's lifetime index): Merge after a failed read or partial listing, Replace after a complete one, nothing on a dry run or with no index; the scan, judge and removal phases unchanged; the same 166 sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 2 and 5 (D5, spec §5.0): a seeded record over a row with a runtime is skipped and logged; a row with a runtime (or a new record with one) takes no seed; runtime and a rootfs row's hibernation are never converged from a record (a mismatch is logged; a record claiming a runtime its row lacks is not applied); reads Runtime of the record and the row; the box writes less; fix wave 1 (ceea6353, whole-branch P1-2): before minting a row for a record with no runtime and no row (both mint paths), the pass reads the app's kind marker once per app per pass (release.ReadAppKindMarker: one GET of the create-only kind.json from the release store s, through freshStore, validated by readAppKindMarker); a rootfs marker leaves the record unmaterialized and logged (an older console stripped its runtime), and a marker that cannot be read defers the mint this pass; a refusal before minting only, registry read sites unchanged, the box writes less registry:Account@30762,registry:Account@32027,registry:Account@49906,registry:Account@49952,registry:Account@50770,registry:Account@51147,registry:Account@51373,registry:Account@51440,registry:Account@51486,registry:Account@51579,registry:Account@51621,registry:Account@52269,registry:Account@52527,registry:Account@53067,registry:Account@53115,registry:Account@53488,registry:Account@53534,registry:Account@53779,registry:Account@54267,registry:Account@55003,registry:Account@55196,registry:Account@55542,registry:Account@56107,registry:App@30735,registry:App@32000,registry:App@49926,registry:App@49964,registry:App@50782,registry:App@51159,registry:App@51385,registry:App@51460,registry:App@51498,registry:App@51599,registry:App@52281,registry:App@52539,registry:App@53079,registry:App@53127,registry:App@53508,registry:App@53546,registry:App@53791,registry:App@54279,registry:App@55015,registry:App@55208,registry:App@55554,registry:App@56119,registry:ClaimOwnership@31349,registry:DBPath@40206,registry:DBPath@40221,registry:DBPath@40467,registry:DBPath@41070,registry:DBPath@41083,registry:EgressAllow@29848,registry:Gate@36551,registry:Gate@36691,registry:Gate@36978,registry:Hibernate@35223,registry:Hibernate@35421,registry:Hibernate@35486,registry:Hibernate@35825,registry:Hibernate@36176,registry:Hibernate@36486,registry:HoldOp@54748,registry:HoldOp@54839,registry:HoldOp@54974,registry:HoldOp@55350,registry:Host@21741,registry:Host@49885,registry:Host@50746,registry:Host@51123,registry:Host@51287,registry:Host@51393,registry:Host@52289,registry:Host@52495,registry:Host@53371,registry:Host@53643,registry:Host@53758,registry:Host@54144,registry:Host@54241,registry:Host@54455,registry:Host@54830,registry:Host@54965,registry:Host@55169,registry:Host@55242,registry:Host@55341,registry:Host@55516,registry:Host@55591,registry:Host@55677,registry:Host@56084,registry:Kind@31491,registry:Kind@31754,registry:Kind@40124,registry:Kind@40137,registry:Kind@40247,registry:Kind@40260,registry:Kind@40981,registry:Kind@40992,registry:Kind@49028,registry:Kind@54446,registry:Kind@54956,registry:Kind@55332,registry:Kind@55507,registry:Kind@55668,registry:PolicyExpiresAt@29873,registry:Pool@49095,registry:Provisioned@30711,registry:Provisioned@31976,registry:Provisioned@49054,registry:RateLimit@37064,registry:RateLimit@37215,registry:RateLimit@37502,registry:Region@49084,registry:Replication@35910,registry:Replication@36037,registry:Runtime@23513,registry:Runtime@23691,registry:Runtime@25896,registry:Runtime@34590,registry:Runtime@34644,registry:Runtime@34848,registry:Seed@38604,registry:SeedSource@38087,registry:Size@29864,registry:Socket@40172,registry:Socket@40187,registry:Socket@40484,registry:Socket@41040,registry:Socket@41053,registry:Unit@40090,registry:Unit@40103,registry:Unit@41007,registry:Unit@41018,whole:ClaimOwnership@31352,whole:ClaimOwnership@31369,whole:Route@21723,whole:Route@21734,whole:Route@21752,whole:Route@22931,whole:Route@24008,whole:Route@24015,whole:Route@24055,whole:Route@24416,whole:Route@24754,whole:Route@25201,whole:Route@25252,whole:Route@25289,whole:Route@26961,whole:Route@27170,whole:Route@27509,whole:Route@27518,whole:Route@27564,whole:Route@29797,whole:Route@30356,whole:Route@30827,whole:Route@30837,whole:Route@31194,whole:Route@31201,whole:Route@31269,whole:Route@31592,whole:Route@32625,whole:Route@35576,whole:Route@40316,whole:Route@41902,whole:Route@41947,whole:Route@41957,whole:Route@42827,whole:Route@43854,whole:Route@49120,whole:Route@49268,whole:Route@50339,whole:Route@50698,whole:Route@51080,whole:Route@55429,whole:Route@56014,whole:Route@56064 14f504ff102a8b0f37c8a88f1bdcdc65c87599d30c12ea70fb1aec19157475ae
internal/provision/reconcile.go RouteFor authority C,E3 rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos); also root, in the claim root's landing registration (ClaimRootHTTP.rootLandingRoute) and the relocation install (relocationRecord): census-ruling-seeded-instances's body with two more fields from the record: the row's lifetime pair (rec.Incarnation, rec.MoveSeq), so a row minted outside a move takes the record's lifetime and its last move's sequence (0, 0 for a fieldless record with no move history); every caller gets it, the root ones included: the root callers (ClaimRootHTTP.rootLandingRoute, relocationRecord) now mint (0, move_seq) on a claims-on record, a non-zero sequence once that record has had an offline move (move_seq advances on claims-on offline moves too), which moves Fingerprint and SnapshotFingerprint once for that row; main's C,E3 authority retained; self-serve moves 1 Task 7 (fix round 1: root callers named);rev3=census-ruling-region-ha-p1a;basis=the agent's reconcile passes, and also root's callers (rootupdates.go, rootinventory_install.go and relocationinstall.go on HEAD): one more field copied from the record, HA: rec.HA, so a row minted from a record stamped HA carries the sticky born-HA mark; the record is the console-written instance record each caller already read; root's own code reads nothing of Route.HA, and Fingerprint does not include it (SnapshotFingerprint does, for a set mark); the same nine sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 2: the row is minted with the record's Runtime (the console-written instance record, guarded by WriteRecord's runtimeFixed); a rootfs row always gets the nested socket and db path under dataDir and no seed or seed source; the paths are computed from the host, not read from the record registry:Addr@2312,registry:Addrs@2321,registry:DBPath@1506,registry:DBPath@1808,registry:DBPath@2230,registry:Health@2331,registry:Hibernate@1752,registry:Seed@2276,registry:SeedSource@2285,registry:Socket@1468,registry:Socket@1770,registry:Socket@2193,whole:Route@2369 35b3cb710edfd024482000ff5a71dd19350a35bdaa1f2b98f4d89aabc9ddd198
internal/provision/reconcile.go everywhereRoute legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: a row with any runtime is home-boxed, never an everywhere route; reads Runtime; narrows registry:Backing@459,registry:Caps@498,registry:Hibernate@443,registry:Kind@536,registry:Replica@391,registry:Runtime@148,registry:Tunnel@479,registry:Unit@426 0c66cebe309f9f087986b36b6d6739719e1cf13ca676bdcda9bb732d07e3745d
internal/provision/reconcile.go shapeMismatch legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 2: a hand-added row is never adopted across runtimes; reads Runtime of both; a refusal only registry:Account@1225,registry:Account@1245,registry:Account@1297,registry:Account@1315,registry:Addr@1675,registry:Addr@1692,registry:Addr@1738,registry:Addr@1753,registry:Addrs@1770,registry:Addrs@1788,registry:Addrs@1836,registry:Addrs@1852,registry:App@1135,registry:App@1151,registry:App@1195,registry:App@1209,registry:Backing@176,registry:Backing@75,registry:Canary@521,registry:Caps@322,registry:Caps@417,registry:DBPath@2470,registry:DBPath@2489,registry:DBPath@2535,registry:DBPath@2552,registry:Health@1870,registry:Health@1889,registry:Health@1939,registry:Health@1956,registry:Kind@1335,registry:Kind@1352,registry:Kind@1398,registry:Kind@1413,registry:Platform@438,registry:Pool@2165,registry:Pool@2182,registry:Pool@2228,registry:Pool@2243,registry:Region@2260,registry:Region@2279,registry:Region@2329,registry:Region@2346,registry:Runtime@1565,registry:Runtime@1585,registry:Runtime@1637,registry:Runtime@1655,registry:Slug@2070,registry:Slug@2087,registry:Slug@2133,registry:Slug@2148,registry:Socket@2365,registry:Socket@2384,registry:Socket@2434,registry:Socket@2451,registry:Tunnel@200,registry:Tunnel@299,registry:Unit@1975,registry:Unit@1992,registry:Unit@2038,registry:Unit@2053 f0847cd535b02824f99f1b0485585f1731cc9becefaf53ae15635f94016185e7
@@ -260,7 +288,7 @@ internal/rollout/policy.go Managed legacy accepted-legacy accepted-legacy;rev3=J
@remove internal/host/schedule_wiring.go activatorDeliverer.managedByGenerations
@removed internal/host/schedule_wiring.go activatorDeliverer.managedByGenerations H3 census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: Kind and Hibernate inline become Route.ActivatorOwned, a method call the census does not count as a site; same fields plus Runtime
@coverage . 96d08337a2c4776fa713eb4b3f79785a37b0d4a08617b978b7dd0db082b9bab4
-@coverage internal/activator d9f16ecb61af58b4f9c7640c8b782f144718d8cb1c318b7b414d74c8b1b4fe67
+@coverage internal/activator e45f81e9ac5e6d53d9f3dd57190d7059607a1c5c7454ffe82ad3ca48bf0b4281
@coverage internal/appconfig d265db3d58bf5b223018cae52d7dced43a0a5f508fec84500fc2957f845ae81e
@coverage internal/caps 43407c22a68cc404036c23b395d87c7dc772816bcc8aa74c4a2f4e3b1a1439d6
@coverage internal/edge 38c3f4d20377cfec57c4e59158c30c740f743c4c679488e375ecc02c0388b881
@@ -269,9 +297,9 @@ internal/rollout/policy.go Managed legacy accepted-legacy accepted-legacy;rev3=J
@coverage internal/instancectl 5e047d367f276df24ee985079d9efeb94ad0da19152a51e1740954d5bc1673f3
@coverage internal/layout f8c8d0e5b550b0ae2d74667b7c6157407a97e1ab56654d88aa9e4be3a52f99d5
@coverage internal/ops 483fd528e83b7224168245d7656181b4ab38d80face3e05dd92bbb811bf643b0
-@coverage internal/provision 40cd43b91d91e742d55d5802e259440af3979a337a2cf604fd63f3884567c690
+@coverage internal/provision b7a86662be4a61966114f9711905724f312d8c99b53a968175cf2e9f275113ec
@coverage internal/registry 43e283c9640cc19a2e858300a247ef5b5eb57a7b4a61bfd3870c1b8b9bde4ace
-@coverage internal/release 654304aaa19b983846b189a0eb572359a6220d60bd4609d7470859f9eb3c3845
+@coverage internal/release 9a51bcc87653ce4d57272cc16f340bbea66bd36b3f53558ec9a7f6cd14ac9a2c
@coverage internal/rollout c20fadd1ff9782417333e63feffbca91a37f3ec027aa3a510cd24ae4e1cd55bc
@coverage internal/rolloutwords c51ac09306b6a1e9160bf2e5c5cf8edf148f638923851b8a09ba523fc153b894
@coverage internal/schedule 2bec12f4117937a98a4ccce0dfc4839c805fd031c43de1518ed9249f369c44b2