| index fbec6835e..ccbbb19a7 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-stateless-replicas-1.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-stateless-replicas-1.tsv |
| @@ -1,6 +1,6 @@ |
| # Census overlay stateless-replicas-1, written by census-propose (#369). census-ruling-stateless-replicas-1, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-stateless-replicas-1.md. |
| -# 26 body, 14 sites, 9 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| -# 40 new dispositions: 20 reads re-frozen at their disposition with the claim, 19 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 1 other. |
| +# 26 body, 17 sites, 9 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| +# 52 new dispositions: 28 reads re-frozen at their disposition with the claim, 23 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 1 other. |
| @legacy 8532ad0b6523e01bb6548e7a0ff565615b99e39a8921c338db522812368899a3 cli.go runShip legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-rootfs-apps-1;basis=rootfs Plan 1 Task 9: takes --rootfs, --processes, --hibernate, --jit and --check and hands a rootfs ship to runShipRootfs (ship_rootfs.go) before the binary path; the --notes-file ReadFile moved into shipNoteText (its own row, the same read of the file the person named) and the direct-mode version mint into mintDirectVersion; one read site fewer, none added; Task 12: the --hibernate flag help is RFS-1-C32's new text, the same reads;rev3=census-ruling-edge-asset-cache-1;basis=takes --assets (repeatable), checks the folders with checkShipAssets (release.ValidAssetPaths; refused on a static site) before the mode split, carries them into the API meta (sess.shipAssets) and the direct-mode manifest (shipAssetsBlock), and passes them to runShipRootfs (rootfsShipOpts.assets), which runs the same check and carries them the same two ways; after a direct-mode ship has stored a release declaring folders, directShipAssetGens runs the console ship door's backfill (provision.MintMissingAssetGens: lists the app's record keys and gives each record without an asset generation one, a CAS write in the deployment bucket as the person running the CLI) and fails naming any record it could not mint; read sites unchanged (2), none added;rev3=census-ruling-rootfs-apps-4;basis=adds the repeatable --env flag and refuses it before anything else unless --check is given (shipEnvRefusal, parseShipCheckEnv); the parsed values go into rootfsShipOpts.checkEnv. --env values reach the check's local container runtime as -e argv only, never root, never a box. No read added; read sites unchanged (2).;rev3=census-ruling-stateless-replicas-1;basis=Carry --stateless into binary/API and rootfs ship options; same two read sites, no new read. file:ReadFile@7899,file:ReadFile@8123 d6f244d2c3bcae95eb8ec0fa7e57c52e9b50c7e9e2e00dda85f930b643731a51 |
| @legacy 1f47559b0957d7c9358e4b2356a4bbd3047410b8894c48a1391504dea17902e4 internal/activator/activator.go Service.BeginSidecarRequest legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=Re-digested at the pre-land merge: the body includes main's own change under census ruling 292, with no further change from this branch. the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Read serving lease health through servingError: stateless generations use local lifecycle/process supervision, while stateful generations keep the existing lease checks. No new I/O. registry:Host@259,registry:Host@333 4413ca4112799b0fd5bf3e7bb90adf9b92ef0f1efd16c6e1f4164eff24882b9a |
| @legacy 50d43e71d0b8c228ecca6ac62ec46cc7bdc8b07bc4150fec05874cdf5a7793ec internal/activator/activator.go Service.WakeWorker legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body; the stop now carries its reason for a run it interrupts (beginStopLocked's why argument); read sites unchanged, offsets moved;rev3=census-ruling-remote-instance-metrics;basis=the entries-map insertion goes through putEntryLocked (which also notes the route's tenant in memory for the metrics sampler); no read added;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Read serving lease health through servingError: stateless generations use local lifecycle/process supervision, while stateful generations keep the existing lease checks. No new I/O. registry:Host@1249,registry:Host@1658,registry:Host@834,registry:Host@864,whole:Route@1225 c8f9ba372d9d1795f3bfeb40f2ac2994db92b74819f2082ef5fcb54cae5bfe98 |
| @@ -24,6 +24,9 @@ |
| @legacy 76170452f5e7f9f2ac77aad1b3f24f461c2d72da1db0d621ec26061ee3d533c0 internal/registry/registry.go upsertRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-alias-socket-follow-338;basis=#338: Upsert's unchanged statement moved into a helper so it can run on the database or inside a transaction;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 2 (runtimeFixed in the registry): takes a guard appended to the ON CONFLICT WHERE (UpsertUnlessRootfs passes routes.runtime = ''); a stored row with a runtime keeps its region and hibernate unless the tenant changed; replication is cleared only when the effective runtime is empty; no new read source, same SQLite table;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 3: on a refused conflict, the forward check reads the host (+registry:Host) to answer ErrForwardRow; the statement carries kind <> 'forward'. A refusal only.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 2): the conflict arm gains fleet_assigned (the excluded value on a re-tenanted host, else kept when the writer carries '') and fleet_moved (excluded on a re-tenanted host, else MAX of stored and excluded). Read sites unchanged (3). The same statement guard (claim ownership, kind <> 'forward') applies.;rev3=census-ruling-stateless-replicas-1;basis=Persist the stateless projection in the existing guarded upsert; no new read. file:Exec@116,registry:Host@4720,whole:Route@4596 ebc718cda38d18914e19680c1e6b9ba68b4f8fd43318be417569951b78c578f5 |
| @legacy 1e4efb560a06cb532c8d4caf719ff375c27a03a5651b26c59d81f271c70da628 ship_check.go rootfsCheck.runArgs legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-1;basis=root-input (J4, as main's db.go units); the carlos CLI on a person's machine, as the person (no box unit): new (rootfs Plan 1), builds the docker or podman run argv for one check container; the scanner matches the word Command, here a field of release.Process (a process's argv), not os/exec; reads no file; decides nothing for root;rev3=census-ruling-rootfs-check-volumes;basis=R2 P1: the data and run volume mounts (-v) now carry :nocopy through rootfsCheck.volumeMount, so Docker and Podman never fill an empty check volume from the image directory at the mount point (which would reset the prepared owner and mode); same volumes, same paths, same probe mount, nothing else in the argv changed. Runs on the person's machine as the person; no box unit; no read added.;rev3=census-ruling-stateless-replicas-1;basis=Stateless local checks mount only the run volume and omit the database mount; same probe read, no new read. file:Command@887,file:Command@971 e684fd3273527a209460ed81e5bcd472a4282f46830fe580e5f07f0b0d876684 |
| @legacy 726f513ae3cf8df58e68d092ee8a651cb4b26f17bb4cfc74d584ba4d2dde0264 internal/activator/activator.go Service.doWakeOnce legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: The former doWake body, not deleted logic: refresh/admit/fence/layout checks remain. Select and verify the actual staged identity before serving Acquire; use canonical mode to call doStatelessWake. Keep SQLite acquire/restore/seed/marker/replicate only in the stateful arm, with the post-acquisition selection recheck and existing cleanup proofs. registry:DBPath@1703,registry:DBPath@1719,registry:DBPath@1846,registry:DBPath@1857,registry:DBPath@31060,registry:GoodVersion@17696,registry:Host@1532,registry:Host@1607,registry:Host@1685,registry:Host@1837,registry:Host@2171,registry:Host@4121,registry:Host@581,registry:Host@6378,registry:Replication@16323,registry:Replication@16452,registry:Replication@16471,registry:Replication@16552,registry:Replication@30963,registry:Replication@31095,registry:Seed@19785,registry:Socket@1732,registry:Socket@1748,registry:Socket@1871,registry:Socket@1882,registry:Stateless@11806,registry:Stateless@11860,whole:Route@10081,whole:Route@10211,whole:Route@10839,whole:Route@11288,whole:Route@11507,whole:Route@11595,whole:Route@11704,whole:Route@11708,whole:Route@12261,whole:Route@12562,whole:Route@13867,whole:Route@14544,whole:Route@15425,whole:Route@1630,whole:Route@16303,whole:Route@16554,whole:Route@17899,whole:Route@18344,whole:Route@18571,whole:Route@18925,whole:Route@19886,whole:Route@19957,whole:Route@2066,whole:Route@2071,whole:Route@2125,whole:Route@2131,whole:Route@2197,whole:Route@2205,whole:Route@22369,whole:Route@24227,whole:Route@24873,whole:Route@26180,whole:Route@26334,whole:Route@26833,whole:Route@26903,whole:Route@27490,whole:Route@28575,whole:Route@29006,whole:Route@29214,whole:Route@29268,whole:Route@30197,whole:Route@30382,whole:Route@31172,whole:Route@3156,whole:Route@31584,whole:Route@31633,whole:Route@32011,whole:Route@3250,whole:Route@3317,whole:Route@33233,whole:Route@33328,whole:Route@34169,whole:Route@361,whole:Route@4011,whole:Route@566,whole:Route@5747,whole:Route@6006,whole:Route@6268,whole:Route@6273,whole:Route@6330,whole:Route@6336,whole:Route@6405,whole:Route@6413,whole:Route@6729,whole:Route@6790,whole:Route@6888,whole:Route@7853,whole:Route@8112,whole:Route@8955 ab47c53cd888934d1aa84bc573883301014fec5e142d877100e18cd932d356ca |
| +@legacy 2453145296b8d8c65ae171bac8d202325b526b73af9e8142592b0129f7b9af08 internal/activator/escrow.go ExecBackend.escrowMintGuardWithAuthority legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: prior mint decision moved intact under the wrapper, except its authority test now selects by verified mode. Reads only the existing escrow bucket and local conflict marker via existing helpers; keyless, no-store and bucket-knowledge behavior unchanged for stateful. registry:Host@696,whole:Route@1082,whole:Route@138,whole:Route@222,whole:Route@304,whole:Route@540,whole:Route@779,whole:Route@916 571c358d71cfe03d93f1a3fa4c67465aebe4c139b92bf593e3646c45490c0f35 |
| +@legacy d972735920ad817ca9a53ddd5ebf07e7baca8e13231911313ff5a9c4df05e63d internal/activator/escrow_authority.go ExecBackend.followerEscrowEnv legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: require a readable complete sealed trio from the existing files manifest, restore missing local files through the existing beneath/no-replace helper, capture env and compare local trio/minted variables against escrow before returning it. Local reads remain under the classified host data directory with ReadBeneathLimit; same sealed bucket keys, no mint, publisher or remote write. Conflict refusal uses the existing marker. registry:Host@1065,registry:Host@1351,registry:Host@392,registry:Host@824,whole:Route@1185,whole:Route@1260,whole:Route@1695,whole:Route@1818,whole:Route@322,whole:Route@479,whole:Route@599,whole:Route@709 a91dc2bfff249c85803712c67aee834ef0dec73a15e58cd1744293f1ad34a749 |
| +@legacy 5de300e82a159500458789ade665f935e8f270a1dd2a7bb4370577d7da9a0900 internal/activator/escrow_authority.go ExecBackend.holdsEscrowAuthority legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: inspect verified route mode, use the existing held coordinator lookup with Err/Lost for stateless, otherwise the original holdsLease; no acquisition, I/O or process stop. registry:Host@111,registry:Host@153,registry:Stateless@74 b0494d2c2e374a7780705665f1d80e584aa7783a551ffc28f4d7d3e7b1afe8e4 |
| @legacy e7c73a24f3a56f6df354a3908f91399aad917fd70dc6f56ef83b839740dbb6da internal/activator/hasecrets.go ExecBackend.launchEnvLayerForMode legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: The unchanged former launchEnvLayer body under a private helper: existing HA/escrow/captured-file reads retained. The wrapper selects post-merge environment stripping for a verified stateless launch. registry:Host@252,registry:Host@506,registry:Host@651,whole:Route@161,whole:Route@301,whole:Route@342,whole:Route@378,whole:Route@415,whole:Route@556 6ce4a91ce90cd179ca8ff69a1554e6cf9643a466e42705699119f52d46fe297c |
| @legacy 6d1e960297f78cd109abb5310aef1af00618baf7f938c405e603d6e027ca7afa internal/activator/replicaobservation.go ObservedReplicaRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Read route Account, App and Host only to match the attempt-local observation carrier; refuse absent/stateful/incomplete/mismatched evidence, return copied deploy state and canonical target. No store or filesystem read, no authority granted. registry:Account@283,registry:App@307,registry:Host@328 17cf71ccf92a913a42bef47ea461888ab0045b2ed7acabc81648e55cca322bbb |
| @legacy bf907111a6526f31ed49ab718b90896b8f33a48ba63f26f47f3889a521e82bb9 internal/activator/rootfsrelease.go Service.runReleaseAdmitted legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Extract existing runner unchanged except optional pre-exec durable release transition after local admission and before any command; same staged process reads, stop/proof and exec gates, no new filesystem path. registry:Host@216,whole:Route@3085,whole:Route@3314,whole:Route@3802,whole:Route@3831,whole:Route@5879,whole:Route@621,whole:Route@6347,whole:Route@6624,whole:Route@7054,whole:Route@849,whole:Route@934 de8d9d6b31ac2b8cf2c34aaca32ecfbdd2c8966f75def906e3baef5bb409d109 |
| @@ -40,6 +43,7 @@ |
| @legacy 088046a3995bfabca5ef644c83320f529e9ea94ddf2c4dc9d890843e87e1c811 internal/activator/statelessrelease.go Service.PrepareStatelessRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Read durable deploy evidence and canonical target via existing-record observation seam; use coordinator authority only for this path, persist releasing before exec and require proof plus SafeUntil before success; commandless binary verifies staged artifact separately; R11 lets the current term retake pending via the typed begin gate; R12 follows renewed SafeUntil through the existing command supervisor instead of a fixed initial context deadline; no new store polling or direct typed record writer callsite. Fix round 1 replaces the frozen-carrier re-observation with an identical released writer replay; command execution, proof and authority gates remain. registry:Account@544,registry:App@574,registry:GoodDemand@2971,registry:GoodDigest@2956,registry:GoodVersion@2940,registry:Host@1170,registry:Host@224,registry:Host@3027,registry:Host@3085,registry:Host@3301,registry:Host@3369,registry:Host@601,whole:Route@3094,whole:Route@3101,whole:Route@3653,whole:Route@483 d4429770206e5905e3789157cbf222504cd34d0b7a4e22c765aee1b24a3e5e61 |
| @legacy 71cd83557f6267ac468b6b4d6e8a98b65d68927101a5e3ee45e9d2c83b6f4d0a internal/activator/swap.go Service.Swap legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Verify the target canonical mode and prepare its durable stateless release before stopping the incumbent. A mode change forces the existing proven hold path; same-mode stateless overlap uses local lifecycle gates and the final current-record check, without a serving lease. whole:Route@1042,whole:Route@1051,whole:Route@1232,whole:Route@1332,whole:Route@1421,whole:Route@1500,whole:Route@1745,whole:Route@785,whole:Route@801,whole:Route@992 04b35d9e1b21a082f01a3327c07ae483efc8a9ee04ef2512ff92c2730a63323c |
| @legacy 6ae2d9cc990121ca06283879f13bee622ce375cd7b6b4f1cb9157b038508205c internal/activator/wakeidentity.go Service.currentWakeRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Extract existing registry and labelled fleet record recheck for reuse without a serving lease; return the observed row and record and refuse a nil record. No writer or new path. registry:Assigned@1387,registry:Assigned@1597,registry:Assigned@427,registry:Host@1062,registry:Host@1229,registry:Host@1522,registry:Host@198,registry:Host@296,registry:Host@790,registry:Host@933,whole:Route@1146,whole:Route@146,whole:Route@1622,whole:Route@344,whole:Route@348,whole:Route@405,whole:Route@416,whole:Route@457,whole:Route@540 91b83049c05e172b4a5fa230b1e012bfb27edd9ae330d82edd85cc29bc0d957c |
| +@legacy edbf463069228bbafd3264dbb31e5a112c891f411b56438df1cbd809ccc9e824 internal/host/fleetbind.go statelessBindingPublisher.publish legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: consume the applied record and serving route already read by reconcile, check instance/account/app/assignment/status/fleet/box and exact held coordinator lifetime, then publish the existing binding key. A per-host state cache excludes expiry-only renewals and avoids unchanged binding I/O. No instance-record scan or root exec; no typed record writer added. registry:Account@273,registry:App@302,registry:Assigned@323,registry:Host@250,registry:Provisioned@208,registry:ServingVersion@1012,registry:Stateless@155,registry:Status@226 80eedea2f893c34d9e9ce3711299871fd291f339f35f17c6736df0b5abe3a3be |
| @legacy 946d4be489d2c872cf10c7746423e31d8ece0caa7b632a5c13512ca780869536 internal/registry/registry.go Registry.SetServingMode legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: A narrow service-user SQL UPDATE projects serving_version and stateless together and excludes forward rows. Remote form dispatches to the same method; it grants no launch authority. file:Exec@247,registry:remote@114,registry:remote@84,registry:sql@247,whole:remoteClient@116,whole:remoteClient@86 15b731f3d6e5fb0d7cad3194b035624fc99d7b24d923b27bbe71d32f6fa072f3 |
| @legacy 1861ee20fec27c99526b8095d2b82598367595db4fcdbf2bc47ba40a269ec37f internal/replicas/coordinator.go ChangeCoordinator legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Generate a fresh 128-bit coordinator term using crypto/rand.Read; no file path or process input added. file:Read@472 e50ce5a352b3022a1ee6375fbfee315a5d2fcaeb4f4a25f4e33a5a10e3000a67 |
| @legacy 7cf61a9c73df53cead9ed723d069fb9d501537cdd0faa59b7829c038fbc20193 internal/activator/activator.go Service.startSidecar legacy accepted-legacy accepted-legacy;rev3=fix1-merge-review;basis=Uses the sidecar's own fallback after a flag decline; agent lifecycle remains legacy.;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Propagate the actual parent generation storage mode to its legacy sidecar environment; preserve existing ownership, build and termination gates. registry:Host@1830,registry:Host@282,registry:Stateless@121,whole:Route@1315,whole:Route@1378,whole:Route@1777,whole:Route@1968,whole:Route@487,whole:Route@550,whole:Route@609,whole:Route@651,whole:Route@781 0cea2de8439b8a5adabfd95524f76641946c6def8a80609291514c657a8ef487 |
| @@ -50,13 +54,21 @@ |
| @legacy f9809bad90fd0b4aa1a1295220a27bd3aac8587ab2fa9aa8a7abac358907a8a9 internal/activator/backend_exec.go ExecBackend.startGenFrom legacy accepted-legacy accepted-legacy;rev3=census-ruling-zddr4;basis=Census ruling zddr4: changed legacy row; the generation socket path is chosen through genLayout on the same row's Host, an over-long flat host is logged and keeps its canonical socket as a foreign row does, and the leftover canonical link is cleared for any spawn on the canonical socket. Boundary: agent-side, running as carlos; generation socket directories under the agent's own /run/carlos tree; no root decision; no registry, /data, release or claim read beyond what the unit read before.;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. registry:Host@1084,registry:Host@1709,registry:Host@1871,registry:Host@380,registry:Host@436,registry:Host@685,registry:Socket@1126,registry:Socket@1615,registry:Socket@1745,registry:Socket@328,registry:Stateless@2033,whole:Route@1933,whole:Route@315,whole:Route@960 789f88411d73dafbce78d76cb41186870aae9bd16630f237836f331e6d14cfed |
| @legacy cbb1cba5d8aebc70990e5bba201f0dfa450f8ac04e51e09004987b34c817e82b internal/activator/cmd.go Service.RunCmd legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): admits one run against an awake entry under the agent's own lease, fence and swap checks; it starts nothing itself and root validates what it later names;rev3=census-ruling-edge-request-records;basis=passes nil for begin's new req parameter; no read added;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: a carlos run is refused with ErrCmdBusy while a release record of the host is open (a.releaseOps[rt.Host], in-memory), as a run already in flight refuses it; new site +registry:Host (that map lookup); adds a refusal only;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 7a: AfterSettled honoured on every path (called before return on each path that starts no unit, else by the settle that proves the unit gone); a rootfs run is refused as a lost lease (CmdStoppedError StopLeaseLost) when its entry is not under the lease watch (residentWatchedLocked), and, off a.mu, when the replica's in-memory SafeUntil leaves less than oneShotStartLead (oneShotHeadroom); new sites are e.route.Rootfs() and a log line; adds refusals only Task 9 (PF-17): a session (spec.TTY) takes the entry's tty slot and a run its cmd slot (holdSlot), the hold carrying its role (newCmdHold); each is refused only for its own role (holdBusyLocked: ErrCmdBusy or ErrTTYBusy), so a run and a session coexist; a release command (a.releaseOps) refuses a run only, since the session's tty unit is its own; no read added, read sites unchanged Task 12 fix round 1 (Astra P1, incarnation binding): a session (spec.TTY) is refused with ErrCmdIncarnation, under a.mu, at admission (before the hold is attached, so nothing of it runs) and again at the last check before the start, unless the awake entry's row lifetime (e.route.Incarnation) equals spec.Incarnation, the lifetime the box's grant authorized; Task 12 fix round 2 (revised ruling): only a mismatch refuses, and 0 matches 0 (a record and row with no lifetime fields); a run is not checked; refuses more, starts nothing new, no read added beyond the in-memory e.route field (sessionIncarnationLocked);rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Take command/TTY mode from the actual serving generation alongside the existing captured environment; no authority comes from a route flag. file:Prepare@2688,file:Prepare@2722,registry:Host@1502,registry:Host@2098,registry:Host@7932,registry:Host@9168,registry:Kind@437,registry:Stateless@5132,whole:Route@683,whole:Route@8336,whole:Route@869,whole:Route@8800,whole:Route@9333 d056f3f6b1bc2972c73332ee5014f25f5365068fe6f9d54ab65a3cd6ccb98f78 |
| @legacy 1608b0823eb1903f51378627dbe8873a5facdee2d3f28da33c79040d764d1362 internal/activator/cmdunit.go ExecBackend.cmdVars legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): composes the command's environment over the serving generation's launch snapshot; the host comes from the row, never from a tenant file;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. registry:Host@341,whole:Route@447 3c723f8e29d4e515f81294ca68646e9c5279f0e780c45873df797664a358972a |
| +@legacy 592d52aba6b64bd0eecb9ce5373c8e67c5a8496d064381ce4add903ad914857e internal/activator/escrow.go ExecBackend.escrowMintGuard legacy accepted-legacy accepted-legacy;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 4: new: on a box that is not ready refuses every mint (ErrEscrowNotReady); otherwise, once and only when a producer would mint, bucketEscrowEnv, and refuses (ErrInstanceKeyDeferred) when the escrowed env holds the variable; a mint it allows is noted in memory; only refuses Fix round 0 (controller readiness ruling): with no files store it is nil, and the producer mints as before 3a; with a files store and no sealing key it reads the bucket manifest at the mint (keylessEscrowed, fresh) and refuses (ErrEscrowNotReady) when the bucket holds any sealed item or the cutover marker for the host, and otherwise lets the mint go ahead (logged once); only refuses. Fix round 1: with a key it refuses while the conflict marker exists or while this box does not hold the host's lease (ErrInstanceKeyDeferred); its bucket read is bucketManifest, the preparation's shared read unless fresh (the backfill); without a key its keyless read is the same, with no cache across launches (P1-3); only refuses. Fix round 2: no longer notes the mints it allows in memory; only refuses.;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: wrap the prior mint decision so every stateless mint checks live coordinator authority and escrow readiness, even after the cached bucket read; stateful paths retain the original behavior. registry:Stateless@164,whole:Route@148,whole:Route@260,whole:Route@379 c5b2b0ceabedc9759b5c1232291f76144502ec6f74fcb9c2d077d22256956167 |
| +@legacy 9a72b4a1328eea1c210816a712d70ff3053bae3bc92481fa1381045fc0319010 internal/activator/escrow.go ExecBackend.escrowedLaunchEnv legacy accepted-legacy accepted-legacy;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 4: new, the launch path for an eligible host: captureLaunchEnv once, publishEscrowAt over those bytes, SealedAcknowledged on the commit, and the env parsed from the captured bytes; on a supersession escrowReread and the launch preparation again (ensureAdminTokenFor, ensureInstanceKeyFor) once; a not-ready box launches only a host its ledger shows escrowed; the agent as carlos (carlos-edge.service), no root caller Fix round 0 (controller readiness ruling): before the capture, the box's mode: no files store, instanceEnvLayer exactly as before 3a (logged once); no sealing key, a host whose ledger shows it escrowed launches on instanceEnvLayer (logged), otherwise keylessEscrowed (the answer this launch's restore read, within haSecretsBudget, else one GET) refuses when the bucket holds an escrow and launches on instanceEnvLayer when it holds none; nothing is published in either. Fix round 1: ends the launch's preparation; refuses while the conflict marker exists, and with a key while this box does not hold the host's lease; an ALERT from the publish fails the launch; the keyless decision uses the preparation's read. Fix round 3: a publish that answers errEscrowNoLease (the lease lost before the commit) refuses the launch with an error saying so, never the later-launch fallback. Fix round 4: a publish that answers errEscrowUnreadable or ErrEscrowNotReady (the manifest or sealed env could not be read, or does not open here) refuses the launch, never the later-launch fallback; only refuses.;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: followers take read-only escrow verification/restore and never open the publisher; stateless coordinator requires ready escrow. Existing stateful publish, first-launch and conflict branches preserved. registry:Host@1012,registry:Host@1115,registry:Host@1242,registry:Host@1390,registry:Host@145,registry:Host@1545,registry:Host@1630,registry:Host@1798,registry:Host@2000,registry:Host@2262,registry:Host@2423,registry:Host@2879,registry:Host@3282,registry:Host@3450,registry:Host@3571,registry:Host@3745,registry:Host@3961,registry:Host@441,registry:Host@838,registry:Host@967,registry:Stateless@158,registry:Stateless@249,whole:Route@1162,whole:Route@1313,whole:Route@1452,whole:Route@1678,whole:Route@1907,whole:Route@198,whole:Route@2165,whole:Route@2325,whole:Route@238,whole:Route@290,whole:Route@408,whole:Route@534,whole:Route@577,whole:Route@622,whole:Route@672,whole:Route@719,whole:Route@894,whole:Route@938 a3f7e5200a41b7623196c92f651a9ce56fd7cd5cf4f7453f8f43c5a3cb9a6c3c |
| +@legacy d5b707b46a9dce5745edae486772a569c0c7b1699859f37288ad8373bff581f8 internal/activator/escrow.go ExecBackend.restoreEscrowIfMissing legacy accepted-legacy accepted-legacy;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 4: new: checks each escrowed file with instancefs.OpenBeneathOrAbsent beneath the row's data directory; when one is absent, hostfiles.Open of the host's manifest, ReadSealed of each missing item, and writeIfAbsent (instancefs.WriteAtomic of a temp, then RenameBetweenNoReplace, so a present file is never replaced; EnsureDirBeneath for the files directory, 0700); on a box that is not ready it refuses unless the ledger shows the host escrowed and the env file is here; the agent as carlos (carlos-edge.service), no root caller Fix round 0 (controller readiness ruling): with no files store it does nothing (logged once); with no sealing key it restores nothing: a ledger here and an env file here go on, otherwise keylessEscrowed refuses when the bucket holds an escrow and goes on as before 3a when it holds none. Fix round 1: the conflict marker first, then the mode (P2-5): no files store, nothing; no key, the preparation's keyless read before any file check. With a key, each trio file is checked with OpenBeneathOrAbsent (a link or FIFO is not missing); the bucket is read (bucketManifest, the preparation's one GET) only for a missing env file, or a missing trio file the ledger says was escrowed, or with no ledger once per agent start (P2-6); the same writes. Fix round 2: the ledger is read through ledgerFor, and while it is untrusted (its write and the stale ledger's removal both failed) a missing trio file always reads the bucket; the same reads and writes. Fix round 3: the ledger no longer decides a restore: a missing trio file reads the bucket unless this process itself saw the bucket's manifest for the host (its read or its commit, escrowState.known) without the item; the same reads and writes otherwise. Branch fix R1 P1-3: select sealed escrow against Route.Incarnation before decrypting, restoring, minting or checking divergence: lower non-zero escrow is retired in the selected view, higher refuses, equal and zero-stamped retain behavior. Publication stamps the current lifetime atomically, drops prior-lifetime cached stamps, and never treats retired escrow as a committed successor. Same storage paths; historical objects retained. Branch fix R2: remove incarnation selection and stamping per Paul's ruling; restore pre-030ce7f9 hostname-scoped escrow behavior. No read added. Same-key hostname reuse can inherit predecessor secrets; a changed key refuses. Keep the uncertain-commit and CAS-recovery read-failure refusals.;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: wrap stateless restore errors with the approved shared-secrets waiting sentinel. Existing safe restore reads and writes are unchanged. registry:Host@1155,registry:Host@1273,registry:Host@1981,registry:Host@266,registry:Host@2849,registry:Host@699,registry:Host@780,registry:Host@826,registry:Host@929,registry:Stateless@137,whole:Route@1782,whole:Route@1878,whole:Route@328,whole:Route@369,whole:Route@442,whole:Route@488,whole:Route@605 84c7d7c504ec557a2610830fc1e7c478c1d2072fca8c174a24daebf51eb3523b |
| @legacy 38373850c0f5d2d2491679ec4eac2db579a92fbd50297009261ab792c1bb6a29 internal/activator/genbackend.go ExecBackend.StartStaged legacy accepted-legacy accepted-legacy;rev3=census-ruling-zddr4;basis=Census ruling zddr4: changed legacy row; the same layout switch goes through genLayout on the same row's Host, so an over-long flat host takes the existing foreign arm on its canonical socket. Boundary: agent-side, running as carlos; generation socket directories under the agent's own /run/carlos tree; no root decision; no registry, /data, release or claim read beyond what the unit read before.;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: haSpawnGate(rt) first (+whole:Route); otherwise unchanged; only adds a refusal;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: refuses an unknown runtime; a rootfs-v1 row runs the HA containment check (its refusal a rootfs refusal) and then starts through startStagedRootfs; binary rows unchanged; reads Runtime;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. registry:Host@1440,registry:Host@2243,registry:Host@763,registry:Host@818,registry:Host@940,registry:Runtime@208,registry:Socket@1351,registry:Socket@1502,registry:Socket@1609,registry:Socket@1620,registry:Stateless@103,whole:Route@1498,whole:Route@162,whole:Route@2009,whole:Route@475,whole:Route@567,whole:Route@602,whole:Route@698,whole:Route@731,whole:Route@998 a4540b06d137b9e4bbb9f1a556c23595b819b000bcc822584649ab77863b0e7b |
| @legacy 9212263af3576d80c9bee59f7f7a1c41235508e3bb34db88df8370991ce093d1 internal/activator/hasecrets.go ExecBackend.launchEnvLayer legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1a;basis=new (final fix F2), the agent as carlos: a launch's env and key layer: classifies the host (haHostNow; an error fails the launch), instanceEnvLayer unchanged for a non-HA host; for an HA host captureLaunchEnv once, haSecretsReady over those bytes, a test seam (haLaunchHooks.afterPublish, nil in production), and returns the env parsed from the captured bytes, never a later read; +registry:Host x3 (the error messages), +whole:Route x4;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 4: for a host that is not HA and is eligible for escrow, escrowedLaunchEnv (a new unit on this card) instead of instanceEnvLayer; the HA and other paths unchanged; +whole:Route x2; the agent as carlos (carlos-edge.service), no root caller;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Dispatch stateless environment composition to statelessLaunchEnv; the existing HA/escrow/file-read body moved to launchEnvLayerForMode. No new secret authority or storage source. registry:Stateless@129,whole:Route@179,whole:Route@249 e2f050571164c85352de22451144fa9b958c89b73518749626ac3f5b4df3730f |
| @legacy 9b2c7e84587c1ac436bb850896ed8842f78ceaf9d13b586ff7253a54ee3eaa10 internal/activator/rootfs_service.go residentShaped legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: an instance with a runtime that does not hibernate; reads Kind, Hibernate, Runtime;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Include projected stateless binary instances in local lifecycle/residency selection. Launch still requires the selected build canonical declaration; this flag never bypasses database preparation by itself. registry:Hibernate@80,registry:Kind@54,registry:Runtime@97,registry:Stateless@117 498cd49f9495c5400db1d3d55404c0c9e7ffe91579bd562f41a28c73a117e3e2 |
| @legacy f3252acdc459835f8bd43bd31b162081c9462415855358999c4cad765be6756a internal/activator/rootfsenv.go ExecBackend.rootfsWorkerVars legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W, D1: a worker's launch environment is web's launch environment for the generation (the handle's LaunchEnv, the agent-owned variables as web got them), with the generation's control socket only when web's listener bound, then rootfsVars with the row's canonical socket and database path; nothing from a tenant or app is added;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. registry:Socket@261,registry:Stateless@145,whole:Route@192,whole:Route@224 2a5dd1174a0c08155c5b231184531d65f66f2f8cb5145ba8dacd981921620841 |
| @legacy 1b0b2373b64bb1e4c9ba79dd86f54bd459c673e69c2c5535a59360e09a2d1e3b internal/activator/swaphold.go Service.startPinnedAt legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-wake-latency-2;basis=times record, staged start and health with time.Now() and logs them with rt.Host after a healthy start (the new registry:Host site is that log line); no read added or moved;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: genHealthy takes rt, so the health window is the route's runtime bound; same check;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Verify each actual pinned or fallback identity and its own canonical declaration. A mode mismatch returns to the full wake path instead of sharing another mode database setup; carry the verified selection to avoid a second canonical read. registry:Host@1620,registry:Host@2405,registry:Stateless@564,whole:Route@1765,whole:Route@2266,whole:Route@2580,whole:Route@489,whole:Route@772,whole:Route@872 572ac9ceb1dccdfa142986675e349a96006331ee7a5353e397b5764bd8fbda8c |
| +@legacy db1df8208d98e287b9628d7138759097d0428ed39b2b2d6c96ea36b1f57a50c7 internal/host/fleetbind.go fleetBindingHook legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: stateless wake skips direct binding I/O and signals the existing reconcile full pass; stateful hook unchanged. registry:Host@341,registry:Host@521,registry:Stateless@127 f4bb473406cdac144f9c8606aa553e136d9ef5352d0388f671a5459876bd1a71 |
| +@legacy 1db80d4e301bcfd3ecfc740564085a784b2f4fea2aadc304b079f6de22ab244d internal/host/fleetbind.go publishResidentFleetBindings legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: startup stateless rows signal the existing reconcile and are excluded by residentBindingHosts; existing registry read and stateful writes unchanged. registry:Stateless@384,whole:Route@370,whole:Route@489 38f258ab6a2e6b412a83998475f257be614dd6888c980b11dfe8384f15912ee4 |
| +@legacy 2f56a035441c33df6f0bf814de53323854b3aa91300e21b7085d035f54fa6d34 internal/host/fleetbind.go residentBindingHosts legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: exclude Stateless as well as sidecars from the old uncoordinated startup writer; no I/O. registry:Host@114,registry:Host@200,registry:Stateless@149,whole:Route@100 1371ea9e1301f0d9e7654b3b545b5e58358147ac376fa1f50e82fd37ea42b523 |
| @legacy 91359ab035c774a23a5c659abf5dc570f17e5a4ced958d06e88a927d153259e8 internal/host/rollout.go armRollout legacy accepted-legacy accepted-legacy;rev3=fix1-merge-review;basis=Comment-only clarification of failure-book saves; existing agent rollout setup remains legacy.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: after the overlap scheduler arms, calls svc.ArmRootfs() so rootfs rows start only where the scheduler armed this boot; never on the refuseManaged path; no read added;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Bind Service.ReplicaDeployID to the same FailureBook the scheduler owns and bind RuntimeSelection to one CanonicalStatelessDigest read through the existing store. registry:App@2905,whole:Route@2900,whole:Route@3578,whole:Route@3662 62aae6f1f17d296a6c4786aa3add31a86bca4e85a2fca018c7e6697bb1f6c248 |
| @legacy ab3c943985837d2983dc10942bddd8299172199d9a89247870e08c8464685aca internal/ops/hibernate_verify.go HibernatingHosts legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the same expression as FleetDBsWithSkipped's exclusion, Route.ActivatorLeased instead of Hibernate, so a resident rootfs row is drilled here;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Exclude projected stateless routes from per-host database freshness verification. Box-wide Litestream exclusion remains 3b-owned. registry:Backing@397,registry:DBPath@626,registry:DBPath@707,registry:Host@691,registry:Stateless@588,whole:Route@190 a9dc81dd32b8b49241b5ae6816af2c5346314dc7211389aff630ed5a6b679c12 |
| +@legacy 8472d9e3998fd43ce53fab9b6cd708f3ec7ae011365863ee6005ae112ff90c1c internal/ops/litestream.go FleetDBsWithSkipped legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the box-wide litestream exclusion is Route.ActivatorLeased (hibernating rows, sidecars included, and every instance with a runtime) instead of Hibernate, so the activator alone replicates a resident rootfs database;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: collect stateless DB paths from the existing registry read and exclude them from flat/nested claiming, unit discovery and overlapping active unit trees; report discovered excluded files as skipped. No database, WAL or SHM modified; the existing HibernatingHosts exclusion supplies the maintenance half. file:Glob@1552,file:Glob@2055,file:Stat@3826,file:Stat@4756,registry:Backing@453,registry:DBPath@1181,registry:DBPath@1228,registry:DBPath@3195,registry:DBPath@3290,registry:DBPath@363,registry:DBPath@409,registry:DBPath@734,registry:DBPath@780,registry:Host@3238,registry:Stateless@3180,registry:Stateless@343,whole:Route@3166,whole:Route@329 5122a092c66f1d44fb98a7dbe1d8d4ac5d013ee8be178694548704af32441464 |
| +@legacy 2892f3f67c2ac4c896fb770aa4017a5670f7ca88e0f37074334b35b37df7f233 internal/provision/reconcile.go Reconcile legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from its reconcile loops: each listed record is observed through the box's lifetime judge (ObserveWith: the record, then its host incarnation slot) before the shape, channel and scope checks, a stale record is left out and an unjudgeable one protected; the removal phase observes a row's own record key when the pass holds none for it under that key, and deletes a held row whose record is gone or stale through DeleteIfHold; a nil judge (claims on) is main's body; registry read sites unchanged, offsets moved; fix round 1: the removal phase observes a row's own key only under an account the listing trusts, so a retired or unmaterialised account's row keeps record gone, and the pass arms its own context with the judge; Task 7: under a judge an existing provisioned row of the record's own app and account follows the existing-row rules (heldByVanishedPredecessor and retireHeldPredecessor's DeleteIfHold first, the record then minted on the same pass; the hold; installRowLifetime), each a separate write under the host's hold lock; registry read sites unchanged, offsets moved;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=#328/#329 plan 1 Task 7: the pass reads its apps' policy objects (control/app-policy/<sqid>/<app>.json in the bucket) through the agent's PolicyCache, each verified with ReleasePub by apppolicy.VerifyKey (ed25519 over the policy's own domain line, bound to the account and app, unexpired, not future-dated; anything else is no policy), and carries the columns into its rows. New kinds registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each, all the assignment of a fresh row's columns (nr) from policies.cols; plus one whole:Route site, the existing row handed to policies.forRow. Other read sites unchanged, offsets moved; the agent's own pass, no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos, from its reconcile loops: after the scan, hands the in-scope records to cfg.Lifetimes (the box's lifetime index): Merge after a failed read or partial listing, Replace after a complete one, nothing on a dry run or with no index; the scan, judge and removal phases unchanged; the same 166 sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 2 and 5 (D5, spec §5.0): a seeded record over a row with a runtime is skipped and logged; a row with a runtime (or a new record with one) takes no seed; runtime and a rootfs row's hibernation are never converged from a record (a mismatch is logged; a record claiming a runtime its row lacks is not applied); reads Runtime of the record and the row; the box writes less; fix wave 1 (ceea6353, whole-branch P1-2): before minting a row for a record with no runtime and no row (both mint paths), the pass reads the app's kind marker once per app per pass (release.ReadAppKindMarker: one GET of the create-only kind.json from the release store s, through freshStore, validated by readAppKindMarker); a rootfs marker leaves the record unmaterialized and logged (an older console stripped its runtime), and a marker that cannot be read defers the mint this pass; a refusal before minting only, registry read sites unchanged, the box writes less; fix wave 2 (whole-branch r2 P1): the kind-marker read and its refusal apply only to a socket-backed instance record (DerivesPaths), so a static or upstream-backed record of a rootfs app, which carries no runtime by design, is minted as before with no read; fewer reads, registry read sites unchanged;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 10: the forward phase on the hub (FleetOwners set): the scan keeps the fleet-placed records it skips and counts records per host; a trash-only marker prefetch; disputed (failed-GET) hosts; armed, a host an in-scope and a fleet record both name is given neither, its journal waits and the removal phase keeps its row (+registry:Account, +registry:App, +registry:Host x2: the collision guard, its log line and report mark); the instance loop leaves a forward host; retirable excludes forward rows. Same record keys; writes only the registry (PutForward, DeleteForward); no bucket write.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 4, rules 2 and 9): after inScope, a record failing cfg.ownsRecord (on a fleet box, labelled for another box: rec.FleetBox != "" and != cfg.FleetBox) is skipped as out of scope, so it is never minted here; in the removal phase such a record no longer keeps the row (inScope && ownsRecord), so the row goes as record gone. Off a fleet ownsRecord is always true. Read sites unchanged (178). The agent's reconcile loops, not root; it mints less, never more.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 3: in the per-record loop, beside the RunSeen call, calls cfg.InteractiveSeen(rec) when the hook is set and the in-scope record carries an interactive-session marker (rec.Interactive != nil), once per record per pass, before the pass acts on it; the hook is the box worker's non-blocking note (Task 12). Same record keys and literal; no read added (registry read sites unchanged, 178); nothing written by the call; merge of origin/main 6f1f6ca6: main's fleet-box ownsRecord skip in the record scan and in the removal phase is kept as main has it (census-ruling-managed-fleets-1b); this branch's change is the same as above; read sites unchanged (178);rev3=census-ruling-stateless-replicas-1;basis=Task 3b: call the optional binding callback only for applied, owned stateless rows outside dry run. Reuses this pass record and route reads after existing collision, scope, hold, policy and shape checks; no new record read or typed writer. registry:Account@36655,registry:Account@37920,registry:Account@56184,registry:Account@56230,registry:Account@57074,registry:Account@57451,registry:Account@57677,registry:Account@57744,registry:Account@57790,registry:Account@57883,registry:Account@57925,registry:Account@58573,registry:Account@58831,registry:Account@59562,registry:Account@59610,registry:Account@60019,registry:Account@60065,registry:Account@60310,registry:Account@60735,registry:Account@61223,registry:Account@61959,registry:Account@62152,registry:Account@62498,registry:Account@63063,registry:App@36628,registry:App@37893,registry:App@56204,registry:App@56242,registry:App@57086,registry:App@57463,registry:App@57689,registry:App@57764,registry:App@57802,registry:App@57903,registry:App@58585,registry:App@58843,registry:App@59574,registry:App@59622,registry:App@60039,registry:App@60077,registry:App@60322,registry:App@60747,registry:App@61235,registry:App@61971,registry:App@62164,registry:App@62510,registry:App@63075,registry:ClaimOwnership@37242,registry:DBPath@46099,registry:DBPath@46114,registry:DBPath@46360,registry:DBPath@46963,registry:DBPath@46976,registry:EgressAllow@35741,registry:Gate@42444,registry:Gate@42584,registry:Gate@42871,registry:Hibernate@41116,registry:Hibernate@41314,registry:Hibernate@41379,registry:Hibernate@41718,registry:Hibernate@42069,registry:Hibernate@42379,registry:HoldOp@61704,registry:HoldOp@61795,registry:HoldOp@61930,registry:HoldOp@62306,registry:Host@26749,registry:Host@56163,registry:Host@57050,registry:Host@57427,registry:Host@57591,registry:Host@57697,registry:Host@58593,registry:Host@58799,registry:Host@59902,registry:Host@60174,registry:Host@60289,registry:Host@60612,registry:Host@60709,registry:Host@61100,registry:Host@61197,registry:Host@61411,registry:Host@61786,registry:Host@61921,registry:Host@62125,registry:Host@62198,registry:Host@62297,registry:Host@62472,registry:Host@62547,registry:Host@62633,registry:Host@63040,registry:Kind@37384,registry:Kind@37647,registry:Kind@46017,registry:Kind@46030,registry:Kind@46140,registry:Kind@46153,registry:Kind@46874,registry:Kind@46885,registry:Kind@55287,registry:Kind@61402,registry:Kind@61912,registry:Kind@62288,registry:Kind@62463,registry:Kind@62624,registry:PolicyExpiresAt@35766,registry:Pool@55373,registry:Provisioned@36604,registry:Provisioned@37869,registry:Provisioned@55332,registry:RateLimit@42957,registry:RateLimit@43108,registry:RateLimit@43395,registry:Region@55362,registry:Replication@41803,registry:Replication@41930,registry:Runtime@29406,registry:Runtime@29584,registry:Runtime@31789,registry:Runtime@40483,registry:Runtime@40537,registry:Runtime@40741,registry:Seed@44497,registry:SeedSource@43980,registry:Size@35757,registry:Socket@46065,registry:Socket@46080,registry:Socket@46377,registry:Socket@46933,registry:Socket@46946,registry:Stateless@47034,registry:Unit@45983,registry:Unit@45996,registry:Unit@46900,registry:Unit@46911,whole:ClaimOwnership@37245,whole:ClaimOwnership@37262,whole:Route@26731,whole:Route@26742,whole:Route@26760,whole:Route@28041,whole:Route@29901,whole:Route@29908,whole:Route@29948,whole:Route@30309,whole:Route@30647,whole:Route@31094,whole:Route@31145,whole:Route@31182,whole:Route@32854,whole:Route@33063,whole:Route@33402,whole:Route@33411,whole:Route@33457,whole:Route@35690,whole:Route@36249,whole:Route@36720,whole:Route@36730,whole:Route@37087,whole:Route@37094,whole:Route@37162,whole:Route@37485,whole:Route@38518,whole:Route@41469,whole:Route@46209,whole:Route@47147,whole:Route@47980,whole:Route@48025,whole:Route@48035,whole:Route@48905,whole:Route@49932,whole:Route@55398,whole:Route@55546,whole:Route@56643,whole:Route@57002,whole:Route@57384,whole:Route@62385,whole:Route@62970,whole:Route@63020 fc71ce39907ff045f2a33d4561fc42ab2ab7f36c500f1625ddca1141c4295f3f |
| @legacy 4139954f5fa906f863814feb7efad95d85503ef68272877043de62c66c5cb2df internal/registry/forward.go Registry.PutForward legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 2: the only writer of a forward row's declared columns: refuses an argument whose kind is not forward; copies only the declared fields from its argument (Status ready, Provisioned true; no forbidden column is ever written); inside one IMMEDIATE transaction refuses a host a non-forward row holds (ErrHostHeld); keeps FleetBox while Region is unchanged; preserves the observational columns (+file:Exec, +file:QueryRow, +registry:Account, App, Channel, RateLimit, Region, Slug, +registry:Host x3, +registry:Kind, +registry:remote x2, +whole:Route x3, +whole:remoteClient x2).;rev3=census-ruling-fleet-routes-followups;basis=refuses up front, with the new sentinel ErrNotForward and before any read or write, an rt that is not a forward row (as before, now a sentinel), has an empty Host, or whose Region is not a fleet placement (registry.FleetPlacement); +registry:Host x2 and +registry:Region x2 read only the argument in those checks; the transaction and statement are unchanged;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5, rule 3), merged with main's ErrNotForward refusals (kept unchanged): the written row also carries FleetLabel = rt.FleetLabel and FleetBox = rt.FleetLabel; its conflict arm (forwardKept) writes fleet_label from the call and fleet_box as the call's label when set, else kept while the region is unchanged. The hub's forward phase in the agent, not root.;rev3=census-ruling-stateless-replicas-1;basis=Carry declarative Stateless into forward rows under existing transaction and shape guards; projection only. file:Exec@1255,file:QueryRow@1031,registry:Account@693,registry:App@670,registry:Channel@746,registry:FleetLabel@881,registry:FleetLabel@911,registry:Host@1085,registry:Host@197,registry:Host@234,registry:Host@419,registry:Host@594,registry:Kind@206,registry:RateLimit@773,registry:Region@428,registry:Region@720,registry:Region@84,registry:Slug@646,registry:Stateless@941,registry:remote@446,registry:remote@476,whole:Route@1288,whole:Route@531,whole:Route@539,whole:remoteClient@448,whole:remoteClient@478 dfabb444b451e5a15ebb7dfa39d5ac37b8156acaef52ea9dd766a9a7ea017ccd |
| @legacy f144338de75cd87f6a594d5383e7693220a591252502d62d81d567c018eaab9e internal/registry/registry.go scanRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user): main's body with the two new columns scanned;rev3=census-ruling-design-edge-rate-limit-358;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user): main's body with the rate_limit column scanned into Route.RateLimit; the new kind is registry:RateLimit, one site; no other read;rev3=census-ruling-rootfs-apps-2;identity=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user);basis=main's body with the runtime column scanned into Route.Runtime, before rate_limit; the new kind is registry:Runtime, one site; no other read; re-digested at the merge of origin/main 3c33f2eb: main's assets_off and asset_gen (edge asset cache plan 1) scanned beside runtime and rate_limit; routeColCount 59; re-digested again at the merge of origin/main 953b9fda: main's incarnation and serving_seq (self-serve moves plan 1) scanned after asset_gen; routeColCount 61;rev3=census-ruling-instance-egress-sizes-328-329;identity=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user);basis=#328/#329 plan 1 Task 4: main's body with egress_allow, size and policy_expires_at scanned into Route.EgressAllow, Route.Size and Route.PolicyExpiresAt after serving_seq; the new kinds are registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each; routeColCount 64; no other read;rev3=census-ruling-region-ha-p1a;basis=scans one more column, ha, into Route.HA (+registry:HA); routeColCount 64 to 65; keeps legacy;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Tasks 2 and 5): scans three more columns, fleet_assigned, fleet_moved and fleet_label, into Route.Assigned, Moved and FleetLabel. Any root caller of Registry.Get sees three more fields, which no root decision reads (grep: only the activator start rule, edge, provision and registry read them).;rev3=census-ruling-stateless-replicas-1;basis=Decode the additive stateless registry column; no launch authority. registry:Account@426,registry:Addr@194,registry:Addrs@516,registry:App@269,registry:Args@575,registry:AssetGen@885,registry:AssetsOff@1097,registry:Assigned@981,registry:Backing@351,registry:BuildState@800,registry:Canary@1151,registry:Caps@456,registry:CertExpiresAt@408,registry:Channel@299,registry:ClaimIncarnation@637,registry:ClaimOwner@673,registry:ClaimRowID@688,registry:ClaimStamp@658,registry:CreatedAt@559,registry:DBPath@230,registry:DNSCheckedAt@391,registry:DNSStatus@377,registry:EgressAllow@931,registry:Environment@440,registry:FleetBox@501,registry:FleetLabel@1002,registry:Gate@550,registry:GoodDemand@747,registry:GoodDigest@732,registry:GoodVersion@716,registry:HA@1059,registry:Health@526,registry:Hibernate@1127,registry:HoldOp@703,registry:Host@156,registry:IdleSeconds@584,registry:ImportGate@832,registry:Incarnation@898,registry:Kind@174,registry:LastError@216,registry:MaxRunSeconds@600,registry:Moved@1075,registry:NextDue@339,registry:Platform@1197,registry:PolicyExpiresAt@956,registry:Pool@277,registry:PrevVersion@253,registry:Provisioned@1221,registry:RateLimit@859,registry:Region@288,registry:Replica@1248,registry:Replicas@618,registry:Replication@323,registry:Runtime@847,registry:Seed@483,registry:SeedSource@817,registry:ServingSeq@914,registry:ServingVersion@762,registry:Size@947,registry:Slug@165,registry:Socket@183,registry:Stateless@1029,registry:Status@203,registry:StatusNamed@1172,registry:Steering@537,registry:Tunnel@465,registry:Unit@492,registry:UpdateSettings@781,registry:Version@241,whole:Route@1277 9d963b1c26c40211fbca564fcfcb3da8c077c6b09902f6f8eae75b8c9e255bc2 |
| @legacy 3189111bdce9af1ad57a8f5dea9a4ff20f5bb42252044a939fd7e1a46b3d0833 internal/registry/runtime.go Route.ActivatorOwned legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the activator manages this instance: it hibernates or has any runtime; reads Kind, Hibernate, Runtime;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Include projected stateless binary instances in local lifecycle/residency selection. Launch still requires the selected build canonical declaration; this flag never bypasses database preparation by itself. registry:Hibernate@72,registry:Kind@47,registry:Runtime@87,registry:Stateless@106 3dbd1801c0a3c370a249b9108c2f56c6ef716ad482207245cbf1130ad5351d2b |
| @@ -64,6 +76,9 @@ |
| @legacy 8c4a6dafdd650b56d9c1430b0a004c865930e8c33e2f8ca96efc0cd2abca1d30 internal/activator/activator.go Service.doWake legacy accepted-legacy accepted-legacy;rev3=census-ruling-292fix;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body (census ruling 292's legacy start mark and lease give-back; census ruling owed's pending record) with the seeded change ruled under census-ruling-seeded-instances (the refreshed row checked against the row the wake began from, twice; the seed's first upload recorded after the wake), and now one more line on a failed start: a start its pre-exec gate refused (launchNotStarted: the exec gate, the pending record or its recheck answered no before root was asked) is recorded as known not started (stopObservation.notStarted) instead of uncertain, only when the wake has started nothing else (wakeStartedNothing); otherwise it goes through cleanupFailedWake and its proofs. A refusal before its lease (step 1), which has started nothing, is recorded the same way. Read sites unchanged; no new read and no root decision;rev3=census-ruling-wake-latency-1;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=marks the end of each wake step on the woken instance's journal timer (wakeSteps: a.now() and a slice append, journal only); no read added, no step reordered;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: (1) after the restore it asks the backend for the replication class an HA restore imported from the host's published wake state (restoredReplication(rt)) and, if it differs, logs it and sets rt.Replication and the entry's route to it; (2) an HA lease of the stream class replicates with a 1 s monitor interval (SetMonitorInterval); (3) after Replicate, an HA replica opens the entry's files publisher (openEntryFiles(ctx, e, rt)) and starts it, and a publisher that will not open fails the wake through cleanupFailedWake; (4) every cleanupFailedWake call passes e; (5) final fix F1: the two start-error arms that gave the lease straight back (a start its pre-exec gate refused with nothing started, and the default arm) now call giveBackAfterStart(ctx, rt, w, lease), which gives a legacy lease back exactly as before and an HA one only over an empty host slice. New sites: registry:Replication x5 (the class compare, the log line, the assignment and the HA sync-interval check) and whole:Route x6 (rt handed to restoredReplication, openEntryFiles, the cleanup calls and giveBackAfterStart); no file read in this body; only adds a condition before an HA release, no check removed;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: the rootfs admission runs before the claim path and before Acquire on the refreshed row (rootfsWakeRefusal), again in full if a re-read under the lock changed any gate field, and a resident wake re-checks residentRunnable; for a rootfs row a held lease or refused config is an ownership refusal; a rootfs first boot (no good version, fresh) places the empty database under the lease (placeRootfsDB) and uploads it once (syncRootfsPlaceholder), while fresh with a good version is refused as a lost database; declared processes are logged after the wake (rootfsProcessesHook); binary rows unchanged; fix wave 1 and 2 (6189a9db, then the r2 ruling "refuse interrupted init"): a fresh rootfs first boot goes through rootfsFirstBoot (rootfsmarker.go) instead of placeRootfsDB alone: under the lease it reads the lifetime's first-boot marker from the hibernate bucket (present or unreadable refuses, present as errRootfsReplicaMissing), writes it create-only, reads it back (only a read back that finds it confirms it; a write conflict proves nothing), and only then places the database; a warm wake does nothing with the marker (fix wave 1's settleRootfsFirstBoot call and its whole:Route site are gone, no local pending record); adds refusals only, binary rows unchanged;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: (1) refuses (errWakeUnproven) while another entry's release record of the host is open; (2) a rootfs row with a plan or a pin reads its declared processes before the lease (declaredProcesses(rt, g): the existing staged-manifest read of ExecBackend.Processes, the manifest root's staging wrote, checked against the identity's path and digest) and refuses before Acquire on an error; (3) the staged-identity start runs releaseInWake(ctx, e, rt, id, lease) before startGenExe, under this wake's lease, and a release that did not pass fails the wake; (4) a rootfs row with no plan, no pin and no staged identity is refused, the lease given back, nothing started; (5) a start error whose release is not proven stopped hands the lease to the release record (oweWakeLeaseToRelease) instead of giving it back. New sites +whole:Route x2 (rt to declaredProcesses and releaseInWake); no new file read beyond the existing staged-manifest read; binary rows unchanged;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W, W1: step 7 no longer calls rootfsProcessesHook (log only); it calls declareRootfsWorkers(e, rt, w), which registers the workers the wake's generation declares as pending and starts nothing (the resident tick starts them once the entry is awake under its lease watch); a worker is never a failure of the wake; the read of the declaration is the existing staged-manifest read (see registerRootfsWorkers); the same read sites in this body, no new read;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2: a successful acquire drops the host's holder-cache entry; same reads;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (branch review R1 P1-1 and the controller ruling after it): after the lease, doWake asks routeCurrentUnderLease(ctx, rt, e.worker) (the +whole:Route site), which re-reads the host's row from the box's own registry and, for a labelled row on a fleet box, reads the instance record once; a row that is not this box's and current gives the lease back and refuses the wake, nothing restored or started. Its checks up to the spawn ask wakeGoesOn(e), which adds the entry's in-memory retired mark (set by RetireExcept) to the fence test. Task 6a's awake record call is removed. Agent, not root; it only refuses more.;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Keep the original entrypoint at its existing census path. Run doWakeOnce, and retry a selected fallback only after the failed generation is proven stopped, no release or stray obligation remains, and a stateful lease was returned. Carry the fallback canonical selection and original outcome metadata. whole:Route@423 942fe545a6b3bcd1f3dfc5469e8e6ef2850766046ab151f748075bfbc44feff2 |
| @legacy fd9f21d35c7f8fa76f648360b176743426447653d151a412ab80f85545c8fa35 internal/activator/backend_exec.go ExecBackend.StartWorkerStaged legacy accepted-legacy accepted-legacy;rev3=census-ruling-zddr3;basis=Census ruling zddr3: changed legacy row (comment-only change describing the shim placement); the same class as the accepted-legacy Manager.startIn and placementLive under fix1-merge-review (existing agent delegated-cgroup management remains legacy); no root decision; no registry, /data, release or claim reads. Boundary: the agent's own delegated cgroup subtree (including its scratch probe child), /proc/self, and pipes to and from its own parent, running as carlos.;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. file:Command@3507,registry:Args@227,registry:Args@378,registry:Host@1388,registry:Host@2610,registry:Host@3646,registry:Host@369,registry:Host@4532,registry:Host@473,registry:Host@589,registry:Host@685,whole:Route@1148,whole:Route@1692,whole:Route@2238,whole:Route@3459,whole:Route@3577,whole:Route@3607,whole:Route@4373,whole:Route@4463 064ad933d522ffbbf1cb335abafc545af7f81ee7b30a905425de32ca9a882aa2 |
| @legacy 551465e5e10d030700cca3722ba5b84b83a063e071cdbfe5645f983b73881d80 internal/activator/backend_exec.go ExecBackend.startSidecarChildFrom legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. file:Command@886,registry:Host@1348,registry:Host@1407,whole:Route@1166,whole:Route@150,whole:Route@480,whole:Route@840,whole:Route@955 e1841fe5edbc5e9e6f8f4a440a1ffe8d799cf97c4502f152ac23b97841fc95c2 |
| +@legacy 5bd5f1321c588fb971e1eab323c55c66cf644cb171a9331a562e8b9a933e3038 internal/activator/escrow.go ExecBackend.EscrowSweep legacy accepted-legacy accepted-legacy;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 4: new, the agent as carlos (carlos-edge.service), no root caller, from escrowLoop: classifies each row against the rows handed in (Classify), keeps eligible rows known not HA from memory (haKnown, no read), and in host order from a round-robin cursor stats each escrowed file (stampAt) and publishes the changed ones, 8 at a time, at most 256 a sweep (sweepPublish); a box without a files store or key does nothing; opens nothing outside the rows' own data directories; writes only the hibernate bucket's files/0 prefix and the ledger Fix round 1: a host whose instance lease this box does not hold (holdsLease) is skipped, and one with a conflict marker counts as failing and is not published; the report is tallied through one lock (P1-4). Durability 3a Task 5: for each lease-held candidate, the host's held publisher (st.pub under the escrow lock) is handed to noteRawBaseline. Reads only manifests this process already holds (no request, no file opened); calls the detector, which logs and calls ExecBackend.OnRawSecret; nothing else changes. The +registry:Host sites are rt.Host as the state key and the detector's argument.;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: use coordinator authority for stateless projections and the unchanged serving lease for stateful rows; followers are skipped without I/O; no new poll loop or file path. registry:Host@1009,registry:Host@1046,registry:Host@1136,registry:Host@1292,registry:Host@1311,registry:Host@1462,registry:Host@1995,registry:Host@2341,registry:Host@2598,registry:Host@2672,registry:Host@536,registry:Host@800,registry:Host@938,whole:Route@1193,whole:Route@1197,whole:Route@1214,whole:Route@1301,whole:Route@1320,whole:Route@1471,whole:Route@1789,whole:Route@1997,whole:Route@2227,whole:Route@2343,whole:Route@2600,whole:Route@2674,whole:Route@356,whole:Route@519,whole:Route@587,whole:Route@653,whole:Route@706,whole:Route@771 0e7b85ae702f5cf4ff2e961787d7d3a8170ca1b0fa06b0991d6dc1b54f17bfa1 |
| +@legacy 5eac8b33b0e6034c247182f05408eef5a3111a4b374ca260a41148adbdb965d7 internal/activator/escrow.go ExecBackend.publishEscrowAt legacy accepted-legacy accepted-legacy;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 4: new: escrowReady and the layout checked, then publishEscrowLocked under the host's lock Fix round 1: refuses while the conflict marker exists or while this box does not hold the host's lease (P1-2), before anything is read.;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: replace the serving-lease-only gate with the mode-specific escrow authority gate; conflict, readiness, paths and operation lock unchanged. registry:Host@223,registry:Host@269,registry:Host@340,registry:Host@440,registry:Host@561,registry:Host@658,whole:Route@157,whole:Route@386,whole:Route@738 46104b1555879bade018485b2ae1d6542feec6381c948cc226b0bc54b80fef8c |
| +@legacy 3f35825d26934e7e85e7ebe0cc27d86013179d4447839dcbd4bea950db3201a4 internal/activator/escrow.go ExecBackend.publishEscrowLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 4: new: reads <host>.env (unless the launch's capture is handed in), <host>/instance.key and <host>/report.token with readStamped beneath the row's data directory, seals what changed (StageSealed), DropRawSecrets of the constant raw names, commits, and writes the ledger (writeEscrowLedger: EnsureDirBeneath .escrow 0700, a 0600 temp, rename, fsync); an absent file stages nothing; a refused file publishes nothing for it; the agent as carlos (carlos-edge.service), no root caller Fix round 1: before staging, mintedConflict on the baseline it would replace, so a secret this box minted is never published over another escrowed value (P1-1). Fix round 2 (P1-1, P1-2, stale ledger): before staging, the write-once check (escrowDivergence, keyed digests only, no request): a staged instance.key or report.token whose escrowed item has another digest refuses the publish (escrowConflictFound); then, under the operation lock just before the commit, the lease again (holdsLease): lost, nothing is committed and the staged state is dropped; after a commit the ledger through keepLedger (written, else the stale one removed with RemoveBeneath under <data>/.escrow, else marked untrusted in memory). Fix round 3: escrowDivergence also holds the env's minted variables write-once (one GET of the sealed env, only when the env changed); the committed manifest is kept as what this process knows (noteKnown). Fix round 4: only a commit that wrote (the baseline's ETag moved) feeds what this process knows (learnBucket) and writes the ledger; a no-op commit on a ledger-opened publisher feeds nothing; the same reads and writes. Durability 3a Task 5: on the held baseline before staging and DropRawSecrets, noteRawSecrets(rt.Host, m). Reads only manifests this process already holds (no request, no file opened); calls the detector, which logs and calls ExecBackend.OnRawSecret; nothing else changes. The +registry:Host site is that call's argument. Branch fix R1 P1-1: every failed manifest commit drops the publisher, stamps, preparation read and bucket knowledge; the next operation opens the bucket and repeats divergence checks before staging. No new root input or read site. Branch fix R1 P1-4: a CommitRecoveryReadError from the existing CAS-recovery GET wraps errEscrowUnreadable, so the launch refuses rather than using the later-launch write-failure fallback. No new read. Branch fix R1 P1-3: select sealed escrow against Route.Incarnation before decrypting, restoring, minting or checking divergence: lower non-zero escrow is retired in the selected view, higher refuses, equal and zero-stamped retain behavior. Publication stamps the current lifetime atomically, drops prior-lifetime cached stamps, and never treats retired escrow as a committed successor. Same storage paths; historical objects retained. Branch fix R2: remove incarnation selection and stamping per Paul's ruling; restore pre-030ce7f9 hostname-scoped escrow behavior. No read added. Same-key hostname reuse can inherit predecessor secrets; a changed key refuses. Keep the uncertain-commit and CAS-recovery read-failure refusals. Branch fix R2 P1-3: delegate the existing baseline, divergence and StageSealed operations to stageEscrowReads, shared with HA. Same bucket objects and reads; lease gating, uncertain-commit state drop, and typed CAS-recovery refusal retained.;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: recheck mode-specific authority before manifest commit; drop staged state on loss; preserve write-once divergence, bucket knowledge, CAS recovery and file-read protections. registry:Host@2078,registry:Host@2342,registry:Host@3307,registry:Host@4499,registry:Host@574,whole:Route@2269,whole:Route@2497,whole:Route@3347 5eee45f81032f236f3ecd86f4862e8814134f5c9a9a2aa3a79a27b473bf3d3c1 |
| @legacy b4e1f299283f9f266dd378eb8c04d54eced70a5436a26bbd913ef4ab363559a5 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;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. registry:Host@1229,registry:Host@1402,registry:Host@1702,registry:Host@2436,registry:Host@2766,registry:Host@2893,registry:Host@304,registry:Host@3218,registry:Host@3308,registry:Host@3412,registry:Host@3885,registry:Host@3979,whole:Route@1019,whole:Route@1051,whole:Route@1796,whole:Route@2599,whole:Route@3488,whole:Route@416,whole:Route@516,whole:Route@646 041071ed7b9cb9ee993ae2191e2e0fcde08910ca02427941a6e6814c316ca14b |
| @legacy ef6c315b6e23dd34f9b7db24aea36698e5ce35fcd828ee36afef34c43bf873b4 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;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. registry:Socket@214,whole:Route@152,whole:Route@177 35b1ae0ecefdf8fcbc115a7ac84339f0d6cbf46fe85cabe8bf0591b0ebdfd25f |
| @legacy ab59c2d926c26e07bd919071b7a37b051b604dec7edc6bac5031b23b62346b0f internal/activator/rootfsenv.go ExecBackend.rootfsTTYVars legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 8, new: a rootfs session environment: ttyVars over the generation launch environment, then rootfsVars with the row canonical socket and dbPath set after the file environment, as rootfsCmdVars does; map composition only;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. registry:Socket@218,whole:Route@154,whole:Route@179 3c5a23d82f2a88910a32276448636d98920ac820eb241e786cdb3c699ed5608a |
| @@ -88,7 +103,7 @@ internal/activator/swaphold.go Service.holdWakeLocked legacy accepted-legacy acc |
| internal/activator/wakeplan.go Service.spawnPlanned legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the first-wake budget and the health bound are the route's (firstWakeBudgetFor, healthBoundFor read Runtime: the rootfs bound for a rootfs row, the binary constants otherwise);rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3: for a rootfs row, B's release runs first (runRelease under the wake's lease watch and the plan's gate, planGate); a release that did not pass goes to spawnPlannedRelease; after a passed release B's health window starts from now, not from the wake's start [pf R3.4]; w.bootRan is also true when the release ran. New sites +whole:Route x3 (rt to runRelease, spawnPlannedRelease and the second firstWakeBudgetFor); no file read;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Preserve the typed fallback mode-change refusal through error wrapping so the complete wake path selects the fallback own database mode. Existing stop-before-fallback proof stays required. registry:Host@2528,whole:Route@1156,whole:Route@1245,whole:Route@1617,whole:Route@1636,whole:Route@193,whole:Route@2784,whole:Route@5131,whole:Route@5454,whole:Route@574,whole:Route@706,whole:Route@945 c1866a8f72e4af95165144be943a39c715b59f5e881f66c14b67bb2056cce71e |
| internal/activator/wakeplan.go Service.spawnPlannedRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R3 [pf R3.2]: new; spawnPlanned's branch for a release of B that did not pass: only a *ReleaseError (unit proven gone) is B's failure (w.failed on a first wake) and, with a fallback, boots the good build through its own planGate as the existing fallback does; every other outcome records nothing of B and fails the wake; no file read; whole-branch review P2 (292b0b39): the proven release failure's reason is normalised through releaseFailureReason ("release: " / "release timed out: " prefixes, as overlap); no read added;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Preserve the typed fallback mode-change refusal through error wrapping so the complete wake path selects the fallback own database mode. Existing stop-before-fallback proof stays required. registry:Host@241,whole:Route@800 cd60cd7219e9ca93221e0d6a34997407ebdd5753928e8c5fe6cd130d24e0d391 |
| internal/activator/wakeplan.go Service.spawnPlannedWorker legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Preserve the typed fallback mode-change refusal through error wrapping so the complete wake path selects the fallback own database mode. Existing stop-before-fallback proof stays required. whole:Route@1191,whole:Route@1852,whole:Route@342,whole:Route@563 376fddf9e5820f3d20a37ea890724eb23ffce1939a9e91ffc74b511f70e3ee4f |
| -internal/host/agent.go fastConvergeLoop authority B3 rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): every pass context carries the box's lifetime judge (provision.WithLifetimes) and the reconcile config is boxProvisionConfig's; read sites unchanged, offsets moved; B3 authority retained;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 12: its pass config is now BoxProvisionConfig(reg, os.Getenv, judge, configure) (BoxProvisionConfig replaces boxProvisionConfig: the hub predicate hubArmed and, on the hub, ReconcileConfig.FleetOwners from hubFleetOwners); a call, no read site; read sites unchanged (2); B3 authority retained.;rev3=census-ruling-stateless-replicas-1;basis=Hand the service coordinator's Tick to the existing fast tick; no timer or new read site. whole:Route@7763,whole:Route@8326 4db357c078847187db9f23b2bd60aedd4af649af9795586bd8ea0ff54c9a37c4 |
| +internal/host/agent.go fastConvergeLoop authority B3 rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): every pass context carries the box's lifetime judge (provision.WithLifetimes) and the reconcile config is boxProvisionConfig's; read sites unchanged, offsets moved; B3 authority retained;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 12: its pass config is now BoxProvisionConfig(reg, os.Getenv, judge, configure) (BoxProvisionConfig replaces boxProvisionConfig: the hub predicate hubArmed and, on the hub, ReconcileConfig.FleetOwners from hubFleetOwners); a call, no read site; read sites unchanged (2); B3 authority retained.;rev3=census-ruling-stateless-replicas-1;basis=Hand the service coordinator's Tick to the existing fast tick; no timer or new read site. Task 3b: give the existing fast loop the existing full-pass signal even when the change index is disarmed, so a stateless wake requests reconciliation without a new timer or bucket poll. whole:Route@7790,whole:Route@8353 6cc4029393c6b6394abe60eb2c6468264ed4c4fa063fc7888dc2ae5a88341c5d |
| internal/host/agent.go fastTick legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=PROPOSED-s3-change-index;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=observes the change index before any pass (observeIndex), runs the backstop's requested full pass and a scoped pass for moved app scopes (indexTick), and arms the canary pointer gate on the sweep (canaryPointerGate) only on a tick whose own index observation succeeded; read site unchanged, offset moved;rev3=census-ruling-stateless-replicas-1;basis=Call coordinator Tick on the existing tick before convergence; client renews held terms only at the pinned interval. Existing registry read unchanged. registry:Host@4776 717574378829734fb3461a7ec0a4e4e9089466745685d39008ad51b571ddf993 |
| internal/host/agent.go haRecordFacts legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1a;basis=new (region HA P1a), the agent as carlos: activator.Config.Record, the closure the HA classification calls on a lifetime index miss: opens the deployment store once (openDeployStore, kept under a mutex) and reads the host's record through judgedRecord(store, judge, release.RouteAccount(rt), rt.App, rt.Host) (CI fix: provision.ReadRecordJudged under the box's lifetime judge, which also GETs the host's incarnation slot control/host-incarnations/<host>.json from the same deployment store; a record the slot no longer vouches for, or a tombstone, reads as os.ErrNotExist; a nil judge, host claims on, is provision.GetRecord exactly), turned into a lifetime entry by provision.LifetimeEntryOf; the reads are the row it is handed (registry:App, registry:Host, whole:Route); the record is the console-written deployment record the reconcile passes already read; an open or read error is returned and the wake fails closed; root never calls it;rev3=census-ruling-stateless-replicas-1;basis=Return RecordFacts with lifetime identity, Coordinator and ReplicaDeploy from the same judged record object; same store and record reads, no extra GET. registry:App@596,registry:Host@604,whole:Route@591 db6d777c93afde9836873ce72b6cbb62a55567eb3fb01f85f7e1e12274e0c66d |
| internal/registry/registry.go Registry.Fingerprint legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user); the remote arm, unchanged, in the process that holds a remote handle: census-ruling-seeded-instances's body with the row's lifetime pair (incarnation, serving_seq) folded into the edge's change poll, each only when non-zero, so a registry with no pair digests as before; self-serve moves 1 Task 7;rev3=census-ruling-regional-domains-447;basis=#447 Task 4: hashes regional_domains (host, target, account, app, region; created_at not) over the same fresh connection, with a section marker written only when a row exists, so a registry with no regional rows digests as before; the one added site is that SELECT (+file:Query) on the box's own registry database, as carlos; no file path read;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): review R1 finding 1: the routes SELECT also reads host, kind, account, app, platform and fingerprintForwardInert (one CASE over the ForwardForbidden columns), and every row folds host, kind, account and app (tagged, quoted), platform when set, and forward_inert=0 for a forward row that is not inert, so a rowid reused by another hostname, an in-place account or app rewrite, or a stray forbidden column moves the edge's change poll. Same one SELECT per table on the same fresh connection to the box's own registry database, as carlos; no table, file or bucket read added; a digest, never a decision.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5): the SELECT also reads fleet_label and, only when it is set, hashes "fleet_label=<q>" into the digest, so labelling a row moves the edge's reload fingerprint. Read sites unchanged (33). Registry side, not root; an unlabelled registry's digest is byte-identical.;rev3=census-ruling-stateless-replicas-1;basis=Read the additive stateless projection in the existing registry SELECT and hash only when set; no new read source. file:Exec@284,file:Open@188,file:Query@368,file:Query@5758,file:Query@6237,file:Query@7223,file:Query@7919,file:Query@8831,file:Query@9888,registry:ClaimIncarnation@1448,registry:ClaimIncarnation@4666,registry:ClaimIncarnation@4743,registry:ClaimOwner@1492,registry:ClaimOwner@4867,registry:ClaimOwner@4932,registry:ClaimRowID@1511,registry:ClaimRowID@4959,registry:ClaimRowID@5025,registry:ClaimStamp@1473,registry:ClaimStamp@4776,registry:ClaimStamp@4840,registry:Incarnation@1556,registry:Incarnation@5246,registry:Incarnation@5310,registry:ServingSeq@1575,registry:ServingSeq@5337,registry:ServingSeq@5400,registry:Text@158,registry:path@207,registry:remote@55,registry:remote@87,whole:remoteClient@57,whole:remoteClient@89 20459fd46b63a9ec4eee58920a98ed4a2d01fdaad6a374d66654ba74650d847a |
| @@ -99,6 +114,9 @@ internal/rollout/failures.go FailureBook.saveLocked authority E3 rev3=PROPOSED-p |
| internal/rollout/failures.go OpenFailureBook authority E1,E3,J1,J4 fix1-merge-review;basis=Loads schema-three durable generations and refuses unsafe identity recovery on entropy failure.;rev3=census-ruling-stateless-replicas-1;basis=Load the additive replica_releases carrier from the same existing failure-book ReadFile; unchanged schema acceptance, identity recovery, reconciliation and read site. No additional read. file:ReadFile@136 b92f6a033f129bffb158e8768b1b14ee88e855f67c2f0da360c65c93d27d8cf8 |
| ship_check.go rootfsCheck.runArgs legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-1;basis=root-input (J4, as main's db.go units); the carlos CLI on a person's machine, as the person (no box unit): new (rootfs Plan 1), builds the docker or podman run argv for one check container; the scanner matches the word Command, here a field of release.Process (a process's argv), not os/exec; reads no file; decides nothing for root;rev3=census-ruling-rootfs-check-volumes;basis=R2 P1: the data and run volume mounts (-v) now carry :nocopy through rootfsCheck.volumeMount, so Docker and Podman never fill an empty check volume from the image directory at the mount point (which would reset the prepared owner and mode); same volumes, same paths, same probe mount, nothing else in the argv changed. Runs on the person's machine as the person; no box unit; no read added.;rev3=census-ruling-stateless-replicas-1;basis=Stateless local checks mount only the run volume and omit the database mount; same probe read, no new read. file:Command@887,file:Command@971 e684fd3273527a209460ed81e5bcd472a4282f46830fe580e5f07f0b0d876684 |
| internal/activator/activator.go Service.doWakeOnce legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: The former doWake body, not deleted logic: refresh/admit/fence/layout checks remain. Select and verify the actual staged identity before serving Acquire; use canonical mode to call doStatelessWake. Keep SQLite acquire/restore/seed/marker/replicate only in the stateful arm, with the post-acquisition selection recheck and existing cleanup proofs. registry:DBPath@1703,registry:DBPath@1719,registry:DBPath@1846,registry:DBPath@1857,registry:DBPath@31060,registry:GoodVersion@17696,registry:Host@1532,registry:Host@1607,registry:Host@1685,registry:Host@1837,registry:Host@2171,registry:Host@4121,registry:Host@581,registry:Host@6378,registry:Replication@16323,registry:Replication@16452,registry:Replication@16471,registry:Replication@16552,registry:Replication@30963,registry:Replication@31095,registry:Seed@19785,registry:Socket@1732,registry:Socket@1748,registry:Socket@1871,registry:Socket@1882,registry:Stateless@11806,registry:Stateless@11860,whole:Route@10081,whole:Route@10211,whole:Route@10839,whole:Route@11288,whole:Route@11507,whole:Route@11595,whole:Route@11704,whole:Route@11708,whole:Route@12261,whole:Route@12562,whole:Route@13867,whole:Route@14544,whole:Route@15425,whole:Route@1630,whole:Route@16303,whole:Route@16554,whole:Route@17899,whole:Route@18344,whole:Route@18571,whole:Route@18925,whole:Route@19886,whole:Route@19957,whole:Route@2066,whole:Route@2071,whole:Route@2125,whole:Route@2131,whole:Route@2197,whole:Route@2205,whole:Route@22369,whole:Route@24227,whole:Route@24873,whole:Route@26180,whole:Route@26334,whole:Route@26833,whole:Route@26903,whole:Route@27490,whole:Route@28575,whole:Route@29006,whole:Route@29214,whole:Route@29268,whole:Route@30197,whole:Route@30382,whole:Route@31172,whole:Route@3156,whole:Route@31584,whole:Route@31633,whole:Route@32011,whole:Route@3250,whole:Route@3317,whole:Route@33233,whole:Route@33328,whole:Route@34169,whole:Route@361,whole:Route@4011,whole:Route@566,whole:Route@5747,whole:Route@6006,whole:Route@6268,whole:Route@6273,whole:Route@6330,whole:Route@6336,whole:Route@6405,whole:Route@6413,whole:Route@6729,whole:Route@6790,whole:Route@6888,whole:Route@7853,whole:Route@8112,whole:Route@8955 ab47c53cd888934d1aa84bc573883301014fec5e142d877100e18cd932d356ca |
| +internal/activator/escrow.go ExecBackend.escrowMintGuardWithAuthority legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: prior mint decision moved intact under the wrapper, except its authority test now selects by verified mode. Reads only the existing escrow bucket and local conflict marker via existing helpers; keyless, no-store and bucket-knowledge behavior unchanged for stateful. registry:Host@696,whole:Route@1082,whole:Route@138,whole:Route@222,whole:Route@304,whole:Route@540,whole:Route@779,whole:Route@916 571c358d71cfe03d93f1a3fa4c67465aebe4c139b92bf593e3646c45490c0f35 |
| +internal/activator/escrow_authority.go ExecBackend.followerEscrowEnv legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: require a readable complete sealed trio from the existing files manifest, restore missing local files through the existing beneath/no-replace helper, capture env and compare local trio/minted variables against escrow before returning it. Local reads remain under the classified host data directory with ReadBeneathLimit; same sealed bucket keys, no mint, publisher or remote write. Conflict refusal uses the existing marker. registry:Host@1065,registry:Host@1351,registry:Host@392,registry:Host@824,whole:Route@1185,whole:Route@1260,whole:Route@1695,whole:Route@1818,whole:Route@322,whole:Route@479,whole:Route@599,whole:Route@709 a91dc2bfff249c85803712c67aee834ef0dec73a15e58cd1744293f1ad34a749 |
| +internal/activator/escrow_authority.go ExecBackend.holdsEscrowAuthority legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: inspect verified route mode, use the existing held coordinator lookup with Err/Lost for stateless, otherwise the original holdsLease; no acquisition, I/O or process stop. registry:Host@111,registry:Host@153,registry:Stateless@74 b0494d2c2e374a7780705665f1d80e584aa7783a551ffc28f4d7d3e7b1afe8e4 |
| internal/activator/hasecrets.go ExecBackend.launchEnvLayerForMode legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: The unchanged former launchEnvLayer body under a private helper: existing HA/escrow/captured-file reads retained. The wrapper selects post-merge environment stripping for a verified stateless launch. registry:Host@252,registry:Host@506,registry:Host@651,whole:Route@161,whole:Route@301,whole:Route@342,whole:Route@378,whole:Route@415,whole:Route@556 6ce4a91ce90cd179ca8ff69a1554e6cf9643a466e42705699119f52d46fe297c |
| internal/activator/replicaobservation.go ObservedReplicaRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Read route Account, App and Host only to match the attempt-local observation carrier; refuse absent/stateful/incomplete/mismatched evidence, return copied deploy state and canonical target. No store or filesystem read, no authority granted. registry:Account@283,registry:App@307,registry:Host@328 17cf71ccf92a913a42bef47ea461888ab0045b2ed7acabc81648e55cca322bbb |
| internal/activator/rootfsrelease.go Service.runReleaseAdmitted legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Extract existing runner unchanged except optional pre-exec durable release transition after local admission and before any command; same staged process reads, stop/proof and exec gates, no new filesystem path. registry:Host@216,whole:Route@3085,whole:Route@3314,whole:Route@3802,whole:Route@3831,whole:Route@5879,whole:Route@621,whole:Route@6347,whole:Route@6624,whole:Route@7054,whole:Route@849,whole:Route@934 de8d9d6b31ac2b8cf2c34aaca32ecfbdd2c8966f75def906e3baef5bb409d109 |
| @@ -115,6 +133,7 @@ internal/activator/stateless.go withStorageMode legacy accepted-legacy accepted- |
| internal/activator/statelessrelease.go Service.PrepareStatelessRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Read durable deploy evidence and canonical target via existing-record observation seam; use coordinator authority only for this path, persist releasing before exec and require proof plus SafeUntil before success; commandless binary verifies staged artifact separately; R11 lets the current term retake pending via the typed begin gate; R12 follows renewed SafeUntil through the existing command supervisor instead of a fixed initial context deadline; no new store polling or direct typed record writer callsite. Fix round 1 replaces the frozen-carrier re-observation with an identical released writer replay; command execution, proof and authority gates remain. registry:Account@544,registry:App@574,registry:GoodDemand@2971,registry:GoodDigest@2956,registry:GoodVersion@2940,registry:Host@1170,registry:Host@224,registry:Host@3027,registry:Host@3085,registry:Host@3301,registry:Host@3369,registry:Host@601,whole:Route@3094,whole:Route@3101,whole:Route@3653,whole:Route@483 d4429770206e5905e3789157cbf222504cd34d0b7a4e22c765aee1b24a3e5e61 |
| internal/activator/swap.go Service.Swap legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Verify the target canonical mode and prepare its durable stateless release before stopping the incumbent. A mode change forces the existing proven hold path; same-mode stateless overlap uses local lifecycle gates and the final current-record check, without a serving lease. whole:Route@1042,whole:Route@1051,whole:Route@1232,whole:Route@1332,whole:Route@1421,whole:Route@1500,whole:Route@1745,whole:Route@785,whole:Route@801,whole:Route@992 04b35d9e1b21a082f01a3327c07ae483efc8a9ee04ef2512ff92c2730a63323c |
| internal/activator/wakeidentity.go Service.currentWakeRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Extract existing registry and labelled fleet record recheck for reuse without a serving lease; return the observed row and record and refuse a nil record. No writer or new path. registry:Assigned@1387,registry:Assigned@1597,registry:Assigned@427,registry:Host@1062,registry:Host@1229,registry:Host@1522,registry:Host@198,registry:Host@296,registry:Host@790,registry:Host@933,whole:Route@1146,whole:Route@146,whole:Route@1622,whole:Route@344,whole:Route@348,whole:Route@405,whole:Route@416,whole:Route@457,whole:Route@540 91b83049c05e172b4a5fa230b1e012bfb27edd9ae330d82edd85cc29bc0d957c |
| +internal/host/fleetbind.go statelessBindingPublisher.publish legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: consume the applied record and serving route already read by reconcile, check instance/account/app/assignment/status/fleet/box and exact held coordinator lifetime, then publish the existing binding key. A per-host state cache excludes expiry-only renewals and avoids unchanged binding I/O. No instance-record scan or root exec; no typed record writer added. registry:Account@273,registry:App@302,registry:Assigned@323,registry:Host@250,registry:Provisioned@208,registry:ServingVersion@1012,registry:Stateless@155,registry:Status@226 80eedea2f893c34d9e9ce3711299871fd291f339f35f17c6736df0b5abe3a3be |
| internal/registry/registry.go Registry.SetServingMode legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: A narrow service-user SQL UPDATE projects serving_version and stateless together and excludes forward rows. Remote form dispatches to the same method; it grants no launch authority. file:Exec@247,registry:remote@114,registry:remote@84,registry:sql@247,whole:remoteClient@116,whole:remoteClient@86 15b731f3d6e5fb0d7cad3194b035624fc99d7b24d923b27bbe71d32f6fa072f3 |
| internal/replicas/coordinator.go ChangeCoordinator legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-1;basis=Generate a fresh 128-bit coordinator term using crypto/rand.Read; no file path or process input added. file:Read@472 e50ce5a352b3022a1ee6375fbfee315a5d2fcaeb4f4a25f4e33a5a10e3000a67 |
| internal/activator/activator.go Service.startSidecar legacy accepted-legacy accepted-legacy;rev3=fix1-merge-review;basis=Uses the sidecar's own fallback after a flag decline; agent lifecycle remains legacy.;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Propagate the actual parent generation storage mode to its legacy sidecar environment; preserve existing ownership, build and termination gates. registry:Host@1830,registry:Host@282,registry:Stateless@121,whole:Route@1315,whole:Route@1378,whole:Route@1777,whole:Route@1968,whole:Route@487,whole:Route@550,whole:Route@609,whole:Route@651,whole:Route@781 0cea2de8439b8a5adabfd95524f76641946c6def8a80609291514c657a8ef487 |
| @@ -125,13 +144,21 @@ internal/activator/backend_exec.go ExecBackend.spawnUnitFrom legacy accepted-leg |
| internal/activator/backend_exec.go ExecBackend.startGenFrom legacy accepted-legacy accepted-legacy;rev3=census-ruling-zddr4;basis=Census ruling zddr4: changed legacy row; the generation socket path is chosen through genLayout on the same row's Host, an over-long flat host is logged and keeps its canonical socket as a foreign row does, and the leftover canonical link is cleared for any spawn on the canonical socket. Boundary: agent-side, running as carlos; generation socket directories under the agent's own /run/carlos tree; no root decision; no registry, /data, release or claim read beyond what the unit read before.;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. registry:Host@1084,registry:Host@1709,registry:Host@1871,registry:Host@380,registry:Host@436,registry:Host@685,registry:Socket@1126,registry:Socket@1615,registry:Socket@1745,registry:Socket@328,registry:Stateless@2033,whole:Route@1933,whole:Route@315,whole:Route@960 789f88411d73dafbce78d76cb41186870aae9bd16630f237836f331e6d14cfed |
| internal/activator/cmd.go Service.RunCmd legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): admits one run against an awake entry under the agent's own lease, fence and swap checks; it starts nothing itself and root validates what it later names;rev3=census-ruling-edge-request-records;basis=passes nil for begin's new req parameter; no read added;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R: a carlos run is refused with ErrCmdBusy while a release record of the host is open (a.releaseOps[rt.Host], in-memory), as a run already in flight refuses it; new site +registry:Host (that map lookup); adds a refusal only;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 7a: AfterSettled honoured on every path (called before return on each path that starts no unit, else by the settle that proves the unit gone); a rootfs run is refused as a lost lease (CmdStoppedError StopLeaseLost) when its entry is not under the lease watch (residentWatchedLocked), and, off a.mu, when the replica's in-memory SafeUntil leaves less than oneShotStartLead (oneShotHeadroom); new sites are e.route.Rootfs() and a log line; adds refusals only Task 9 (PF-17): a session (spec.TTY) takes the entry's tty slot and a run its cmd slot (holdSlot), the hold carrying its role (newCmdHold); each is refused only for its own role (holdBusyLocked: ErrCmdBusy or ErrTTYBusy), so a run and a session coexist; a release command (a.releaseOps) refuses a run only, since the session's tty unit is its own; no read added, read sites unchanged Task 12 fix round 1 (Astra P1, incarnation binding): a session (spec.TTY) is refused with ErrCmdIncarnation, under a.mu, at admission (before the hold is attached, so nothing of it runs) and again at the last check before the start, unless the awake entry's row lifetime (e.route.Incarnation) equals spec.Incarnation, the lifetime the box's grant authorized; Task 12 fix round 2 (revised ruling): only a mismatch refuses, and 0 matches 0 (a record and row with no lifetime fields); a run is not checked; refuses more, starts nothing new, no read added beyond the in-memory e.route field (sessionIncarnationLocked);rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Take command/TTY mode from the actual serving generation alongside the existing captured environment; no authority comes from a route flag. file:Prepare@2688,file:Prepare@2722,registry:Host@1502,registry:Host@2098,registry:Host@7932,registry:Host@9168,registry:Kind@437,registry:Stateless@5132,whole:Route@683,whole:Route@8336,whole:Route@869,whole:Route@8800,whole:Route@9333 d056f3f6b1bc2972c73332ee5014f25f5365068fe6f9d54ab65a3cd6ccb98f78 |
| internal/activator/cmdunit.go ExecBackend.cmdVars legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): composes the command's environment over the serving generation's launch snapshot; the host comes from the row, never from a tenant file;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. registry:Host@341,whole:Route@447 3c723f8e29d4e515f81294ca68646e9c5279f0e780c45873df797664a358972a |
| +internal/activator/escrow.go ExecBackend.escrowMintGuard legacy accepted-legacy accepted-legacy;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 4: new: on a box that is not ready refuses every mint (ErrEscrowNotReady); otherwise, once and only when a producer would mint, bucketEscrowEnv, and refuses (ErrInstanceKeyDeferred) when the escrowed env holds the variable; a mint it allows is noted in memory; only refuses Fix round 0 (controller readiness ruling): with no files store it is nil, and the producer mints as before 3a; with a files store and no sealing key it reads the bucket manifest at the mint (keylessEscrowed, fresh) and refuses (ErrEscrowNotReady) when the bucket holds any sealed item or the cutover marker for the host, and otherwise lets the mint go ahead (logged once); only refuses. Fix round 1: with a key it refuses while the conflict marker exists or while this box does not hold the host's lease (ErrInstanceKeyDeferred); its bucket read is bucketManifest, the preparation's shared read unless fresh (the backfill); without a key its keyless read is the same, with no cache across launches (P1-3); only refuses. Fix round 2: no longer notes the mints it allows in memory; only refuses.;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: wrap the prior mint decision so every stateless mint checks live coordinator authority and escrow readiness, even after the cached bucket read; stateful paths retain the original behavior. registry:Stateless@164,whole:Route@148,whole:Route@260,whole:Route@379 c5b2b0ceabedc9759b5c1232291f76144502ec6f74fcb9c2d077d22256956167 |
| +internal/activator/escrow.go ExecBackend.escrowedLaunchEnv legacy accepted-legacy accepted-legacy;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 4: new, the launch path for an eligible host: captureLaunchEnv once, publishEscrowAt over those bytes, SealedAcknowledged on the commit, and the env parsed from the captured bytes; on a supersession escrowReread and the launch preparation again (ensureAdminTokenFor, ensureInstanceKeyFor) once; a not-ready box launches only a host its ledger shows escrowed; the agent as carlos (carlos-edge.service), no root caller Fix round 0 (controller readiness ruling): before the capture, the box's mode: no files store, instanceEnvLayer exactly as before 3a (logged once); no sealing key, a host whose ledger shows it escrowed launches on instanceEnvLayer (logged), otherwise keylessEscrowed (the answer this launch's restore read, within haSecretsBudget, else one GET) refuses when the bucket holds an escrow and launches on instanceEnvLayer when it holds none; nothing is published in either. Fix round 1: ends the launch's preparation; refuses while the conflict marker exists, and with a key while this box does not hold the host's lease; an ALERT from the publish fails the launch; the keyless decision uses the preparation's read. Fix round 3: a publish that answers errEscrowNoLease (the lease lost before the commit) refuses the launch with an error saying so, never the later-launch fallback. Fix round 4: a publish that answers errEscrowUnreadable or ErrEscrowNotReady (the manifest or sealed env could not be read, or does not open here) refuses the launch, never the later-launch fallback; only refuses.;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: followers take read-only escrow verification/restore and never open the publisher; stateless coordinator requires ready escrow. Existing stateful publish, first-launch and conflict branches preserved. registry:Host@1012,registry:Host@1115,registry:Host@1242,registry:Host@1390,registry:Host@145,registry:Host@1545,registry:Host@1630,registry:Host@1798,registry:Host@2000,registry:Host@2262,registry:Host@2423,registry:Host@2879,registry:Host@3282,registry:Host@3450,registry:Host@3571,registry:Host@3745,registry:Host@3961,registry:Host@441,registry:Host@838,registry:Host@967,registry:Stateless@158,registry:Stateless@249,whole:Route@1162,whole:Route@1313,whole:Route@1452,whole:Route@1678,whole:Route@1907,whole:Route@198,whole:Route@2165,whole:Route@2325,whole:Route@238,whole:Route@290,whole:Route@408,whole:Route@534,whole:Route@577,whole:Route@622,whole:Route@672,whole:Route@719,whole:Route@894,whole:Route@938 a3f7e5200a41b7623196c92f651a9ce56fd7cd5cf4f7453f8f43c5a3cb9a6c3c |
| +internal/activator/escrow.go ExecBackend.restoreEscrowIfMissing legacy accepted-legacy accepted-legacy;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 4: new: checks each escrowed file with instancefs.OpenBeneathOrAbsent beneath the row's data directory; when one is absent, hostfiles.Open of the host's manifest, ReadSealed of each missing item, and writeIfAbsent (instancefs.WriteAtomic of a temp, then RenameBetweenNoReplace, so a present file is never replaced; EnsureDirBeneath for the files directory, 0700); on a box that is not ready it refuses unless the ledger shows the host escrowed and the env file is here; the agent as carlos (carlos-edge.service), no root caller Fix round 0 (controller readiness ruling): with no files store it does nothing (logged once); with no sealing key it restores nothing: a ledger here and an env file here go on, otherwise keylessEscrowed refuses when the bucket holds an escrow and goes on as before 3a when it holds none. Fix round 1: the conflict marker first, then the mode (P2-5): no files store, nothing; no key, the preparation's keyless read before any file check. With a key, each trio file is checked with OpenBeneathOrAbsent (a link or FIFO is not missing); the bucket is read (bucketManifest, the preparation's one GET) only for a missing env file, or a missing trio file the ledger says was escrowed, or with no ledger once per agent start (P2-6); the same writes. Fix round 2: the ledger is read through ledgerFor, and while it is untrusted (its write and the stale ledger's removal both failed) a missing trio file always reads the bucket; the same reads and writes. Fix round 3: the ledger no longer decides a restore: a missing trio file reads the bucket unless this process itself saw the bucket's manifest for the host (its read or its commit, escrowState.known) without the item; the same reads and writes otherwise. Branch fix R1 P1-3: select sealed escrow against Route.Incarnation before decrypting, restoring, minting or checking divergence: lower non-zero escrow is retired in the selected view, higher refuses, equal and zero-stamped retain behavior. Publication stamps the current lifetime atomically, drops prior-lifetime cached stamps, and never treats retired escrow as a committed successor. Same storage paths; historical objects retained. Branch fix R2: remove incarnation selection and stamping per Paul's ruling; restore pre-030ce7f9 hostname-scoped escrow behavior. No read added. Same-key hostname reuse can inherit predecessor secrets; a changed key refuses. Keep the uncertain-commit and CAS-recovery read-failure refusals.;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: wrap stateless restore errors with the approved shared-secrets waiting sentinel. Existing safe restore reads and writes are unchanged. registry:Host@1155,registry:Host@1273,registry:Host@1981,registry:Host@266,registry:Host@2849,registry:Host@699,registry:Host@780,registry:Host@826,registry:Host@929,registry:Stateless@137,whole:Route@1782,whole:Route@1878,whole:Route@328,whole:Route@369,whole:Route@442,whole:Route@488,whole:Route@605 84c7d7c504ec557a2610830fc1e7c478c1d2072fca8c174a24daebf51eb3523b |
| internal/activator/genbackend.go ExecBackend.StartStaged legacy accepted-legacy accepted-legacy;rev3=census-ruling-zddr4;basis=Census ruling zddr4: changed legacy row; the same layout switch goes through genLayout on the same row's Host, so an over-long flat host takes the existing foreign arm on its canonical socket. Boundary: agent-side, running as carlos; generation socket directories under the agent's own /run/carlos tree; no root decision; no registry, /data, release or claim read beyond what the unit read before.;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: haSpawnGate(rt) first (+whole:Route); otherwise unchanged; only adds a refusal;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: refuses an unknown runtime; a rootfs-v1 row runs the HA containment check (its refusal a rootfs refusal) and then starts through startStagedRootfs; binary rows unchanged; reads Runtime;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. registry:Host@1440,registry:Host@2243,registry:Host@763,registry:Host@818,registry:Host@940,registry:Runtime@208,registry:Socket@1351,registry:Socket@1502,registry:Socket@1609,registry:Socket@1620,registry:Stateless@103,whole:Route@1498,whole:Route@162,whole:Route@2009,whole:Route@475,whole:Route@567,whole:Route@602,whole:Route@698,whole:Route@731,whole:Route@998 a4540b06d137b9e4bbb9f1a556c23595b819b000bcc822584649ab77863b0e7b |
| internal/activator/hasecrets.go ExecBackend.launchEnvLayer legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1a;basis=new (final fix F2), the agent as carlos: a launch's env and key layer: classifies the host (haHostNow; an error fails the launch), instanceEnvLayer unchanged for a non-HA host; for an HA host captureLaunchEnv once, haSecretsReady over those bytes, a test seam (haLaunchHooks.afterPublish, nil in production), and returns the env parsed from the captured bytes, never a later read; +registry:Host x3 (the error messages), +whole:Route x4;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 4: for a host that is not HA and is eligible for escrow, escrowedLaunchEnv (a new unit on this card) instead of instanceEnvLayer; the HA and other paths unchanged; +whole:Route x2; the agent as carlos (carlos-edge.service), no root caller;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Dispatch stateless environment composition to statelessLaunchEnv; the existing HA/escrow/file-read body moved to launchEnvLayerForMode. No new secret authority or storage source. registry:Stateless@129,whole:Route@179,whole:Route@249 e2f050571164c85352de22451144fa9b958c89b73518749626ac3f5b4df3730f |
| internal/activator/rootfs_service.go residentShaped legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 8: an instance with a runtime that does not hibernate; reads Kind, Hibernate, Runtime;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Include projected stateless binary instances in local lifecycle/residency selection. Launch still requires the selected build canonical declaration; this flag never bypasses database preparation by itself. registry:Hibernate@80,registry:Kind@54,registry:Runtime@97,registry:Stateless@117 498cd49f9495c5400db1d3d55404c0c9e7ffe91579bd562f41a28c73a117e3e2 |
| internal/activator/rootfsenv.go ExecBackend.rootfsWorkerVars legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W, D1: a worker's launch environment is web's launch environment for the generation (the handle's LaunchEnv, the agent-owned variables as web got them), with the generation's control socket only when web's listener bound, then rootfsVars with the row's canonical socket and database path; nothing from a tenant or app is added;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. registry:Socket@261,registry:Stateless@145,whole:Route@192,whole:Route@224 2a5dd1174a0c08155c5b231184531d65f66f2f8cb5145ba8dacd981921620841 |
| internal/activator/swaphold.go Service.startPinnedAt legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-wake-latency-2;basis=times record, staged start and health with time.Now() and logs them with rt.Host after a healthy start (the new registry:Host site is that log line); no read added or moved;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 N1: genHealthy takes rt, so the health window is the route's runtime bound; same check;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Verify each actual pinned or fallback identity and its own canonical declaration. A mode mismatch returns to the full wake path instead of sharing another mode database setup; carry the verified selection to avoid a second canonical read. registry:Host@1620,registry:Host@2405,registry:Stateless@564,whole:Route@1765,whole:Route@2266,whole:Route@2580,whole:Route@489,whole:Route@772,whole:Route@872 572ac9ceb1dccdfa142986675e349a96006331ee7a5353e397b5764bd8fbda8c |
| +internal/host/fleetbind.go fleetBindingHook legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: stateless wake skips direct binding I/O and signals the existing reconcile full pass; stateful hook unchanged. registry:Host@341,registry:Host@521,registry:Stateless@127 f4bb473406cdac144f9c8606aa553e136d9ef5352d0388f671a5459876bd1a71 |
| +internal/host/fleetbind.go publishResidentFleetBindings legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: startup stateless rows signal the existing reconcile and are excluded by residentBindingHosts; existing registry read and stateful writes unchanged. registry:Stateless@384,whole:Route@370,whole:Route@489 38f258ab6a2e6b412a83998475f257be614dd6888c980b11dfe8384f15912ee4 |
| +internal/host/fleetbind.go residentBindingHosts legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: exclude Stateless as well as sidecars from the old uncoordinated startup writer; no I/O. registry:Host@114,registry:Host@200,registry:Stateless@149,whole:Route@100 1371ea9e1301f0d9e7654b3b545b5e58358147ac376fa1f50e82fd37ea42b523 |
| internal/host/rollout.go armRollout legacy accepted-legacy accepted-legacy;rev3=fix1-merge-review;basis=Comment-only clarification of failure-book saves; existing agent rollout setup remains legacy.;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: after the overlap scheduler arms, calls svc.ArmRootfs() so rootfs rows start only where the scheduler armed this boot; never on the refuseManaged path; no read added;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Bind Service.ReplicaDeployID to the same FailureBook the scheduler owns and bind RuntimeSelection to one CanonicalStatelessDigest read through the existing store. registry:App@2905,whole:Route@2900,whole:Route@3578,whole:Route@3662 62aae6f1f17d296a6c4786aa3add31a86bca4e85a2fca018c7e6697bb1f6c248 |
| internal/ops/hibernate_verify.go HibernatingHosts legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the same expression as FleetDBsWithSkipped's exclusion, Route.ActivatorLeased instead of Hibernate, so a resident rootfs row is drilled here;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Exclude projected stateless routes from per-host database freshness verification. Box-wide Litestream exclusion remains 3b-owned. registry:Backing@397,registry:DBPath@626,registry:DBPath@707,registry:Host@691,registry:Stateless@588,whole:Route@190 a9dc81dd32b8b49241b5ae6816af2c5346314dc7211389aff630ed5a6b679c12 |
| +internal/ops/litestream.go FleetDBsWithSkipped legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the box-wide litestream exclusion is Route.ActivatorLeased (hibernating rows, sidecars included, and every instance with a runtime) instead of Hibernate, so the activator alone replicates a resident rootfs database;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: collect stateless DB paths from the existing registry read and exclude them from flat/nested claiming, unit discovery and overlapping active unit trees; report discovered excluded files as skipped. No database, WAL or SHM modified; the existing HibernatingHosts exclusion supplies the maintenance half. file:Glob@1552,file:Glob@2055,file:Stat@3826,file:Stat@4756,registry:Backing@453,registry:DBPath@1181,registry:DBPath@1228,registry:DBPath@3195,registry:DBPath@3290,registry:DBPath@363,registry:DBPath@409,registry:DBPath@734,registry:DBPath@780,registry:Host@3238,registry:Stateless@3180,registry:Stateless@343,whole:Route@3166,whole:Route@329 5122a092c66f1d44fb98a7dbe1d8d4ac5d013ee8be178694548704af32441464 |
| +internal/provision/reconcile.go Reconcile legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from its reconcile loops: each listed record is observed through the box's lifetime judge (ObserveWith: the record, then its host incarnation slot) before the shape, channel and scope checks, a stale record is left out and an unjudgeable one protected; the removal phase observes a row's own record key when the pass holds none for it under that key, and deletes a held row whose record is gone or stale through DeleteIfHold; a nil judge (claims on) is main's body; registry read sites unchanged, offsets moved; fix round 1: the removal phase observes a row's own key only under an account the listing trusts, so a retired or unmaterialised account's row keeps record gone, and the pass arms its own context with the judge; Task 7: under a judge an existing provisioned row of the record's own app and account follows the existing-row rules (heldByVanishedPredecessor and retireHeldPredecessor's DeleteIfHold first, the record then minted on the same pass; the hold; installRowLifetime), each a separate write under the host's hold lock; registry read sites unchanged, offsets moved;rev3=census-ruling-instance-egress-sizes-328-329;identity=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=#328/#329 plan 1 Task 7: the pass reads its apps' policy objects (control/app-policy/<sqid>/<app>.json in the bucket) through the agent's PolicyCache, each verified with ReleasePub by apppolicy.VerifyKey (ed25519 over the policy's own domain line, bound to the account and app, unexpired, not future-dated; anything else is no policy), and carries the columns into its rows. New kinds registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each, all the assignment of a fresh row's columns (nr) from policies.cols; plus one whole:Route site, the existing row handed to policies.forRow. Other read sites unchanged, offsets moved; the agent's own pass, no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos, from its reconcile loops: after the scan, hands the in-scope records to cfg.Lifetimes (the box's lifetime index): Merge after a failed read or partial listing, Replace after a complete one, nothing on a dry run or with no index; the scan, judge and removal phases unchanged; the same 166 sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 2 and 5 (D5, spec §5.0): a seeded record over a row with a runtime is skipped and logged; a row with a runtime (or a new record with one) takes no seed; runtime and a rootfs row's hibernation are never converged from a record (a mismatch is logged; a record claiming a runtime its row lacks is not applied); reads Runtime of the record and the row; the box writes less; fix wave 1 (ceea6353, whole-branch P1-2): before minting a row for a record with no runtime and no row (both mint paths), the pass reads the app's kind marker once per app per pass (release.ReadAppKindMarker: one GET of the create-only kind.json from the release store s, through freshStore, validated by readAppKindMarker); a rootfs marker leaves the record unmaterialized and logged (an older console stripped its runtime), and a marker that cannot be read defers the mint this pass; a refusal before minting only, registry read sites unchanged, the box writes less; fix wave 2 (whole-branch r2 P1): the kind-marker read and its refusal apply only to a socket-backed instance record (DerivesPaths), so a static or upstream-backed record of a rootfs app, which carries no runtime by design, is minted as before with no read; fewer reads, registry read sites unchanged;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 10: the forward phase on the hub (FleetOwners set): the scan keeps the fleet-placed records it skips and counts records per host; a trash-only marker prefetch; disputed (failed-GET) hosts; armed, a host an in-scope and a fleet record both name is given neither, its journal waits and the removal phase keeps its row (+registry:Account, +registry:App, +registry:Host x2: the collision guard, its log line and report mark); the instance loop leaves a forward host; retirable excludes forward rows. Same record keys; writes only the registry (PutForward, DeleteForward); no bucket write.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 4, rules 2 and 9): after inScope, a record failing cfg.ownsRecord (on a fleet box, labelled for another box: rec.FleetBox != "" and != cfg.FleetBox) is skipped as out of scope, so it is never minted here; in the removal phase such a record no longer keeps the row (inScope && ownsRecord), so the row goes as record gone. Off a fleet ownsRecord is always true. Read sites unchanged (178). The agent's reconcile loops, not root; it mints less, never more.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 3: in the per-record loop, beside the RunSeen call, calls cfg.InteractiveSeen(rec) when the hook is set and the in-scope record carries an interactive-session marker (rec.Interactive != nil), once per record per pass, before the pass acts on it; the hook is the box worker's non-blocking note (Task 12). Same record keys and literal; no read added (registry read sites unchanged, 178); nothing written by the call; merge of origin/main 6f1f6ca6: main's fleet-box ownsRecord skip in the record scan and in the removal phase is kept as main has it (census-ruling-managed-fleets-1b); this branch's change is the same as above; read sites unchanged (178);rev3=census-ruling-stateless-replicas-1;basis=Task 3b: call the optional binding callback only for applied, owned stateless rows outside dry run. Reuses this pass record and route reads after existing collision, scope, hold, policy and shape checks; no new record read or typed writer. registry:Account@36655,registry:Account@37920,registry:Account@56184,registry:Account@56230,registry:Account@57074,registry:Account@57451,registry:Account@57677,registry:Account@57744,registry:Account@57790,registry:Account@57883,registry:Account@57925,registry:Account@58573,registry:Account@58831,registry:Account@59562,registry:Account@59610,registry:Account@60019,registry:Account@60065,registry:Account@60310,registry:Account@60735,registry:Account@61223,registry:Account@61959,registry:Account@62152,registry:Account@62498,registry:Account@63063,registry:App@36628,registry:App@37893,registry:App@56204,registry:App@56242,registry:App@57086,registry:App@57463,registry:App@57689,registry:App@57764,registry:App@57802,registry:App@57903,registry:App@58585,registry:App@58843,registry:App@59574,registry:App@59622,registry:App@60039,registry:App@60077,registry:App@60322,registry:App@60747,registry:App@61235,registry:App@61971,registry:App@62164,registry:App@62510,registry:App@63075,registry:ClaimOwnership@37242,registry:DBPath@46099,registry:DBPath@46114,registry:DBPath@46360,registry:DBPath@46963,registry:DBPath@46976,registry:EgressAllow@35741,registry:Gate@42444,registry:Gate@42584,registry:Gate@42871,registry:Hibernate@41116,registry:Hibernate@41314,registry:Hibernate@41379,registry:Hibernate@41718,registry:Hibernate@42069,registry:Hibernate@42379,registry:HoldOp@61704,registry:HoldOp@61795,registry:HoldOp@61930,registry:HoldOp@62306,registry:Host@26749,registry:Host@56163,registry:Host@57050,registry:Host@57427,registry:Host@57591,registry:Host@57697,registry:Host@58593,registry:Host@58799,registry:Host@59902,registry:Host@60174,registry:Host@60289,registry:Host@60612,registry:Host@60709,registry:Host@61100,registry:Host@61197,registry:Host@61411,registry:Host@61786,registry:Host@61921,registry:Host@62125,registry:Host@62198,registry:Host@62297,registry:Host@62472,registry:Host@62547,registry:Host@62633,registry:Host@63040,registry:Kind@37384,registry:Kind@37647,registry:Kind@46017,registry:Kind@46030,registry:Kind@46140,registry:Kind@46153,registry:Kind@46874,registry:Kind@46885,registry:Kind@55287,registry:Kind@61402,registry:Kind@61912,registry:Kind@62288,registry:Kind@62463,registry:Kind@62624,registry:PolicyExpiresAt@35766,registry:Pool@55373,registry:Provisioned@36604,registry:Provisioned@37869,registry:Provisioned@55332,registry:RateLimit@42957,registry:RateLimit@43108,registry:RateLimit@43395,registry:Region@55362,registry:Replication@41803,registry:Replication@41930,registry:Runtime@29406,registry:Runtime@29584,registry:Runtime@31789,registry:Runtime@40483,registry:Runtime@40537,registry:Runtime@40741,registry:Seed@44497,registry:SeedSource@43980,registry:Size@35757,registry:Socket@46065,registry:Socket@46080,registry:Socket@46377,registry:Socket@46933,registry:Socket@46946,registry:Stateless@47034,registry:Unit@45983,registry:Unit@45996,registry:Unit@46900,registry:Unit@46911,whole:ClaimOwnership@37245,whole:ClaimOwnership@37262,whole:Route@26731,whole:Route@26742,whole:Route@26760,whole:Route@28041,whole:Route@29901,whole:Route@29908,whole:Route@29948,whole:Route@30309,whole:Route@30647,whole:Route@31094,whole:Route@31145,whole:Route@31182,whole:Route@32854,whole:Route@33063,whole:Route@33402,whole:Route@33411,whole:Route@33457,whole:Route@35690,whole:Route@36249,whole:Route@36720,whole:Route@36730,whole:Route@37087,whole:Route@37094,whole:Route@37162,whole:Route@37485,whole:Route@38518,whole:Route@41469,whole:Route@46209,whole:Route@47147,whole:Route@47980,whole:Route@48025,whole:Route@48035,whole:Route@48905,whole:Route@49932,whole:Route@55398,whole:Route@55546,whole:Route@56643,whole:Route@57002,whole:Route@57384,whole:Route@62385,whole:Route@62970,whole:Route@63020 fc71ce39907ff045f2a33d4561fc42ab2ab7f36c500f1625ddca1141c4295f3f |
| internal/registry/forward.go Registry.PutForward legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 2: the only writer of a forward row's declared columns: refuses an argument whose kind is not forward; copies only the declared fields from its argument (Status ready, Provisioned true; no forbidden column is ever written); inside one IMMEDIATE transaction refuses a host a non-forward row holds (ErrHostHeld); keeps FleetBox while Region is unchanged; preserves the observational columns (+file:Exec, +file:QueryRow, +registry:Account, App, Channel, RateLimit, Region, Slug, +registry:Host x3, +registry:Kind, +registry:remote x2, +whole:Route x3, +whole:remoteClient x2).;rev3=census-ruling-fleet-routes-followups;basis=refuses up front, with the new sentinel ErrNotForward and before any read or write, an rt that is not a forward row (as before, now a sentinel), has an empty Host, or whose Region is not a fleet placement (registry.FleetPlacement); +registry:Host x2 and +registry:Region x2 read only the argument in those checks; the transaction and statement are unchanged;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5, rule 3), merged with main's ErrNotForward refusals (kept unchanged): the written row also carries FleetLabel = rt.FleetLabel and FleetBox = rt.FleetLabel; its conflict arm (forwardKept) writes fleet_label from the call and fleet_box as the call's label when set, else kept while the region is unchanged. The hub's forward phase in the agent, not root.;rev3=census-ruling-stateless-replicas-1;basis=Carry declarative Stateless into forward rows under existing transaction and shape guards; projection only. file:Exec@1255,file:QueryRow@1031,registry:Account@693,registry:App@670,registry:Channel@746,registry:FleetLabel@881,registry:FleetLabel@911,registry:Host@1085,registry:Host@197,registry:Host@234,registry:Host@419,registry:Host@594,registry:Kind@206,registry:RateLimit@773,registry:Region@428,registry:Region@720,registry:Region@84,registry:Slug@646,registry:Stateless@941,registry:remote@446,registry:remote@476,whole:Route@1288,whole:Route@531,whole:Route@539,whole:remoteClient@448,whole:remoteClient@478 dfabb444b451e5a15ebb7dfa39d5ac37b8156acaef52ea9dd766a9a7ea017ccd |
| internal/registry/registry.go routeArgs authority E3 rev3=census-ruling-seeded-instances;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user), wherever a route is inserted: Upsert, the cold handover restore and the import journal's inserts: the bind list from Registry.Upsert's body (and RestoreClaimRows'), with seed_source and import_gate added; E3, the same family as Registry.Upsert, whose body it came from;rev3=census-ruling-design-edge-rate-limit-358;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user), wherever a route is inserted: the bind list gains t.RateLimit for the new rate_limit column (routeCols and Upsert's conflict clause gain it too); the new kind is registry:RateLimit, one site; it binds the value and decides nothing; E3, as before;rev3=census-ruling-rootfs-apps-2;identity=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user);basis=the bind list gains t.Runtime for the new runtime column (routeCols, routeColCount 57 with main's rate_limit, and Upsert's conflict clause gain it too); the new kind is registry:Runtime, one site; it binds the value and decides nothing; E3, as before; re-digested at the merge of origin/main 3c33f2eb: main's assets_off and asset_gen (edge asset cache plan 1) bound beside runtime and rate_limit; routeColCount 59; re-digested again at the merge of origin/main 953b9fda: main's incarnation and serving_seq (self-serve moves plan 1) bound after asset_gen; routeColCount 61;rev3=census-ruling-instance-egress-sizes-328-329;identity=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user);basis=#328/#329 plan 1 Task 4: the bind list gains t.EgressAllow, t.Size and t.PolicyExpiresAt for the three new columns (routeCols, routeColCount 64, and Upsert's conflict clause gain them too); the new kinds are registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each; it binds the values and decides nothing; E3, as before;rev3=census-ruling-region-ha-p1a;basis=binds one more column, ha, as an integer from Route.HA (+registry:HA); keeps authority E3;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Tasks 2 and 5): binds three more columns, t.Assigned, b2iDB(t.Moved) and t.FleetLabel (routeColCount 65 to 68).;rev3=census-ruling-stateless-replicas-1;basis=Encode the additive Stateless flag in the shared SQL insert argument list; no launch authority. registry:Account@355,registry:Addr@83,registry:Addrs@451,registry:App@152,registry:Args@505,registry:AssetGen@818,registry:AssetsOff@804,registry:Assigned@916,registry:Backing@253,registry:BuildState@730,registry:Canary@216,registry:Caps@381,registry:CertExpiresAt@338,registry:Channel@177,registry:ClaimIncarnation@577,registry:ClaimOwner@611,registry:ClaimRowID@625,registry:ClaimStamp@597,registry:CreatedAt@492,registry:DBPath@116,registry:DNSCheckedAt@320,registry:DNSStatus@307,registry:EgressAllow@861,registry:Environment@366,registry:FleetBox@439,registry:FleetLabel@944,registry:Gate@484,registry:GoodDemand@680,registry:GoodDigest@666,registry:GoodVersion@651,registry:HA@909,registry:Health@460,registry:Hibernate@196,registry:HoldOp@639,registry:Host@49,registry:IdleSeconds@513,registry:ImportGate@760,registry:Incarnation@830,registry:Kind@65,registry:LastError@101,registry:MaxRunSeconds@528,registry:Moved@934,registry:NextDue@242,registry:Platform@294,registry:PolicyExpiresAt@884,registry:Pool@159,registry:PrevVersion@137,registry:Provisioned@407,registry:RateLimit@785,registry:Region@167,registry:Replica@565,registry:Replicas@547,registry:Replication@227,registry:Runtime@774,registry:Seed@423,registry:SeedSource@746,registry:ServingSeq@845,registry:ServingVersion@694,registry:Size@876,registry:Slug@57,registry:Socket@73,registry:Stateless@964,registry:Status@91,registry:StatusNamed@272,registry:Steering@472,registry:Tunnel@389,registry:Unit@431,registry:UpdateSettings@712,registry:Version@126 7eee5ee9dbec674fc8fcaa7ff759c2825d2d0572358a62256e5355d7713acb79 |
| internal/registry/registry.go scanRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user): main's body with the two new columns scanned;rev3=census-ruling-design-edge-rate-limit-358;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user): main's body with the rate_limit column scanned into Route.RateLimit; the new kind is registry:RateLimit, one site; no other read;rev3=census-ruling-rootfs-apps-2;identity=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user);basis=main's body with the runtime column scanned into Route.Runtime, before rate_limit; the new kind is registry:Runtime, one site; no other read; re-digested at the merge of origin/main 3c33f2eb: main's assets_off and asset_gen (edge asset cache plan 1) scanned beside runtime and rate_limit; routeColCount 59; re-digested again at the merge of origin/main 953b9fda: main's incarnation and serving_seq (self-serve moves plan 1) scanned after asset_gen; routeColCount 61;rev3=census-ruling-instance-egress-sizes-328-329;identity=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user);basis=#328/#329 plan 1 Task 4: main's body with egress_allow, size and policy_expires_at scanned into Route.EgressAllow, Route.Size and Route.PolicyExpiresAt after serving_seq; the new kinds are registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each; routeColCount 64; no other read;rev3=census-ruling-region-ha-p1a;basis=scans one more column, ha, into Route.HA (+registry:HA); routeColCount 64 to 65; keeps legacy;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Tasks 2 and 5): scans three more columns, fleet_assigned, fleet_moved and fleet_label, into Route.Assigned, Moved and FleetLabel. Any root caller of Registry.Get sees three more fields, which no root decision reads (grep: only the activator start rule, edge, provision and registry read them).;rev3=census-ruling-stateless-replicas-1;basis=Decode the additive stateless registry column; no launch authority. registry:Account@426,registry:Addr@194,registry:Addrs@516,registry:App@269,registry:Args@575,registry:AssetGen@885,registry:AssetsOff@1097,registry:Assigned@981,registry:Backing@351,registry:BuildState@800,registry:Canary@1151,registry:Caps@456,registry:CertExpiresAt@408,registry:Channel@299,registry:ClaimIncarnation@637,registry:ClaimOwner@673,registry:ClaimRowID@688,registry:ClaimStamp@658,registry:CreatedAt@559,registry:DBPath@230,registry:DNSCheckedAt@391,registry:DNSStatus@377,registry:EgressAllow@931,registry:Environment@440,registry:FleetBox@501,registry:FleetLabel@1002,registry:Gate@550,registry:GoodDemand@747,registry:GoodDigest@732,registry:GoodVersion@716,registry:HA@1059,registry:Health@526,registry:Hibernate@1127,registry:HoldOp@703,registry:Host@156,registry:IdleSeconds@584,registry:ImportGate@832,registry:Incarnation@898,registry:Kind@174,registry:LastError@216,registry:MaxRunSeconds@600,registry:Moved@1075,registry:NextDue@339,registry:Platform@1197,registry:PolicyExpiresAt@956,registry:Pool@277,registry:PrevVersion@253,registry:Provisioned@1221,registry:RateLimit@859,registry:Region@288,registry:Replica@1248,registry:Replicas@618,registry:Replication@323,registry:Runtime@847,registry:Seed@483,registry:SeedSource@817,registry:ServingSeq@914,registry:ServingVersion@762,registry:Size@947,registry:Slug@165,registry:Socket@183,registry:Stateless@1029,registry:Status@203,registry:StatusNamed@1172,registry:Steering@537,registry:Tunnel@465,registry:Unit@492,registry:UpdateSettings@781,registry:Version@241,whole:Route@1277 9d963b1c26c40211fbca564fcfcb3da8c077c6b09902f6f8eae75b8c9e255bc2 |
| @@ -141,21 +168,24 @@ internal/activator/activator.go Service.doWake legacy accepted-legacy accepted-l |
| internal/activator/backend_exec.go ExecBackend.StartWorkerStaged legacy accepted-legacy accepted-legacy;rev3=census-ruling-zddr3;basis=Census ruling zddr3: changed legacy row (comment-only change describing the shim placement); the same class as the accepted-legacy Manager.startIn and placementLive under fix1-merge-review (existing agent delegated-cgroup management remains legacy); no root decision; no registry, /data, release or claim reads. Boundary: the agent's own delegated cgroup subtree (including its scratch probe child), /proc/self, and pipes to and from its own parent, running as carlos.;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. file:Command@3507,registry:Args@227,registry:Args@378,registry:Host@1388,registry:Host@2610,registry:Host@3646,registry:Host@369,registry:Host@4532,registry:Host@473,registry:Host@589,registry:Host@685,whole:Route@1148,whole:Route@1692,whole:Route@2238,whole:Route@3459,whole:Route@3577,whole:Route@3607,whole:Route@4373,whole:Route@4463 064ad933d522ffbbf1cb335abafc545af7f81ee7b30a905425de32ca9a882aa2 |
| internal/activator/backend_exec.go ExecBackend.startSidecarChildFrom legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. file:Command@886,registry:Host@1348,registry:Host@1407,whole:Route@1166,whole:Route@150,whole:Route@480,whole:Route@840,whole:Route@955 e1841fe5edbc5e9e6f8f4a440a1ffe8d799cf97c4502f152ac23b97841fc95c2 |
| internal/activator/backend_exec.go ExecBackend.startSidecarUnitFrom authority E2 E40: claim-enabled raw backend refuses unsupported direct, placed and legacy-control launches before spawn. Claims-off body unchanged. TestPlan14GenerationBackendDirectBoundary, TestPlan14GenerationBackendControlBoundary, TestPlan14GenerationBackendAuxiliaryBoundary; each guard has an independent behavioral mutation. Agent-side refusal is not root reservation or containment evidence.;rev3=census-ruling-rootfs-apps-2;basis=newUnitProc now returns an error, which closes the log listener and fails the start; the sidecar launch and its E40 guards are unchanged; no read added;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. registry:Host@1073,registry:Host@1557,registry:Host@1632,registry:Host@1778,registry:Host@1891,registry:Host@1946,registry:Host@992,whole:Route@1109,whole:Route@1512,whole:Route@1673,whole:Route@1985,whole:Route@247,whole:Route@752,whole:Route@838,whole:Route@896 aa47e7c46fddcc3932930c59958286da83cb8910781c9f2c3e1d28539be6c0df |
| +internal/activator/escrow.go ExecBackend.EscrowSweep legacy accepted-legacy accepted-legacy;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 4: new, the agent as carlos (carlos-edge.service), no root caller, from escrowLoop: classifies each row against the rows handed in (Classify), keeps eligible rows known not HA from memory (haKnown, no read), and in host order from a round-robin cursor stats each escrowed file (stampAt) and publishes the changed ones, 8 at a time, at most 256 a sweep (sweepPublish); a box without a files store or key does nothing; opens nothing outside the rows' own data directories; writes only the hibernate bucket's files/0 prefix and the ledger Fix round 1: a host whose instance lease this box does not hold (holdsLease) is skipped, and one with a conflict marker counts as failing and is not published; the report is tallied through one lock (P1-4). Durability 3a Task 5: for each lease-held candidate, the host's held publisher (st.pub under the escrow lock) is handed to noteRawBaseline. Reads only manifests this process already holds (no request, no file opened); calls the detector, which logs and calls ExecBackend.OnRawSecret; nothing else changes. The +registry:Host sites are rt.Host as the state key and the detector's argument.;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: use coordinator authority for stateless projections and the unchanged serving lease for stateful rows; followers are skipped without I/O; no new poll loop or file path. registry:Host@1009,registry:Host@1046,registry:Host@1136,registry:Host@1292,registry:Host@1311,registry:Host@1462,registry:Host@1995,registry:Host@2341,registry:Host@2598,registry:Host@2672,registry:Host@536,registry:Host@800,registry:Host@938,whole:Route@1193,whole:Route@1197,whole:Route@1214,whole:Route@1301,whole:Route@1320,whole:Route@1471,whole:Route@1789,whole:Route@1997,whole:Route@2227,whole:Route@2343,whole:Route@2600,whole:Route@2674,whole:Route@356,whole:Route@519,whole:Route@587,whole:Route@653,whole:Route@706,whole:Route@771 0e7b85ae702f5cf4ff2e961787d7d3a8170ca1b0fa06b0991d6dc1b54f17bfa1 |
| +internal/activator/escrow.go ExecBackend.publishEscrowAt legacy accepted-legacy accepted-legacy;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 4: new: escrowReady and the layout checked, then publishEscrowLocked under the host's lock Fix round 1: refuses while the conflict marker exists or while this box does not hold the host's lease (P1-2), before anything is read.;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: replace the serving-lease-only gate with the mode-specific escrow authority gate; conflict, readiness, paths and operation lock unchanged. registry:Host@223,registry:Host@269,registry:Host@340,registry:Host@440,registry:Host@561,registry:Host@658,whole:Route@157,whole:Route@386,whole:Route@738 46104b1555879bade018485b2ae1d6542feec6381c948cc226b0bc54b80fef8c |
| +internal/activator/escrow.go ExecBackend.publishEscrowLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 4: new: reads <host>.env (unless the launch's capture is handed in), <host>/instance.key and <host>/report.token with readStamped beneath the row's data directory, seals what changed (StageSealed), DropRawSecrets of the constant raw names, commits, and writes the ledger (writeEscrowLedger: EnsureDirBeneath .escrow 0700, a 0600 temp, rename, fsync); an absent file stages nothing; a refused file publishes nothing for it; the agent as carlos (carlos-edge.service), no root caller Fix round 1: before staging, mintedConflict on the baseline it would replace, so a secret this box minted is never published over another escrowed value (P1-1). Fix round 2 (P1-1, P1-2, stale ledger): before staging, the write-once check (escrowDivergence, keyed digests only, no request): a staged instance.key or report.token whose escrowed item has another digest refuses the publish (escrowConflictFound); then, under the operation lock just before the commit, the lease again (holdsLease): lost, nothing is committed and the staged state is dropped; after a commit the ledger through keepLedger (written, else the stale one removed with RemoveBeneath under <data>/.escrow, else marked untrusted in memory). Fix round 3: escrowDivergence also holds the env's minted variables write-once (one GET of the sealed env, only when the env changed); the committed manifest is kept as what this process knows (noteKnown). Fix round 4: only a commit that wrote (the baseline's ETag moved) feeds what this process knows (learnBucket) and writes the ledger; a no-op commit on a ledger-opened publisher feeds nothing; the same reads and writes. Durability 3a Task 5: on the held baseline before staging and DropRawSecrets, noteRawSecrets(rt.Host, m). Reads only manifests this process already holds (no request, no file opened); calls the detector, which logs and calls ExecBackend.OnRawSecret; nothing else changes. The +registry:Host site is that call's argument. Branch fix R1 P1-1: every failed manifest commit drops the publisher, stamps, preparation read and bucket knowledge; the next operation opens the bucket and repeats divergence checks before staging. No new root input or read site. Branch fix R1 P1-4: a CommitRecoveryReadError from the existing CAS-recovery GET wraps errEscrowUnreadable, so the launch refuses rather than using the later-launch write-failure fallback. No new read. Branch fix R1 P1-3: select sealed escrow against Route.Incarnation before decrypting, restoring, minting or checking divergence: lower non-zero escrow is retired in the selected view, higher refuses, equal and zero-stamped retain behavior. Publication stamps the current lifetime atomically, drops prior-lifetime cached stamps, and never treats retired escrow as a committed successor. Same storage paths; historical objects retained. Branch fix R2: remove incarnation selection and stamping per Paul's ruling; restore pre-030ce7f9 hostname-scoped escrow behavior. No read added. Same-key hostname reuse can inherit predecessor secrets; a changed key refuses. Keep the uncertain-commit and CAS-recovery read-failure refusals. Branch fix R2 P1-3: delegate the existing baseline, divergence and StageSealed operations to stageEscrowReads, shared with HA. Same bucket objects and reads; lease gating, uncertain-commit state drop, and typed CAS-recovery refusal retained.;rev3=census-ruling-stateless-replicas-1;basis=Task 3b: recheck mode-specific authority before manifest commit; drop staged state on loss; preserve write-once divergence, bucket knowledge, CAS recovery and file-read protections. registry:Host@2078,registry:Host@2342,registry:Host@3307,registry:Host@4499,registry:Host@574,whole:Route@2269,whole:Route@2497,whole:Route@3347 5eee45f81032f236f3ecd86f4862e8814134f5c9a9a2aa3a79a27b473bf3d3c1 |
| 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;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. registry:Host@1229,registry:Host@1402,registry:Host@1702,registry:Host@2436,registry:Host@2766,registry:Host@2893,registry:Host@304,registry:Host@3218,registry:Host@3308,registry:Host@3412,registry:Host@3885,registry:Host@3979,whole:Route@1019,whole:Route@1051,whole:Route@1796,whole:Route@2599,whole:Route@3488,whole:Route@416,whole:Route@516,whole:Route@646 041071ed7b9cb9ee993ae2191e2e0fcde08910ca02427941a6e6814c316ca14b |
| 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;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. registry:Socket@214,whole:Route@152,whole:Route@177 35b1ae0ecefdf8fcbc115a7ac84339f0d6cbf46fe85cabe8bf0591b0ebdfd25f |
| internal/activator/rootfsenv.go ExecBackend.rootfsTTYVars legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 8, new: a rootfs session environment: ttyVars over the generation launch environment, then rootfsVars with the row canonical socket and dbPath set after the file environment, as rootfsCmdVars does; map composition only;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Use the verified generation/launch mode to remove CARLOS_DB after environment merges and omit the binary --db argument where applicable. Existing runtime, layout, secrets and exec gates remain; route reads are mode projection only. registry:Socket@218,whole:Route@154,whole:Route@179 3c5a23d82f2a88910a32276448636d98920ac820eb241e786cdb3c699ed5608a |
| internal/activator/rootfsrelease.go Service.runRelease legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-release;basis=rootfs Plan 3 Group R, R1: new; the one place a release command runs. Refuses while any record of the host is open; skips the row's good build (releaseRan); reads the declared processes (declaredProcesses: the existing staged-manifest read) and refuses on a read error, never treating it as no release; runs only when releaseDue; needs a lease watch and a ReleaseBackend; its gate is the caller's plus the lease's Err and its safety deadline more than releaseStopLead (cmdStopBound, 2 min) away; creates the record under a.mu after releaseAdmitLocked; publishes the generations file and the build state (recordBuild) before anything runs; times out at the manifest's timeout_sec (default, capped at runs.MaxTimeout); ReleaseEnv; a supervisor stops the unit ahead of the lease's safety deadline; StartRelease under the exec gate; polls the unit (root's existing cmd status); stops and settles it (the existing cmd hold's stop, cmdStopBound); only a non-zero exit, a signal or the timeout with the unit proven gone is the build's failure (*ReleaseError); registry:Host sites are the record key and log lines;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 9: newCmdHold takes the hold's role; a release command's hold is instancectl.RoleCmd, the unit it runs in; nothing else changed, no read added;rev3=census-ruling-stateless-replicas-1;basis=Delegate unchanged stateful admission and stop/proof behavior to runReleaseAdmitted with no durable admission hook; reads moved to that method. whole:Route@212 45130d20bc0a8f9dcc30908479ce0189e39ee9e68d44e95a9aa6b8e84e0bc20f |
| internal/activator/swap.go Service.spawnSuccessor legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Carry verified target mode on the actual generation and add the stateless current-record gate at the real launch boundary; preserve the existing lifecycle, publication and placement gates. registry:Host@905,whole:Route@1012,whole:Route@1078,whole:Route@407,whole:Route@502,whole:Route@519,whole:Route@566 463757a6862d99912e0854e39ac0fd7841014afe3e01adcde8facb74b683cb5a |
| internal/activator/wakeidentity.go Service.routeCurrentUnderLease legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (controller ruling after branch review R1, and Paul's R2 ruling): doWake's one decision under the lease of whether rt is still this box's route and current: the box registry's row (a.Routes.Get) checked by leaseRouteChanged; then, only for a labelled row (rt.Assigned set), by the box's fleet state a.Fleet: not on a fleet, nothing more; on a fleet with a known label, one record read that must name the label at rt.Assigned (an unreadable record or a nil reader refuses, errRecordUnreadUnderLease); on a fleet with an invalid identity, or any other state, a refusal naming the identity error (errFleetIdentityUnknown). Answers an error or nil; writes nothing. Agent, not root; it only refuses.;rev3=census-ruling-stateless-replicas-1;basis=Delegate the existing placement and record recheck to currentWakeRoute without taking an additional lease or reading records twice. whole:Route@140 da5dcd2a9471444acad7d06a79926693d03188cad4188e7c82b11478cc551330 |
| -internal/host/agent.go runAgent authority B,C,D,F rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): builds the box's lifetime judge once (newBoxJudge, nil with host claims on) and hands it to the seed placement, the moves and runs workers and every loop it starts; read sites unchanged, offsets moved; B,C,D,F authority retained; self-serve moves 1 Task 8: derives the box's lifetimes switch from the judge once (lifetimes := boxJudge != nil) and hands it to the edges file loop; read sites unchanged, offsets moved;rev3=census-ruling-plans-4d-lapse;basis=arms two more plans hooks from the same snapshot: e.SetPlanDisabledFor(planDisabledFor) beside SetPlanGovernedFor, and svc.SetDisabledFor(planDisabledRoute) beside SetMaxRunFor (plans 4d); the reads live in those units (plans-4d-units decision); read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 9b81d97b (with main's plan rate ceiling, edge request records, regional box names, self-serve moves plan 1, plans 4d-1 lapse and its other later changes under main's own census rulings) plus the rootfs placement wiring in the activator start: an agentRootfs built from eb.NestedOK, CARLOS_DEPLOYMENT_SINGLE_TENANT, CARLOS_POOLS, the claim flag, swapArming's answer, the control client's /ready/rootfs and, on a fleet box whose identity resolved, fleetOwnerCheck over the deploy store main already opens for the fleet label (fleetStore), then arm and armedRootfs.Store; this body reads nothing new itself; the closures it wires read later, at a rootfs wake and each status tick: GET /ready/rootfs over the control socket, NestedOK's checks, and release.FleetOwnerKey for the judged row's own account and this box's fleet from the deploy store;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Tasks 7 and 11, #329 plan 3 Task 7 and plan 1 Task 7's policy cache: the control client is built once and handed to eb.Control, to the status tick (egressStatus) and to a new egressNudgeLoop goroutine; armSizeSource(svc, "/sys/fs/cgroup") after the activator Service; armPolicyCache() after armChangeIndex; statusLoop takes egressStatus. The reads are those units' own (decision rows); this body reads nothing new: the same five sites, offsets moved, in the agent; B,C,D,F authority retained.;rev3=census-ruling-remote-instance-metrics;basis=builds the metrics loop's owners closure (metricsOwners over the agent's registry, the activator and cgm.Leftover) when an activator exists and hands it to metricsLoop; reads nothing new itself;rev3=census-ruling-edge-asset-cache-3;basis=adds file:Statfs. runAgent keeps its authority (B,C,D,F). The new site is assetcache.Statfs, an exported assetcache.FS interface value (var Statfs FS = statfsFS{}), not a function value and not a call in runAgent: the ready hook passes it to armEdgeAssetCache as the store's filesystem, and armEdgeAssetCache calls its Space method on the configured data directory (dataDir(): $CARLOS_DATA_DIR, else /data), which calls unix.Statfs there (statfsFS.Space, accepted legacy at census-ruling-edge-asset-cache-2). No request-supplied pathname reaches it.;rev3=census-ruling-remote-metrics-nested;basis=main's body (merged origin/main acfa4f80, under main's own census rulings) plus: snapshots the nested layout (snapshotNestedUnits over /sys/fs/cgroup/carlos.slice/carlos-instances.slice) once at start, before the activator, and hands the metrics loop a unitSources struct (stamped units, routeHostNames, that root and the snapshot); reads nothing new itself;rev3=census-ruling-region-ha-p1a;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): wires region HA P1a into the activator: cfg.Record = haRecordFacts(openDeployStore, boxJudge) (the box's lifetime judge this body already builds with newBoxJudge, nil with host claims on; CI fix) and cfg.Self = lease.CurrentSelf; eb.Lifetimes (the process's lifetime index), eb.Registry, eb.StartupSwept (seedSweptAtStart.Load), eb.FilesStore from newProductionFilesStore (now lease.NewFilesStore, rootaws-loaded, a log line on failure) and lease.SetObligationDir(<data>/.ha-owed) (logged on failure; HA acquires then refuse); this body reads nothing new itself, the same five sites; the reads are those units' own (haRecordFacts and lease's SetObligationDir are new rows on this card); merge of origin/main d7ae1d76: main's own later changes to this body are kept as main has them, under main's rulings (census-ruling-remote-instance-metrics: the metricsOwners closure for metricsLoop; census-ruling-edge-asset-cache-3: the +file:Statfs site, assetcache.Statfs handed to the asset ready hook); this branch's change is the same as above;rev3=census-ruling-region-ha-p1b1;basis=region HA P1b-1: builds one termfence.Confirmer (Self from lease.CurrentSelf at each call, EC2 DescribeInstances method only, client from rootaws.LoadDefaultConfig with retries off, built lazily on first use) and sets eb.OwnerTerminated; this body reads nothing new itself, the same six sites;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the startup Sweep literal hands its answer to startupSwept, which logs as before and, only on a clean sweep, marks rootfs admission swept (MarkRootfsSwept); same Sweep call, no read added;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (controller ruling after branch review R1, and Paul's R2 ruling): sets svc.Fleet = fleetWakeFor(os.Getenv, identity, identErr, fleetStore) from the identity it already resolves once and the deployment store the fleet loops already opened, and logs an ERROR naming the identity error when the box is on a fleet with an invalid identity. fleetWakeFor reads CARLOS_REGION and CARLOS_FLEET from the same environment. Read sites unchanged (6). Agent, not root; a platform box is unchanged.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 12: one call more beside armRunsPass, armInteractivePass(svc, reg, rolloutSink, boxJudge), in the same activator Configure hook, handing it the same box judge; fix round 1 (Astra P2, shutdown): after svc.Shutdown(ctx), shutdownInteractive(ctx) ends and joins every interactive session under the same shutdown budget; the worker's own reads are its units' (interactive.go); this body reads nothing new, the same six sites; merge of origin/main 6f1f6ca6: main's svc.Fleet = fleetWakeFor(...) and its invalid-identity ERROR line are kept as main has them (census-ruling-managed-fleets-1b); this branch's change is the same as above; read sites unchanged (6);rev3=census-ruling-fix-set-aside-exdev;basis=set-aside EXDEV fix: one field more on the agent ExecBackend literal, RawInstanceDir: layout.RawInstanceDir (a pure path join: <dataDir>/.instances/<InstanceID(host)>), so the start rule set-aside moves a copy out through the raw directory instead of through the nosymfollow bind; this body reads nothing new, the same six sites;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 3: one more assignment beside eb.FilesStore: eb.EscrowKey = haEscrowKey(os.Getenv("CARLOS_SECRETS_KEY")), the agent's own environment parsed by appconfig.ParsePrivateKey as the moves pass parses it (unset or unparseable: a log line and nil, and HA publication refuses on the box). No path is opened or read, no read site added; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 4: one more goroutine beside configSyncLoop: go escrowLoop(agentCtx, reg, svc), the escrow sweep every 30 s over the same registry and Service. This body reads nothing new itself; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 5: one more call beside eb.EscrowKey: wireRawSecretPages(eb, PageOperator, metricsBoxLabel(os.Getenv, readMachineID())), which sets eb.OnRawSecret to page an operator (alerting.Page through PageOperator, LevelIncident) on its own goroutine with a 20 s timeout; metricsBoxLabel and readMachineID are the reads this body already makes for the moves refusal log; no new read site; the same six sites, offsets moved; B,C,D,F authority retained. Merge of origin/main 90c4d3aa: main's own later changes to this body are kept as main has them, under main's rulings; this branch's change is the same as above. Merge of origin/main 00bf5b8c (fleet set-aside EXDEV fix): main's change to this body is kept as main has it, under its own census ruling; this branch's change is unchanged.;rev3=census-ruling-probe-burst-limit;basis=two more sink wirings beside setAnalyticsSink: setProtectionSink(e.SetProtectionRecordOnly) and setAssetOwnersSource(e.AssetOwners), function values the telemetry pass calls; this body reads nothing new, the same six sites; authority B,C,D,F retained; no new root read or write kind;rev3=census-ruling-stateless-replicas-1;basis=Construct coordination with existing fleet API credentials on fleet boxes, trusted deployment store otherwise; invalid fleet identity leaves it unarmed. Assign production observation callback, close after service shutdown with a five-second context. Existing read sites unchanged. R17: hand the existing concrete coordinator client to ExecBackend; no new read or acquisition. Task 3a: Wire the canonical storage reader to the existing deployment store, alongside the existing coordinator and immutable observation callback. Errors refuse; no new polling loop or request-path manifest fetch. file:Exec@17664,file:Open@1150,file:Statfs@45401,registry:App@11419,registry:App@19397,whole:Route@11411,whole:Route@19392,whole:Route@29369 f60c90a7356ace0fa2511d0ff7c1b51333fbf5bbded1943e7c94c50a2c738c55 |
| +internal/host/agent.go runAgent authority B,C,D,F rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): builds the box's lifetime judge once (newBoxJudge, nil with host claims on) and hands it to the seed placement, the moves and runs workers and every loop it starts; read sites unchanged, offsets moved; B,C,D,F authority retained; self-serve moves 1 Task 8: derives the box's lifetimes switch from the judge once (lifetimes := boxJudge != nil) and hands it to the edges file loop; read sites unchanged, offsets moved;rev3=census-ruling-plans-4d-lapse;basis=arms two more plans hooks from the same snapshot: e.SetPlanDisabledFor(planDisabledFor) beside SetPlanGovernedFor, and svc.SetDisabledFor(planDisabledRoute) beside SetMaxRunFor (plans 4d); the reads live in those units (plans-4d-units decision); read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 9b81d97b (with main's plan rate ceiling, edge request records, regional box names, self-serve moves plan 1, plans 4d-1 lapse and its other later changes under main's own census rulings) plus the rootfs placement wiring in the activator start: an agentRootfs built from eb.NestedOK, CARLOS_DEPLOYMENT_SINGLE_TENANT, CARLOS_POOLS, the claim flag, swapArming's answer, the control client's /ready/rootfs and, on a fleet box whose identity resolved, fleetOwnerCheck over the deploy store main already opens for the fleet label (fleetStore), then arm and armedRootfs.Store; this body reads nothing new itself; the closures it wires read later, at a rootfs wake and each status tick: GET /ready/rootfs over the control socket, NestedOK's checks, and release.FleetOwnerKey for the judged row's own account and this box's fleet from the deploy store;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Tasks 7 and 11, #329 plan 3 Task 7 and plan 1 Task 7's policy cache: the control client is built once and handed to eb.Control, to the status tick (egressStatus) and to a new egressNudgeLoop goroutine; armSizeSource(svc, "/sys/fs/cgroup") after the activator Service; armPolicyCache() after armChangeIndex; statusLoop takes egressStatus. The reads are those units' own (decision rows); this body reads nothing new: the same five sites, offsets moved, in the agent; B,C,D,F authority retained.;rev3=census-ruling-remote-instance-metrics;basis=builds the metrics loop's owners closure (metricsOwners over the agent's registry, the activator and cgm.Leftover) when an activator exists and hands it to metricsLoop; reads nothing new itself;rev3=census-ruling-edge-asset-cache-3;basis=adds file:Statfs. runAgent keeps its authority (B,C,D,F). The new site is assetcache.Statfs, an exported assetcache.FS interface value (var Statfs FS = statfsFS{}), not a function value and not a call in runAgent: the ready hook passes it to armEdgeAssetCache as the store's filesystem, and armEdgeAssetCache calls its Space method on the configured data directory (dataDir(): $CARLOS_DATA_DIR, else /data), which calls unix.Statfs there (statfsFS.Space, accepted legacy at census-ruling-edge-asset-cache-2). No request-supplied pathname reaches it.;rev3=census-ruling-remote-metrics-nested;basis=main's body (merged origin/main acfa4f80, under main's own census rulings) plus: snapshots the nested layout (snapshotNestedUnits over /sys/fs/cgroup/carlos.slice/carlos-instances.slice) once at start, before the activator, and hands the metrics loop a unitSources struct (stamped units, routeHostNames, that root and the snapshot); reads nothing new itself;rev3=census-ruling-region-ha-p1a;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): wires region HA P1a into the activator: cfg.Record = haRecordFacts(openDeployStore, boxJudge) (the box's lifetime judge this body already builds with newBoxJudge, nil with host claims on; CI fix) and cfg.Self = lease.CurrentSelf; eb.Lifetimes (the process's lifetime index), eb.Registry, eb.StartupSwept (seedSweptAtStart.Load), eb.FilesStore from newProductionFilesStore (now lease.NewFilesStore, rootaws-loaded, a log line on failure) and lease.SetObligationDir(<data>/.ha-owed) (logged on failure; HA acquires then refuse); this body reads nothing new itself, the same five sites; the reads are those units' own (haRecordFacts and lease's SetObligationDir are new rows on this card); merge of origin/main d7ae1d76: main's own later changes to this body are kept as main has them, under main's rulings (census-ruling-remote-instance-metrics: the metricsOwners closure for metricsLoop; census-ruling-edge-asset-cache-3: the +file:Statfs site, assetcache.Statfs handed to the asset ready hook); this branch's change is the same as above;rev3=census-ruling-region-ha-p1b1;basis=region HA P1b-1: builds one termfence.Confirmer (Self from lease.CurrentSelf at each call, EC2 DescribeInstances method only, client from rootaws.LoadDefaultConfig with retries off, built lazily on first use) and sets eb.OwnerTerminated; this body reads nothing new itself, the same six sites;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the startup Sweep literal hands its answer to startupSwept, which logs as before and, only on a clean sweep, marks rootfs admission swept (MarkRootfsSwept); same Sweep call, no read added;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (controller ruling after branch review R1, and Paul's R2 ruling): sets svc.Fleet = fleetWakeFor(os.Getenv, identity, identErr, fleetStore) from the identity it already resolves once and the deployment store the fleet loops already opened, and logs an ERROR naming the identity error when the box is on a fleet with an invalid identity. fleetWakeFor reads CARLOS_REGION and CARLOS_FLEET from the same environment. Read sites unchanged (6). Agent, not root; a platform box is unchanged.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 12: one call more beside armRunsPass, armInteractivePass(svc, reg, rolloutSink, boxJudge), in the same activator Configure hook, handing it the same box judge; fix round 1 (Astra P2, shutdown): after svc.Shutdown(ctx), shutdownInteractive(ctx) ends and joins every interactive session under the same shutdown budget; the worker's own reads are its units' (interactive.go); this body reads nothing new, the same six sites; merge of origin/main 6f1f6ca6: main's svc.Fleet = fleetWakeFor(...) and its invalid-identity ERROR line are kept as main has them (census-ruling-managed-fleets-1b); this branch's change is the same as above; read sites unchanged (6);rev3=census-ruling-fix-set-aside-exdev;basis=set-aside EXDEV fix: one field more on the agent ExecBackend literal, RawInstanceDir: layout.RawInstanceDir (a pure path join: <dataDir>/.instances/<InstanceID(host)>), so the start rule set-aside moves a copy out through the raw directory instead of through the nosymfollow bind; this body reads nothing new, the same six sites;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 3: one more assignment beside eb.FilesStore: eb.EscrowKey = haEscrowKey(os.Getenv("CARLOS_SECRETS_KEY")), the agent's own environment parsed by appconfig.ParsePrivateKey as the moves pass parses it (unset or unparseable: a log line and nil, and HA publication refuses on the box). No path is opened or read, no read site added; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 4: one more goroutine beside configSyncLoop: go escrowLoop(agentCtx, reg, svc), the escrow sweep every 30 s over the same registry and Service. This body reads nothing new itself; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 5: one more call beside eb.EscrowKey: wireRawSecretPages(eb, PageOperator, metricsBoxLabel(os.Getenv, readMachineID())), which sets eb.OnRawSecret to page an operator (alerting.Page through PageOperator, LevelIncident) on its own goroutine with a 20 s timeout; metricsBoxLabel and readMachineID are the reads this body already makes for the moves refusal log; no new read site; the same six sites, offsets moved; B,C,D,F authority retained. Merge of origin/main 90c4d3aa: main's own later changes to this body are kept as main has them, under main's rulings; this branch's change is the same as above. Merge of origin/main 00bf5b8c (fleet set-aside EXDEV fix): main's change to this body is kept as main has it, under its own census ruling; this branch's change is unchanged.;rev3=census-ruling-probe-burst-limit;basis=two more sink wirings beside setAnalyticsSink: setProtectionSink(e.SetProtectionRecordOnly) and setAssetOwnersSource(e.AssetOwners), function values the telemetry pass calls; this body reads nothing new, the same six sites; authority B,C,D,F retained; no new root read or write kind;rev3=census-ruling-stateless-replicas-1;basis=Construct coordination with existing fleet API credentials on fleet boxes, trusted deployment store otherwise; invalid fleet identity leaves it unarmed. Assign production observation callback, close after service shutdown with a five-second context. Existing read sites unchanged. R17: hand the existing concrete coordinator client to ExecBackend; no new read or acquisition. Task 3a: Wire the canonical storage reader to the existing deployment store, alongside the existing coordinator and immutable observation callback. Errors refuse; no new polling loop or request-path manifest fetch. Task 3b: arm one stateless binding publisher with the existing fleet store, resolved fleet/box identity and coordinator; clear the pointer at shutdown. No new read site or process. file:Exec@17664,file:Open@1150,file:Statfs@45627,registry:App@11419,registry:App@19397,whole:Route@11411,whole:Route@19392,whole:Route@29595 51a752b95c13a8f93d8a3689f65c1ece90989bf3a6a302050c9b6c858a2a6063 |
| internal/registry/remote_dispatch.go Registry.dispatchRemote hint E2 rev3=census-ruling-self-serve-moves-1;basis=the registry child (carlos __registry-child, the service user a root pass forks): plan14-root-reads-e's mixed declaration (E2 adds only the ArtifactHosts read; every other arm is the local method of the same name), with three more write arms, SetHoldIfSeq, ReleaseHoldSeq and InstallLifetimeIf, each calling the local setter; no read operation added; self-serve moves 1 Task 7;rev3=census-ruling-instance-egress-sizes-328-329;identity=the registry child (carlos __registry-child, the service user a root pass forks);basis=#328/#329 plan 1 Task 4: one more write arm, SetPolicy, calling the local Registry.SetPolicy with the request's Host, EgressAllow, Size and PolicyExpiresAt (remoteRequest fields sent by the remote handle's holder); the new kinds registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each, plus one more registry:Host site, all of the request; no read operation added; the read-only worker never reaches it (serveRemote's method gate); no production root pass sends SetPolicy;rev3=census-ruling-region-ha-p1a;basis=the registry child (carlos __registry-child, the service user a root pass forks): one more write arm, SetHA, calling the local Registry.SetHA with the request's Host (+registry:Host); no read operation added; only the provision pass sends it;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 2 and 8: two new remote methods, UpsertUnlessRootfs (carlos add's guarded write) and ResidentInstances (the residency sweep's list), each calling the same-named Registry method;rev3=census-ruling-regional-domains-447;basis=#447 Task 4: two more methods on the existing remote registry transport, ListRegional and ReplaceRegionalSet (request field RDs, response field Regional), each calling the local method of the same name, which validates its own input; no new kind of read;rev3=census-ruling-fleet-secrets-key;basis=one new case, SetFleetSecretsKey, reading the request's Name, Pub, KeyFP, By and At fields and calling SetFleetSecretsKey;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Tasks 1-2: three new cases (SetFleetBoxIf reads the request's Fleet and answers Changed; PutForward reads TValue, a whole Route; DeleteForward reads Host and answers Changed); SetFleetBox gone (+registry:Changed x2, +registry:Fleet, +registry:Host, +registry:TValue, +whole:Route). Each case calls the local writer with its own guards.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Tasks 2 and 6b): three more remote methods dispatched to their local forms, SetFleetBoxDraining (q.Fleet, q.Label, q.At, answering Number64), MarkFleetBoxLabelled (q.Fleet, q.Label, q.At) and SetFleetAssignment (q.Host, q.Assigned, q.Moved); remoteRequest gains Assigned and Moved. The registry child, not root.;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Add SetServingMode dispatch using the existing remote request Host, Ver and On fields; the same local narrow writer handles it. No new transport or root path. registry:A@7589,registry:Account@4416,registry:Accounts@3078,registry:Addr@4993,registry:Addrs@5001,registry:Alias@7637,registry:Alias@7701,registry:Alias@7789,registry:Aliases@7511,registry:Alive@9464,registry:Args@7213,registry:AssetGen@5143,registry:AssetsOff@5130,registry:Assigned@5621,registry:At@2232,registry:At@2621,registry:At@2706,registry:At@6515,registry:At@7720,registry:At@7798,registry:At@9212,registry:Attempts@9234,registry:B@2281,registry:Backing@4812,registry:BuildState@5380,registry:By@2226,registry:Changed@1996,registry:Changed@3501,registry:Changed@3588,registry:Changed@3677,registry:Changed@3748,registry:Changed@3852,registry:Changed@3939,registry:Changed@4032,registry:Changed@4114,registry:Changed@5968,registry:Changed@6105,registry:Changed@9144,registry:Channel@4476,registry:Channel@5811,registry:Channel@6360,registry:CheckedAt@6441,registry:Class@4931,registry:DoneBefore@9473,registry:Due@6914,registry:Due@6978,registry:Due@9256,registry:EgressAllow@5283,registry:Env@5879,registry:Env@6271,registry:Env@6371,registry:ExcludeHosts@8939,registry:ExcludeHosts@9034,registry:ExpectGood@6640,registry:ExpectOp@3556,registry:ExpectOp@3806,registry:ExpectPair@3986,registry:Expected@1250,registry:Expected@289,registry:Expected@762,registry:Expected@939,registry:F@1968,registry:F@2029,registry:Fleet@2054,registry:Fleet@2339,registry:Fleet@2421,registry:Fleet@2502,registry:Fleet@2603,registry:Fleet@2688,registry:Fleet@2777,registry:Fleet@6011,registry:FleetBoxes@2738,registry:Fleets@2112,registry:From@4587,registry:From@4648,registry:FromDB@4723,registry:FromOp@3644,registry:FromSock@4733,registry:Hash@5685,registry:Health@5010,registry:Host@1024,registry:Host@1135,registry:Host@272,registry:Host@3262,registry:Host@3303,registry:Host@3456,registry:Host@3532,registry:Host@3618,registry:Host@3710,registry:Host@3782,registry:Host@3888,registry:Host@3978,registry:Host@4066,registry:Host@4158,registry:Host@4408,registry:Host@4468,registry:Host@4526,registry:Host@4579,registry:Host@4640,registry:Host@4715,registry:Host@4804,registry:Host@4858,registry:Host@4923,registry:Host@4985,registry:Host@5063,registry:Host@5122,registry:Host@5210,registry:Host@5275,registry:Host@5372,registry:Host@5437,registry:Host@5498,registry:Host@5548,registry:Host@5613,registry:Host@5677,registry:Host@5738,registry:Host@5871,registry:Host@5925,registry:Host@6003,registry:Host@6140,registry:Host@6193,registry:Host@6423,registry:Host@6507,registry:Host@6564,registry:Host@6632,registry:Host@6715,registry:Host@6791,registry:Host@6851,registry:Host@6906,registry:Host@6970,registry:Host@7154,registry:Host@7205,registry:Host@7272,registry:Host@7347,registry:Host@7410,registry:Host@8007,registry:Host@8133,registry:Host@8287,registry:Host@8575,registry:Host@8639,registry:Host@8698,registry:Host@8781,registry:Host@8864,registry:Host@9095,registry:Host@9180,registry:Host@9312,registry:Host@9393,registry:Host@9556,registry:Hosts@187,registry:Hosts@3141,registry:Hosts@5802,registry:Hosts@6262,registry:Hosts@6351,registry:Id@1244,registry:Id@1555,registry:Id@1654,registry:Id@1734,registry:Id@1885,registry:IdValue@2897,registry:Idle@7280,registry:Journal@1262,registry:Journal@1561,registry:Journal@1740,registry:Journal@442,registry:Keep@9572,registry:KeyFP@2217,registry:Kind@9401,registry:Kind@9564,registry:Label@2348,registry:Label@2430,registry:Label@2511,registry:Label@2612,registry:Label@2697,registry:Label@6020,registry:Limit@8930,registry:Limit@9025,registry:MaxRun@7288,registry:Method@151,registry:Moved@5633,registry:Ms@9228,registry:Name@1032,registry:Name@1143,registry:Name@2082,registry:Name@2202,registry:Name@2916,registry:Name@8647,registry:Name@8706,registry:Name@8789,registry:Name@9103,registry:Name@9188,registry:Name@9320,registry:Next@301,registry:NextAt@9246,registry:NextGood@6654,registry:NextValue@1814,registry:NextValue@1912,registry:Now@1167,registry:Now@7481,registry:Now@8923,registry:Now@9018,registry:Now@9111,registry:Number64@2561,registry:Number64@3004,registry:Number@9361,registry:Number@9432,registry:Number@9517,registry:Observed@365,registry:ObservedValue@643,registry:Old@1807,registry:Old@1905,registry:On@6730,registry:On@6859,registry:On@7355,registry:On@7418,registry:Op@3474,registry:Op@3550,registry:Op@3718,registry:Op@3800,registry:Op@3896,registry:Op@4074,registry:Op@4166,registry:Owner@280,registry:Owner@377,registry:Owner@660,registry:P@8241,registry:Pair@3818,registry:Pair@3902,registry:Pair@4000,registry:Path@8472,registry:Paths@8169,registry:PolicyExpiresAt@5306,registry:Prefix@8295,registry:Prev@6579,registry:Pub@2210,registry:RDs@8141,registry:RateLimit@5746,registry:Regional@8039,registry:Registration@1040,registry:Registration@1151,registry:Registration@8797,registry:Registration@9196,registry:Replica@5506,registry:Replicas@5445,registry:Retirement@1891,registry:Route@3239,registry:Routes@3197,registry:Routes@4192,registry:Routes@7012,registry:Routes@7079,registry:Routes@7448,registry:Rows@8583,registry:Seed@7162,registry:Size@5298,registry:Sqid@2908,registry:Sqid@2971,registry:Sqid@3050,registry:Status@1056,registry:Status@2520,registry:Status@3464,registry:Status@3540,registry:Status@3626,registry:Status@3790,registry:Status@4534,registry:Status@6431,registry:Status@7710,registry:Status@9218,registry:Status@9328,registry:Steering@5071,registry:StringMap@2814,registry:T@757,registry:T@851,registry:T@8523,registry:T@934,registry:TValue@3344,registry:TValue@3411,registry:TValue@6070,registry:Tags@2439,registry:Target@6201,registry:Targets@453,registry:Text@1460,registry:Text@1607,registry:Text@3018,registry:Text@8328,registry:Text@8391,registry:Timer@709,registry:Timer@8611,registry:Timer@891,registry:Timers@8834,registry:Timers@8893,registry:Timers@8982,registry:Times@9606,registry:To@4595,registry:To@4656,registry:ToDB@4745,registry:ToOp@3636,registry:ToSock@4753,registry:TokenHash@2357,registry:Tunnel@5933,registry:Unit@4866,registry:UpdateSettings@5218,registry:Ver@6572,registry:Ver@6723,registry:Ver@6799,registry:W@7941,registry:Wildcards@7835,whole:Account@3082,whole:ClaimOwnership@282,whole:ClaimOwnership@379,whole:ClaimOwnership@662,whole:ClaimRow@455,whole:ClaimRowArchive@561,whole:ClaimRowArchive@571,whole:ColdRows@1809,whole:ColdRows@1816,whole:ColdRows@1907,whole:ColdRows@1914,whole:Fleet@1970,whole:Fleet@2031,whole:Fleet@2058,whole:Fleet@2116,whole:FleetBox@2283,whole:FleetBox@2742,whole:GoodBuild@6642,whole:GoodBuild@6656,whole:Pair@3820,whole:Pair@3904,whole:Pair@3988,whole:Pair@4002,whole:RegionalDomain@8043,whole:RegionalDomain@8143,whole:Route@3201,whole:Route@3243,whole:Route@3346,whole:Route@3413,whole:Route@367,whole:Route@4196,whole:Route@4351,whole:Route@4357,whole:Route@6072,whole:Route@7016,whole:Route@7083,whole:Route@7452,whole:RouteAlias@7515,whole:RouteAlias@7591,whole:RoutePath@8173,whole:RoutePath@8243,whole:Timer@645,whole:Timer@713,whole:Timer@759,whole:Timer@8525,whole:Timer@853,whole:Timer@8585,whole:Timer@8615,whole:Timer@8838,whole:Timer@8897,whole:Timer@895,whole:Timer@8986,whole:Timer@936,whole:WildcardDomain@7839,whole:WildcardDomain@7943 983246f84446af9e63b74c5017a160030f015ff2ce0c1ee8afa924d9460346c0 |
| internal/rollout/manager.go Manager.resolve legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Carry demand, artifact identity, stateless verdict and canonical digest from one verified RuntimeSelection into the attempt; unreadable selection refuses. registry:App@147,registry:GoodDemand@751,registry:GoodDemand@797,registry:GoodDigest@671,registry:GoodDigest@736,registry:GoodVersion@653,registry:Host@400,whole:Route@1212,whole:Route@142,whole:Route@897 a57af8f772817ec1f664c5bc53fc853132936a67d1848bc27d9b9f75fad608ba |
| internal/rollout/wakeplan.go Manager.planRow legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Carry each selection read by the existing planner on its WakePlan so wake uses that same canonical verdict/digest, including selected fallbacks. registry:App@164,registry:Host@1062,registry:Version@1221,whole:Route@115,whole:Route@1217,whole:Route@1459,whole:Route@1545,whole:Route@159,whole:Route@234,whole:Route@241,whole:Route@584,whole:Route@804 66e00b7558526beba1dcc97859c002f9c0cf34f1231dd4f9b752f53adcbaa517 |
| @coverage . d8abf32baa39f05d1e9d4e9b8a24e7113c58f42f8735e7a62e217eb39e7a4bf7 |
| -@coverage internal/activator 24b6e159533b7df2c59331803ca2072a4ea0217d6b830011df988058afcef301 |
| -@coverage internal/host 07a8a1c7e4dac05f0760c936441743b904b6102cb40cf95cb3d4b62a08f2039a |
| -@coverage internal/ops 33a19f8dc76a9b9b471a3a46fc568bf7a094430ae04c62a3c3d2aa1ef2d4151c |
| -@coverage internal/provision 065bba3c905bb30f6f7b44408b2ab013ed063c3ce49c6fc26ee0b153a454e9ca |
| +@coverage internal/activator 452d5e8330823f832ae120f07ec77aa7c04bb3afe23bdfae18e0097f9ece0b21 |
| +@coverage internal/host 8007698c8e074f5b3f3cacca44fe54972b549da56260b05769655db763d3888b |
| +@coverage internal/ops 67289ea5b95d14e295bc19e855fab6b00ed240b822e75d4be42b9ded59662e4d |
| +@coverage internal/provision ccff53ffa1355b5e10692090f97604fca98b158d57551efa2ca280056e663fd6 |
| @coverage internal/registry 19a5a1350bc29eb4445afdbfacfa727218b8f0af44762d29bb56a67b2fa14882 |
| @coverage internal/release 5ada7f41ec226239c6ea7b6a05ccee226ca873dd66016e5661d8b028a2e898a9 |
| @coverage internal/replicas 53b94eb040154539a0a977498b4b8bc1d53d82f67c1c6233667a0b823dd30d8a |