| index d0cba0248..46c440285 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-stateless-replicas-2.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-stateless-replicas-2.tsv |
| @@ -1,21 +1,25 @@ |
| # Census overlay stateless-replicas-2, written by census-propose (#369). census-ruling-stateless-replicas-2, independent approval on #280 required before the merge; the approval card is docs/superpowers/notes/census-proposal-stateless-replicas-2.md. |
| # 4 body, 2 sites, 8 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| -# 25 new dispositions: 15 reads re-frozen at their disposition with the claim, 9 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 1 other. |
| +# 29 new dispositions: 16 reads re-frozen at their disposition with the claim, 12 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 1 other. |
| @legacy 79055c0f7e0c310deb5796a2b8bce0410f5de648d69b7d919e211d3a4273facb internal/registry/forward.go Registry.SetFleetBoxIf 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 1: one conditional UPDATE of fleet_box judging placement on the fleet (region = 'fleet/'||fleet), kind (not a sidecar) and ACTIVE membership in fleet_boxes at the write; returns whether a row changed (+file:Exec, +registry:Changed, +registry:remote x2, +registry:sql, +whole:remoteClient x2). Replaces SetFleetBox.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5, rule 3): the one conditional UPDATE gains AND fleet_label = '', so a labelled forward row's fleet_box is never changed by a binding. Read sites unchanged (7). It writes less, never more. Agent hub's bindings pass, not root.;rev3=census-ruling-stateless-replicas-2;basis=Existing conditional SQL write refuses every replica projection; a binding cannot collapse a set. No new read source. file:Exec@259,registry:Changed@225,registry:remote@112,registry:remote@80,registry:sql@259,whole:remoteClient@114,whole:remoteClient@82 3ce7adcfb074126b83a93efbd284d9063a62ac0ed8bece4561283705bfdba4f3 |
| @legacy 2341d52700480b570ac5c809280fb50ad29154a11856912c7613c3239ed6351a internal/registry/forward.go Route.InertForward legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 2: true only when every one of the 50 forbidden columns of §4.2 is zero (one +registry:<field> site each, nothing else). Pure.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 2): two more forbidden fields must be zero on a forward row, Assigned == "" and !Moved (fleet_assigned, fleet_moved in ForwardForbidden). Stricter, never looser.;rev3=census-ruling-stateless-replicas-2;basis=Pure validation additionally refuses malformed set projections; all unrelated forbidden fields still must be zero. registry:Addr@114,registry:Addrs@132,registry:Args@819,registry:AssetGen@304,registry:AssetsOff@287,registry:Assigned@1172,registry:Backing@745,registry:BuildState@1009,registry:Canary@666,registry:Caps@579,registry:ClaimIncarnation@1071,registry:ClaimOwner@1124,registry:ClaimRowID@1148,registry:ClaimStamp@1101,registry:DBPath@349,registry:EgressAllow@937,registry:Environment@534,registry:Gate@647,registry:GoodDemand@464,registry:GoodDigest@440,registry:GoodVersion@415,registry:HA@616,registry:Health@151,registry:Hibernate@598,registry:HoldOp@171,registry:IdleSeconds@837,registry:ImportGate@262,registry:Incarnation@191,registry:LastError@326,registry:MaxRunSeconds@861,registry:Moved@1195,registry:NextDue@705,registry:Platform@785,registry:PolicyExpiresAt@980,registry:Pool@516,registry:PrevVersion@390,registry:Replica@1056,registry:Replicas@1033,registry:Replication@680,registry:Runtime@626,registry:Seed@801,registry:SeedSource@238,registry:ServingSeq@215,registry:ServingVersion@488,registry:Size@962,registry:Socket@94,registry:StatusNamed@726,registry:Steering@887,registry:Tunnel@559,registry:Unit@766,registry:UpdateSettings@909,registry:Version@369 9f79218887204b816bca2d371e96b7a175033136070104a84d8618ef27b2b2da |
| @legacy 7e6da4ae0835f902bbbe42b971e9681493463ddc31461b733f015a489af10c11 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.;rev3=census-ruling-stateless-replicas-2;basis=Four additive projection columns join the existing routes SELECT and hash only when nonzero; no new query or file read. file:Exec@284,file:Open@188,file:Query@10297,file:Query@368,file:Query@6167,file:Query@6646,file:Query@7632,file:Query@8328,file:Query@9240,registry:ClaimIncarnation@1598,registry:ClaimIncarnation@5075,registry:ClaimIncarnation@5152,registry:ClaimOwner@1642,registry:ClaimOwner@5276,registry:ClaimOwner@5341,registry:ClaimRowID@1661,registry:ClaimRowID@5368,registry:ClaimRowID@5434,registry:ClaimStamp@1623,registry:ClaimStamp@5185,registry:ClaimStamp@5249,registry:Incarnation@1706,registry:Incarnation@5655,registry:Incarnation@5719,registry:ServingSeq@1725,registry:ServingSeq@5746,registry:ServingSeq@5809,registry:Text@158,registry:path@207,registry:remote@55,registry:remote@87,whole:remoteClient@57,whole:remoteClient@89 892ed6fd3faa8afd814643d8ddc1b757587892d43981db456d8b09cec08d07fe |
| -@legacy 2798f16cd866e84221c3c5f2e3cb130afcd7c61bf1eccae3e7f0dc87a563e4be 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.;rev3=census-ruling-stateless-replicas-2;basis=Existing guarded SQL upsert carries four additive projection columns; no new read source or execution authority. file:Exec@116,registry:Host@4876,whole:Route@4752 83400279ca15f879933151b6b8fa03c2b6e24051172b69b52fa6c511ee96ab11 |
| +@legacy 815085ecaea6595b9c76ac0a51a484a3e7b35fe121caaf9775a9b009e06e4163 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.;rev3=census-ruling-stateless-replicas-2;basis=P12: existing guarded upsert keeps the whole set and its stateless projection when the incoming row has zero set fields, only for the same tenant. A retenant never inherits a set. Same statement and read sources. file:Exec@116,registry:Host@5987,whole:Route@5863 9bfe70a414c39096e6a5ba4513e47d37ac88236c78f5d34b61517dd3aa066ff9 |
| @legacy c2884b0d5b53dc03c9be18f949be500c2cf8a6be869b99c6f63a8bcf6dda68a6 internal/activator/wakeidentity.go Service.CheckReplicaAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Only set rows invoke existing registry/instance-record wake recheck. Legacy returns without reading; not a new polling loop. registry:FleetBoxes@93,whole:Route@169 43e922e015b61f736ed118ad44113802ca1944b676e9586388d6f9e00d691eba |
| @legacy 0209cc9c5299a0027e5a4334ddf745b648e911ef89850656f8d596cb621ef7e2 internal/host/fleetidentity.go recheckReplicaPickup legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Only set rows require a launcher with the activator current-membership check; missing check refuses pickup. Reads supplied Route only. registry:FleetBoxes@98,whole:Route@322 7af336690a854d75b8a68b2f8031f8fb2cbd8441117e73c30610307d8f0dd7ca |
| @legacy 9ee0215e87836c375afd79bb0afd249425eaf6ae649f80003172ef145f960e79 internal/provision/forward.go forwardRowFor legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Projects declarative set fields from supplied record; keeps socket, database, execution and all other forbidden fields zero. whole:Route@436,whole:Route@453 9ba6c562aa2b720af029d069b5855b8d1dc32ff76c742c90ad13604f8f19970d |
| -@legacy 21e8fd1f758eb29f88a54d4c6f2b1e5e09b11698ac49be92af24fa09d51626f3 internal/provision/replicaassignment.go projectReplicaAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Pure canonical projection of supplied assignment and record lifetime; no read outside arguments, no launch authority. registry:Copies@299,registry:FleetBox@450,registry:FleetBoxes@284,registry:FleetLabel@463,registry:ReplicaIncarnation@330,registry:ReplicaRevision@310,registry:Stateless@429 4b10be064d363d2d810908521e497f07b0c577b0bd618d17ab7464f1f4198063 |
| +@legacy 1c2e463b33d41c6d7eb010c2cf99c5d9d1e607065ebfa9bba0766476ccf0b31d internal/provision/replicaassignment.go projectReplicaAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=P12: pure projection marks a present assignment invalid before validation, so an invalid shape cannot silently become the legacy empty set. No store read or path authority. registry:Copies@465,registry:FleetBox@616,registry:FleetBoxes@254,registry:FleetBoxes@450,registry:FleetLabel@629,registry:ReplicaIncarnation@496,registry:ReplicaRevision@476,registry:Stateless@595 be1287470cf6b9cfbef39e9740c21b461d952b265098d72c9e32c37e6326e383 |
| +@legacy 9ddce30c4b6dd6b38b67adc32c93cbc530cf7daaea612100893877de65f63d0f internal/provision/replicaassignment.go replicaRowLifetimeAllowed legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=P11: pure comparison of the already-read record and local route. Requires same owner and managed instance kind; accepts unprojected legacy rows for membership, matching lifetimes, or a proven older monotonic counter. Newer/unknown ordering refuses. registry:Account@145,registry:App@174,registry:Canary@132,registry:FleetBoxes@387,registry:Host@195,registry:Incarnation@218,registry:Kind@92,registry:Platform@117,registry:Provisioned@74,registry:ReplicaIncarnation@410,registry:ReplicaIncarnation@442,whole:Route@495 03c64806b231b7af2844dc47eaeefc52549bbce0e6afd56ed3d103d87f2f42a0 |
| +@legacy b204860fe95027282c495ab113bb8adcfb539d35d833785a3f151250d0ebb325 internal/provision/replicaassignment.go replicaRowOlder legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=P11: compares existing nonzero monotonic incarnation counters to prove a projected row older. Does not order hash identities or use registry creation timestamps as record evidence. Pure supplied values. registry:Incarnation@120,registry:Incarnation@98,registry:ReplicaIncarnation@67 3537ecb5ea34e2dc607f7b58e6ec89c49445a6f6568744478470a45c4c968b35 |
| @legacy 1030e562db81658f5f527b11f18f290db28d282455b1d61cfb84fe2e559d6bf8 internal/registry/replicas.go Registry.DeleteReplicaAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Existing registry connection reads the current local route in an immediate transaction and deletes only exact equality with observed instance row. Refuses sidecar/platform/canary/nonprovisioned rows; no bucket write or stop ACK. file:Exec@661,file:QueryRow@489,registry:Canary@131,registry:Changed@382,registry:FleetBoxes@175,registry:Host@550,registry:Host@704,registry:Kind@79,registry:Platform@110,registry:Provisioned@151,registry:remote@247,registry:remote@279,whole:Route@347,whole:Route@357,whole:Route@612,whole:Route@618,whole:remoteClient@249,whole:remoteClient@281 64b52031ade4d47aac047cd3508672c32b0ea2b854d5bf03175b335b27bb91b3 |
| +@legacy c70bf31d657d262735f1bfc3a5304da17030c5889092a1f635d225c581ff0b6e internal/registry/replicas.go Registry.ReplaceReplicaAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=P11: same registry SQL connection atomically compares the complete observed instance row, deletes only the proven older nonzero-counter lifetime and inserts its current same-owner projection. Refuses claims, held/foreign/non-instance rows, non-increasing counters and invalid next projections. Uses existing normalized insert and alias carry inside the transaction, never a bucket read or stop ACK. file:Exec@1188,registry:Account@517,registry:Account@537,registry:App@553,registry:App@569,registry:Backing@356,registry:Canary@228,registry:Canary@247,registry:Changed@941,registry:ClaimOwnership@654,registry:ClaimOwnership@703,registry:FleetBoxes@399,registry:FleetBoxes@462,registry:HA@308,registry:Hibernate@319,registry:HoldOp@262,registry:HoldOp@287,registry:Host@1058,registry:Host@1231,registry:Host@1409,registry:Host@1515,registry:Host@487,registry:Host@504,registry:Incarnation@581,registry:Incarnation@610,registry:Incarnation@634,registry:Kind@117,registry:Kind@86,registry:Platform@190,registry:Platform@211,registry:Provisioned@145,registry:Provisioned@170,registry:Socket@1529,registry:Tunnel@378,registry:Unit@337,registry:remote@791,registry:remote@823,whole:ClaimOwnership@663,whole:ClaimOwnership@708,whole:Route@1114,whole:Route@1133,whole:Route@1144,whole:Route@1306,whole:Route@1368,whole:Route@1379,whole:Route@1492,whole:Route@892,whole:Route@902,whole:Route@912,whole:Route@920,whole:remoteClient@793,whole:remoteClient@825 68a27ce02fea53c0b0cc56e74862ca819717269efc1e725183ed67b995662c24 |
| @legacy 57ce96da9ea6599fd60543737fb76820efbd7bf81739261bb6c83332e6952624 internal/registry/replicas.go Registry.SeedReplicaAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Requires an observed legacy row and delegates to atomic equality-checked projection writer; no new path or record read. registry:Copies@220,registry:FleetBoxes@158,registry:Host@307,registry:ReplicaIncarnation@121,registry:ReplicaRevision@187,whole:Route@354 6859324045aba010d3a96b4df9b306902e47e8c3dbecf8efa49e1fe6967d4151 |
| @legacy 80d7097656c7e3fa2ddbdc390dba83fe4d2c37885ef94d8319a23bca04666982 internal/registry/replicas.go Registry.setReplicaAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Same local registry SQL connection reads one route in a transaction; freezes identity on seed, rejects lifetime/revision mismatch and forbidden row shapes. Writes declarative set columns only, no paths or bucket data. file:Exec@1463,file:QueryRow@698,registry:Backing@1058,registry:Canary@1003,registry:Copies@1353,registry:FleetBoxes@1327,registry:HA@1016,registry:Hibernate@1025,registry:Kind@944,registry:Method@509,registry:Observed@547,registry:Platform@988,registry:Provisioned@970,registry:Region@886,registry:ReplicaIncarnation@1117,registry:ReplicaRevision@1198,registry:ReplicaRevision@1281,registry:Stateless@1388,registry:Tunnel@1078,registry:Unit@1041,registry:remote@335,registry:remote@586,whole:Route@1098,whole:Route@1159,whole:Route@1178,whole:Route@1185,whole:Route@488,whole:Route@549,whole:Route@561,whole:remoteClient@337,whole:remoteClient@588,whole:remoteRequest@605 b61ec1197d681cf71b1c78c06a4af746c4825457e44caf65d636df2778f59206 |
| @legacy ef8ee4edcab4e9b1ec2e68c83ac12622b5021ef0f870c73e6b89c669b5b9dee3 internal/registry/replicas.go Route.ReplicaContains legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Pure validated membership of the supplied canonical JSON array; no external read. registry:FleetBoxes@170,registry:FleetBoxes@85 f793980f7dd8efb9fcdfabfb3f60a5797ccd0920c51fd0aae10b276ca3a8223b |
| @legacy bacd27f1b57c551b2a13212c29f2783403ea48e71b4ffe886b3cd80fcb169ab3 internal/registry/replicas.go Route.ValidReplicaProjection legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Pure canonical JSON/count/lifetime/revision/mode validation of supplied route; absent fields remain legacy. registry:Copies@327,registry:Copies@81,registry:FleetBoxes@200,registry:FleetBoxes@425,registry:FleetBoxes@51,registry:Region@380,registry:ReplicaIncarnation@124,registry:ReplicaIncarnation@441,registry:ReplicaRevision@471,registry:ReplicaRevision@496,registry:ReplicaRevision@98,registry:Stateless@534 6ba44570ad006fbfd89257f2969f4940db67f201c08d44763f2989b75b7dc1a5 |
| @legacy 2a9189ec9dee7006909290df15aade44740c8331bb156fb08385b9a69689eff1 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.;rev3=census-ruling-stateless-replicas-2;basis=Only a set command chains the existing exec gate to the current record membership recheck immediately before exec; preserves caller gate and legacy path. file:Prepare@2688,file:Prepare@2722,registry:FleetBoxes@9308,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@9497,whole:Route@9538 1c58059ab419d2a1fc1647c031f2e81647c1f892642656134cf1721b4d90d689 |
| @legacy dfb973413e87bb5bb88322163377956d199442b4ca9df87126c8ec3c51f10256 internal/activator/cmdunit.go ExecBackend.StartCmd legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): writes launch.cmd.json in the instance's own directory and asks instance control to start the cmd unit; root validates the staged executable it names (refuseStagedExe) and decides the start;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 7a: after the layout and run-directory checks, a rootfs row returns startRootfsRun (backend_rootfs.go) before nestedGate; the binary path is byte-identical (TestBinaryStartCmdLaunchGolden); new site +whole:Route is rt.Rootfs(); Plan 6 Task 8: a session (spec.TTY): checkCmdLaunch refuses before anything is listened on or written a launch shape (errCmdLaunchShape: process and argv both or neither, a process other than console, a run naming a process, a session with a run directory or streams, an id that is not one path element) and a process on a binary row (errBinaryProcess); then the session verbs (TTYControl) or ErrNoTTY; on a binary row the same nested gate, live link or staged build, launch environment and replica gate as a run; prepare(rt, RoleTTY); the pty and its handoff socket (openTTY) in place of the two streams; launch.tty.json with argv [live link, args...] and childEnv(ttyVars); then TTYControl.TTY, or TTYExe naming the staged build (POST /tty; root Task 6 handler validates it); the run path is unchanged (TestBinaryStartCmdLaunchGolden); new sites are rt to checkCmdLaunch and rt.Host in its error;rev3=census-ruling-stateless-replicas-2;basis=Only a set row invokes the caller's exec gate after binary command launch preparation and before any Cmd/TTY control call. Existing single-copy/stateful command path is unchanged; rootfs commands already invoke the gate. registry:FleetBoxes@2475,registry:Host@1092,registry:Host@1201,registry:Host@1972,registry:Host@2176,registry:Host@218,registry:Host@2404,registry:Host@2693,registry:Host@2767,registry:Host@2841,registry:Host@2915,registry:Host@3299,registry:Host@3432,registry:Host@3468,registry:Host@367,registry:Host@473,registry:Host@685,registry:Host@983,whole:Route@130,whole:Route@1788,whole:Route@1895,whole:Route@2220,whole:Route@2313,whole:Route@2585,whole:Route@298,whole:Route@3233,whole:Route@3237,whole:Route@3519,whole:Route@3523,whole:Route@414,whole:Route@755,whole:Route@792 cf3e3d38b9143532a9821578987c84e0d7dcea85e97a36a6d2aaba585f8081d7 |
| +@legacy b0d3308438211ee6ced08e1d63e4179dd0c71fdcd9d35f77f82c3364a7ae32fc internal/activator/rootfsworkers.go Service.runWorkerStart legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W: one worker start off a.mu: publishes the build's pins, launches through the gate, installs only on the same entry still awake; always ends with the start done and what it started installed, proven gone or a stray;rev3=census-ruling-stateless-replicas-2;basis=Declared stateless set workers use the instance route and existing wake record recheck at actual launch, between two existing local worker gates. No read on a tick without a start, no new reads for stateful or unset assignments. Sidecar entry-point refusal remains. registry:FleetBoxes@2042,registry:Host@1971,registry:Host@2580,registry:Host@2771,registry:Host@3197,whole:Route@1656,whole:Route@2210,whole:Route@2342,whole:Route@2849,whole:Route@3261 924ee9f484d2ae2eaaf1dd250d889cc7f005ddf307aeeafb30874f3003f7fa67 |
| @legacy 2fdba081c7b8c93c93a77d81d5640be1b269d92137360e531879cfdd1cbd9d80 internal/activator/startrule.go ExecBackend.establishAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 3, rule 6): on a labelled row (rt.Assigned set), MkdirAll the instance directory (0700) and write rt.Assigned to <db>.assigned via writeDurable. Unlabelled rows write nothing. Agent as carlos, not root.;rev3=census-ruling-stateless-replicas-2;basis=A set projection refuses this SQLite marker path; verified stateless launches already bypass it. Legacy behavior unchanged. registry:Assigned@207,registry:Assigned@543,registry:FleetBoxes@159,registry:Host@348,registry:Host@463,registry:Host@679 084270cbed04e3ae3d69dd3d0796aad58bb2e1c9a4c57a0a7a9f0e66caebfa21 |
| @legacy a4a4c60476a1ef167f17d08b452d61b6e23a3bb7775b088b6460279064bf5958 internal/activator/startrule.go ExecBackend.reconcileAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 3, rule 6): on a labelled row, Lstat the instance dir, read the <db>.assigned marker with instancefs.ReadBeneathLimitOrAbsent (no symlink follow, 128 bytes max), Lstat the database; a copy not kept under rt.Assigned is moved by supersede into <DataDir>/.superseded/<host>/<nanos> (RenameBetweenNoReplace, fsync barriers), never deleted. Any read failure refuses the wake. Agent as carlos in the instance directory, not root.;rev3=census-ruling-stateless-replicas-2;basis=A set projection refuses this SQLite set-aside path before any filesystem read or move. Verified stateless launches bypass it; legacy unchanged. file:Lstat@379,file:Lstat@804,registry:Assigned@1332,registry:Assigned@1429,registry:Assigned@1463,registry:Assigned@207,registry:Assigned@777,registry:FleetBoxes@159,registry:Host@1022,registry:Host@1192,registry:Host@1547,registry:Host@1677,registry:Host@1803,registry:Host@348,registry:Host@542,registry:Host@727 2d3c4b0dc36bc1dee209f00a80c6871543a2b07cfe8f2acef5c2bd8b6ab26782 |
| @legacy be13da7e0d2a07dee196e48ef757c031984dca615586f773f1349e8ae6b41af8 internal/activator/startrule.go ExecBackend.startAllowed legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 3, rule 6): the start rule: an unlabelled or restored start is allowed; a kept local copy must match rt.Assigned in its marker; an empty start of a labelled row is refused (ErrNothingToRestore) when a set-aside entry exists for the host or rt.Moved is set. Only refuses. Agent, not root.;rev3=census-ruling-stateless-replicas-2;basis=A set projection refuses this SQLite empty-start rule; does not turn a route hint into bypass authority. Legacy rule unchanged. registry:Assigned@211,registry:Assigned@668,registry:Assigned@820,registry:FleetBoxes@163,registry:Host@268,registry:Moved@1407,whole:Route@315 c0576b3af038f2a714e43ae6263d259110825f3ea18f5c9798214d7baf6958e4 |
| @@ -23,7 +27,7 @@ |
| @legacy 82e2db3ec3ff76eedea214649dba1a3ce0f2824d358cf46bf1bf0415534bf262 internal/activator/wakeidentity.go leaseRouteChanged legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (branch review R1 P1-1): a pure comparison of the row a wake began from (began) with the row doWake read under the lease (now): nil now is a row that is gone; then wakeRouteChanged's identity checks; then Assigned and Moved; then Region. It answers an error naming the change, wrapping errRouteChangedUnderLease, or nil. No read beyond its arguments. Agent, not root; it only refuses.;rev3=census-ruling-stateless-replicas-2;basis=Pure comparison adds set/count/revision/lifetime changes to existing wake fence; no new input source. registry:Assigned@559,registry:Assigned@577,registry:Assigned@771,registry:Assigned@796,registry:Copies@388,registry:Copies@404,registry:FleetBoxes@350,registry:FleetBoxes@370,registry:Host@164,registry:Host@732,registry:Host@940,registry:Moved@593,registry:Moved@608,registry:Moved@785,registry:Moved@812,registry:Region@831,registry:Region@847,registry:Region@979,registry:Region@991,registry:ReplicaIncarnation@466,registry:ReplicaIncarnation@494,registry:ReplicaRevision@418,registry:ReplicaRevision@443,whole:Route@234,whole:Route@242,whole:Route@91 692ba8509b2b5dc40a1bd39bf5038b68c5d8c41e8fdc264a1f4041892d300210 |
| @legacy 65ed263d8b271d4034ed07e82186409e2b68c86ff1ea12dd7bb89cda90e5e65e 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.;rev3=census-ruling-stateless-replicas-2;basis=Refuses record or route set assignments before the single-box binding writer; no new read. registry:Account@328,registry:App@357,registry:Assigned@378,registry:FleetBoxes@150,registry:Host@305,registry:Provisioned@263,registry:ServingVersion@1067,registry:Stateless@210,registry:Status@281 46ba5abc35a4c59b6ab66e6d3691663ce4f2f9ae0e70b6ac56d2df91127cd24c |
| @legacy 122fa7f57714580041b4e16316fc152a4156a94f1caf344f19a385a1a12d5021 internal/provision/forward.go forwardCurrent 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 10: compares the existing forward row's declared fields with the wanted one (+registry:Account, App, Channel, Provisioned, RateLimit, Region, Slug, Status, each x2). Pure.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5): the forward row is current only if FleetLabel also matches and, for a labelled want, FleetBox equals the label (+registry:FleetBox x2, +registry:FleetLabel x3). The hub's forward phase in the agent, not root; it may write a row it skipped before, never fewer checks.;rev3=census-ruling-stateless-replicas-2;basis=Pure comparison covers explicit count/set/revision/lifetime and assigned mode; legacy nil-assignment mode comparison remains unchanged. registry:Account@550,registry:Account@570,registry:App@520,registry:App@536,registry:Channel@624,registry:Channel@644,registry:Copies@137,registry:Copies@156,registry:FleetBox@376,registry:FleetBox@774,registry:FleetBox@795,registry:FleetBoxes@118,registry:FleetBoxes@282,registry:FleetBoxes@351,registry:FleetBoxes@95,registry:FleetLabel@704,registry:FleetLabel@727,registry:FleetLabel@749,registry:Provisioned@442,registry:Provisioned@466,registry:RateLimit@662,registry:RateLimit@684,registry:Region@588,registry:Region@607,registry:ReplicaIncarnation@223,registry:ReplicaIncarnation@254,registry:ReplicaRevision@171,registry:ReplicaRevision@199,registry:Slug@488,registry:Slug@505,registry:Stateless@307,registry:Stateless@329,registry:Status@406,registry:Status@425 35f2010c3c11b810e2a7f06c0575c2d08cf1777b71b091d9c432f1835f187c5a |
| -@legacy 3c66e18360145f5b51424c046007e4c04faa94d0b2bed1e75af88fe2b58bfd5a 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. Fix 3b round 1 I1: binding callback failure is logged and falls through to pr.applied; same per-host callback, record writers, scope and removal gates. TestStatelessBindingFailureContinuesReconcile covers second-record convergence, removal, applied bookkeeping and next-pass retry.;rev3=census-ruling-stateless-replicas-2;basis=Uses already-scanned records plus read-free verified manifest hook; unverifiable sets are protected. Admission and removal check membership; retirement checks owner/lifetime and conditional local deletion, never ACKs Retiring. No extra bucket reads. registry:Account@36926,registry:Account@38191,registry:Account@56541,registry:Account@56587,registry:Account@57278,registry:Account@58030,registry:Account@58407,registry:Account@58633,registry:Account@58700,registry:Account@58746,registry:Account@58839,registry:Account@58881,registry:Account@59529,registry:Account@59787,registry:Account@60785,registry:Account@60833,registry:Account@61242,registry:Account@61288,registry:Account@61533,registry:Account@61958,registry:Account@62446,registry:Account@63182,registry:Account@63375,registry:Account@63715,registry:Account@63953,registry:Account@64518,registry:App@36899,registry:App@38164,registry:App@56561,registry:App@56599,registry:App@57307,registry:App@58042,registry:App@58419,registry:App@58645,registry:App@58720,registry:App@58758,registry:App@58859,registry:App@59541,registry:App@59799,registry:App@60797,registry:App@60845,registry:App@61262,registry:App@61300,registry:App@61545,registry:App@61970,registry:App@62458,registry:App@63194,registry:App@63387,registry:App@63727,registry:App@63965,registry:App@64530,registry:Canary@57054,registry:ClaimOwnership@37513,registry:DBPath@46370,registry:DBPath@46385,registry:DBPath@46631,registry:DBPath@47234,registry:DBPath@47247,registry:EgressAllow@36012,registry:FleetBoxes@57015,registry:FleetBoxes@57163,registry:FleetBoxes@63575,registry:Gate@42715,registry:Gate@42855,registry:Gate@43142,registry:Hibernate@41387,registry:Hibernate@41585,registry:Hibernate@41650,registry:Hibernate@41989,registry:Hibernate@42340,registry:Hibernate@42650,registry:HoldOp@62927,registry:HoldOp@63018,registry:HoldOp@63153,registry:HoldOp@63529,registry:Host@27020,registry:Host@56520,registry:Host@57114,registry:Host@58006,registry:Host@58383,registry:Host@58547,registry:Host@58653,registry:Host@59549,registry:Host@59755,registry:Host@61125,registry:Host@61397,registry:Host@61512,registry:Host@61835,registry:Host@61932,registry:Host@62323,registry:Host@62420,registry:Host@62634,registry:Host@63009,registry:Host@63144,registry:Host@63348,registry:Host@63421,registry:Host@63520,registry:Host@63767,registry:Host@63927,registry:Host@64002,registry:Host@64088,registry:Host@64495,registry:Kind@37655,registry:Kind@37918,registry:Kind@46288,registry:Kind@46301,registry:Kind@46411,registry:Kind@46424,registry:Kind@47145,registry:Kind@47156,registry:Kind@55644,registry:Kind@62625,registry:Kind@63135,registry:Kind@63511,registry:Kind@63918,registry:Kind@64079,registry:Platform@57039,registry:PolicyExpiresAt@36037,registry:Pool@55730,registry:Provisioned@36875,registry:Provisioned@38140,registry:Provisioned@55689,registry:RateLimit@43228,registry:RateLimit@43379,registry:RateLimit@43666,registry:Region@55719,registry:ReplicaIncarnation@57328,registry:ReplicaIncarnation@60225,registry:Replication@42074,registry:Replication@42201,registry:Runtime@29677,registry:Runtime@29855,registry:Runtime@32060,registry:Runtime@40754,registry:Runtime@40808,registry:Runtime@41012,registry:Seed@44768,registry:SeedSource@44251,registry:Size@36028,registry:Socket@46336,registry:Socket@46351,registry:Socket@46648,registry:Socket@47204,registry:Socket@47217,registry:Stateless@47337,registry:Unit@46254,registry:Unit@46267,registry:Unit@47171,registry:Unit@47182,whole:ClaimOwnership@37516,whole:ClaimOwnership@37533,whole:Route@27002,whole:Route@27013,whole:Route@27031,whole:Route@28312,whole:Route@30172,whole:Route@30179,whole:Route@30219,whole:Route@30580,whole:Route@30918,whole:Route@31365,whole:Route@31416,whole:Route@31453,whole:Route@33125,whole:Route@33334,whole:Route@33673,whole:Route@33682,whole:Route@33728,whole:Route@35961,whole:Route@36520,whole:Route@36991,whole:Route@37001,whole:Route@37358,whole:Route@37365,whole:Route@37433,whole:Route@37756,whole:Route@38789,whole:Route@41740,whole:Route@46480,whole:Route@47450,whole:Route@48337,whole:Route@48382,whole:Route@48392,whole:Route@49262,whole:Route@50289,whole:Route@55755,whole:Route@55903,whole:Route@57000,whole:Route@57958,whole:Route@58340,whole:Route@63666,whole:Route@63840,whole:Route@64425,whole:Route@64475 c805d2205410d9f54f1243c137e9388321a384b1093d23d27588033e7cbc62a9 |
| +@legacy 043fdc37ebf016a65814e6655a16b69e253a86c4cf523abc41013e6e5fc47a51 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. Fix 3b round 1 I1: binding callback failure is logged and falls through to pr.applied; same per-host callback, record writers, scope and removal gates. TestStatelessBindingFailureContinuesReconcile covers second-record convergence, removal, applied bookkeeping and next-pass retry.;rev3=census-ruling-stateless-replicas-2;basis=P11 and Important 3: same record scan judges legacy row membership for retirement, including old labelled rows in Retiring. Same-owner member rows are replaced only with a provably older nonzero monotonic counter and atomic local replacement or the existing claim retirement hook. Newer/unknown rows, sidecars/platform/canary and unreadable shapes remain protected. Logs failed, successful and changed-row retirement. No new record reads or stop ACK. registry:Account@37944,registry:Account@39700,registry:Account@58050,registry:Account@58096,registry:Account@59411,registry:Account@59788,registry:Account@60014,registry:Account@60081,registry:Account@60127,registry:Account@60220,registry:Account@60262,registry:Account@60910,registry:Account@61168,registry:Account@62074,registry:Account@62122,registry:Account@62531,registry:Account@62577,registry:Account@62822,registry:Account@63247,registry:Account@63735,registry:Account@64471,registry:Account@64664,registry:Account@65076,registry:Account@65255,registry:Account@65578,registry:Account@66143,registry:App@37917,registry:App@39673,registry:App@58070,registry:App@58108,registry:App@59423,registry:App@59800,registry:App@60026,registry:App@60101,registry:App@60139,registry:App@60240,registry:App@60922,registry:App@61180,registry:App@62086,registry:App@62134,registry:App@62551,registry:App@62589,registry:App@62834,registry:App@63259,registry:App@63747,registry:App@64483,registry:App@64676,registry:App@65088,registry:App@65267,registry:App@65590,registry:App@66155,registry:Canary@58563,registry:ClaimOwnership@38531,registry:DBPath@47879,registry:DBPath@47894,registry:DBPath@48140,registry:DBPath@48743,registry:DBPath@48756,registry:EgressAllow@37030,registry:FleetBoxes@58524,registry:FleetBoxes@58672,registry:FleetBoxes@64864,registry:Gate@44224,registry:Gate@44364,registry:Gate@44651,registry:Hibernate@42896,registry:Hibernate@43094,registry:Hibernate@43159,registry:Hibernate@43498,registry:Hibernate@43849,registry:Hibernate@44159,registry:HoldOp@29123,registry:HoldOp@64216,registry:HoldOp@64307,registry:HoldOp@64442,registry:HoldOp@64818,registry:Host@27020,registry:Host@29526,registry:Host@29666,registry:Host@58029,registry:Host@58623,registry:Host@59387,registry:Host@59764,registry:Host@59928,registry:Host@60034,registry:Host@60930,registry:Host@61136,registry:Host@62414,registry:Host@62686,registry:Host@62801,registry:Host@63124,registry:Host@63221,registry:Host@63612,registry:Host@63709,registry:Host@63923,registry:Host@64298,registry:Host@64433,registry:Host@64637,registry:Host@64710,registry:Host@64809,registry:Host@65049,registry:Host@65228,registry:Host@65307,registry:Host@65394,registry:Host@65552,registry:Host@65627,registry:Host@65713,registry:Host@66120,registry:Incarnation@29299,registry:Kind@29511,registry:Kind@29651,registry:Kind@38673,registry:Kind@38925,registry:Kind@39207,registry:Kind@39427,registry:Kind@47797,registry:Kind@47810,registry:Kind@47920,registry:Kind@47933,registry:Kind@48654,registry:Kind@48665,registry:Kind@57153,registry:Kind@63914,registry:Kind@64424,registry:Kind@64800,registry:Kind@65040,registry:Kind@65385,registry:Kind@65543,registry:Kind@65704,registry:Platform@58548,registry:PolicyExpiresAt@37055,registry:Pool@57239,registry:Provisioned@37893,registry:Provisioned@39649,registry:Provisioned@57198,registry:RateLimit@44737,registry:RateLimit@44888,registry:RateLimit@45175,registry:Region@57228,registry:ReplicaIncarnation@29007,registry:ReplicaIncarnation@29044,registry:Replication@43583,registry:Replication@43710,registry:Runtime@30695,registry:Runtime@30873,registry:Runtime@33078,registry:Runtime@42263,registry:Runtime@42317,registry:Runtime@42521,registry:Seed@46277,registry:SeedSource@45760,registry:Size@37046,registry:Socket@47845,registry:Socket@47860,registry:Socket@48157,registry:Socket@48713,registry:Socket@48726,registry:Stateless@48846,registry:Unit@47763,registry:Unit@47776,registry:Unit@48680,registry:Unit@48691,whole:ClaimOwnership@38534,whole:ClaimOwnership@38551,whole:Route@27002,whole:Route@27013,whole:Route@27031,whole:Route@28312,whole:Route@28899,whole:Route@29110,whole:Route@29425,whole:Route@29711,whole:Route@29725,whole:Route@29738,whole:Route@29761,whole:Route@31190,whole:Route@31197,whole:Route@31237,whole:Route@31598,whole:Route@31936,whole:Route@32383,whole:Route@32434,whole:Route@32471,whole:Route@34143,whole:Route@34352,whole:Route@34691,whole:Route@34700,whole:Route@34746,whole:Route@36979,whole:Route@37538,whole:Route@38009,whole:Route@38019,whole:Route@38376,whole:Route@38383,whole:Route@38451,whole:Route@38756,whole:Route@38826,whole:Route@38837,whole:Route@39265,whole:Route@40298,whole:Route@43249,whole:Route@47989,whole:Route@48959,whole:Route@49846,whole:Route@49891,whole:Route@49901,whole:Route@50771,whole:Route@51798,whole:Route@57264,whole:Route@57412,whole:Route@58509,whole:Route@58805,whole:Route@59339,whole:Route@59721,whole:Route@61576,whole:Route@64955,whole:Route@65465,whole:Route@66050,whole:Route@66100 5ac04d6990c2cd39eddd6f14cb69656e603cd1654f8b09bbc68cc1ee427e2094 |
| @legacy 6b946f3390ebc1f5c37960d4ba1f6d9c3869f149866ddf93360a61c948fe9600 internal/provision/reconcile.go convergeOwned legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-edge-asset-cache-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the owned-converge arm gains the asset pair beside steering: when the row's assets_off or asset_gen differs from the record's (Record.AssetsOn, Record.AssetGen), Registry.SetAssets converges both in one UPDATE (dry-run logs only); the new kinds are registry:AssetsOff and registry:AssetGen, three sites each, all existing.AssetsOff and existing.AssetGen (the comparison and the two log lines); it now also returns the converge errors it already logged, joined, so Reconcile's completeness report can tell an applied record from one that was not; no other read is added; the agent's own pass, no root decision;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 owned-converge arm gains the app policy: when the row's egress_allow, size or policy_expires_at differs from the pass's columns (ap, only when Known), Registry.SetPolicy writes all three in one UPDATE (dry run logs only), and it reports whether the allow or size moved so Reconcile can call PolicyChanged. New kinds registry:EgressAllow (three sites), registry:Size (three) and registry:PolicyExpiresAt (one), all existing.* of the agent's own row: the comparison and the two log lines; no other read added; the agent's own pass, no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: when the record says HA and the existing row does not, marks the row with reg.SetHA (a dry run logs instead; an error is appended to the pass's errors); converges one way only, nothing clears the mark; +registry:HA is existing.HA; keeps legacy;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 2): when the row's Assigned or Moved differs from the record's FleetBoxAt or FleetBoxMoved, one reg.SetFleetAssignment call (dry-run logs instead); a failure is logged and counted. Agent provision pass, not root.;rev3=census-ruling-stateless-replicas-2;basis=Converges set projection through typed lifetime/revision writer; first seed compares entire observed SQL row. Reads supplied record and existing registry only. registry:Addr@3137,registry:Addr@3359,registry:Addr@3786,registry:Addrs@3164,registry:Addrs@3380,registry:Addrs@3807,registry:AssetGen@4644,registry:AssetGen@4830,registry:AssetGen@5221,registry:AssetsOff@4614,registry:AssetsOff@4804,registry:AssetsOff@5195,registry:Assigned@7927,registry:Assigned@8131,registry:Assigned@8580,registry:Channel@1002,registry:Channel@1333,registry:Channel@872,registry:Copies@309,registry:Copies@328,registry:EgressAllow@10102,registry:EgressAllow@10524,registry:EgressAllow@9846,registry:Environment@1375,registry:Environment@1517,registry:Environment@1876,registry:FleetBoxes@267,registry:FleetBoxes@290,registry:HA@7304,registry:Health@3191,registry:Health@3403,registry:Health@3830,registry:Moved@7966,registry:Moved@8150,registry:Moved@8599,registry:PolicyExpiresAt@9927,registry:Replica@6663,registry:Replica@6791,registry:Replica@7123,registry:ReplicaIncarnation@395,registry:ReplicaIncarnation@426,registry:ReplicaIncarnation@516,registry:ReplicaIncarnation@599,registry:ReplicaIncarnation@707,registry:ReplicaRevision@343,registry:ReplicaRevision@371,registry:Replicas@5794,registry:Replicas@5919,registry:Replicas@6241,registry:Size@10140,registry:Size@10562,registry:Size@9888,registry:Stateless@454,registry:StatusNamed@1952,registry:StatusNamed@2096,registry:StatusNamed@2460,registry:Steering@3866,registry:Steering@3999,registry:Steering@4337,registry:UpdateSettings@8904,registry:UpdateSettings@9044,registry:UpdateSettings@9404,whole:Route@589 549fb3f0a2ea5fcae27c03dedb3f855c75a26d32a183a49056114bdea99313c6 |
| @legacy 0488f5b1e5085bd4a355c1726dca26aa6189486c20ebf3ff2ecb88ec938de1aa 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.;rev3=census-ruling-stateless-replicas-2;basis=Validates canonical set projection, writes explicit declarative columns and clears single-box binding; all forbidden columns zero. Same transaction/read source. file:Exec@1509,file:QueryRow@1285,registry:Account@754,registry:App@731,registry:Channel@807,registry:Copies@1054,registry:FleetBox@1175,registry:FleetBoxes@1031,registry:FleetBoxes@1152,registry:FleetLabel@1187,registry:FleetLabel@942,registry:FleetLabel@972,registry:Host@1339,registry:Host@197,registry:Host@234,registry:Host@419,registry:Host@655,registry:Kind@206,registry:RateLimit@834,registry:Region@428,registry:Region@781,registry:Region@84,registry:ReplicaIncarnation@1122,registry:ReplicaRevision@1082,registry:Slug@707,registry:Stateless@1002,registry:remote@507,registry:remote@537,whole:Route@1542,whole:Route@592,whole:Route@600,whole:remoteClient@509,whole:remoteClient@539 cf547d7bae134b9ca326bd111378d02214373e65e6107ec809eac5e3aef5e7e7 |
| @legacy 4bc653a2811cb1340e1c5ae87403e3cef0ce97105977adef72ea0e09556e5d9c 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.;rev3=census-ruling-stateless-replicas-2;basis=Existing row scanner reads four additive SQL columns from the same row and connection. registry:Account@426,registry:Addr@194,registry:Addrs@516,registry:App@269,registry:Args@575,registry:AssetGen@885,registry:AssetsOff@1166,registry:Assigned@981,registry:Backing@351,registry:BuildState@800,registry:Canary@1220,registry:Caps@456,registry:CertExpiresAt@408,registry:Channel@299,registry:ClaimIncarnation@637,registry:ClaimOwner@673,registry:ClaimRowID@688,registry:ClaimStamp@658,registry:Copies@1044,registry:CreatedAt@559,registry:DBPath@230,registry:DNSCheckedAt@391,registry:DNSStatus@377,registry:EgressAllow@931,registry:Environment@440,registry:FleetBox@501,registry:FleetBoxes@1029,registry:FleetLabel@1002,registry:Gate@550,registry:GoodDemand@747,registry:GoodDigest@732,registry:GoodVersion@716,registry:HA@1128,registry:Health@526,registry:Hibernate@1196,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@1144,registry:NextDue@339,registry:Platform@1266,registry:PolicyExpiresAt@956,registry:Pool@277,registry:PrevVersion@253,registry:Provisioned@1290,registry:RateLimit@859,registry:Region@288,registry:Replica@1317,registry:ReplicaIncarnation@1075,registry:ReplicaRevision@1055,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@1098,registry:Status@203,registry:StatusNamed@1241,registry:Steering@537,registry:Tunnel@465,registry:Unit@492,registry:UpdateSettings@781,registry:Version@241,whole:Route@1346 a0f26864ffc4267e026c166b681990dad201ce9059b4496c1c6ec0a33f7c8be0 |
| @@ -31,18 +35,22 @@ |
| internal/registry/forward.go Registry.SetFleetBoxIf 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 1: one conditional UPDATE of fleet_box judging placement on the fleet (region = 'fleet/'||fleet), kind (not a sidecar) and ACTIVE membership in fleet_boxes at the write; returns whether a row changed (+file:Exec, +registry:Changed, +registry:remote x2, +registry:sql, +whole:remoteClient x2). Replaces SetFleetBox.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5, rule 3): the one conditional UPDATE gains AND fleet_label = '', so a labelled forward row's fleet_box is never changed by a binding. Read sites unchanged (7). It writes less, never more. Agent hub's bindings pass, not root.;rev3=census-ruling-stateless-replicas-2;basis=Existing conditional SQL write refuses every replica projection; a binding cannot collapse a set. No new read source. file:Exec@259,registry:Changed@225,registry:remote@112,registry:remote@80,registry:sql@259,whole:remoteClient@114,whole:remoteClient@82 3ce7adcfb074126b83a93efbd284d9063a62ac0ed8bece4561283705bfdba4f3 |
| internal/registry/forward.go Route.InertForward legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 2: true only when every one of the 50 forbidden columns of §4.2 is zero (one +registry:<field> site each, nothing else). Pure.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 2): two more forbidden fields must be zero on a forward row, Assigned == "" and !Moved (fleet_assigned, fleet_moved in ForwardForbidden). Stricter, never looser.;rev3=census-ruling-stateless-replicas-2;basis=Pure validation additionally refuses malformed set projections; all unrelated forbidden fields still must be zero. registry:Addr@114,registry:Addrs@132,registry:Args@819,registry:AssetGen@304,registry:AssetsOff@287,registry:Assigned@1172,registry:Backing@745,registry:BuildState@1009,registry:Canary@666,registry:Caps@579,registry:ClaimIncarnation@1071,registry:ClaimOwner@1124,registry:ClaimRowID@1148,registry:ClaimStamp@1101,registry:DBPath@349,registry:EgressAllow@937,registry:Environment@534,registry:Gate@647,registry:GoodDemand@464,registry:GoodDigest@440,registry:GoodVersion@415,registry:HA@616,registry:Health@151,registry:Hibernate@598,registry:HoldOp@171,registry:IdleSeconds@837,registry:ImportGate@262,registry:Incarnation@191,registry:LastError@326,registry:MaxRunSeconds@861,registry:Moved@1195,registry:NextDue@705,registry:Platform@785,registry:PolicyExpiresAt@980,registry:Pool@516,registry:PrevVersion@390,registry:Replica@1056,registry:Replicas@1033,registry:Replication@680,registry:Runtime@626,registry:Seed@801,registry:SeedSource@238,registry:ServingSeq@215,registry:ServingVersion@488,registry:Size@962,registry:Socket@94,registry:StatusNamed@726,registry:Steering@887,registry:Tunnel@559,registry:Unit@766,registry:UpdateSettings@909,registry:Version@369 9f79218887204b816bca2d371e96b7a175033136070104a84d8618ef27b2b2da |
| 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.;rev3=census-ruling-stateless-replicas-2;basis=Four additive projection columns join the existing routes SELECT and hash only when nonzero; no new query or file read. file:Exec@284,file:Open@188,file:Query@10297,file:Query@368,file:Query@6167,file:Query@6646,file:Query@7632,file:Query@8328,file:Query@9240,registry:ClaimIncarnation@1598,registry:ClaimIncarnation@5075,registry:ClaimIncarnation@5152,registry:ClaimOwner@1642,registry:ClaimOwner@5276,registry:ClaimOwner@5341,registry:ClaimRowID@1661,registry:ClaimRowID@5368,registry:ClaimRowID@5434,registry:ClaimStamp@1623,registry:ClaimStamp@5185,registry:ClaimStamp@5249,registry:Incarnation@1706,registry:Incarnation@5655,registry:Incarnation@5719,registry:ServingSeq@1725,registry:ServingSeq@5746,registry:ServingSeq@5809,registry:Text@158,registry:path@207,registry:remote@55,registry:remote@87,whole:remoteClient@57,whole:remoteClient@89 892ed6fd3faa8afd814643d8ddc1b757587892d43981db456d8b09cec08d07fe |
| -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.;rev3=census-ruling-stateless-replicas-2;basis=Existing guarded SQL upsert carries four additive projection columns; no new read source or execution authority. file:Exec@116,registry:Host@4876,whole:Route@4752 83400279ca15f879933151b6b8fa03c2b6e24051172b69b52fa6c511ee96ab11 |
| +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.;rev3=census-ruling-stateless-replicas-2;basis=P12: existing guarded upsert keeps the whole set and its stateless projection when the incoming row has zero set fields, only for the same tenant. A retenant never inherits a set. Same statement and read sources. file:Exec@116,registry:Host@5987,whole:Route@5863 9bfe70a414c39096e6a5ba4513e47d37ac88236c78f5d34b61517dd3aa066ff9 |
| internal/activator/wakeidentity.go Service.CheckReplicaAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Only set rows invoke existing registry/instance-record wake recheck. Legacy returns without reading; not a new polling loop. registry:FleetBoxes@93,whole:Route@169 43e922e015b61f736ed118ad44113802ca1944b676e9586388d6f9e00d691eba |
| internal/host/fleetidentity.go recheckReplicaPickup legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Only set rows require a launcher with the activator current-membership check; missing check refuses pickup. Reads supplied Route only. registry:FleetBoxes@98,whole:Route@322 7af336690a854d75b8a68b2f8031f8fb2cbd8441117e73c30610307d8f0dd7ca |
| internal/provision/forward.go forwardRowFor legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Projects declarative set fields from supplied record; keeps socket, database, execution and all other forbidden fields zero. whole:Route@436,whole:Route@453 9ba6c562aa2b720af029d069b5855b8d1dc32ff76c742c90ad13604f8f19970d |
| -internal/provision/replicaassignment.go projectReplicaAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Pure canonical projection of supplied assignment and record lifetime; no read outside arguments, no launch authority. registry:Copies@299,registry:FleetBox@450,registry:FleetBoxes@284,registry:FleetLabel@463,registry:ReplicaIncarnation@330,registry:ReplicaRevision@310,registry:Stateless@429 4b10be064d363d2d810908521e497f07b0c577b0bd618d17ab7464f1f4198063 |
| +internal/provision/replicaassignment.go projectReplicaAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=P12: pure projection marks a present assignment invalid before validation, so an invalid shape cannot silently become the legacy empty set. No store read or path authority. registry:Copies@465,registry:FleetBox@616,registry:FleetBoxes@254,registry:FleetBoxes@450,registry:FleetLabel@629,registry:ReplicaIncarnation@496,registry:ReplicaRevision@476,registry:Stateless@595 be1287470cf6b9cfbef39e9740c21b461d952b265098d72c9e32c37e6326e383 |
| +internal/provision/replicaassignment.go replicaRowLifetimeAllowed legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=P11: pure comparison of the already-read record and local route. Requires same owner and managed instance kind; accepts unprojected legacy rows for membership, matching lifetimes, or a proven older monotonic counter. Newer/unknown ordering refuses. registry:Account@145,registry:App@174,registry:Canary@132,registry:FleetBoxes@387,registry:Host@195,registry:Incarnation@218,registry:Kind@92,registry:Platform@117,registry:Provisioned@74,registry:ReplicaIncarnation@410,registry:ReplicaIncarnation@442,whole:Route@495 03c64806b231b7af2844dc47eaeefc52549bbce0e6afd56ed3d103d87f2f42a0 |
| +internal/provision/replicaassignment.go replicaRowOlder legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=P11: compares existing nonzero monotonic incarnation counters to prove a projected row older. Does not order hash identities or use registry creation timestamps as record evidence. Pure supplied values. registry:Incarnation@120,registry:Incarnation@98,registry:ReplicaIncarnation@67 3537ecb5ea34e2dc607f7b58e6ec89c49445a6f6568744478470a45c4c968b35 |
| internal/registry/replicas.go Registry.DeleteReplicaAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Existing registry connection reads the current local route in an immediate transaction and deletes only exact equality with observed instance row. Refuses sidecar/platform/canary/nonprovisioned rows; no bucket write or stop ACK. file:Exec@661,file:QueryRow@489,registry:Canary@131,registry:Changed@382,registry:FleetBoxes@175,registry:Host@550,registry:Host@704,registry:Kind@79,registry:Platform@110,registry:Provisioned@151,registry:remote@247,registry:remote@279,whole:Route@347,whole:Route@357,whole:Route@612,whole:Route@618,whole:remoteClient@249,whole:remoteClient@281 64b52031ade4d47aac047cd3508672c32b0ea2b854d5bf03175b335b27bb91b3 |
| +internal/registry/replicas.go Registry.ReplaceReplicaAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=P11: same registry SQL connection atomically compares the complete observed instance row, deletes only the proven older nonzero-counter lifetime and inserts its current same-owner projection. Refuses claims, held/foreign/non-instance rows, non-increasing counters and invalid next projections. Uses existing normalized insert and alias carry inside the transaction, never a bucket read or stop ACK. file:Exec@1188,registry:Account@517,registry:Account@537,registry:App@553,registry:App@569,registry:Backing@356,registry:Canary@228,registry:Canary@247,registry:Changed@941,registry:ClaimOwnership@654,registry:ClaimOwnership@703,registry:FleetBoxes@399,registry:FleetBoxes@462,registry:HA@308,registry:Hibernate@319,registry:HoldOp@262,registry:HoldOp@287,registry:Host@1058,registry:Host@1231,registry:Host@1409,registry:Host@1515,registry:Host@487,registry:Host@504,registry:Incarnation@581,registry:Incarnation@610,registry:Incarnation@634,registry:Kind@117,registry:Kind@86,registry:Platform@190,registry:Platform@211,registry:Provisioned@145,registry:Provisioned@170,registry:Socket@1529,registry:Tunnel@378,registry:Unit@337,registry:remote@791,registry:remote@823,whole:ClaimOwnership@663,whole:ClaimOwnership@708,whole:Route@1114,whole:Route@1133,whole:Route@1144,whole:Route@1306,whole:Route@1368,whole:Route@1379,whole:Route@1492,whole:Route@892,whole:Route@902,whole:Route@912,whole:Route@920,whole:remoteClient@793,whole:remoteClient@825 68a27ce02fea53c0b0cc56e74862ca819717269efc1e725183ed67b995662c24 |
| internal/registry/replicas.go Registry.SeedReplicaAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Requires an observed legacy row and delegates to atomic equality-checked projection writer; no new path or record read. registry:Copies@220,registry:FleetBoxes@158,registry:Host@307,registry:ReplicaIncarnation@121,registry:ReplicaRevision@187,whole:Route@354 6859324045aba010d3a96b4df9b306902e47e8c3dbecf8efa49e1fe6967d4151 |
| internal/registry/replicas.go Registry.setReplicaAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Same local registry SQL connection reads one route in a transaction; freezes identity on seed, rejects lifetime/revision mismatch and forbidden row shapes. Writes declarative set columns only, no paths or bucket data. file:Exec@1463,file:QueryRow@698,registry:Backing@1058,registry:Canary@1003,registry:Copies@1353,registry:FleetBoxes@1327,registry:HA@1016,registry:Hibernate@1025,registry:Kind@944,registry:Method@509,registry:Observed@547,registry:Platform@988,registry:Provisioned@970,registry:Region@886,registry:ReplicaIncarnation@1117,registry:ReplicaRevision@1198,registry:ReplicaRevision@1281,registry:Stateless@1388,registry:Tunnel@1078,registry:Unit@1041,registry:remote@335,registry:remote@586,whole:Route@1098,whole:Route@1159,whole:Route@1178,whole:Route@1185,whole:Route@488,whole:Route@549,whole:Route@561,whole:remoteClient@337,whole:remoteClient@588,whole:remoteRequest@605 b61ec1197d681cf71b1c78c06a4af746c4825457e44caf65d636df2778f59206 |
| internal/registry/replicas.go Route.ReplicaContains legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Pure validated membership of the supplied canonical JSON array; no external read. registry:FleetBoxes@170,registry:FleetBoxes@85 f793980f7dd8efb9fcdfabfb3f60a5797ccd0920c51fd0aae10b276ca3a8223b |
| internal/registry/replicas.go Route.ValidReplicaProjection legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Pure canonical JSON/count/lifetime/revision/mode validation of supplied route; absent fields remain legacy. registry:Copies@327,registry:Copies@81,registry:FleetBoxes@200,registry:FleetBoxes@425,registry:FleetBoxes@51,registry:Region@380,registry:ReplicaIncarnation@124,registry:ReplicaIncarnation@441,registry:ReplicaRevision@471,registry:ReplicaRevision@496,registry:ReplicaRevision@98,registry:Stateless@534 6ba44570ad006fbfd89257f2969f4940db67f201c08d44763f2989b75b7dc1a5 |
| 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.;rev3=census-ruling-stateless-replicas-2;basis=Only a set command chains the existing exec gate to the current record membership recheck immediately before exec; preserves caller gate and legacy path. file:Prepare@2688,file:Prepare@2722,registry:FleetBoxes@9308,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@9497,whole:Route@9538 1c58059ab419d2a1fc1647c031f2e81647c1f892642656134cf1721b4d90d689 |
| internal/activator/cmdunit.go ExecBackend.StartCmd legacy accepted-legacy accepted-legacy;rev3=census-ruling-carlos-run;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): writes launch.cmd.json in the instance's own directory and asks instance control to start the cmd unit; root validates the staged executable it names (refuseStagedExe) and decides the start;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 7a: after the layout and run-directory checks, a rootfs row returns startRootfsRun (backend_rootfs.go) before nestedGate; the binary path is byte-identical (TestBinaryStartCmdLaunchGolden); new site +whole:Route is rt.Rootfs(); Plan 6 Task 8: a session (spec.TTY): checkCmdLaunch refuses before anything is listened on or written a launch shape (errCmdLaunchShape: process and argv both or neither, a process other than console, a run naming a process, a session with a run directory or streams, an id that is not one path element) and a process on a binary row (errBinaryProcess); then the session verbs (TTYControl) or ErrNoTTY; on a binary row the same nested gate, live link or staged build, launch environment and replica gate as a run; prepare(rt, RoleTTY); the pty and its handoff socket (openTTY) in place of the two streams; launch.tty.json with argv [live link, args...] and childEnv(ttyVars); then TTYControl.TTY, or TTYExe naming the staged build (POST /tty; root Task 6 handler validates it); the run path is unchanged (TestBinaryStartCmdLaunchGolden); new sites are rt to checkCmdLaunch and rt.Host in its error;rev3=census-ruling-stateless-replicas-2;basis=Only a set row invokes the caller's exec gate after binary command launch preparation and before any Cmd/TTY control call. Existing single-copy/stateful command path is unchanged; rootfs commands already invoke the gate. registry:FleetBoxes@2475,registry:Host@1092,registry:Host@1201,registry:Host@1972,registry:Host@2176,registry:Host@218,registry:Host@2404,registry:Host@2693,registry:Host@2767,registry:Host@2841,registry:Host@2915,registry:Host@3299,registry:Host@3432,registry:Host@3468,registry:Host@367,registry:Host@473,registry:Host@685,registry:Host@983,whole:Route@130,whole:Route@1788,whole:Route@1895,whole:Route@2220,whole:Route@2313,whole:Route@2585,whole:Route@298,whole:Route@3233,whole:Route@3237,whole:Route@3519,whole:Route@3523,whole:Route@414,whole:Route@755,whole:Route@792 cf3e3d38b9143532a9821578987c84e0d7dcea85e97a36a6d2aaba585f8081d7 |
| +internal/activator/rootfsworkers.go Service.runWorkerStart legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-apps-3-workers;basis=rootfs Plan 3 Group W: one worker start off a.mu: publishes the build's pins, launches through the gate, installs only on the same entry still awake; always ends with the start done and what it started installed, proven gone or a stray;rev3=census-ruling-stateless-replicas-2;basis=Declared stateless set workers use the instance route and existing wake record recheck at actual launch, between two existing local worker gates. No read on a tick without a start, no new reads for stateful or unset assignments. Sidecar entry-point refusal remains. registry:FleetBoxes@2042,registry:Host@1971,registry:Host@2580,registry:Host@2771,registry:Host@3197,whole:Route@1656,whole:Route@2210,whole:Route@2342,whole:Route@2849,whole:Route@3261 924ee9f484d2ae2eaaf1dd250d889cc7f005ddf307aeeafb30874f3003f7fa67 |
| internal/activator/startrule.go ExecBackend.establishAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 3, rule 6): on a labelled row (rt.Assigned set), MkdirAll the instance directory (0700) and write rt.Assigned to <db>.assigned via writeDurable. Unlabelled rows write nothing. Agent as carlos, not root.;rev3=census-ruling-stateless-replicas-2;basis=A set projection refuses this SQLite marker path; verified stateless launches already bypass it. Legacy behavior unchanged. registry:Assigned@207,registry:Assigned@543,registry:FleetBoxes@159,registry:Host@348,registry:Host@463,registry:Host@679 084270cbed04e3ae3d69dd3d0796aad58bb2e1c9a4c57a0a7a9f0e66caebfa21 |
| internal/activator/startrule.go ExecBackend.reconcileAssignment legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 3, rule 6): on a labelled row, Lstat the instance dir, read the <db>.assigned marker with instancefs.ReadBeneathLimitOrAbsent (no symlink follow, 128 bytes max), Lstat the database; a copy not kept under rt.Assigned is moved by supersede into <DataDir>/.superseded/<host>/<nanos> (RenameBetweenNoReplace, fsync barriers), never deleted. Any read failure refuses the wake. Agent as carlos in the instance directory, not root.;rev3=census-ruling-stateless-replicas-2;basis=A set projection refuses this SQLite set-aside path before any filesystem read or move. Verified stateless launches bypass it; legacy unchanged. file:Lstat@379,file:Lstat@804,registry:Assigned@1332,registry:Assigned@1429,registry:Assigned@1463,registry:Assigned@207,registry:Assigned@777,registry:FleetBoxes@159,registry:Host@1022,registry:Host@1192,registry:Host@1547,registry:Host@1677,registry:Host@1803,registry:Host@348,registry:Host@542,registry:Host@727 2d3c4b0dc36bc1dee209f00a80c6871543a2b07cfe8f2acef5c2bd8b6ab26782 |
| internal/activator/startrule.go ExecBackend.startAllowed legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (Task 3, rule 6): the start rule: an unlabelled or restored start is allowed; a kept local copy must match rt.Assigned in its marker; an empty start of a labelled row is refused (ErrNothingToRestore) when a set-aside entry exists for the host or rt.Moved is set. Only refuses. Agent, not root.;rev3=census-ruling-stateless-replicas-2;basis=A set projection refuses this SQLite empty-start rule; does not turn a route hint into bypass authority. Legacy rule unchanged. registry:Assigned@211,registry:Assigned@668,registry:Assigned@820,registry:FleetBoxes@163,registry:Host@268,registry:Moved@1407,whole:Route@315 c0576b3af038f2a714e43ae6263d259110825f3ea18f5c9798214d7baf6958e4 |
| @@ -50,20 +58,20 @@ internal/activator/wakeidentity.go Service.currentWakeRoute legacy accepted-lega |
| internal/activator/wakeidentity.go leaseRouteChanged legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-1b;basis=new (branch review R1 P1-1): a pure comparison of the row a wake began from (began) with the row doWake read under the lease (now): nil now is a row that is gone; then wakeRouteChanged's identity checks; then Assigned and Moved; then Region. It answers an error naming the change, wrapping errRouteChangedUnderLease, or nil. No read beyond its arguments. Agent, not root; it only refuses.;rev3=census-ruling-stateless-replicas-2;basis=Pure comparison adds set/count/revision/lifetime changes to existing wake fence; no new input source. registry:Assigned@559,registry:Assigned@577,registry:Assigned@771,registry:Assigned@796,registry:Copies@388,registry:Copies@404,registry:FleetBoxes@350,registry:FleetBoxes@370,registry:Host@164,registry:Host@732,registry:Host@940,registry:Moved@593,registry:Moved@608,registry:Moved@785,registry:Moved@812,registry:Region@831,registry:Region@847,registry:Region@979,registry:Region@991,registry:ReplicaIncarnation@466,registry:ReplicaIncarnation@494,registry:ReplicaRevision@418,registry:ReplicaRevision@443,whole:Route@234,whole:Route@242,whole:Route@91 692ba8509b2b5dc40a1bd39bf5038b68c5d8c41e8fdc264a1f4041892d300210 |
| 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.;rev3=census-ruling-stateless-replicas-2;basis=Refuses record or route set assignments before the single-box binding writer; no new read. registry:Account@328,registry:App@357,registry:Assigned@378,registry:FleetBoxes@150,registry:Host@305,registry:Provisioned@263,registry:ServingVersion@1067,registry:Stateless@210,registry:Status@281 46ba5abc35a4c59b6ab66e6d3691663ce4f2f9ae0e70b6ac56d2df91127cd24c |
| internal/provision/forward.go forwardCurrent 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 10: compares the existing forward row's declared fields with the wanted one (+registry:Account, App, Channel, Provisioned, RateLimit, Region, Slug, Status, each x2). Pure.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5): the forward row is current only if FleetLabel also matches and, for a labelled want, FleetBox equals the label (+registry:FleetBox x2, +registry:FleetLabel x3). The hub's forward phase in the agent, not root; it may write a row it skipped before, never fewer checks.;rev3=census-ruling-stateless-replicas-2;basis=Pure comparison covers explicit count/set/revision/lifetime and assigned mode; legacy nil-assignment mode comparison remains unchanged. registry:Account@550,registry:Account@570,registry:App@520,registry:App@536,registry:Channel@624,registry:Channel@644,registry:Copies@137,registry:Copies@156,registry:FleetBox@376,registry:FleetBox@774,registry:FleetBox@795,registry:FleetBoxes@118,registry:FleetBoxes@282,registry:FleetBoxes@351,registry:FleetBoxes@95,registry:FleetLabel@704,registry:FleetLabel@727,registry:FleetLabel@749,registry:Provisioned@442,registry:Provisioned@466,registry:RateLimit@662,registry:RateLimit@684,registry:Region@588,registry:Region@607,registry:ReplicaIncarnation@223,registry:ReplicaIncarnation@254,registry:ReplicaRevision@171,registry:ReplicaRevision@199,registry:Slug@488,registry:Slug@505,registry:Stateless@307,registry:Stateless@329,registry:Status@406,registry:Status@425 35f2010c3c11b810e2a7f06c0575c2d08cf1777b71b091d9c432f1835f187c5a |
| -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. Fix 3b round 1 I1: binding callback failure is logged and falls through to pr.applied; same per-host callback, record writers, scope and removal gates. TestStatelessBindingFailureContinuesReconcile covers second-record convergence, removal, applied bookkeeping and next-pass retry.;rev3=census-ruling-stateless-replicas-2;basis=Uses already-scanned records plus read-free verified manifest hook; unverifiable sets are protected. Admission and removal check membership; retirement checks owner/lifetime and conditional local deletion, never ACKs Retiring. No extra bucket reads. registry:Account@36926,registry:Account@38191,registry:Account@56541,registry:Account@56587,registry:Account@57278,registry:Account@58030,registry:Account@58407,registry:Account@58633,registry:Account@58700,registry:Account@58746,registry:Account@58839,registry:Account@58881,registry:Account@59529,registry:Account@59787,registry:Account@60785,registry:Account@60833,registry:Account@61242,registry:Account@61288,registry:Account@61533,registry:Account@61958,registry:Account@62446,registry:Account@63182,registry:Account@63375,registry:Account@63715,registry:Account@63953,registry:Account@64518,registry:App@36899,registry:App@38164,registry:App@56561,registry:App@56599,registry:App@57307,registry:App@58042,registry:App@58419,registry:App@58645,registry:App@58720,registry:App@58758,registry:App@58859,registry:App@59541,registry:App@59799,registry:App@60797,registry:App@60845,registry:App@61262,registry:App@61300,registry:App@61545,registry:App@61970,registry:App@62458,registry:App@63194,registry:App@63387,registry:App@63727,registry:App@63965,registry:App@64530,registry:Canary@57054,registry:ClaimOwnership@37513,registry:DBPath@46370,registry:DBPath@46385,registry:DBPath@46631,registry:DBPath@47234,registry:DBPath@47247,registry:EgressAllow@36012,registry:FleetBoxes@57015,registry:FleetBoxes@57163,registry:FleetBoxes@63575,registry:Gate@42715,registry:Gate@42855,registry:Gate@43142,registry:Hibernate@41387,registry:Hibernate@41585,registry:Hibernate@41650,registry:Hibernate@41989,registry:Hibernate@42340,registry:Hibernate@42650,registry:HoldOp@62927,registry:HoldOp@63018,registry:HoldOp@63153,registry:HoldOp@63529,registry:Host@27020,registry:Host@56520,registry:Host@57114,registry:Host@58006,registry:Host@58383,registry:Host@58547,registry:Host@58653,registry:Host@59549,registry:Host@59755,registry:Host@61125,registry:Host@61397,registry:Host@61512,registry:Host@61835,registry:Host@61932,registry:Host@62323,registry:Host@62420,registry:Host@62634,registry:Host@63009,registry:Host@63144,registry:Host@63348,registry:Host@63421,registry:Host@63520,registry:Host@63767,registry:Host@63927,registry:Host@64002,registry:Host@64088,registry:Host@64495,registry:Kind@37655,registry:Kind@37918,registry:Kind@46288,registry:Kind@46301,registry:Kind@46411,registry:Kind@46424,registry:Kind@47145,registry:Kind@47156,registry:Kind@55644,registry:Kind@62625,registry:Kind@63135,registry:Kind@63511,registry:Kind@63918,registry:Kind@64079,registry:Platform@57039,registry:PolicyExpiresAt@36037,registry:Pool@55730,registry:Provisioned@36875,registry:Provisioned@38140,registry:Provisioned@55689,registry:RateLimit@43228,registry:RateLimit@43379,registry:RateLimit@43666,registry:Region@55719,registry:ReplicaIncarnation@57328,registry:ReplicaIncarnation@60225,registry:Replication@42074,registry:Replication@42201,registry:Runtime@29677,registry:Runtime@29855,registry:Runtime@32060,registry:Runtime@40754,registry:Runtime@40808,registry:Runtime@41012,registry:Seed@44768,registry:SeedSource@44251,registry:Size@36028,registry:Socket@46336,registry:Socket@46351,registry:Socket@46648,registry:Socket@47204,registry:Socket@47217,registry:Stateless@47337,registry:Unit@46254,registry:Unit@46267,registry:Unit@47171,registry:Unit@47182,whole:ClaimOwnership@37516,whole:ClaimOwnership@37533,whole:Route@27002,whole:Route@27013,whole:Route@27031,whole:Route@28312,whole:Route@30172,whole:Route@30179,whole:Route@30219,whole:Route@30580,whole:Route@30918,whole:Route@31365,whole:Route@31416,whole:Route@31453,whole:Route@33125,whole:Route@33334,whole:Route@33673,whole:Route@33682,whole:Route@33728,whole:Route@35961,whole:Route@36520,whole:Route@36991,whole:Route@37001,whole:Route@37358,whole:Route@37365,whole:Route@37433,whole:Route@37756,whole:Route@38789,whole:Route@41740,whole:Route@46480,whole:Route@47450,whole:Route@48337,whole:Route@48382,whole:Route@48392,whole:Route@49262,whole:Route@50289,whole:Route@55755,whole:Route@55903,whole:Route@57000,whole:Route@57958,whole:Route@58340,whole:Route@63666,whole:Route@63840,whole:Route@64425,whole:Route@64475 c805d2205410d9f54f1243c137e9388321a384b1093d23d27588033e7cbc62a9 |
| +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. Fix 3b round 1 I1: binding callback failure is logged and falls through to pr.applied; same per-host callback, record writers, scope and removal gates. TestStatelessBindingFailureContinuesReconcile covers second-record convergence, removal, applied bookkeeping and next-pass retry.;rev3=census-ruling-stateless-replicas-2;basis=P11 and Important 3: same record scan judges legacy row membership for retirement, including old labelled rows in Retiring. Same-owner member rows are replaced only with a provably older nonzero monotonic counter and atomic local replacement or the existing claim retirement hook. Newer/unknown rows, sidecars/platform/canary and unreadable shapes remain protected. Logs failed, successful and changed-row retirement. No new record reads or stop ACK. registry:Account@37944,registry:Account@39700,registry:Account@58050,registry:Account@58096,registry:Account@59411,registry:Account@59788,registry:Account@60014,registry:Account@60081,registry:Account@60127,registry:Account@60220,registry:Account@60262,registry:Account@60910,registry:Account@61168,registry:Account@62074,registry:Account@62122,registry:Account@62531,registry:Account@62577,registry:Account@62822,registry:Account@63247,registry:Account@63735,registry:Account@64471,registry:Account@64664,registry:Account@65076,registry:Account@65255,registry:Account@65578,registry:Account@66143,registry:App@37917,registry:App@39673,registry:App@58070,registry:App@58108,registry:App@59423,registry:App@59800,registry:App@60026,registry:App@60101,registry:App@60139,registry:App@60240,registry:App@60922,registry:App@61180,registry:App@62086,registry:App@62134,registry:App@62551,registry:App@62589,registry:App@62834,registry:App@63259,registry:App@63747,registry:App@64483,registry:App@64676,registry:App@65088,registry:App@65267,registry:App@65590,registry:App@66155,registry:Canary@58563,registry:ClaimOwnership@38531,registry:DBPath@47879,registry:DBPath@47894,registry:DBPath@48140,registry:DBPath@48743,registry:DBPath@48756,registry:EgressAllow@37030,registry:FleetBoxes@58524,registry:FleetBoxes@58672,registry:FleetBoxes@64864,registry:Gate@44224,registry:Gate@44364,registry:Gate@44651,registry:Hibernate@42896,registry:Hibernate@43094,registry:Hibernate@43159,registry:Hibernate@43498,registry:Hibernate@43849,registry:Hibernate@44159,registry:HoldOp@29123,registry:HoldOp@64216,registry:HoldOp@64307,registry:HoldOp@64442,registry:HoldOp@64818,registry:Host@27020,registry:Host@29526,registry:Host@29666,registry:Host@58029,registry:Host@58623,registry:Host@59387,registry:Host@59764,registry:Host@59928,registry:Host@60034,registry:Host@60930,registry:Host@61136,registry:Host@62414,registry:Host@62686,registry:Host@62801,registry:Host@63124,registry:Host@63221,registry:Host@63612,registry:Host@63709,registry:Host@63923,registry:Host@64298,registry:Host@64433,registry:Host@64637,registry:Host@64710,registry:Host@64809,registry:Host@65049,registry:Host@65228,registry:Host@65307,registry:Host@65394,registry:Host@65552,registry:Host@65627,registry:Host@65713,registry:Host@66120,registry:Incarnation@29299,registry:Kind@29511,registry:Kind@29651,registry:Kind@38673,registry:Kind@38925,registry:Kind@39207,registry:Kind@39427,registry:Kind@47797,registry:Kind@47810,registry:Kind@47920,registry:Kind@47933,registry:Kind@48654,registry:Kind@48665,registry:Kind@57153,registry:Kind@63914,registry:Kind@64424,registry:Kind@64800,registry:Kind@65040,registry:Kind@65385,registry:Kind@65543,registry:Kind@65704,registry:Platform@58548,registry:PolicyExpiresAt@37055,registry:Pool@57239,registry:Provisioned@37893,registry:Provisioned@39649,registry:Provisioned@57198,registry:RateLimit@44737,registry:RateLimit@44888,registry:RateLimit@45175,registry:Region@57228,registry:ReplicaIncarnation@29007,registry:ReplicaIncarnation@29044,registry:Replication@43583,registry:Replication@43710,registry:Runtime@30695,registry:Runtime@30873,registry:Runtime@33078,registry:Runtime@42263,registry:Runtime@42317,registry:Runtime@42521,registry:Seed@46277,registry:SeedSource@45760,registry:Size@37046,registry:Socket@47845,registry:Socket@47860,registry:Socket@48157,registry:Socket@48713,registry:Socket@48726,registry:Stateless@48846,registry:Unit@47763,registry:Unit@47776,registry:Unit@48680,registry:Unit@48691,whole:ClaimOwnership@38534,whole:ClaimOwnership@38551,whole:Route@27002,whole:Route@27013,whole:Route@27031,whole:Route@28312,whole:Route@28899,whole:Route@29110,whole:Route@29425,whole:Route@29711,whole:Route@29725,whole:Route@29738,whole:Route@29761,whole:Route@31190,whole:Route@31197,whole:Route@31237,whole:Route@31598,whole:Route@31936,whole:Route@32383,whole:Route@32434,whole:Route@32471,whole:Route@34143,whole:Route@34352,whole:Route@34691,whole:Route@34700,whole:Route@34746,whole:Route@36979,whole:Route@37538,whole:Route@38009,whole:Route@38019,whole:Route@38376,whole:Route@38383,whole:Route@38451,whole:Route@38756,whole:Route@38826,whole:Route@38837,whole:Route@39265,whole:Route@40298,whole:Route@43249,whole:Route@47989,whole:Route@48959,whole:Route@49846,whole:Route@49891,whole:Route@49901,whole:Route@50771,whole:Route@51798,whole:Route@57264,whole:Route@57412,whole:Route@58509,whole:Route@58805,whole:Route@59339,whole:Route@59721,whole:Route@61576,whole:Route@64955,whole:Route@65465,whole:Route@66050,whole:Route@66100 5ac04d6990c2cd39eddd6f14cb69656e603cd1654f8b09bbc68cc1ee427e2094 |
| internal/provision/reconcile.go convergeOwned legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-edge-asset-cache-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): the owned-converge arm gains the asset pair beside steering: when the row's assets_off or asset_gen differs from the record's (Record.AssetsOn, Record.AssetGen), Registry.SetAssets converges both in one UPDATE (dry-run logs only); the new kinds are registry:AssetsOff and registry:AssetGen, three sites each, all existing.AssetsOff and existing.AssetGen (the comparison and the two log lines); it now also returns the converge errors it already logged, joined, so Reconcile's completeness report can tell an applied record from one that was not; no other read is added; the agent's own pass, no root decision;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 owned-converge arm gains the app policy: when the row's egress_allow, size or policy_expires_at differs from the pass's columns (ap, only when Known), Registry.SetPolicy writes all three in one UPDATE (dry run logs only), and it reports whether the allow or size moved so Reconcile can call PolicyChanged. New kinds registry:EgressAllow (three sites), registry:Size (three) and registry:PolicyExpiresAt (one), all existing.* of the agent's own row: the comparison and the two log lines; no other read added; the agent's own pass, no root decision;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: when the record says HA and the existing row does not, marks the row with reg.SetHA (a dry run logs instead; an error is appended to the pass's errors); converges one way only, nothing clears the mark; +registry:HA is existing.HA; keeps legacy;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 2): when the row's Assigned or Moved differs from the record's FleetBoxAt or FleetBoxMoved, one reg.SetFleetAssignment call (dry-run logs instead); a failure is logged and counted. Agent provision pass, not root.;rev3=census-ruling-stateless-replicas-2;basis=Converges set projection through typed lifetime/revision writer; first seed compares entire observed SQL row. Reads supplied record and existing registry only. registry:Addr@3137,registry:Addr@3359,registry:Addr@3786,registry:Addrs@3164,registry:Addrs@3380,registry:Addrs@3807,registry:AssetGen@4644,registry:AssetGen@4830,registry:AssetGen@5221,registry:AssetsOff@4614,registry:AssetsOff@4804,registry:AssetsOff@5195,registry:Assigned@7927,registry:Assigned@8131,registry:Assigned@8580,registry:Channel@1002,registry:Channel@1333,registry:Channel@872,registry:Copies@309,registry:Copies@328,registry:EgressAllow@10102,registry:EgressAllow@10524,registry:EgressAllow@9846,registry:Environment@1375,registry:Environment@1517,registry:Environment@1876,registry:FleetBoxes@267,registry:FleetBoxes@290,registry:HA@7304,registry:Health@3191,registry:Health@3403,registry:Health@3830,registry:Moved@7966,registry:Moved@8150,registry:Moved@8599,registry:PolicyExpiresAt@9927,registry:Replica@6663,registry:Replica@6791,registry:Replica@7123,registry:ReplicaIncarnation@395,registry:ReplicaIncarnation@426,registry:ReplicaIncarnation@516,registry:ReplicaIncarnation@599,registry:ReplicaIncarnation@707,registry:ReplicaRevision@343,registry:ReplicaRevision@371,registry:Replicas@5794,registry:Replicas@5919,registry:Replicas@6241,registry:Size@10140,registry:Size@10562,registry:Size@9888,registry:Stateless@454,registry:StatusNamed@1952,registry:StatusNamed@2096,registry:StatusNamed@2460,registry:Steering@3866,registry:Steering@3999,registry:Steering@4337,registry:UpdateSettings@8904,registry:UpdateSettings@9044,registry:UpdateSettings@9404,whole:Route@589 549fb3f0a2ea5fcae27c03dedb3f855c75a26d32a183a49056114bdea99313c6 |
| 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.;rev3=census-ruling-stateless-replicas-2;basis=Validates canonical set projection, writes explicit declarative columns and clears single-box binding; all forbidden columns zero. Same transaction/read source. file:Exec@1509,file:QueryRow@1285,registry:Account@754,registry:App@731,registry:Channel@807,registry:Copies@1054,registry:FleetBox@1175,registry:FleetBoxes@1031,registry:FleetBoxes@1152,registry:FleetLabel@1187,registry:FleetLabel@942,registry:FleetLabel@972,registry:Host@1339,registry:Host@197,registry:Host@234,registry:Host@419,registry:Host@655,registry:Kind@206,registry:RateLimit@834,registry:Region@428,registry:Region@781,registry:Region@84,registry:ReplicaIncarnation@1122,registry:ReplicaRevision@1082,registry:Slug@707,registry:Stateless@1002,registry:remote@507,registry:remote@537,whole:Route@1542,whole:Route@592,whole:Route@600,whole:remoteClient@509,whole:remoteClient@539 cf547d7bae134b9ca326bd111378d02214373e65e6107ec809eac5e3aef5e7e7 |
| 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.;rev3=census-ruling-stateless-replicas-2;basis=Supplied Route contributes four additive declarative SQL values; no external read or new executable path. 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:Copies@992,registry:CreatedAt@492,registry:DBPath@116,registry:DNSCheckedAt@320,registry:DNSStatus@307,registry:EgressAllow@861,registry:Environment@366,registry:FleetBox@439,registry:FleetBoxes@978,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:ReplicaIncarnation@1021,registry:ReplicaRevision@1002,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 aac8acafa9ee736e00f8b3071f02589c74c7b6a167ec9f2b3fb94abc85181ac6 |
| 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.;rev3=census-ruling-stateless-replicas-2;basis=Existing row scanner reads four additive SQL columns from the same row and connection. registry:Account@426,registry:Addr@194,registry:Addrs@516,registry:App@269,registry:Args@575,registry:AssetGen@885,registry:AssetsOff@1166,registry:Assigned@981,registry:Backing@351,registry:BuildState@800,registry:Canary@1220,registry:Caps@456,registry:CertExpiresAt@408,registry:Channel@299,registry:ClaimIncarnation@637,registry:ClaimOwner@673,registry:ClaimRowID@688,registry:ClaimStamp@658,registry:Copies@1044,registry:CreatedAt@559,registry:DBPath@230,registry:DNSCheckedAt@391,registry:DNSStatus@377,registry:EgressAllow@931,registry:Environment@440,registry:FleetBox@501,registry:FleetBoxes@1029,registry:FleetLabel@1002,registry:Gate@550,registry:GoodDemand@747,registry:GoodDigest@732,registry:GoodVersion@716,registry:HA@1128,registry:Health@526,registry:Hibernate@1196,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@1144,registry:NextDue@339,registry:Platform@1266,registry:PolicyExpiresAt@956,registry:Pool@277,registry:PrevVersion@253,registry:Provisioned@1290,registry:RateLimit@859,registry:Region@288,registry:Replica@1317,registry:ReplicaIncarnation@1075,registry:ReplicaRevision@1055,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@1098,registry:Status@203,registry:StatusNamed@1241,registry:Steering@537,registry:Tunnel@465,registry:Unit@492,registry:UpdateSettings@781,registry:Version@241,whole:Route@1346 a0f26864ffc4267e026c166b681990dad201ce9059b4496c1c6ec0a33f7c8be0 |
| -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. Task 4 R24: dispatch SeedStateless with the existing Observed Route and On carriers to its symmetric guarded local method. No new transport; the existing read-only service gate still refuses writes.;rev3=census-ruling-stateless-replicas-2;basis=Dispatches typed seed/update/conditional-retire operations; same registry RPC transport, validation delegated to local methods. registry:A@7954,registry:Account@4416,registry:Accounts@3078,registry:Addr@4993,registry:Addrs@5001,registry:Alias@8002,registry:Alias@8066,registry:Alias@8154,registry:Aliases@7876,registry:Alive@9829,registry:Args@7578,registry:AssetGen@5143,registry:AssetsOff@5130,registry:Assigned@5621,registry:Assignment@6848,registry:Assignment@6946,registry:At@2232,registry:At@2621,registry:At@2706,registry:At@6515,registry:At@8085,registry:At@8163,registry:At@9577,registry:Attempts@9599,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@6701,registry:Changed@9509,registry:Channel@4476,registry:Channel@5811,registry:Channel@6360,registry:CheckedAt@6441,registry:Class@4931,registry:DoneBefore@9838,registry:Due@7279,registry:Due@7343,registry:Due@9621,registry:EgressAllow@5283,registry:Env@5879,registry:Env@6271,registry:Env@6371,registry:ExcludeHosts@9304,registry:ExcludeHosts@9399,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@6923,registry:Host@7080,registry:Host@7156,registry:Host@7216,registry:Host@7271,registry:Host@7335,registry:Host@7519,registry:Host@7570,registry:Host@7637,registry:Host@7712,registry:Host@7775,registry:Host@8372,registry:Host@8498,registry:Host@8652,registry:Host@8940,registry:Host@9004,registry:Host@9063,registry:Host@9146,registry:Host@9229,registry:Host@9460,registry:Host@9545,registry:Host@9677,registry:Host@9758,registry:Host@9921,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@7645,registry:Journal@1262,registry:Journal@1561,registry:Journal@1740,registry:Journal@442,registry:Keep@9937,registry:KeyFP@2217,registry:Kind@9766,registry:Kind@9929,registry:Label@2348,registry:Label@2430,registry:Label@2511,registry:Label@2612,registry:Label@2697,registry:Label@6020,registry:Limit@9295,registry:Limit@9390,registry:MaxRun@7653,registry:Method@151,registry:Moved@5633,registry:Ms@9593,registry:Name@1032,registry:Name@1143,registry:Name@2082,registry:Name@2202,registry:Name@2916,registry:Name@9012,registry:Name@9071,registry:Name@9154,registry:Name@9468,registry:Name@9553,registry:Name@9685,registry:Next@301,registry:NextAt@9611,registry:NextGood@6654,registry:NextValue@1814,registry:NextValue@1912,registry:Now@1167,registry:Now@7846,registry:Now@9288,registry:Now@9383,registry:Now@9476,registry:Number64@2561,registry:Number64@3004,registry:Number@9726,registry:Number@9797,registry:Number@9882,registry:Observed@365,registry:Observed@6746,registry:Observed@6821,registry:Observed@7013,registry:ObservedValue@643,registry:Old@1807,registry:Old@1905,registry:On@6960,registry:On@7025,registry:On@7095,registry:On@7224,registry:On@7720,registry:On@7783,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@8606,registry:Pair@3818,registry:Pair@3902,registry:Pair@4000,registry:Path@8837,registry:Paths@8534,registry:PolicyExpiresAt@5306,registry:Prefix@8660,registry:Prev@6579,registry:Pub@2210,registry:RDs@8506,registry:RateLimit@5746,registry:Regional@8404,registry:Registration@1040,registry:Registration@1151,registry:Registration@9162,registry:Registration@9561,registry:Replica@5506,registry:ReplicaLife@6833,registry:ReplicaLife@6931,registry:Replicas@5445,registry:Retirement@1891,registry:Route@3239,registry:Routes@3197,registry:Routes@4192,registry:Routes@7377,registry:Routes@7444,registry:Routes@7813,registry:Rows@8948,registry:Seed@7527,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@8075,registry:Status@9583,registry:Status@9693,registry:Steering@5071,registry:StringMap@2814,registry:T@757,registry:T@851,registry:T@8888,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@8693,registry:Text@8756,registry:Timer@709,registry:Timer@891,registry:Timer@8976,registry:Timers@9199,registry:Timers@9258,registry:Timers@9347,registry:Times@9971,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@7088,registry:Ver@7164,registry:W@8306,registry:Wildcards@8200,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@8408,whole:RegionalDomain@8508,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@6748,whole:Route@6823,whole:Route@7015,whole:Route@7381,whole:Route@7448,whole:Route@7817,whole:RouteAlias@7880,whole:RouteAlias@7956,whole:RoutePath@8538,whole:RoutePath@8608,whole:Timer@645,whole:Timer@713,whole:Timer@759,whole:Timer@853,whole:Timer@8890,whole:Timer@895,whole:Timer@8950,whole:Timer@8980,whole:Timer@9203,whole:Timer@9262,whole:Timer@9351,whole:Timer@936,whole:WildcardDomain@8204,whole:WildcardDomain@8308 4dfa9bf66861b8cfeb4897c1a2c46559165f39a481c4f99817071fef4ce64759 |
| +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. Task 4 R24: dispatch SeedStateless with the existing Observed Route and On carriers to its symmetric guarded local method. No new transport; the existing read-only service gate still refuses writes.;rev3=census-ruling-stateless-replicas-2;basis=Dispatches typed seed/update/conditional-retire and P11 atomic older-lifetime replacement; same registry RPC transport, validation delegated to local methods. registry:A@8058,registry:Account@4416,registry:Accounts@3078,registry:Addr@4993,registry:Addrs@5001,registry:Alias@8106,registry:Alias@8170,registry:Alias@8258,registry:Aliases@7980,registry:Alive@9933,registry:Args@7682,registry:AssetGen@5143,registry:AssetsOff@5130,registry:Assigned@5621,registry:Assignment@6952,registry:Assignment@7050,registry:At@2232,registry:At@2621,registry:At@2706,registry:At@6515,registry:At@8189,registry:At@8267,registry:At@9681,registry:Attempts@9703,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@6702,registry:Changed@6805,registry:Changed@9613,registry:Channel@4476,registry:Channel@5811,registry:Channel@6360,registry:CheckedAt@6441,registry:Class@4931,registry:DoneBefore@9942,registry:Due@7383,registry:Due@7447,registry:Due@9725,registry:EgressAllow@5283,registry:Env@5879,registry:Env@6271,registry:Env@6371,registry:ExcludeHosts@9408,registry:ExcludeHosts@9503,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@10025,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@7027,registry:Host@7184,registry:Host@7260,registry:Host@7320,registry:Host@7375,registry:Host@7439,registry:Host@7623,registry:Host@7674,registry:Host@7741,registry:Host@7816,registry:Host@7879,registry:Host@8476,registry:Host@8602,registry:Host@8756,registry:Host@9044,registry:Host@9108,registry:Host@9167,registry:Host@9250,registry:Host@9333,registry:Host@9564,registry:Host@9649,registry:Host@9781,registry:Host@9862,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@7749,registry:Journal@1262,registry:Journal@1561,registry:Journal@1740,registry:Journal@442,registry:Keep@10041,registry:KeyFP@2217,registry:Kind@10033,registry:Kind@9870,registry:Label@2348,registry:Label@2430,registry:Label@2511,registry:Label@2612,registry:Label@2697,registry:Label@6020,registry:Limit@9399,registry:Limit@9494,registry:MaxRun@7757,registry:Method@151,registry:Moved@5633,registry:Ms@9697,registry:Name@1032,registry:Name@1143,registry:Name@2082,registry:Name@2202,registry:Name@2916,registry:Name@9116,registry:Name@9175,registry:Name@9258,registry:Name@9572,registry:Name@9657,registry:Name@9789,registry:Next@301,registry:NextAt@9715,registry:NextGood@6654,registry:NextValue@1814,registry:NextValue@1912,registry:Now@1167,registry:Now@7950,registry:Now@9392,registry:Now@9487,registry:Now@9580,registry:Number64@2561,registry:Number64@3004,registry:Number@9830,registry:Number@9901,registry:Number@9986,registry:Observed@365,registry:Observed@6748,registry:Observed@6850,registry:Observed@6925,registry:Observed@7117,registry:ObservedValue@643,registry:Old@1807,registry:Old@1905,registry:On@7064,registry:On@7129,registry:On@7199,registry:On@7328,registry:On@7824,registry:On@7887,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@8710,registry:Pair@3818,registry:Pair@3902,registry:Pair@4000,registry:Path@8941,registry:Paths@8638,registry:PolicyExpiresAt@5306,registry:Prefix@8764,registry:Prev@6579,registry:Pub@2210,registry:RDs@8610,registry:RateLimit@5746,registry:Regional@8508,registry:Registration@1040,registry:Registration@1151,registry:Registration@9266,registry:Registration@9665,registry:Replica@5506,registry:ReplicaLife@6937,registry:ReplicaLife@7035,registry:Replicas@5445,registry:Retirement@1891,registry:Route@3239,registry:Routes@3197,registry:Routes@4192,registry:Routes@7481,registry:Routes@7548,registry:Routes@7917,registry:Rows@9052,registry:Seed@7631,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@8179,registry:Status@9687,registry:Status@9797,registry:Steering@5071,registry:StringMap@2814,registry:T@757,registry:T@851,registry:T@8992,registry:T@934,registry:TValue@3344,registry:TValue@3411,registry:TValue@6070,registry:TValue@6760,registry:Tags@2439,registry:Target@6201,registry:Targets@453,registry:Text@1460,registry:Text@1607,registry:Text@3018,registry:Text@8797,registry:Text@8860,registry:Timer@709,registry:Timer@891,registry:Timer@9080,registry:Timers@9303,registry:Timers@9362,registry:Timers@9451,registry:Times@10075,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@7192,registry:Ver@7268,registry:W@8410,registry:Wildcards@8304,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@8512,whole:RegionalDomain@8612,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@6750,whole:Route@6762,whole:Route@6852,whole:Route@6927,whole:Route@7119,whole:Route@7485,whole:Route@7552,whole:Route@7921,whole:RouteAlias@7984,whole:RouteAlias@8060,whole:RoutePath@8642,whole:RoutePath@8712,whole:Timer@645,whole:Timer@713,whole:Timer@759,whole:Timer@853,whole:Timer@895,whole:Timer@8994,whole:Timer@9054,whole:Timer@9084,whole:Timer@9307,whole:Timer@936,whole:Timer@9366,whole:Timer@9455,whole:WildcardDomain@8308,whole:WildcardDomain@8412 1bb4e91660d7159ceadc7a7929a40465118b7371e7c2ae50089fea1ac5c2ac86 |
| internal/host/runs.go runsWorker.pickup legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), its runs worker: a picked run's detached execution runs under provision.WithLifetimes of the worker's judge, so execute's record writes refuse a stale record; read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 16 (ruling R7): on a fleet box a run already let go is skipped before any read; the pickup CAS moves behind the run's sink (sinkFor: the bucket's, as before, or on a fleet box the run door relay once a grant verifies); one more whole-Route site, the row this box already owns passed to sinkFor; nothing new opened, run or followed;rev3=census-ruling-stateless-replicas-2;basis=Passes the already-owned Route to the activator current-record recheck before pickup, only for set rows; legacy reads unchanged. whole:Route@1195,whole:Route@1807,whole:Route@951 5f7199c119298d7cb374ec5d77b1478e91dcb7ca3f82106739662cd0b7e635db |
| internal/provision/reconcile.go RouteFor authority C,E3 rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos); also root, in the claim root's landing registration (ClaimRootHTTP.rootLandingRoute) and the relocation install (relocationRecord): census-ruling-seeded-instances's body with two more fields from the record: the row's lifetime pair (rec.Incarnation, rec.MoveSeq), so a row minted outside a move takes the record's lifetime and its last move's sequence (0, 0 for a fieldless record with no move history); every caller gets it, the root ones included: the root callers (ClaimRootHTTP.rootLandingRoute, relocationRecord) now mint (0, move_seq) on a claims-on record, a non-zero sequence once that record has had an offline move (move_seq advances on claims-on offline moves too), which moves Fingerprint and SnapshotFingerprint once for that row; main's C,E3 authority retained; self-serve moves 1 Task 7 (fix round 1: root callers named);rev3=census-ruling-region-ha-p1a;basis=the agent's reconcile passes, and also root's callers (rootupdates.go, rootinventory_install.go and relocationinstall.go on HEAD): one more field copied from the record, HA: rec.HA, so a row minted from a record stamped HA carries the sticky born-HA mark; the record is the console-written instance record each caller already read; root's own code reads nothing of Route.HA, and Fingerprint does not include it (SnapshotFingerprint does, for a set mark); the same nine sites, no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 2: the row is minted with the record's Runtime (the console-written instance record, guarded by WriteRecord's runtimeFixed); a rootfs row always gets the nested socket and db path under dataDir and no seed or seed source; the paths are computed from the host, not read from the record;rev3=census-ruling-fresh-box-446;basis=#446: a born-HA record mints the nested paths whatever nested says, as a rootfs row already does; same reads;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 2, rule 6): the route also carries Assigned = rec.FleetBoxAt and Moved = rec.FleetBoxMoved, copied from the record it is handed. Read sites unchanged (13). In the agent; in root's claim landing registration (ClaimRootHTTP.rootLandingRoute, shelved claims code) the canonical route gains these two copied fields, which no root check compares (the comparison at rootinventory.go and ValidateAgentInventory read neither). No new input to root.;rev3=census-ruling-stateless-replicas-2;basis=Projects count, canonical boxes, revision, CreatedAt-derived lifetime and stateless hint from the supplied record. No store read; hint does not authorize a database bypass. registry:Addr@2736,registry:Addrs@2745,registry:DBPath@1709,registry:DBPath@2232,registry:DBPath@2654,registry:Health@2755,registry:Hibernate@2176,registry:Seed@2700,registry:SeedSource@2709,registry:Socket@1671,registry:Socket@2194,registry:Socket@2617,whole:Route@1635,whole:Route@2793 996c873399acd5b3ced960e82b699abd8400f89b09877d0522c310710132a6e9 |
| @coverage . 9857cb346182ee701b2dff653cee0c4b7ed36b038975d3eeaea75cc85da938b7 |
| -@coverage internal/activator 5d59ed7352852631d4b965796ba75145869de6fea347343d8dab6f2a5bd65883 |
| +@coverage internal/activator 9a709ae51c683ef136e15a5f7d425cac71c82dbed80d9e893bcdd02fed544639 |
| @coverage internal/appconfig 32d5f27628b319917ed88ac39e0b22e25292f8f16ba5ef4e69a57ea35471bf77 |
| @coverage internal/host 68d15300ba45ee8824cb450e15606035c450f815b7bc0e17f5f8b2f57f75a96d |
| -@coverage internal/provision f40daaeaeb3932edeb972770df44b3e8e097651c4d35e05698ad81e061a217bd |
| -@coverage internal/registry 51663cade94530e191d95470e3ca50544717696e1d7a946a838710acd6cb0888 |
| +@coverage internal/provision c4a69a96ab2cb84bb8f0405930fdb07fe4840893aeadac9f5c9906910f505d8f |
| +@coverage internal/registry 3889d5b74a40981731ec5543c6b9c3c87c20cb84249e72a6847ff4a0f2c985aa |
| @coverage internal/release 6c7784eb02f9c2b68045266dabf5a79fb656bcb11a06427787d74ca8f3f96dd6 |
| -@coverage internal/replicas d449179f2fe033691dd65005fd3bc80dc6f96f40d7e6b0dde1e6137b14c9b17e |
| +@coverage internal/replicas 6fbf542a6720e5b969b92f8401c7cc8b01f89a0b8b11141e7e7e99a3de612c73 |
| @fields A,Account,Accounts,AddedAt,Addr,Addrs,Alias,Aliases,Alive,AllowAbsent,App,Archives,Args,AssetGen,AssetsOff,Assigned,Assignment,At,Attempts,B,Backing,Bucket,BuildState,By,Callback,CallbackError,CallbackFailed,Canary,Caps,CertExpiresAt,Changed,Channel,CheckedAt,Claim,ClaimIncarnation,ClaimOwner,ClaimOwnership,ClaimRowID,ClaimStamp,Class,Column,Contents,Copies,CreatedAt,DBPath,DNSCheckedAt,DNSStatus,Deadline,Default,Demand,Digest,DoneBefore,DrainingSince,Due,DueAt,EgressAllow,Env,EnvBefore,Environment,Error,ErrorKind,ExcludeHosts,ExpectGood,ExpectOp,ExpectPair,Expected,F,Failed,FenceGen,Field,Fleet,FleetBox,FleetBoxes,FleetLabel,Fleets,From,FromDB,FromOp,FromSock,Gate,GoodDemand,GoodDigest,GoodVersion,HA,Hash,Health,Held,Hibernate,HoldOp,Host,Hosts,ID,Id,IdValue,Idle,IdleSeconds,ImportGate,Incarnation,Journal,Keep,KeyFP,Kind,Label,LabelledAt,LastAt,LastError,LastMs,LastStatus,Limit,MaxRun,MaxRunSeconds,Method,Moved,Ms,Name,Next,NextAt,NextDue,NextGood,NextValue,Now,Number,Number64,Observed,ObservedValue,Old,On,OnConflict,Op,Original,Owner,Ownership,P,Pair,Path,Paths,Platform,PolicyExpiresAt,Pool,Prefix,Prev,PrevVersion,Provisioned,Pub,RDs,RateLimit,RecordKey,Region,Regional,Registration,Replica,ReplicaIncarnation,ReplicaLife,ReplicaRevision,Replicas,Replication,Retirement,Route,Routes,Row,Rows,Runtime,SecretsKeyFP,SecretsKeySetAt,SecretsKeySetBy,SecretsPub,Seed,SeedID,SeedSource,ServingSeq,ServingVersion,Size,Slug,Socket,Spec,Sqid,State,Stateless,Status,StatusNamed,Steering,StringMap,T,TValue,Tags,Target,Targets,Text,Timer,Timers,Times,To,ToDB,ToOp,ToSock,TokenHash,Tunnel,Type,Unit,UpdateSettings,Ver,Version,W,WakeIncarnation,Wildcards,closed,conn,connect,ctx,d,dec,done,enc,full,input,mu,output,path,readOnly,remote,sql,wait |