| index 2414b1dff..47627e6b4 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-stateless-replicas-3.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-stateless-replicas-3.tsv |
| @@ -1,45 +1,47 @@ |
| # Census overlay stateless-replicas-3, written by census-propose (#369). census-ruling-stateless-replicas-3, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-stateless-replicas-3.md. |
| # 2 body, 1 sites, 5 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| -# 16 new dispositions: 0 reads re-frozen at their disposition with the claim, 16 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other. |
| +# 17 new dispositions: 0 reads re-frozen at their disposition with the claim, 17 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other. |
| @legacy a02e5c799c0ab4fefc6cbd35bc424a93c61924373619e65ef0af15d99d97bd12 internal/edge/edge.go RunWithActivatorReady legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-certwarm-wake;basis=registers the cert warm's nudge on OnReload and on the home map's new served-hosts wake (#386); nudge only sends on a buffered channel; no read added, same 5 sites;rev3=census-ruling-edge-roll-blip;basis=the :80/:443 (and dev) listeners are bound on the calling goroutine with net.Listen via listen()/listenAddr (same empty-address defaults as ListenAndServe) before the serve goroutines, which now call Serve/ServeTLS on them, and one log line names the bound addresses; no read added, same 5 sites;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): the inline home-map arming (newHomeMap, one boot Refresh, Store, run) moves unchanged into the new Edge.ArmHomeMap and is called here as e.ArmHomeMap(); same refresh, same timeout, same order. The reads are moved, none added.;rev3=census-ruling-agent-start-demo-1;basis=Logs the combined explicit wildcard parents through demoWildcardDomains; no new watcher or read loop.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: invoke the local admission Close before HTTP/HTTPS draining and door shutdown in both dev and normal listeners. Preserve merged main's startup behavior and its census basis; the same five read sites, no new reads.;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: defer stopping and joining the edge's replica jobs at shutdown. Existing five direct read sites unchanged; no new reader or authority. data-literal@129,data-literal@148,data-literal@284,data-literal@417,file:Open@1013 141655c4967b15b262faaa0f21a9e3514e8844162ef6c62db699e78638456c10 |
| @legacy eef846cad40472c4151369c696b1da1835b1e24c5b3d317d81667571039ffcc8 internal/activator/replicaprobe.go Service.ProbeCopy legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: read the local registry assignment and the already-awake entry's launch/worker evidence under the held-leg predicate; compare account, app, fleet, box membership and lifetime; no bucket call, wake, authority acquisition or activity update. Added registry field and whole Route reads are the existing local projection, not tenant-selected paths. registry:Account@1564,registry:App@1581,registry:FleetBoxes@306,registry:HA@402,registry:HA@891,registry:Hibernate@386,registry:Hibernate@874,registry:Incarnation@819,registry:Incarnation@838,registry:Kind@361,registry:Region@1135,registry:Region@792,registry:Region@806,registry:ReplicaIncarnation@1658,registry:ReplicaIncarnation@741,registry:ReplicaIncarnation@767,registry:ReplicaRevision@1703,registry:Stateless@857,whole:Route@1083,whole:Route@1089,whole:Route@296,whole:Route@683,whole:Route@714,whole:Route@719 efe551a9cdf45284360710a083d19813120343f843ae9db9d3b4636d5f96d57c |
| @legacy 1852ab27b5e9593b9d9bc0f7c604e1f97d35a60368cdb6c7835a31307b90c13c internal/edge/replicaprobe.go Edge.replicaCopyMatches legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: compare Copy identity against the loaded Route's host, account, app, fleet, incarnation and assignment revision; local box must remain a member. Only in-memory registry field reads; no file or bucket reads. registry:Account@213,registry:App@251,registry:Host@170,registry:Region@115,registry:ReplicaIncarnation@325,registry:ReplicaRevision@374 503766598b5be534178a0c843ad160082961a96577c7c591416f9921712614ce |
| -@legacy 840c48158ddb0f0befdefe2ad0cf10e06b74719639a1a6e48b1f49318c142946 internal/edge/replicaprobe.go Edge.serveReplicaProbe legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: verify the loaded assigned route, admit a held leg without waking, and GET the platform-captured serving generation's Unix socket under a one-second deadline. Recheck evidence after the response, drain at most 4 KiB and close. Route uses are already-loaded data; no root execution, bucket read or caller-chosen dial path. registry:FleetBoxes@390,registry:HA@459,registry:Hibernate@443,registry:Host@346,registry:Kind@365,whole:Route@1025,whole:Route@1215,whole:Route@2194,whole:Route@706 71e7e09ba2eea40c306362f2a17ed8324491da4560cc7896a84b309bcb39669a |
| +@legacy 14804d70792904629f6a6c21a6c46994a723b86dee0c5b60ebf5bb8c8721aa55 internal/edge/replicaprobe.go Edge.serveReplicaProbe legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 I4/F1: the dialled pathname comes from the serving Gen.Socket and, for shared/foreign layouts, can originate in the registry row Socket. Dial through unixdial.Checked: refuse the instance-control directory before connect and require getpeername to match the dialled path before sending HTTP, including symlink refusal. Existing Route reads unchanged. M5 handles request construction errors before RoundTrip; M2 uses the shared reason constant. Authenticated private landing, held-leg admission, one-second bound and post-response identity checks remain. registry:FleetBoxes@390,registry:HA@459,registry:Hibernate@443,registry:Host@346,registry:Kind@365,whole:Route@1025,whole:Route@1215,whole:Route@2268,whole:Route@706 8b158b6a5f414bc8290e9b13b0c27da2002920e837b7c9e98aea0771c98bac5e |
| @legacy 25360f01e12d3e11dc94e974d2a499b43446540fc95132bbb97e89ce6d8bc0a9 internal/edge/replicaprober.go Edge.syncReplicaProbes legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: explicit integration seam passes supplied routes to the hub prober only when a tunnel hub exists. Not called from Reload or live routing in this slice. Whole Route use is in-memory; no registry query or bucket read. whole:Route@266 067356c5f648c50deed9ff3216dc2f4e61377f2de5328c86bd88d4bea4ae7175 |
| @legacy 9e62a31cf6e58105bcd5f2c17836a0cdcab581d29b9065c57beb3f5eb444ad81 internal/edge/replicaprober.go TunnelHub.probeReplica legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: file:ReadAll is io.ReadAll of an HTTP response body from the existing authenticated tunnel transport, limited to 64 KiB plus an overflow byte and closed. Sends a fresh private GET with no visitor credentials, rejects non-200/non-JSON responses, never follows redirects. No filesystem path is opened. file:ReadAll@618 7514dbfa020b4da77546960850b279972a00dd8ec4404af719651925b23297ca |
| @legacy 53d7ac393dafdce750c86672f955dda2f3cdc7a1880b812edac521e83e96fc75 internal/edge/replicaprober.go newReplicaProber legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: allocate empty in-memory job and route maps; choose the existing tunnel transport adapter and clock. Whole Route is a map value type, not an external read. Construction starts no job. whole:Route@306 8090869d116edd4340609068c605baefe9e9ac7a71d9c882d65508ae01c79043 |
| -@legacy 0424c3cb96d5aa4b97ab58a07da1cda564730bc8eee3cb407d6f171bf736dba1 internal/edge/replicaprober.go replicaEvidenceMatches legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: compare authenticated platform Copy evidence to the assigned route and pinned connection/job evidence. GoodDigest is the serving platform executable digest, never the canonical manifest hash. Reads only supplied Route fields; no file, bucket or manifest fetch. registry:Account@225,registry:App@247,registry:GoodDigest@823,registry:GoodDigest@857,registry:GoodVersion@793,registry:Host@202,registry:Region@135,registry:ServingVersion@713,registry:ServingVersion@752,whole:Route@80 9cd81c96fe9ae311ebfe451e8cfaf22e7183735d15e028b2f872557d7eac3e89 |
| +@legacy daf4b80f7b5335ec7d5347e38f8e498cd5da945e003e935cd054c82b4fbd488a internal/edge/replicaprober.go replicaIdentityMatches legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 Q13: compare reported host/account/app/fleet/box/incarnation against the surviving job and its current route view, before the revision-skew decision. Boot must be present; the connection pin is checked by record. In-memory Route fields only, no external read. registry:Account@169,registry:App@191,registry:Host@146,registry:Region@118,whole:Route@75 e20949646de55dab02bb4caf3e6e81c5edf5228696712c643e5027ce8add04fc |
| @legacy 0efc29f0410bb2f503b25f1fad71f8cfa6867ab7c3d3a3256ccd53ecaaedc0cd internal/edge/replicaprober.go replicaProber.Snapshot legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: return a detached snapshot for the requested host from the already-held route/job maps. Whole Route copies remain in memory; no new external reader. whole:Route@113,whole:Route@193 171de8351bf2af47663c62e149b96907c1ff3366f3a9441d36f1eda3375cf5ca |
| @legacy 490f7edbfba9ddab00090b74647128ab08aa82e5d12b013b8fe215ea56e8e23a internal/edge/replicaprober.go replicaProber.Stop legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: permanently stop, cancel and join owned jobs and clear their in-memory route map. Whole Route use is the map value type; no external read or lifecycle action on applications. whole:Route@155 ca2248300f84a7bbd7400c6f60b44c682adbf4387251979e241445e06fad8877 |
| -@legacy feec5daa9a82886213d1527cf5b0da3a1126750be674cf6c58226fae839bb41d internal/edge/replicaprober.go replicaProber.Sync legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: validate supplied stateless set rows, reject duplicates and invalid/legacy/HA/hibernating rows, preserve unchanged job keys, and cancel/replace changed host-lifetime-revision-box jobs. Registry fields and whole Route values come from the caller's snapshot only; no query, bucket polling, app wake or routing integration. registry:Account@331,registry:App@351,registry:FleetBoxes@308,registry:FleetBoxes@688,registry:HA@367,registry:Hibernate@376,registry:Host@1158,registry:Host@473,registry:Host@501,registry:Host@529,registry:Kind@393,registry:Region@1051,registry:ReplicaIncarnation@1167,registry:ReplicaRevision@1200,whole:Route@1221,whole:Route@1228,whole:Route@262,whole:Route@467,whole:Route@523,whole:Route@540,whole:Route@569,whole:Route@610,whole:Route@745,whole:Route@776,whole:Route@829,whole:Route@871,whole:Route@925,whole:Route@934,whole:Route@963 9ed9fcc15f6f5ad1c2bd7d64fcc56410923004bbc77c932a9d5180fbb649683d |
| -@legacy 3f60aa60f8627deaa1d5666be72f5204282f038024dd4c1c8270b00e139a5019 internal/edge/replicaprober.go replicaProber.reset legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: reset a copy to unknown on connection change and build its identity from the job's captured route; disconnected copies are down. Reads only in-memory Route fields; no external input or file read. registry:Account@258,registry:App@280,registry:Region@189,whole:Route@191,whole:Route@260,whole:Route@282 a3fe9112c25e9f9b968ee8eff4ba7c1746db259142636f986c6a5b8798da4ff7 |
| +@legacy 58d1ffe4a7676b2992549cb4c6846cb74e7a80de1c972fe858d40121c22489ba internal/edge/replicaprober.go replicaProber.Sync legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 Q13: preserve surviving host/incarnation/box jobs and their samples/counters across revision, Copies and deployment-stamp changes; refresh the in-memory route view under the prober mutex. Cancel removed members and changed owner/lifetime/fleet jobs; new members start unknown. Supplied Route values only, no query, bucket polling or wake. registry:Account@331,registry:App@351,registry:FleetBoxes@308,registry:FleetBoxes@688,registry:HA@367,registry:Hibernate@376,registry:Host@1318,registry:Host@473,registry:Host@501,registry:Host@529,registry:Kind@393,registry:Region@1211,registry:ReplicaIncarnation@1327,whole:Route@1064,whole:Route@1072,whole:Route@1085,whole:Route@1094,whole:Route@1123,whole:Route@1361,whole:Route@1368,whole:Route@262,whole:Route@467,whole:Route@523,whole:Route@540,whole:Route@569,whole:Route@610,whole:Route@745,whole:Route@776,whole:Route@829,whole:Route@871 239518132b5d88d1dd50158d2af054544ce622d19a0147fa260e83557153db37 |
| +@legacy d52a0bb8fec3203eaecc89d00dbea18771eee3d9bb357eba8032e833215fee06 internal/edge/replicaprober.go replicaProber.record legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 Q13: after current-job/connection and identity/boot checks, compare the response revision with the job current route ReplicaRevision. A mismatch changes no sample, counter, evidence or boot pin. Matching results retain existing fail/rise behavior. Read the already-supplied Route revision in memory; no registry query, bucket read or authority grant. registry:ReplicaRevision@900,whole:Route@902 5851a2928f7dc1711ed43f59a5c82dbe1b4d7b5f7b58fb2f897fb8dae5efe077 |
| +@legacy a1a0686b996d9d06160ed3b41156fb0009892dbfbf9fe8d2d295039d4d162371 internal/edge/replicaprober.go replicaProber.reset legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 Q13: when connection identity changes, use the current in-memory route ReplicaRevision for the unknown/down sample; revision is no longer part of the immutable job key. Added ReplicaRevision field read, no registry query or other external reader. registry:Account@258,registry:App@280,registry:Region@189,registry:ReplicaRevision@375,whole:Route@191,whole:Route@260,whole:Route@282,whole:Route@377 28128e5cf897ab07d76c50f7f2bd10be26b147258318f71ba791c2fdf45a7e99 |
| @legacy b03cc484ccdcb390d96f60909b23e3889e913095f8db9694f35a841e77f8c9b8 internal/edge/replicaprober.go replicaProber.snapshotLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: build one host's detached snapshot from its canonical assignment boxes and job samples, excluding closed/replaced tunnel generations immediately. Registry field reads are the stored in-memory route; no filesystem or bucket access. registry:Account@126,registry:App@143,registry:Copies@226,registry:FleetBoxes@284,registry:Host@108,registry:Host@513,registry:ReplicaIncarnation@164,registry:ReplicaRevision@197 6e61edffbcab8ad36f1dd0909badddde6b9b24a9b070ebe10c877b453b228f04 |
| @legacy f5ad3e69bbbe118330cabbead7698b7bf2cbe3e6d54e8628217c642b27a5126b internal/edge/replicaprober.go replicaProber.snapshots legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: copy all current host snapshots under the prober lock for the private health socket. Whole Route values are the owned map; returned slices/maps cannot mutate health state. No new external reads. whole:Route@150,whole:Route@184,whole:Route@224 be3aafcac789af7434db8ec1cf0b884b242d82eb1c24c7aca2795ec578741e23 |
| -@legacy 04f425d87c4d9194d8d8c6f644c1be6b55386df5b3c528fd5c5a71086c06afb6 internal/edge/replicaprober.go sameReplicaJob legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: compare captured and supplied route identity, assignment and optional platform serving-build evidence to decide job preservation. Pure in-memory comparisons; no authority or external reads. registry:Account@194,registry:Account@207,registry:App@221,registry:App@230,registry:Copies@298,registry:Copies@310,registry:FleetBoxes@265,registry:FleetBoxes@281,registry:GoodDigest@399,registry:GoodDigest@415,registry:GoodVersion@364,registry:GoodVersion@381,registry:Host@97,registry:Region@240,registry:Region@252,registry:ReplicaIncarnation@129,registry:ReplicaRevision@172,registry:ServingVersion@323,registry:ServingVersion@343,whole:Route@69 a12dc37f2e9a77e1e965c9a99103decedae5e5bd3c615c972d81a3f539465ba0 |
| +@legacy 51cdab60291494c5eee44a1a454be8ebf44abe3fc2f1f408e90d668e5a955f78 internal/edge/replicaprober.go sameReplicaJob legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 Q13/Q14: compare host/incarnation and owner/fleet only; the slot supplies the box and Sync checks current membership. Remove revision, copy count, FleetBoxes and per-host serving/good-build stamp comparisons. Pure comparisons of captured and supplied route fields; no external read. registry:Account@154,registry:Account@167,registry:App@181,registry:App@190,registry:Host@97,registry:Region@200,registry:Region@212,registry:ReplicaIncarnation@129,whole:Route@69 117b6aece8fee1e121c6a6b65f5a901ec752c30bedcb5bc64d64694b467ef23e |
| @legacy 5af61b9be2ebcc76b4871899e03d72ff5f5c5e8a86da58e9ccb435025f024165 internal/edge/tunnel.go tunnelWire.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: the scanner's file:Read sites are net.Conn.Read on the existing authenticated reverse-channel connection, not filesystem reads. Notify closure on reader failure so copy health excludes closed connections immediately. No pathname, root-owned file or new network destination is introduced. file:Read@21,file:Read@62 eff57b35dc5f4f7e2f54e08b07e07b0a21d571c41704be0a3d1997db362b8234 |
| @legacy 84e1fa64113c54c580f5f77b91da2456f49432aeae923f0ebf3b4d92e7e60c1b internal/host/replicahealth_linux.go serveReplicaHealth legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: Lstat checks the fixed agent-owned /run/carlos/.replicas directory and health.sock; Open opens that directory read-only for flock. Require directory ownership and mode 0700, socket 0600, preserve live/non-socket/ambiguous existing paths, and only remove proven stale sockets under the lock. Read-only snapshot handler, bounded shutdown and listener-owned unlink; not mounted into tenant namespaces. No root read of tenant-controlled input. file:Lstat@252,file:Lstat@906,file:Open@650 1ff1e05ec8222c2adf684421e40eb55c7590beba28a725e5035b08da04042cb2 |
| @legacy 7543220573485e822d13d2cf145e49bf557d9c0b4937327f0bfcba23e52a59a9 internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only.;rev3=census-ruling-tunnel-websockets;basis=Deletes the Carlos-Upgrade marker header from incoming requests and puts the upgrade admission (host, path, the entry tenancy, all in hand) on a tunnel arm request. For a login POST on an ungated ArmTunnel row it reads the visitor request body (bounded by gate.MaxFormBody, 413 past it; a request body, not a file) and resolves next against the entry Reload built (Gate, Route); the bytes pass on only when loginPassesThrough holds (spec 7, Tasks 3, 5 and 6).;rev3=census-ruling-console-protection-tab;basis=one more call in the observer defer, observeGuardCount(up.route, out), beside the observeRecords call that files the guard Match: it passes on the route row the defer already holds (+whole:Route) and the request outcome to the usage meter, which counts the check in memory. Called whether or not the request was unbilled, as observeRecords is. Nothing is opened, read or followed; no new kind of read; no check, refusal or serving decision changes.;rev3=census-ruling-probe-burst-limit;basis=answers a probe-burst notice POST (serveBurstNotice) ahead of every route for a non-door caller; builds the guard state for up.route and stamps its account and app (RouteAccount, App) for the cool-down's this-app/other-app label; for a catalogue match on a non-static or tunnelled route, offers the burst rule (in-memory limiter, burstDecide: 429 or a watch verdict, never a block for a fleet or forward row); the observer defer calls noteBurst(up.route, ...); the added sites are the route value already in hand (+registry:App, +whole:Route x5); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): parses the request's query once (stripHoldMarker) to record the carlos_hold=1 mark in the request context; calls classifyHold on the upstream already resolved from the loaded map (the +whole:Route is that in-memory Route), including a second pass for a login POST; gives a marked request on a door-refused route the plain 404; adds the hold branch (planThrottleAdmit, rateAdmit, serveHeld) after the gate; and excludes marked requests from the shared cache. Reads only the request and the already-loaded upstream map; no registry or bucket read added.;rev3=census-ruling-region-ha-p3a;basis=Complete the P3a cut: an exact peer name with no dial target answers the approved admission 503 before local wildcard dispatch or asset serving. ExactHome and lookupHome stop fallback at a present non-dial entry; backhaulTo refuses an empty target before signing or dialing. Retain Task 3 local admission and fixed platform/unit exemptions. Two added whole Route uses feed the local in-memory admission predicate; existing Route values and store/path reads are unchanged.;rev3=census-ruling-stateless-coordinator-route;basis=P24/P25: POST only, exact /api/fleet/replicas/ prefix on the reserved tunnel host calls the existing local console proxy only for an unescaped, already-clean path; malformed forms remain on the hub. No new read sites relative to origin/main. Merge with main 3487d6f6 retains its region HA admission checks before routing and after login target lookup, its empty-home refusal, and their two existing whole:Route reads; these change this unit's digest relative to the previously approved branch tip 92b24a7d.;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: pass the already-resolved Route to the reserved replica-probe handler after acceptHop and existing admissionRefuses, requiring tunnel context plus private marker and refusing door/backhaul ingress. Added whole Route use only; scrub marker before forwarding; HA calls remain unchanged. file:ReadAll@15522,registry:App@21679,registry:Gate@14496,registry:Gate@26070,registry:Gate@26130,registry:Gate@26188,registry:Host@26173,registry:ImportGate@33573,registry:Kind@20541,registry:Kind@23979,registry:Kind@33515,registry:Kind@33544,whole:Route@14391,whole:Route@14502,whole:Route@17319,whole:Route@18103,whole:Route@18561,whole:Route@18753,whole:Route@20544,whole:Route@21605,whole:Route@21671,whole:Route@21682,whole:Route@21935,whole:Route@22030,whole:Route@22106,whole:Route@22150,whole:Route@22452,whole:Route@22482,whole:Route@23982,whole:Route@24267,whole:Route@26073,whole:Route@26133,whole:Route@26176,whole:Route@26191,whole:Route@27109,whole:Route@29172,whole:Route@33518,whole:Route@33547,whole:Route@33576,whole:Route@33608,whole:Route@35456,whole:Route@5576,whole:Route@5671 d86bb163dfe6c165cad91eb2a4713f3f862d6128a8ec59808e6dc638c3d44a49 |
| internal/edge/edge.go RunWithActivatorReady legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-certwarm-wake;basis=registers the cert warm's nudge on OnReload and on the home map's new served-hosts wake (#386); nudge only sends on a buffered channel; no read added, same 5 sites;rev3=census-ruling-edge-roll-blip;basis=the :80/:443 (and dev) listeners are bound on the calling goroutine with net.Listen via listen()/listenAddr (same empty-address defaults as ListenAndServe) before the serve goroutines, which now call Serve/ServeTLS on them, and one log line names the bound addresses; no read added, same 5 sites;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): the inline home-map arming (newHomeMap, one boot Refresh, Store, run) moves unchanged into the new Edge.ArmHomeMap and is called here as e.ArmHomeMap(); same refresh, same timeout, same order. The reads are moved, none added.;rev3=census-ruling-agent-start-demo-1;basis=Logs the combined explicit wildcard parents through demoWildcardDomains; no new watcher or read loop.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: invoke the local admission Close before HTTP/HTTPS draining and door shutdown in both dev and normal listeners. Preserve merged main's startup behavior and its census basis; the same five read sites, no new reads.;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: defer stopping and joining the edge's replica jobs at shutdown. Existing five direct read sites unchanged; no new reader or authority. data-literal@129,data-literal@148,data-literal@284,data-literal@417,file:Open@1013 141655c4967b15b262faaa0f21a9e3514e8844162ef6c62db699e78638456c10 |
| -internal/host/agent.go runAgent authority B,C,D,F rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): builds the box's lifetime judge once (newBoxJudge, nil with host claims on) and hands it to the seed placement, the moves and runs workers and every loop it starts; read sites unchanged, offsets moved; B,C,D,F authority retained; self-serve moves 1 Task 8: derives the box's lifetimes switch from the judge once (lifetimes := boxJudge != nil) and hands it to the edges file loop; read sites unchanged, offsets moved;rev3=census-ruling-plans-4d-lapse;basis=arms two more plans hooks from the same snapshot: e.SetPlanDisabledFor(planDisabledFor) beside SetPlanGovernedFor, and svc.SetDisabledFor(planDisabledRoute) beside SetMaxRunFor (plans 4d); the reads live in those units (plans-4d-units decision); read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 9b81d97b (with main's plan rate ceiling, edge request records, regional box names, self-serve moves plan 1, plans 4d-1 lapse and its other later changes under main's own census rulings) plus the rootfs placement wiring in the activator start: an agentRootfs built from eb.NestedOK, CARLOS_DEPLOYMENT_SINGLE_TENANT, CARLOS_POOLS, the claim flag, swapArming's answer, the control client's /ready/rootfs and, on a fleet box whose identity resolved, fleetOwnerCheck over the deploy store main already opens for the fleet label (fleetStore), then arm and armedRootfs.Store; this body reads nothing new itself; the closures it wires read later, at a rootfs wake and each status tick: GET /ready/rootfs over the control socket, NestedOK's checks, and release.FleetOwnerKey for the judged row's own account and this box's fleet from the deploy store;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Tasks 7 and 11, #329 plan 3 Task 7 and plan 1 Task 7's policy cache: the control client is built once and handed to eb.Control, to the status tick (egressStatus) and to a new egressNudgeLoop goroutine; armSizeSource(svc, "/sys/fs/cgroup") after the activator Service; armPolicyCache() after armChangeIndex; statusLoop takes egressStatus. The reads are those units' own (decision rows); this body reads nothing new: the same five sites, offsets moved, in the agent; B,C,D,F authority retained.;rev3=census-ruling-remote-instance-metrics;basis=builds the metrics loop's owners closure (metricsOwners over the agent's registry, the activator and cgm.Leftover) when an activator exists and hands it to metricsLoop; reads nothing new itself;rev3=census-ruling-edge-asset-cache-3;basis=adds file:Statfs. runAgent keeps its authority (B,C,D,F). The new site is assetcache.Statfs, an exported assetcache.FS interface value (var Statfs FS = statfsFS{}), not a function value and not a call in runAgent: the ready hook passes it to armEdgeAssetCache as the store's filesystem, and armEdgeAssetCache calls its Space method on the configured data directory (dataDir(): $CARLOS_DATA_DIR, else /data), which calls unix.Statfs there (statfsFS.Space, accepted legacy at census-ruling-edge-asset-cache-2). No request-supplied pathname reaches it.;rev3=census-ruling-remote-metrics-nested;basis=main's body (merged origin/main acfa4f80, under main's own census rulings) plus: snapshots the nested layout (snapshotNestedUnits over /sys/fs/cgroup/carlos.slice/carlos-instances.slice) once at start, before the activator, and hands the metrics loop a unitSources struct (stamped units, routeHostNames, that root and the snapshot); reads nothing new itself;rev3=census-ruling-region-ha-p1a;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): wires region HA P1a into the activator: cfg.Record = haRecordFacts(openDeployStore, boxJudge) (the box's lifetime judge this body already builds with newBoxJudge, nil with host claims on; CI fix) and cfg.Self = lease.CurrentSelf; eb.Lifetimes (the process's lifetime index), eb.Registry, eb.StartupSwept (seedSweptAtStart.Load), eb.FilesStore from newProductionFilesStore (now lease.NewFilesStore, rootaws-loaded, a log line on failure) and lease.SetObligationDir(<data>/.ha-owed) (logged on failure; HA acquires then refuse); this body reads nothing new itself, the same five sites; the reads are those units' own (haRecordFacts and lease's SetObligationDir are new rows on this card); merge of origin/main d7ae1d76: main's own later changes to this body are kept as main has them, under main's rulings (census-ruling-remote-instance-metrics: the metricsOwners closure for metricsLoop; census-ruling-edge-asset-cache-3: the +file:Statfs site, assetcache.Statfs handed to the asset ready hook); this branch's change is the same as above;rev3=census-ruling-region-ha-p1b1;basis=region HA P1b-1: builds one termfence.Confirmer (Self from lease.CurrentSelf at each call, EC2 DescribeInstances method only, client from rootaws.LoadDefaultConfig with retries off, built lazily on first use) and sets eb.OwnerTerminated; this body reads nothing new itself, the same six sites;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the startup Sweep literal hands its answer to startupSwept, which logs as before and, only on a clean sweep, marks rootfs admission swept (MarkRootfsSwept); same Sweep call, no read added;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (controller ruling after branch review R1, and Paul's R2 ruling): sets svc.Fleet = fleetWakeFor(os.Getenv, identity, identErr, fleetStore) from the identity it already resolves once and the deployment store the fleet loops already opened, and logs an ERROR naming the identity error when the box is on a fleet with an invalid identity. fleetWakeFor reads CARLOS_REGION and CARLOS_FLEET from the same environment. Read sites unchanged (6). Agent, not root; a platform box is unchanged.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 12: one call more beside armRunsPass, armInteractivePass(svc, reg, rolloutSink, boxJudge), in the same activator Configure hook, handing it the same box judge; fix round 1 (Astra P2, shutdown): after svc.Shutdown(ctx), shutdownInteractive(ctx) ends and joins every interactive session under the same shutdown budget; the worker's own reads are its units' (interactive.go); this body reads nothing new, the same six sites; merge of origin/main 6f1f6ca6: main's svc.Fleet = fleetWakeFor(...) and its invalid-identity ERROR line are kept as main has them (census-ruling-managed-fleets-1b); this branch's change is the same as above; read sites unchanged (6);rev3=census-ruling-fix-set-aside-exdev;basis=set-aside EXDEV fix: one field more on the agent ExecBackend literal, RawInstanceDir: layout.RawInstanceDir (a pure path join: <dataDir>/.instances/<InstanceID(host)>), so the start rule set-aside moves a copy out through the raw directory instead of through the nosymfollow bind; this body reads nothing new, the same six sites;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 3: one more assignment beside eb.FilesStore: eb.EscrowKey = haEscrowKey(os.Getenv("CARLOS_SECRETS_KEY")), the agent's own environment parsed by appconfig.ParsePrivateKey as the moves pass parses it (unset or unparseable: a log line and nil, and HA publication refuses on the box). No path is opened or read, no read site added; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 4: one more goroutine beside configSyncLoop: go escrowLoop(agentCtx, reg, svc), the escrow sweep every 30 s over the same registry and Service. This body reads nothing new itself; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 5: one more call beside eb.EscrowKey: wireRawSecretPages(eb, PageOperator, metricsBoxLabel(os.Getenv, readMachineID())), which sets eb.OnRawSecret to page an operator (alerting.Page through PageOperator, LevelIncident) on its own goroutine with a 20 s timeout; metricsBoxLabel and readMachineID are the reads this body already makes for the moves refusal log; no new read site; the same six sites, offsets moved; B,C,D,F authority retained. Merge of origin/main 90c4d3aa: main's own later changes to this body are kept as main has them, under main's rulings; this branch's change is the same as above. Merge of origin/main 00bf5b8c (fleet set-aside EXDEV fix): main's change to this body is kept as main has it, under its own census ruling; this branch's change is unchanged.;rev3=census-ruling-probe-burst-limit;basis=two more sink wirings beside setAnalyticsSink: setProtectionSink(e.SetProtectionRecordOnly) and setAssetOwnersSource(e.AssetOwners), function values the telemetry pass calls; this body reads nothing new, the same six sites; authority B,C,D,F retained; no new root read or write kind;rev3=census-ruling-region-ha-p1b3a;basis=Arm HA placement exactly once on the existing Service before activatorStart and edges publication, wiring AwakeApps and the PageOperator callback; existing six read sites unchanged, no new root authority.;rev3=census-ruling-stateless-replicas-1;basis=Final review I3: start the concrete coordinator's renewal worker with agent setup; existing closeReplicaCoordinator shutdown cancels and joins it before release. No new read sites or credentials. Merge origin/main c59715e7: retain main's armHAPlacement(svc, PageOperator) wiring beside the existing activator setup; stateless coordinator and shutdown wiring remain. Same read sites; no new root read or credential.;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): in the edge-ready callback, calls act.SetHeldWakeHook(e.HeldWake) when act is non-nil (installing the non-blocking wake callback) and stores e.HeldStreamsForStatus in heldStreamsSource. Wiring of in-memory callbacks only; no read added.;rev3=census-ruling-region-ha-p1b3b-t;basis=Wire Service.SetDutyView to the live edge DutySnapshot in the ready callback. No new read; no new loop or cloud operation. B2 wires the registry as the persistent DutyStore before service startup; no new cloud or filesystem path. B3b: arm one journal-backed termination consumer before service startup using agentCtx and the shared confirmer; expose edge tick and join at edge shutdown. No new direct read sites.;rev3=census-ruling-agent-start-demo-1;basis=Passes the existing registry, data store and hibernation prefix into the demo worker, and the existing instance-control client into the demo before-exec hook. No alternate data store or polling loop. Merge resolution against origin/main 9bd45488 retains main's HA departure controller, lifecycle and duty wiring alongside the demo data store and worker; no read site added by the resolution.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: install closed fixed admission before every launch source, bind activator/backend and edge, wire the real termination Started lifecycle and role reader after the change index; close before cancellation/child shutdown. No new external reads or cloud authority. Fix R1: move bind/lifecycle/edge-option wiring into wireAgentAdmission and worker listing into runWorkerBootPassAfterAdmission. Worker boot waits for admission before listing then uses unchanged bounded wakes and per-host serialization; whole Route read moves to the helper. No new storage, cloud, or root execution authority. Preserve merged main's agent wiring and census basis; the branch removes one whole Route use by moving worker iteration to the helper, with no added read kind.;rev3=census-ruling-stateless-replicas-2;basis=Slice 3b: arms a fleet-only worker using the existing registry, activator, backend and authenticated console transport. Owned worker stops and joins at shutdown. No new bucket reader. merge of origin/main 9b8b2c50: retain HA duty/departure lifecycle, wake-slot and existing agent wiring alongside the replica placement worker; no new read introduced by resolution. merge of origin/main 6be08467: Retain main demo configuration, admission, build and expiry wiring alongside the replica worker; merge-only body change, no additional read. merge of origin/main 7920cccf: Retain main box-role/group admission wiring and boot publication beside the owned replica worker and shutdown; main moves the boot registry List into runWorkerBootPassAfterAdmission, removing its inline whole Route site. No new read introduced by conflict resolution.;rev3=census-ruling-stateless-replicas-3;basis=Task 1a+1b: run the private replica-health Unix server with existing retry shape, cancel/join it at shutdown and supply Edge.ReplicaSnapshots in the ready hook. Existing five direct read sites unchanged; no console reader, polling loop or new credentials. file:Exec@18226,file:Open@1517,file:Statfs@47936,registry:App@11938,whole:Route@11930 adf756ed67a87596d02e2e15109658d5dfd33fcdf695f2512acfb416fe44bdf1 |
| +internal/host/agent.go runAgent authority B,C,D,F rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): builds the box's lifetime judge once (newBoxJudge, nil with host claims on) and hands it to the seed placement, the moves and runs workers and every loop it starts; read sites unchanged, offsets moved; B,C,D,F authority retained; self-serve moves 1 Task 8: derives the box's lifetimes switch from the judge once (lifetimes := boxJudge != nil) and hands it to the edges file loop; read sites unchanged, offsets moved;rev3=census-ruling-plans-4d-lapse;basis=arms two more plans hooks from the same snapshot: e.SetPlanDisabledFor(planDisabledFor) beside SetPlanGovernedFor, and svc.SetDisabledFor(planDisabledRoute) beside SetMaxRunFor (plans 4d); the reads live in those units (plans-4d-units decision); read sites unchanged, offsets moved;rev3=census-ruling-rootfs-apps-2;basis=main's body as of the merge of origin/main 9b81d97b (with main's plan rate ceiling, edge request records, regional box names, self-serve moves plan 1, plans 4d-1 lapse and its other later changes under main's own census rulings) plus the rootfs placement wiring in the activator start: an agentRootfs built from eb.NestedOK, CARLOS_DEPLOYMENT_SINGLE_TENANT, CARLOS_POOLS, the claim flag, swapArming's answer, the control client's /ready/rootfs and, on a fleet box whose identity resolved, fleetOwnerCheck over the deploy store main already opens for the fleet label (fleetStore), then arm and armedRootfs.Store; this body reads nothing new itself; the closures it wires read later, at a rootfs wake and each status tick: GET /ready/rootfs over the control socket, NestedOK's checks, and release.FleetOwnerKey for the judged row's own account and this box's fleet from the deploy store;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328 plan 2 Tasks 7 and 11, #329 plan 3 Task 7 and plan 1 Task 7's policy cache: the control client is built once and handed to eb.Control, to the status tick (egressStatus) and to a new egressNudgeLoop goroutine; armSizeSource(svc, "/sys/fs/cgroup") after the activator Service; armPolicyCache() after armChangeIndex; statusLoop takes egressStatus. The reads are those units' own (decision rows); this body reads nothing new: the same five sites, offsets moved, in the agent; B,C,D,F authority retained.;rev3=census-ruling-remote-instance-metrics;basis=builds the metrics loop's owners closure (metricsOwners over the agent's registry, the activator and cgm.Leftover) when an activator exists and hands it to metricsLoop; reads nothing new itself;rev3=census-ruling-edge-asset-cache-3;basis=adds file:Statfs. runAgent keeps its authority (B,C,D,F). The new site is assetcache.Statfs, an exported assetcache.FS interface value (var Statfs FS = statfsFS{}), not a function value and not a call in runAgent: the ready hook passes it to armEdgeAssetCache as the store's filesystem, and armEdgeAssetCache calls its Space method on the configured data directory (dataDir(): $CARLOS_DATA_DIR, else /data), which calls unix.Statfs there (statfsFS.Space, accepted legacy at census-ruling-edge-asset-cache-2). No request-supplied pathname reaches it.;rev3=census-ruling-remote-metrics-nested;basis=main's body (merged origin/main acfa4f80, under main's own census rulings) plus: snapshots the nested layout (snapshotNestedUnits over /sys/fs/cgroup/carlos.slice/carlos-instances.slice) once at start, before the activator, and hands the metrics loop a unitSources struct (stamped units, routeHostNames, that root and the snapshot); reads nothing new itself;rev3=census-ruling-region-ha-p1a;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): wires region HA P1a into the activator: cfg.Record = haRecordFacts(openDeployStore, boxJudge) (the box's lifetime judge this body already builds with newBoxJudge, nil with host claims on; CI fix) and cfg.Self = lease.CurrentSelf; eb.Lifetimes (the process's lifetime index), eb.Registry, eb.StartupSwept (seedSweptAtStart.Load), eb.FilesStore from newProductionFilesStore (now lease.NewFilesStore, rootaws-loaded, a log line on failure) and lease.SetObligationDir(<data>/.ha-owed) (logged on failure; HA acquires then refuse); this body reads nothing new itself, the same five sites; the reads are those units' own (haRecordFacts and lease's SetObligationDir are new rows on this card); merge of origin/main d7ae1d76: main's own later changes to this body are kept as main has them, under main's rulings (census-ruling-remote-instance-metrics: the metricsOwners closure for metricsLoop; census-ruling-edge-asset-cache-3: the +file:Statfs site, assetcache.Statfs handed to the asset ready hook); this branch's change is the same as above;rev3=census-ruling-region-ha-p1b1;basis=region HA P1b-1: builds one termfence.Confirmer (Self from lease.CurrentSelf at each call, EC2 DescribeInstances method only, client from rootaws.LoadDefaultConfig with retries off, built lazily on first use) and sets eb.OwnerTerminated; this body reads nothing new itself, the same six sites;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 7: the startup Sweep literal hands its answer to startupSwept, which logs as before and, only on a clean sweep, marks rootfs admission swept (MarkRootfsSwept); same Sweep call, no read added;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (controller ruling after branch review R1, and Paul's R2 ruling): sets svc.Fleet = fleetWakeFor(os.Getenv, identity, identErr, fleetStore) from the identity it already resolves once and the deployment store the fleet loops already opened, and logs an ERROR naming the identity error when the box is on a fleet with an invalid identity. fleetWakeFor reads CARLOS_REGION and CARLOS_FLEET from the same environment. Read sites unchanged (6). Agent, not root; a platform box is unchanged.;rev3=census-ruling-rootfs-apps-6;basis=rootfs Plan 6 Task 12: one call more beside armRunsPass, armInteractivePass(svc, reg, rolloutSink, boxJudge), in the same activator Configure hook, handing it the same box judge; fix round 1 (Astra P2, shutdown): after svc.Shutdown(ctx), shutdownInteractive(ctx) ends and joins every interactive session under the same shutdown budget; the worker's own reads are its units' (interactive.go); this body reads nothing new, the same six sites; merge of origin/main 6f1f6ca6: main's svc.Fleet = fleetWakeFor(...) and its invalid-identity ERROR line are kept as main has them (census-ruling-managed-fleets-1b); this branch's change is the same as above; read sites unchanged (6);rev3=census-ruling-fix-set-aside-exdev;basis=set-aside EXDEV fix: one field more on the agent ExecBackend literal, RawInstanceDir: layout.RawInstanceDir (a pure path join: <dataDir>/.instances/<InstanceID(host)>), so the start rule set-aside moves a copy out through the raw directory instead of through the nosymfollow bind; this body reads nothing new, the same six sites;rev3=census-ruling-durability-3a-escrow;basis=durability 3a Task 3: one more assignment beside eb.FilesStore: eb.EscrowKey = haEscrowKey(os.Getenv("CARLOS_SECRETS_KEY")), the agent's own environment parsed by appconfig.ParsePrivateKey as the moves pass parses it (unset or unparseable: a log line and nil, and HA publication refuses on the box). No path is opened or read, no read site added; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 4: one more goroutine beside configSyncLoop: go escrowLoop(agentCtx, reg, svc), the escrow sweep every 30 s over the same registry and Service. This body reads nothing new itself; the same six sites, offsets moved; B,C,D,F authority retained. Durability 3a Task 5: one more call beside eb.EscrowKey: wireRawSecretPages(eb, PageOperator, metricsBoxLabel(os.Getenv, readMachineID())), which sets eb.OnRawSecret to page an operator (alerting.Page through PageOperator, LevelIncident) on its own goroutine with a 20 s timeout; metricsBoxLabel and readMachineID are the reads this body already makes for the moves refusal log; no new read site; the same six sites, offsets moved; B,C,D,F authority retained. Merge of origin/main 90c4d3aa: main's own later changes to this body are kept as main has them, under main's rulings; this branch's change is the same as above. Merge of origin/main 00bf5b8c (fleet set-aside EXDEV fix): main's change to this body is kept as main has it, under its own census ruling; this branch's change is unchanged.;rev3=census-ruling-probe-burst-limit;basis=two more sink wirings beside setAnalyticsSink: setProtectionSink(e.SetProtectionRecordOnly) and setAssetOwnersSource(e.AssetOwners), function values the telemetry pass calls; this body reads nothing new, the same six sites; authority B,C,D,F retained; no new root read or write kind;rev3=census-ruling-region-ha-p1b3a;basis=Arm HA placement exactly once on the existing Service before activatorStart and edges publication, wiring AwakeApps and the PageOperator callback; existing six read sites unchanged, no new root authority.;rev3=census-ruling-stateless-replicas-1;basis=Final review I3: start the concrete coordinator's renewal worker with agent setup; existing closeReplicaCoordinator shutdown cancels and joins it before release. No new read sites or credentials. Merge origin/main c59715e7: retain main's armHAPlacement(svc, PageOperator) wiring beside the existing activator setup; stateless coordinator and shutdown wiring remain. Same read sites; no new root read or credential.;rev3=census-ruling-edge-held-streams;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): in the edge-ready callback, calls act.SetHeldWakeHook(e.HeldWake) when act is non-nil (installing the non-blocking wake callback) and stores e.HeldStreamsForStatus in heldStreamsSource. Wiring of in-memory callbacks only; no read added.;rev3=census-ruling-region-ha-p1b3b-t;basis=Wire Service.SetDutyView to the live edge DutySnapshot in the ready callback. No new read; no new loop or cloud operation. B2 wires the registry as the persistent DutyStore before service startup; no new cloud or filesystem path. B3b: arm one journal-backed termination consumer before service startup using agentCtx and the shared confirmer; expose edge tick and join at edge shutdown. No new direct read sites.;rev3=census-ruling-agent-start-demo-1;basis=Passes the existing registry, data store and hibernation prefix into the demo worker, and the existing instance-control client into the demo before-exec hook. No alternate data store or polling loop. Merge resolution against origin/main 9bd45488 retains main's HA departure controller, lifecycle and duty wiring alongside the demo data store and worker; no read site added by the resolution.;rev3=census-ruling-region-ha-p3a;basis=P3a Task 3: install closed fixed admission before every launch source, bind activator/backend and edge, wire the real termination Started lifecycle and role reader after the change index; close before cancellation/child shutdown. No new external reads or cloud authority. Fix R1: move bind/lifecycle/edge-option wiring into wireAgentAdmission and worker listing into runWorkerBootPassAfterAdmission. Worker boot waits for admission before listing then uses unchanged bounded wakes and per-host serialization; whole Route read moves to the helper. No new storage, cloud, or root execution authority. Preserve merged main's agent wiring and census basis; the branch removes one whole Route use by moving worker iteration to the helper, with no added read kind.;rev3=census-ruling-stateless-replicas-2;basis=Slice 3b: arms a fleet-only worker using the existing registry, activator, backend and authenticated console transport. Owned worker stops and joins at shutdown. No new bucket reader. merge of origin/main 9b8b2c50: retain HA duty/departure lifecycle, wake-slot and existing agent wiring alongside the replica placement worker; no new read introduced by resolution. merge of origin/main 6be08467: Retain main demo configuration, admission, build and expiry wiring alongside the replica worker; merge-only body change, no additional read. merge of origin/main 7920cccf: Retain main box-role/group admission wiring and boot publication beside the owned replica worker and shutdown; main moves the boot registry List into runWorkerBootPassAfterAdmission, removing its inline whole Route site. No new read introduced by conflict resolution.;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 M3: retain the private snapshot source and cancel/join ownership, but use the replica-health-specific retry loop. It logs its first failure only and retains the existing exponential backoff capped at 30 seconds; unsupported builds return nil. Existing five direct read sites unchanged; no new credentials, bucket reader or app lifecycle action. file:Exec@18226,file:Open@1517,file:Statfs@47850,registry:App@11938,whole:Route@11930 916ecf4ddcec9c37f1233710a3e8dbba4d0c8b952d60b6a4831d45258b7591bc |
| internal/activator/replicaprobe.go Service.ProbeCopy legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: read the local registry assignment and the already-awake entry's launch/worker evidence under the held-leg predicate; compare account, app, fleet, box membership and lifetime; no bucket call, wake, authority acquisition or activity update. Added registry field and whole Route reads are the existing local projection, not tenant-selected paths. registry:Account@1564,registry:App@1581,registry:FleetBoxes@306,registry:HA@402,registry:HA@891,registry:Hibernate@386,registry:Hibernate@874,registry:Incarnation@819,registry:Incarnation@838,registry:Kind@361,registry:Region@1135,registry:Region@792,registry:Region@806,registry:ReplicaIncarnation@1658,registry:ReplicaIncarnation@741,registry:ReplicaIncarnation@767,registry:ReplicaRevision@1703,registry:Stateless@857,whole:Route@1083,whole:Route@1089,whole:Route@296,whole:Route@683,whole:Route@714,whole:Route@719 efe551a9cdf45284360710a083d19813120343f843ae9db9d3b4636d5f96d57c |
| internal/edge/replicaprobe.go Edge.replicaCopyMatches legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: compare Copy identity against the loaded Route's host, account, app, fleet, incarnation and assignment revision; local box must remain a member. Only in-memory registry field reads; no file or bucket reads. registry:Account@213,registry:App@251,registry:Host@170,registry:Region@115,registry:ReplicaIncarnation@325,registry:ReplicaRevision@374 503766598b5be534178a0c843ad160082961a96577c7c591416f9921712614ce |
| -internal/edge/replicaprobe.go Edge.serveReplicaProbe legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: verify the loaded assigned route, admit a held leg without waking, and GET the platform-captured serving generation's Unix socket under a one-second deadline. Recheck evidence after the response, drain at most 4 KiB and close. Route uses are already-loaded data; no root execution, bucket read or caller-chosen dial path. registry:FleetBoxes@390,registry:HA@459,registry:Hibernate@443,registry:Host@346,registry:Kind@365,whole:Route@1025,whole:Route@1215,whole:Route@2194,whole:Route@706 71e7e09ba2eea40c306362f2a17ed8324491da4560cc7896a84b309bcb39669a |
| +internal/edge/replicaprobe.go Edge.serveReplicaProbe legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 I4/F1: the dialled pathname comes from the serving Gen.Socket and, for shared/foreign layouts, can originate in the registry row Socket. Dial through unixdial.Checked: refuse the instance-control directory before connect and require getpeername to match the dialled path before sending HTTP, including symlink refusal. Existing Route reads unchanged. M5 handles request construction errors before RoundTrip; M2 uses the shared reason constant. Authenticated private landing, held-leg admission, one-second bound and post-response identity checks remain. registry:FleetBoxes@390,registry:HA@459,registry:Hibernate@443,registry:Host@346,registry:Kind@365,whole:Route@1025,whole:Route@1215,whole:Route@2268,whole:Route@706 8b158b6a5f414bc8290e9b13b0c27da2002920e837b7c9e98aea0771c98bac5e |
| internal/edge/replicaprober.go Edge.syncReplicaProbes legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: explicit integration seam passes supplied routes to the hub prober only when a tunnel hub exists. Not called from Reload or live routing in this slice. Whole Route use is in-memory; no registry query or bucket read. whole:Route@266 067356c5f648c50deed9ff3216dc2f4e61377f2de5328c86bd88d4bea4ae7175 |
| internal/edge/replicaprober.go TunnelHub.probeReplica legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: file:ReadAll is io.ReadAll of an HTTP response body from the existing authenticated tunnel transport, limited to 64 KiB plus an overflow byte and closed. Sends a fresh private GET with no visitor credentials, rejects non-200/non-JSON responses, never follows redirects. No filesystem path is opened. file:ReadAll@618 7514dbfa020b4da77546960850b279972a00dd8ec4404af719651925b23297ca |
| internal/edge/replicaprober.go newReplicaProber legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: allocate empty in-memory job and route maps; choose the existing tunnel transport adapter and clock. Whole Route is a map value type, not an external read. Construction starts no job. whole:Route@306 8090869d116edd4340609068c605baefe9e9ac7a71d9c882d65508ae01c79043 |
| -internal/edge/replicaprober.go replicaEvidenceMatches legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: compare authenticated platform Copy evidence to the assigned route and pinned connection/job evidence. GoodDigest is the serving platform executable digest, never the canonical manifest hash. Reads only supplied Route fields; no file, bucket or manifest fetch. registry:Account@225,registry:App@247,registry:GoodDigest@823,registry:GoodDigest@857,registry:GoodVersion@793,registry:Host@202,registry:Region@135,registry:ServingVersion@713,registry:ServingVersion@752,whole:Route@80 9cd81c96fe9ae311ebfe451e8cfaf22e7183735d15e028b2f872557d7eac3e89 |
| +internal/edge/replicaprober.go replicaIdentityMatches legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 Q13: compare reported host/account/app/fleet/box/incarnation against the surviving job and its current route view, before the revision-skew decision. Boot must be present; the connection pin is checked by record. In-memory Route fields only, no external read. registry:Account@169,registry:App@191,registry:Host@146,registry:Region@118,whole:Route@75 e20949646de55dab02bb4caf3e6e81c5edf5228696712c643e5027ce8add04fc |
| internal/edge/replicaprober.go replicaProber.Snapshot legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: return a detached snapshot for the requested host from the already-held route/job maps. Whole Route copies remain in memory; no new external reader. whole:Route@113,whole:Route@193 171de8351bf2af47663c62e149b96907c1ff3366f3a9441d36f1eda3375cf5ca |
| internal/edge/replicaprober.go replicaProber.Stop legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: permanently stop, cancel and join owned jobs and clear their in-memory route map. Whole Route use is the map value type; no external read or lifecycle action on applications. whole:Route@155 ca2248300f84a7bbd7400c6f60b44c682adbf4387251979e241445e06fad8877 |
| -internal/edge/replicaprober.go replicaProber.Sync legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: validate supplied stateless set rows, reject duplicates and invalid/legacy/HA/hibernating rows, preserve unchanged job keys, and cancel/replace changed host-lifetime-revision-box jobs. Registry fields and whole Route values come from the caller's snapshot only; no query, bucket polling, app wake or routing integration. registry:Account@331,registry:App@351,registry:FleetBoxes@308,registry:FleetBoxes@688,registry:HA@367,registry:Hibernate@376,registry:Host@1158,registry:Host@473,registry:Host@501,registry:Host@529,registry:Kind@393,registry:Region@1051,registry:ReplicaIncarnation@1167,registry:ReplicaRevision@1200,whole:Route@1221,whole:Route@1228,whole:Route@262,whole:Route@467,whole:Route@523,whole:Route@540,whole:Route@569,whole:Route@610,whole:Route@745,whole:Route@776,whole:Route@829,whole:Route@871,whole:Route@925,whole:Route@934,whole:Route@963 9ed9fcc15f6f5ad1c2bd7d64fcc56410923004bbc77c932a9d5180fbb649683d |
| -internal/edge/replicaprober.go replicaProber.reset legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: reset a copy to unknown on connection change and build its identity from the job's captured route; disconnected copies are down. Reads only in-memory Route fields; no external input or file read. registry:Account@258,registry:App@280,registry:Region@189,whole:Route@191,whole:Route@260,whole:Route@282 a3fe9112c25e9f9b968ee8eff4ba7c1746db259142636f986c6a5b8798da4ff7 |
| +internal/edge/replicaprober.go replicaProber.Sync legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 Q13: preserve surviving host/incarnation/box jobs and their samples/counters across revision, Copies and deployment-stamp changes; refresh the in-memory route view under the prober mutex. Cancel removed members and changed owner/lifetime/fleet jobs; new members start unknown. Supplied Route values only, no query, bucket polling or wake. registry:Account@331,registry:App@351,registry:FleetBoxes@308,registry:FleetBoxes@688,registry:HA@367,registry:Hibernate@376,registry:Host@1318,registry:Host@473,registry:Host@501,registry:Host@529,registry:Kind@393,registry:Region@1211,registry:ReplicaIncarnation@1327,whole:Route@1064,whole:Route@1072,whole:Route@1085,whole:Route@1094,whole:Route@1123,whole:Route@1361,whole:Route@1368,whole:Route@262,whole:Route@467,whole:Route@523,whole:Route@540,whole:Route@569,whole:Route@610,whole:Route@745,whole:Route@776,whole:Route@829,whole:Route@871 239518132b5d88d1dd50158d2af054544ce622d19a0147fa260e83557153db37 |
| +internal/edge/replicaprober.go replicaProber.record legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 Q13: after current-job/connection and identity/boot checks, compare the response revision with the job current route ReplicaRevision. A mismatch changes no sample, counter, evidence or boot pin. Matching results retain existing fail/rise behavior. Read the already-supplied Route revision in memory; no registry query, bucket read or authority grant. registry:ReplicaRevision@900,whole:Route@902 5851a2928f7dc1711ed43f59a5c82dbe1b4d7b5f7b58fb2f897fb8dae5efe077 |
| +internal/edge/replicaprober.go replicaProber.reset legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 Q13: when connection identity changes, use the current in-memory route ReplicaRevision for the unknown/down sample; revision is no longer part of the immutable job key. Added ReplicaRevision field read, no registry query or other external reader. registry:Account@258,registry:App@280,registry:Region@189,registry:ReplicaRevision@375,whole:Route@191,whole:Route@260,whole:Route@282,whole:Route@377 28128e5cf897ab07d76c50f7f2bd10be26b147258318f71ba791c2fdf45a7e99 |
| internal/edge/replicaprober.go replicaProber.snapshotLocked legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: build one host's detached snapshot from its canonical assignment boxes and job samples, excluding closed/replaced tunnel generations immediately. Registry field reads are the stored in-memory route; no filesystem or bucket access. registry:Account@126,registry:App@143,registry:Copies@226,registry:FleetBoxes@284,registry:Host@108,registry:Host@513,registry:ReplicaIncarnation@164,registry:ReplicaRevision@197 6e61edffbcab8ad36f1dd0909badddde6b9b24a9b070ebe10c877b453b228f04 |
| internal/edge/replicaprober.go replicaProber.snapshots legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: copy all current host snapshots under the prober lock for the private health socket. Whole Route values are the owned map; returned slices/maps cannot mutate health state. No new external reads. whole:Route@150,whole:Route@184,whole:Route@224 be3aafcac789af7434db8ec1cf0b884b242d82eb1c24c7aca2795ec578741e23 |
| -internal/edge/replicaprober.go sameReplicaJob legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: compare captured and supplied route identity, assignment and optional platform serving-build evidence to decide job preservation. Pure in-memory comparisons; no authority or external reads. registry:Account@194,registry:Account@207,registry:App@221,registry:App@230,registry:Copies@298,registry:Copies@310,registry:FleetBoxes@265,registry:FleetBoxes@281,registry:GoodDigest@399,registry:GoodDigest@415,registry:GoodVersion@364,registry:GoodVersion@381,registry:Host@97,registry:Region@240,registry:Region@252,registry:ReplicaIncarnation@129,registry:ReplicaRevision@172,registry:ServingVersion@323,registry:ServingVersion@343,whole:Route@69 a12dc37f2e9a77e1e965c9a99103decedae5e5bd3c615c972d81a3f539465ba0 |
| +internal/edge/replicaprober.go sameReplicaJob legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1 fix round 1 Q13/Q14: compare host/incarnation and owner/fleet only; the slot supplies the box and Sync checks current membership. Remove revision, copy count, FleetBoxes and per-host serving/good-build stamp comparisons. Pure comparisons of captured and supplied route fields; no external read. registry:Account@154,registry:Account@167,registry:App@181,registry:App@190,registry:Host@97,registry:Region@200,registry:Region@212,registry:ReplicaIncarnation@129,whole:Route@69 117b6aece8fee1e121c6a6b65f5a901ec752c30bedcb5bc64d64694b467ef23e |
| internal/edge/tunnel.go tunnelWire.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1b: the scanner's file:Read sites are net.Conn.Read on the existing authenticated reverse-channel connection, not filesystem reads. Notify closure on reader failure so copy health excludes closed connections immediately. No pathname, root-owned file or new network destination is introduced. file:Read@21,file:Read@62 eff57b35dc5f4f7e2f54e08b07e07b0a21d571c41704be0a3d1997db362b8234 |
| internal/host/replicahealth_linux.go serveReplicaHealth legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: Lstat checks the fixed agent-owned /run/carlos/.replicas directory and health.sock; Open opens that directory read-only for flock. Require directory ownership and mode 0700, socket 0600, preserve live/non-socket/ambiguous existing paths, and only remove proven stale sockets under the lock. Read-only snapshot handler, bounded shutdown and listener-owned unlink; not mounted into tenant namespaces. No root read of tenant-controlled input. file:Lstat@252,file:Lstat@906,file:Open@650 1ff1e05ec8222c2adf684421e40eb55c7590beba28a725e5035b08da04042cb2 |
| internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only.;rev3=census-ruling-tunnel-websockets;basis=Deletes the Carlos-Upgrade marker header from incoming requests and puts the upgrade admission (host, path, the entry tenancy, all in hand) on a tunnel arm request. For a login POST on an ungated ArmTunnel row it reads the visitor request body (bounded by gate.MaxFormBody, 413 past it; a request body, not a file) and resolves next against the entry Reload built (Gate, Route); the bytes pass on only when loginPassesThrough holds (spec 7, Tasks 3, 5 and 6).;rev3=census-ruling-console-protection-tab;basis=one more call in the observer defer, observeGuardCount(up.route, out), beside the observeRecords call that files the guard Match: it passes on the route row the defer already holds (+whole:Route) and the request outcome to the usage meter, which counts the check in memory. Called whether or not the request was unbilled, as observeRecords is. Nothing is opened, read or followed; no new kind of read; no check, refusal or serving decision changes.;rev3=census-ruling-probe-burst-limit;basis=answers a probe-burst notice POST (serveBurstNotice) ahead of every route for a non-door caller; builds the guard state for up.route and stamps its account and app (RouteAccount, App) for the cool-down's this-app/other-app label; for a catalogue match on a non-static or tunnelled route, offers the burst rule (in-memory limiter, burstDecide: 429 or a watch verdict, never a block for a fleet or forward row); the observer defer calls noteBurst(up.route, ...); the added sites are the route value already in hand (+registry:App, +whole:Route x5); no new root read or write kind;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): parses the request's query once (stripHoldMarker) to record the carlos_hold=1 mark in the request context; calls classifyHold on the upstream already resolved from the loaded map (the +whole:Route is that in-memory Route), including a second pass for a login POST; gives a marked request on a door-refused route the plain 404; adds the hold branch (planThrottleAdmit, rateAdmit, serveHeld) after the gate; and excludes marked requests from the shared cache. Reads only the request and the already-loaded upstream map; no registry or bucket read added.;rev3=census-ruling-region-ha-p3a;basis=Complete the P3a cut: an exact peer name with no dial target answers the approved admission 503 before local wildcard dispatch or asset serving. ExactHome and lookupHome stop fallback at a present non-dial entry; backhaulTo refuses an empty target before signing or dialing. Retain Task 3 local admission and fixed platform/unit exemptions. Two added whole Route uses feed the local in-memory admission predicate; existing Route values and store/path reads are unchanged.;rev3=census-ruling-stateless-coordinator-route;basis=P24/P25: POST only, exact /api/fleet/replicas/ prefix on the reserved tunnel host calls the existing local console proxy only for an unescaped, already-clean path; malformed forms remain on the hub. No new read sites relative to origin/main. Merge with main 3487d6f6 retains its region HA admission checks before routing and after login target lookup, its empty-home refusal, and their two existing whole:Route reads; these change this unit's digest relative to the previously approved branch tip 92b24a7d.;rev3=census-ruling-stateless-replicas-3;basis=Task 1a: pass the already-resolved Route to the reserved replica-probe handler after acceptHop and existing admissionRefuses, requiring tunnel context plus private marker and refusing door/backhaul ingress. Added whole Route use only; scrub marker before forwarding; HA calls remain unchanged. file:ReadAll@15522,registry:App@21679,registry:Gate@14496,registry:Gate@26070,registry:Gate@26130,registry:Gate@26188,registry:Host@26173,registry:ImportGate@33573,registry:Kind@20541,registry:Kind@23979,registry:Kind@33515,registry:Kind@33544,whole:Route@14391,whole:Route@14502,whole:Route@17319,whole:Route@18103,whole:Route@18561,whole:Route@18753,whole:Route@20544,whole:Route@21605,whole:Route@21671,whole:Route@21682,whole:Route@21935,whole:Route@22030,whole:Route@22106,whole:Route@22150,whole:Route@22452,whole:Route@22482,whole:Route@23982,whole:Route@24267,whole:Route@26073,whole:Route@26133,whole:Route@26176,whole:Route@26191,whole:Route@27109,whole:Route@29172,whole:Route@33518,whole:Route@33547,whole:Route@33576,whole:Route@33608,whole:Route@35456,whole:Route@5576,whole:Route@5671 d86bb163dfe6c165cad91eb2a4713f3f862d6128a8ec59808e6dc638c3d44a49 |
| @coverage internal/activator c5b02ec2a8b43a6ec7472b2f70d2d2a7d81a6e9fea126d398aca21ae46b5ca6f |
| -@coverage internal/edge ea8a3dfd94d2808459293ac0778aa57456f8d82f15ec8e1b20f4e5607b605aa4 |
| -@coverage internal/host ccb007a6a9705c2fbce61d04e59998a61d18696412e2926a748b7aa315647f53 |
| +@coverage internal/edge b5ebd4ef870dbf9ced5337ff30a0c1039b0db4ba03f136780a74d9d22550696a |
| +@coverage internal/host 8202b947824702b5897bdb32875ea7ab1386bd0b8f077f5ec1d506c2038f565a |
| @coverage internal/replicas 2c780322923afa8a3c3ec017f57d2b165858f21d38225fd16ef52d1402e5316a |
| @coverage internal/tunnelclient a5bd418d97ee5e5d2bb9550dd35e2456b1c06fc541b82fe1e40a5594ed6fba30 |