| new file mode 100644 |
| index 000000000..27d686bdc |
| --- /dev/null |
| +++ b/internal/provision/testdata/plan14-root-reads-stateless-replicas-4-drill3.tsv |
| @@ -0,0 +1,16 @@ |
| +# Census overlay stateless-replicas-4-drill3, written by census-propose (#369). census-ruling-stateless-replicas-4-drill3, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-stateless-replicas-4-drill3.md. |
| +# 2 body, 1 sites, 1 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| +# 3 new dispositions: 0 reads re-frozen at their disposition with the claim, 3 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other. |
| +@legacy d706cfbb2b293bf47277fd350effdf32cac35fca0833ca58343f5e032db31879 internal/edge/replicaprober.go replicaProber.record legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Final I1 fix, Q22: accept a revision-skewed result as normal health evidence after the unchanged current-job, cancellation, connection, owner, lifetime, box, boot and serving-evidence checks. Count fail/rise and refresh ObservedAt; stamp the accepted sample with the hub current route ReplicaRevision. The existing in-memory Route revision read moves from the skew refusal to that stamp. No new external read, path, bucket poll, membership authority or wake.;rev3=census-ruling-stateless-replicas-4-drill3;basis=drill 3 R23: after recordProbe, the accepted job also latches risen (job.risen = risen || count.up), the in-memory fact Risen reads; no read added, same two sites registry:ReplicaRevision@1184,whole:Route@1186 a2b10c975ea1f21a782fafc540350789e5ca479811bd410ed4953eabda95cac0 |
| +@legacy bec30c790a44d6e0f74e1aaa60b857bf5ff0d5a4552d4f8e480880e65abfb8e7 internal/edge/reqrecords.go Edge.observeRecords legacy accepted-legacy accepted-legacy;rev3=census-ruling-edge-request-records;identity=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=new: called from ServeHTTP's observer defer after observeAnalytics, with the route the defer already holds; returns at once when no recorder is wired or the request arrived over a tunnel (the forwarding box records it); otherwise builds the Response through requestResponse from that route and the request and hands it to the in-memory recorder, which files it into the box's log sink; its one scanned site is the route value passed in; it reads no file, no store and no box state, writes nothing outside the log sink, and makes no serving or root decision; the class of Edge.observeAnalytics (J1 root-route);rev3=census-ruling-edge-protection-2;basis=files one reqrec.Match in place of the Response when the request's outcome carries a guard verdict (kind block or watch, the verdict's rule tier, id, fragment and reference code; a block woke nothing), and the plain Response otherwise; still in-memory, its one scanned site is the route value passed in; no read added;rev3=census-ruling-probe-burst-limit;basis=the Match it files also carries the verdict's cool-down start and end (CooldownFrom, CooldownUntil, set only for the burst rule); RequestRecorder gains Trip; still in-memory into the log sink, the same one route site; no new root read or write kind;rev3=census-ruling-agent-start-demo-log-skip;basis=returns early when demoUnrecorded(rt, r): files no Response or Match for a demo; only suppresses an in-memory record; no new read;rev3=census-ruling-stateless-replicas-4-drill3;basis=drill 3 H2: a response whose counting writer saw a successful Hijack and no status (an upgrade the reverse proxy relayed) is filed as status 101 instead of 200, so the minute counts leave websocket dials out of the 2xx class; in-memory into the log sink as before; no read added whole:Route@185,whole:Route@886 a408f74e18c51771e3d24294c49d513098487fa82ba0be40b188235ba3516978 |
| +@legacy 622f8d00bf7452ac15da5324c5f95e18e1facf4b5efb667095498bd6e2701b29 internal/edge/replicaprober.go replicaProber.Risen legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-4-drill3;basis=new, drill 3 R23: under the prober lock, reads the already-synced in-memory route p.routes[host] (its FleetBoxes) and each job's risen flag and incarnation; no registry query, file or store read; serving only registry:FleetBoxes@198,whole:Route@110 30330d0ee9dabbb57a754c7fde1664865b211a1bf85d73baeffa259ac4bf653c |
| +@legacy 9b2d11ae773e6a37a4c610b3cced170b3af5a4f14b0a204ade1f56cc94d06c05 internal/edge/replicaproxy.go replicaAttemptBody.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-4-drill3;basis=new, drill 3 R22: one replica attempt's view of the inbound request body; Read forwards to that body (the scanner's file:Read is io.Reader.Read on it) and marks the attempt read; opens no file and reads no state file:Read@29,file:Read@87 6f9666c79921c0d76435baa0349bc94371c7daa8f3c5770c70172333a3dec252 |
| +@legacy 153cf87a699cc8e58e370ab754dbd463e6e974c76cdd937748c9063c17fd3e60 internal/edge/replicaproxy.go replicaHandoffFor legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-4-drill3;basis=new, drill 3 R23: a pure function of the listed set row t, the fleet arm verdict, the previous in-memory map entry and Risen; returns the replaced forward row's box only when it is in the set, for the same host, account, app, fleet and incarnation; reads Host, ReplicaIncarnation and whole Route values already in memory; no registry query, file or store read registry:Host@134,registry:Host@153,registry:Host@615,registry:ReplicaIncarnation@471,registry:ReplicaIncarnation@623,registry:ReplicaIncarnation@731,whole:Route@139,whole:Route@390 3cdd2f0b4a2970764f1c131107a7ca45a8b3aac8fd4af43bab9f83f89721304e |
| +@legacy db89ddf0782fd935c6bd9c957aec0003d69279326f3faed74247b54fb52e35a9 internal/edge/edge.go Edge.Reload legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-design-edge-rate-limit-358;basis=each route's upstream entry gains rate: e.parseRateSettings(t), the row's rate_limit column parsed once per reload; the one added site is that whole:Route pass of t (parseRateSettings is a new unit, classified in the decisions overlay); no other read added;rev3=census-ruling-certwarm-wake;basis=the single reload hook call becomes runReloadHooks(), which runs every registered hook in order (#386); no read added, same 57 sites (56 before #358 landed on main);rev3=census-ruling-edge-asset-cache-3;basis=each tenant reverse proxy built in the switch (the tunnel, fleet, socket and TCP arms, every *httputil.ReverseProxy) is installed behind assetScrubbedProxy, which hands the proxy an assetInformationalScrub writer so an app's 1xx (103) loses the asset cache's reserved headers (X-Carlos-Asset-Fill, -Fill-Ack, -Expires, Carlos-Cache) on every local path, as the backhaul already does (final review F6); a type check of the proxy it just built and a wrapper around it; static and status handlers untouched; read sites unchanged (57), offsets moved; no read added;rev3=census-ruling-alias-wake-338;basis=#338 follow-up: after the path fold, a resolved platform alias takes its source's own upstream entry (same proxy, route, hibernating: the existing activator wake, lease and fence), keeping its own prefix map (none for a minted apex) and never inheriting the source's (Astra r2 P1); a refused alias, or one whose source has no entry, is dropped from the map (not served, not Allowed); the attached-hostname fold clears platformAlias;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the activator-managed test (generation proxy, hib, no-activator 404) is Route.ActivatorOwned instead of Kind and Hibernate inline, so a resident rootfs instance goes through the activator; binary rows unchanged;rev3=census-ruling-edge-roll-blip;basis=the tcpProxy and multiProxy calls pass e.hold (the per-Edge localHold set once in newEdge): a loopback TCP upstream that refuses is redialled for up to 13 s and a probed route with a local upstream waits for prober readmission instead of answering 502/503 (#434 part B); edge-side dial policy only, no read added, same 52 sites;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: after the alias fold, reads the regional_domains rows (e.reg.ListRegional; an error aborts the reload as every registry read here does) and applies them with foldRegional against the routes slice the same reload read; the added reads are that one registry list and the routes already read;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Tasks 4 and 6: the forward case (fleetProxy toward the binding's FleetBox, throttled refusal); one refusal check before the switch from FleetArmVerdict (sidecar not judged; a non-ready forward row refused; a forward row always judged by FleetServeEligible, any other row only where tunnels are on; an alias of a refused source refused with it); the accountless note; path rows of a forward host not folded; no alias folded onto a refused row; refusedHosts held through every fold. ListFleets and FleetChannelAuth read before the loop (+registry:FleetBox, +registry:Host x7, +whole:Route x3). Serving only; the hub's agent, not root. Review R1 finding 2: the switch reads verdict.Served (FleetArmVerdict) by host; the forward case and the fleet-placed case take their fleet from it (served.Fleet) instead of FleetPlacement(t.Region), and an admitted forward row not Served continues rather than falling through (+registry:Host, -registry:Region); the same rows take the same arms; no read added. Review R2: the switch is on DispatchArm(t, viaFleet, tunnels) (the order moved there unchanged: forward only when in Arm, own Tunnel, fleet, socket, addrs, static, status, else continue), the fleet cases read verdict.Arm (renamed from Served), and the platform-alias fold is foldPlatformAliases with the same take (source entry, own paths, alias marks) and the same refusal log (-registry:Kind x2, -registry:Socket, -registry:Tunnel, +whole:Route: those reads moved into DispatchArm); same rows, same arms, same entries; no read added.;rev3=census-ruling-fleet-routes-followups;basis=the owners map is now e.reg.FleetOwners() instead of ListFleets folded inline: the same fresh-connection ListFleets read and the same name->account map (-registry:Account, -registry:Name, -whole:Fleet x2 move into Registry.FleetOwners); no read added; same error path (abort the reload);rev3=census-ruling-tunnel-websockets;basis=The ArmTunnel arm now records its tenancy (Account, App, Tunnel) copied from the row t that Reload already lists; no new registry query, no file read. Also the reload mutex taken first and held to return, five nil-in-production test hooks, and the sweepUpgrades call after the swap, which reads only the map Reload has just built (spec 7, Tasks 3 and 4).;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5, rule 3): the two fleet proxy builds pass the row to fleetBoxOf(t) instead of reading t.FleetBox (-registry:FleetBox x2, +whole:Route x2); fleetBoxOf answers FleetLabel as authoritative when set, else FleetBox; an authoritative box has no fallback to another of the fleet's channels (503 errFleetDark instead). The edge in the agent, not root; it routes to fewer channels, never more.;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): after the new upstream map is published, closes the held streams of any host the new map no longer holds (absent, not hibernating, route no longer Hibernate). Reads the freshly built in-memory map m and the in-memory held set; no read added beyond the rebuild Reload already does.;rev3=census-ruling-devbox-identity;basis=#486 A: only the devbox edge created by newDevboxEdge (carlos-devbox service user, not root) enables the new proxy hooks. Saves the existing DispatchArm result and reads t.Socket from an already-listed route when that arm is ArmSocket, passing it to configureDevboxProxy for per-request expected-owner validation and visitor-header rewriting. Adds one registry:Socket field site; no new registry query or file open, and ordinary fleet/agent edges leave the hook disabled. Final fix wave: its devbox-only outgoing-header/trailer hooks now also strip case-insensitive underscore/hyphen aliases through stripVisitorHeaders; no new read.;rev3=census-ruling-agent-start-demo-1;basis=Checks demo route eligibility and filters the final folded map using the existing registry listing; no new registry or store query. Merge resolution against origin/main 9bd45488 retains main's devbox proxy hooks (reading the existing route Socket) alongside demo filtering; no additional registry query.;rev3=census-ruling-stateless-replicas-3;basis=Task 3: dispatch admitted stateless set rows through replicaProxy before legacy fleetBoxOf. Read Host and supplied whole Route values from the existing listing to build and filter the set probe inputs after all registry reads and alias folds; synchronize before map publication. Tenancy comes only from FleetArmVerdict. No new external read; no set row reaches legacy fallback, local addresses, provision.Health or hibernation on the hub. Fix round 1 M2: comment and whitespace correction only; read sites and routing behavior unchanged.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1175-1177 passes an already-listed demo Route to demoProxy; :1358 passes existing Route and RouteAlias slices to demoRefusalNames; :1401 publishes refusal names before upstreams. Adds whole-value uses only, no new registry query; retained names refuse fallback after filtering.;rev3=census-ruling-demo-api-site-route;basis=Build a dedicated demo API proxy from the selected existing socket, TCP or probed console transport in the same atomic route snapshot, before ordinary wrappers. Reads existing route Host twice, Version and two whole Route values for exact operator-configured console eligibility. No additional registry query or external read.;rev3=census-ruling-agent-start-demo-3;basis=Refresh the verified moved snapshot from registry on reload before route-independent serving. Census read-site delta: unchanged (87).;rev3=census-ruling-region-ha-g2-fixes;basis=Derive blocked ingress names from already listed unready/held/import-gated/sidecar and fleet-refused rows; added field reads only.;rev3=census-ruling-edge-page-cache-1;basis=keeps every row this reload already read from the registry (e.pageRoutes, e.pageRoutesRead = routes, true, under reloadMu) for the page reload hook; the +whole:Route sites are that assignment of the same slice; no new read;rev3=census-ruling-held-move-speed;basis=the six tenant reverse proxies' ModifyResponse is now classifyMoveStreams(e.responseModifier(t)): MarkMoveStream first reads the response head (status 101, or Content-Type text/event-stream) and sets a flag on the request's in-memory StreamEnd, then responseModifier runs unchanged (byte-identical to main). The hook never wraps or touches the body, so the trailer scrubs keep the proxy as their one closer (Astra r2 F2.1: the graceful boundary end and its watcher were cut). No read added;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: with tunnels on, the pass also reads LinkChannelAuth and LinkOwners from the box's own registry (fresh connection, as FleetChannelAuth and FleetOwners) and merges each well-formed link channel's hash into the set SetDynamicAuth takes; the verdict judges link-placed forward rows by the link owners; an admitted one takes the new ArmLink case (linkProxy down the link's channel, tenancy with the link); the door's fleet snapshot stays fleet owners only and link owners go to a separate snapshot; +whole:Route is the row handed to the new case's responseModifier; the edge process as carlos, no root decision; linked deployments slice 1 Task 8: each upstream entry also records localBackend (ArmSocket, or an instance the activator runs here), from values the pass already holds; no read added; linked deployments slice 1 Task 11: the LinkChannelAuth read (the same fresh-connection read) moves to the top of the pass, before List, and its map is applied at once through the hub's new SetLinkAuth (the link half of the credential set only; fleet entries untouched), so a link revocation or rotation closes the home connection on the old hash even when a later read or step of the same reload fails; the same map is still merged into the set SetDynamicAuth takes; no read added, one moved; the edge process as carlos, no root decision; Task 11 fix round 1: comments only (the reload hook contract now says the link credentials are applied before afterRead); no code or read changed; final review fix: the store of the unread linkAccounts snapshot is deleted (fleetAccounts unchanged); no read added or moved;rev3=census-ruling-stateless-replicas-4-drill3;basis=drill 3 R23: keeps the map it replaces (e.current(), the in-memory map only Reload publishes, under reloadMu) and, for an ArmReplica row, hands the listed row t and that host's previous entry to replicaHandoffFor; the result is set on the new replica transport and the upstream entry; +registry:Host and +whole:Route are the already-listed row t; no registry query, file or store read added; the edge process as carlos, no root decision registry:Account@12872,registry:Alias@28250,registry:Alias@28337,registry:Alias@28917,registry:App@12888,registry:Health@16655,registry:Health@16781,registry:Hibernate@33353,registry:HoldOp@32149,registry:Host@14199,registry:Host@14256,registry:Host@14292,registry:Host@15056,registry:Host@17264,registry:Host@17359,registry:Host@17647,registry:Host@17673,registry:Host@17725,registry:Host@20555,registry:Host@20588,registry:Host@22611,registry:Host@24518,registry:Host@24826,registry:Host@24853,registry:Host@25769,registry:Host@26341,registry:Host@28671,registry:Host@28720,registry:Host@31585,registry:Host@31610,registry:Host@31627,registry:Host@32226,registry:Host@6218,registry:Host@6587,registry:Host@6641,registry:Host@6691,registry:Host@7805,registry:Host@8040,registry:Host@8132,registry:ImportGate@32168,registry:Kind@20947,registry:Kind@20969,registry:Prefix@26316,registry:Socket@15120,registry:Socket@20826,registry:Socket@24834,registry:Status@32125,registry:Status@6512,registry:Target@26328,registry:Tunnel@12711,registry:Tunnel@12903,registry:Version@20678,registry:Version@20928,registry:Version@21030,whole:RegionalDomain@29614,whole:Route@10250,whole:Route@1045,whole:Route@12793,whole:Route@14347,whole:Route@14475,whole:Route@15196,whole:Route@17818,whole:Route@17883,whole:Route@17934,whole:Route@20605,whole:Route@20612,whole:Route@20736,whole:Route@24914,whole:Route@24921,whole:Route@25035,whole:Route@26204,whole:Route@27372,whole:Route@29606,whole:Route@29662,whole:Route@29702,whole:Route@31491,whole:Route@31525,whole:Route@31613,whole:Route@31692,whole:Route@32111,whole:Route@33355,whole:Route@33412,whole:Route@33443,whole:Route@5238,whole:Route@5296,whole:Route@6226,whole:Route@7834,whole:Route@8079,whole:Route@8287,whole:Route@8421,whole:Route@8444,whole:Route@8459,whole:Route@9305,whole:Route@9433,whole:RouteAlias@28221,whole:RouteAlias@29670,whole:RoutePath@25747 b7be66189d8b67210efa5accd17578ffdedf7113fbbed52a2485ca27b81173f9 |
| +internal/edge/replicaprober.go replicaProber.record legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-3;basis=Final I1 fix, Q22: accept a revision-skewed result as normal health evidence after the unchanged current-job, cancellation, connection, owner, lifetime, box, boot and serving-evidence checks. Count fail/rise and refresh ObservedAt; stamp the accepted sample with the hub current route ReplicaRevision. The existing in-memory Route revision read moves from the skew refusal to that stamp. No new external read, path, bucket poll, membership authority or wake.;rev3=census-ruling-stateless-replicas-4-drill3;basis=drill 3 R23: after recordProbe, the accepted job also latches risen (job.risen = risen || count.up), the in-memory fact Risen reads; no read added, same two sites registry:ReplicaRevision@1184,whole:Route@1186 a2b10c975ea1f21a782fafc540350789e5ca479811bd410ed4953eabda95cac0 |
| +internal/edge/reqrecords.go Edge.observeRecords legacy accepted-legacy accepted-legacy;rev3=census-ruling-edge-request-records;identity=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos);basis=new: called from ServeHTTP's observer defer after observeAnalytics, with the route the defer already holds; returns at once when no recorder is wired or the request arrived over a tunnel (the forwarding box records it); otherwise builds the Response through requestResponse from that route and the request and hands it to the in-memory recorder, which files it into the box's log sink; its one scanned site is the route value passed in; it reads no file, no store and no box state, writes nothing outside the log sink, and makes no serving or root decision; the class of Edge.observeAnalytics (J1 root-route);rev3=census-ruling-edge-protection-2;basis=files one reqrec.Match in place of the Response when the request's outcome carries a guard verdict (kind block or watch, the verdict's rule tier, id, fragment and reference code; a block woke nothing), and the plain Response otherwise; still in-memory, its one scanned site is the route value passed in; no read added;rev3=census-ruling-probe-burst-limit;basis=the Match it files also carries the verdict's cool-down start and end (CooldownFrom, CooldownUntil, set only for the burst rule); RequestRecorder gains Trip; still in-memory into the log sink, the same one route site; no new root read or write kind;rev3=census-ruling-agent-start-demo-log-skip;basis=returns early when demoUnrecorded(rt, r): files no Response or Match for a demo; only suppresses an in-memory record; no new read;rev3=census-ruling-stateless-replicas-4-drill3;basis=drill 3 H2: a response whose counting writer saw a successful Hijack and no status (an upgrade the reverse proxy relayed) is filed as status 101 instead of 200, so the minute counts leave websocket dials out of the 2xx class; in-memory into the log sink as before; no read added whole:Route@185,whole:Route@886 a408f74e18c51771e3d24294c49d513098487fa82ba0be40b188235ba3516978 |
| +internal/edge/replicaprober.go replicaProber.Risen legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-4-drill3;basis=new, drill 3 R23: under the prober lock, reads the already-synced in-memory route p.routes[host] (its FleetBoxes) and each job's risen flag and incarnation; no registry query, file or store read; serving only registry:FleetBoxes@198,whole:Route@110 30330d0ee9dabbb57a754c7fde1664865b211a1bf85d73baeffa259ac4bf653c |
| +internal/edge/replicaproxy.go replicaAttemptBody.Read legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-4-drill3;basis=new, drill 3 R22: one replica attempt's view of the inbound request body; Read forwards to that body (the scanner's file:Read is io.Reader.Read on it) and marks the attempt read; opens no file and reads no state file:Read@29,file:Read@87 6f9666c79921c0d76435baa0349bc94371c7daa8f3c5770c70172333a3dec252 |
| +internal/edge/replicaproxy.go replicaHandoffFor legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-4-drill3;basis=new, drill 3 R23: a pure function of the listed set row t, the fleet arm verdict, the previous in-memory map entry and Risen; returns the replaced forward row's box only when it is in the set, for the same host, account, app, fleet and incarnation; reads Host, ReplicaIncarnation and whole Route values already in memory; no registry query, file or store read registry:Host@134,registry:Host@153,registry:Host@615,registry:ReplicaIncarnation@471,registry:ReplicaIncarnation@623,registry:ReplicaIncarnation@731,whole:Route@139,whole:Route@390 3cdd2f0b4a2970764f1c131107a7ca45a8b3aac8fd4af43bab9f83f89721304e |
| +internal/edge/edge.go Edge.Reload legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-design-edge-rate-limit-358;basis=each route's upstream entry gains rate: e.parseRateSettings(t), the row's rate_limit column parsed once per reload; the one added site is that whole:Route pass of t (parseRateSettings is a new unit, classified in the decisions overlay); no other read added;rev3=census-ruling-certwarm-wake;basis=the single reload hook call becomes runReloadHooks(), which runs every registered hook in order (#386); no read added, same 57 sites (56 before #358 landed on main);rev3=census-ruling-edge-asset-cache-3;basis=each tenant reverse proxy built in the switch (the tunnel, fleet, socket and TCP arms, every *httputil.ReverseProxy) is installed behind assetScrubbedProxy, which hands the proxy an assetInformationalScrub writer so an app's 1xx (103) loses the asset cache's reserved headers (X-Carlos-Asset-Fill, -Fill-Ack, -Expires, Carlos-Cache) on every local path, as the backhaul already does (final review F6); a type check of the proxy it just built and a wrapper around it; static and status handlers untouched; read sites unchanged (57), offsets moved; no read added;rev3=census-ruling-alias-wake-338;basis=#338 follow-up: after the path fold, a resolved platform alias takes its source's own upstream entry (same proxy, route, hibernating: the existing activator wake, lease and fence), keeping its own prefix map (none for a minted apex) and never inheriting the source's (Astra r2 P1); a refused alias, or one whose source has no entry, is dropped from the map (not served, not Allowed); the attached-hostname fold clears platformAlias;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the activator-managed test (generation proxy, hib, no-activator 404) is Route.ActivatorOwned instead of Kind and Hibernate inline, so a resident rootfs instance goes through the activator; binary rows unchanged;rev3=census-ruling-edge-roll-blip;basis=the tcpProxy and multiProxy calls pass e.hold (the per-Edge localHold set once in newEdge): a loopback TCP upstream that refuses is redialled for up to 13 s and a probed route with a local upstream waits for prober readmission instead of answering 502/503 (#434 part B); edge-side dial policy only, no read added, same 52 sites;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: after the alias fold, reads the regional_domains rows (e.reg.ListRegional; an error aborts the reload as every registry read here does) and applies them with foldRegional against the routes slice the same reload read; the added reads are that one registry list and the routes already read;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Tasks 4 and 6: the forward case (fleetProxy toward the binding's FleetBox, throttled refusal); one refusal check before the switch from FleetArmVerdict (sidecar not judged; a non-ready forward row refused; a forward row always judged by FleetServeEligible, any other row only where tunnels are on; an alias of a refused source refused with it); the accountless note; path rows of a forward host not folded; no alias folded onto a refused row; refusedHosts held through every fold. ListFleets and FleetChannelAuth read before the loop (+registry:FleetBox, +registry:Host x7, +whole:Route x3). Serving only; the hub's agent, not root. Review R1 finding 2: the switch reads verdict.Served (FleetArmVerdict) by host; the forward case and the fleet-placed case take their fleet from it (served.Fleet) instead of FleetPlacement(t.Region), and an admitted forward row not Served continues rather than falling through (+registry:Host, -registry:Region); the same rows take the same arms; no read added. Review R2: the switch is on DispatchArm(t, viaFleet, tunnels) (the order moved there unchanged: forward only when in Arm, own Tunnel, fleet, socket, addrs, static, status, else continue), the fleet cases read verdict.Arm (renamed from Served), and the platform-alias fold is foldPlatformAliases with the same take (source entry, own paths, alias marks) and the same refusal log (-registry:Kind x2, -registry:Socket, -registry:Tunnel, +whole:Route: those reads moved into DispatchArm); same rows, same arms, same entries; no read added.;rev3=census-ruling-fleet-routes-followups;basis=the owners map is now e.reg.FleetOwners() instead of ListFleets folded inline: the same fresh-connection ListFleets read and the same name->account map (-registry:Account, -registry:Name, -whole:Fleet x2 move into Registry.FleetOwners); no read added; same error path (abort the reload);rev3=census-ruling-tunnel-websockets;basis=The ArmTunnel arm now records its tenancy (Account, App, Tunnel) copied from the row t that Reload already lists; no new registry query, no file read. Also the reload mutex taken first and held to return, five nil-in-production test hooks, and the sweepUpgrades call after the swap, which reads only the map Reload has just built (spec 7, Tasks 3 and 4).;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5, rule 3): the two fleet proxy builds pass the row to fleetBoxOf(t) instead of reading t.FleetBox (-registry:FleetBox x2, +whole:Route x2); fleetBoxOf answers FleetLabel as authoritative when set, else FleetBox; an authoritative box has no fallback to another of the fleet's channels (503 errFleetDark instead). The edge in the agent, not root; it routes to fewer channels, never more.;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): after the new upstream map is published, closes the held streams of any host the new map no longer holds (absent, not hibernating, route no longer Hibernate). Reads the freshly built in-memory map m and the in-memory held set; no read added beyond the rebuild Reload already does.;rev3=census-ruling-devbox-identity;basis=#486 A: only the devbox edge created by newDevboxEdge (carlos-devbox service user, not root) enables the new proxy hooks. Saves the existing DispatchArm result and reads t.Socket from an already-listed route when that arm is ArmSocket, passing it to configureDevboxProxy for per-request expected-owner validation and visitor-header rewriting. Adds one registry:Socket field site; no new registry query or file open, and ordinary fleet/agent edges leave the hook disabled. Final fix wave: its devbox-only outgoing-header/trailer hooks now also strip case-insensitive underscore/hyphen aliases through stripVisitorHeaders; no new read.;rev3=census-ruling-agent-start-demo-1;basis=Checks demo route eligibility and filters the final folded map using the existing registry listing; no new registry or store query. Merge resolution against origin/main 9bd45488 retains main's devbox proxy hooks (reading the existing route Socket) alongside demo filtering; no additional registry query.;rev3=census-ruling-stateless-replicas-3;basis=Task 3: dispatch admitted stateless set rows through replicaProxy before legacy fleetBoxOf. Read Host and supplied whole Route values from the existing listing to build and filter the set probe inputs after all registry reads and alias folds; synchronize before map publication. Tenancy comes only from FleetArmVerdict. No new external read; no set row reaches legacy fallback, local addresses, provision.Health or hibernation on the hub. Fix round 1 M2: comment and whitespace correction only; read sites and routing behavior unchanged.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1175-1177 passes an already-listed demo Route to demoProxy; :1358 passes existing Route and RouteAlias slices to demoRefusalNames; :1401 publishes refusal names before upstreams. Adds whole-value uses only, no new registry query; retained names refuse fallback after filtering.;rev3=census-ruling-demo-api-site-route;basis=Build a dedicated demo API proxy from the selected existing socket, TCP or probed console transport in the same atomic route snapshot, before ordinary wrappers. Reads existing route Host twice, Version and two whole Route values for exact operator-configured console eligibility. No additional registry query or external read.;rev3=census-ruling-agent-start-demo-3;basis=Refresh the verified moved snapshot from registry on reload before route-independent serving. Census read-site delta: unchanged (87).;rev3=census-ruling-region-ha-g2-fixes;basis=Derive blocked ingress names from already listed unready/held/import-gated/sidecar and fleet-refused rows; added field reads only.;rev3=census-ruling-edge-page-cache-1;basis=keeps every row this reload already read from the registry (e.pageRoutes, e.pageRoutesRead = routes, true, under reloadMu) for the page reload hook; the +whole:Route sites are that assignment of the same slice; no new read;rev3=census-ruling-held-move-speed;basis=the six tenant reverse proxies' ModifyResponse is now classifyMoveStreams(e.responseModifier(t)): MarkMoveStream first reads the response head (status 101, or Content-Type text/event-stream) and sets a flag on the request's in-memory StreamEnd, then responseModifier runs unchanged (byte-identical to main). The hook never wraps or touches the body, so the trailer scrubs keep the proxy as their one closer (Astra r2 F2.1: the graceful boundary end and its watcher were cut). No read added;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: with tunnels on, the pass also reads LinkChannelAuth and LinkOwners from the box's own registry (fresh connection, as FleetChannelAuth and FleetOwners) and merges each well-formed link channel's hash into the set SetDynamicAuth takes; the verdict judges link-placed forward rows by the link owners; an admitted one takes the new ArmLink case (linkProxy down the link's channel, tenancy with the link); the door's fleet snapshot stays fleet owners only and link owners go to a separate snapshot; +whole:Route is the row handed to the new case's responseModifier; the edge process as carlos, no root decision; linked deployments slice 1 Task 8: each upstream entry also records localBackend (ArmSocket, or an instance the activator runs here), from values the pass already holds; no read added; linked deployments slice 1 Task 11: the LinkChannelAuth read (the same fresh-connection read) moves to the top of the pass, before List, and its map is applied at once through the hub's new SetLinkAuth (the link half of the credential set only; fleet entries untouched), so a link revocation or rotation closes the home connection on the old hash even when a later read or step of the same reload fails; the same map is still merged into the set SetDynamicAuth takes; no read added, one moved; the edge process as carlos, no root decision; Task 11 fix round 1: comments only (the reload hook contract now says the link credentials are applied before afterRead); no code or read changed; final review fix: the store of the unread linkAccounts snapshot is deleted (fleetAccounts unchanged); no read added or moved;rev3=census-ruling-stateless-replicas-4-drill3;basis=drill 3 R23: keeps the map it replaces (e.current(), the in-memory map only Reload publishes, under reloadMu) and, for an ArmReplica row, hands the listed row t and that host's previous entry to replicaHandoffFor; the result is set on the new replica transport and the upstream entry; +registry:Host and +whole:Route are the already-listed row t; no registry query, file or store read added; the edge process as carlos, no root decision registry:Account@12872,registry:Alias@28250,registry:Alias@28337,registry:Alias@28917,registry:App@12888,registry:Health@16655,registry:Health@16781,registry:Hibernate@33353,registry:HoldOp@32149,registry:Host@14199,registry:Host@14256,registry:Host@14292,registry:Host@15056,registry:Host@17264,registry:Host@17359,registry:Host@17647,registry:Host@17673,registry:Host@17725,registry:Host@20555,registry:Host@20588,registry:Host@22611,registry:Host@24518,registry:Host@24826,registry:Host@24853,registry:Host@25769,registry:Host@26341,registry:Host@28671,registry:Host@28720,registry:Host@31585,registry:Host@31610,registry:Host@31627,registry:Host@32226,registry:Host@6218,registry:Host@6587,registry:Host@6641,registry:Host@6691,registry:Host@7805,registry:Host@8040,registry:Host@8132,registry:ImportGate@32168,registry:Kind@20947,registry:Kind@20969,registry:Prefix@26316,registry:Socket@15120,registry:Socket@20826,registry:Socket@24834,registry:Status@32125,registry:Status@6512,registry:Target@26328,registry:Tunnel@12711,registry:Tunnel@12903,registry:Version@20678,registry:Version@20928,registry:Version@21030,whole:RegionalDomain@29614,whole:Route@10250,whole:Route@1045,whole:Route@12793,whole:Route@14347,whole:Route@14475,whole:Route@15196,whole:Route@17818,whole:Route@17883,whole:Route@17934,whole:Route@20605,whole:Route@20612,whole:Route@20736,whole:Route@24914,whole:Route@24921,whole:Route@25035,whole:Route@26204,whole:Route@27372,whole:Route@29606,whole:Route@29662,whole:Route@29702,whole:Route@31491,whole:Route@31525,whole:Route@31613,whole:Route@31692,whole:Route@32111,whole:Route@33355,whole:Route@33412,whole:Route@33443,whole:Route@5238,whole:Route@5296,whole:Route@6226,whole:Route@7834,whole:Route@8079,whole:Route@8287,whole:Route@8421,whole:Route@8444,whole:Route@8459,whole:Route@9305,whole:Route@9433,whole:RouteAlias@28221,whole:RouteAlias@29670,whole:RoutePath@25747 b7be66189d8b67210efa5accd17578ffdedf7113fbbed52a2485ca27b81173f9 |
| +@coverage internal/edge f62eb7e401b12a5eb9d2da9c23714c864dfea20540234b61287b24a47053cd49 |