| index b06df1f10..d3b673694 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-linked-deployments-slice1.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-linked-deployments-slice1.tsv |
| @@ -52,7 +52,7 @@ |
| @legacy 1cc218bca0ee6eb3adcb76a8f2931775aa0d3245f0366398bdbc3a20c38c6509 internal/edge/fleetforward.go DispatchArm legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): review R2: Reload's dispatch order as one function over a row it serves (forward only when admitted to the fleet arm, own Tunnel where tunnels are on, fleet arm, socket, AddrList, static, status, else none), moved out of Reload's switch unchanged; read by Reload and FleetArmVerdict. Pure; no I/O.;rev3=census-ruling-stateless-replicas-3;basis=Task 3: read FleetBoxes and ValidReplicaProjection on the supplied row before the legacy forward/tunnel/fleet arms. An admitted valid set selects ArmReplica; a set without fleet authority selects no arm. Local non-hub resident socket dispatch remains unchanged. No external read.;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: a link-placed forward row (registry.LinkPlacement over Region) dispatches to ArmLink when the verdict's Arm holds it and to ArmNone otherwise, ahead of every other case; +registry:Region is that parse registry:FleetBoxes@219,registry:Kind@603,registry:Kind@649,registry:Region@106,registry:Socket@513,registry:Tunnel@426 319127d0441ea71dc3acb0a24426a85b02eb31ee1b780b5037f51b6b2bf97c59 |
| @legacy 854eb333b3939208c7162ded875278297ef1793fa538c36a71282470818614f7 internal/provision/forward.go forwardPhase.mint legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 10: mints a forward row through PutForward for an owner's fleet-placed record; a host another row holds is left alone and logged naming the holding row (+registry:Account, +registry:App, +registry:Kind, +whole:Route x4). Agent only.;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 2: before any write, an existing forward row whose Region registry.LinkPlacement parses is reported held (the existing held log line, naming the link, its app and account) and nothing is written; reads only the listed row (Region, App, Account); the pass writes less, never more registry:Account@335,registry:Account@488,registry:App@321,registry:App@474,registry:Kind@306,registry:Region@182,whole:Route@121,whole:Route@543,whole:Route@553,whole:Route@762 ff5165ed5028b296f57b4877b8c36d6c30ec764db8a7085711c3e884b6d11f79 |
| @legacy d2790bf237d4ce6e6594e2af851f312c3e58b5bfa62d329b7d07a03551172f20 internal/provision/forward.go forwardView.retirements legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 10: the forward rows to retire over the snapshot re-walk (+registry:Host x5, +whole:Route): only forward rows; disputed hosts kept. Agent only.;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 2: a forward row whose Region registry.LinkPlacement parses is never listed for retirement, on the hub or off it; reads only the listed row's Region; the pass deletes less, never more (DeleteForward already refuses link rows) registry:Host@299,registry:Host@368,registry:Host@416,registry:Host@443,registry:Host@606,registry:Region@245,whole:Route@160 04c5190f27d514ec8a95eb0149324ed64ef79411c5f792fb6456c60eae2eb72e |
| -@legacy bc707cb3f525a7524b1046dc8b2753cb507501cb2b0ba5fd66858a79a8bd53ed 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 registry:Account@11643,registry:Alias@27003,registry:Alias@27090,registry:Alias@27670,registry:App@11659,registry:Health@15426,registry:Health@15552,registry:Hibernate@31954,registry:HoldOp@30750,registry:Host@12970,registry:Host@13027,registry:Host@13063,registry:Host@13827,registry:Host@16035,registry:Host@16130,registry:Host@16418,registry:Host@16444,registry:Host@16496,registry:Host@19326,registry:Host@19359,registry:Host@21382,registry:Host@23289,registry:Host@23597,registry:Host@23624,registry:Host@24522,registry:Host@25094,registry:Host@27424,registry:Host@27473,registry:Host@30186,registry:Host@30211,registry:Host@30228,registry:Host@30827,registry:Host@5253,registry:Host@5622,registry:Host@5676,registry:Host@5726,registry:Host@6746,registry:Host@6935,registry:ImportGate@30769,registry:Kind@19718,registry:Kind@19740,registry:Prefix@25069,registry:Socket@13891,registry:Socket@19597,registry:Socket@23605,registry:Status@30726,registry:Status@5547,registry:Target@25081,registry:Tunnel@11482,registry:Tunnel@11674,registry:Version@19449,registry:Version@19699,registry:Version@19801,whole:RegionalDomain@28312,whole:Route@11564,whole:Route@13118,whole:Route@13246,whole:Route@13967,whole:Route@16589,whole:Route@16654,whole:Route@16705,whole:Route@19376,whole:Route@19383,whole:Route@19507,whole:Route@23685,whole:Route@23692,whole:Route@23788,whole:Route@24957,whole:Route@26125,whole:Route@28304,whole:Route@28360,whole:Route@28400,whole:Route@30092,whole:Route@30126,whole:Route@30214,whole:Route@30293,whole:Route@30712,whole:Route@313,whole:Route@31956,whole:Route@32013,whole:Route@32044,whole:Route@4273,whole:Route@4331,whole:Route@5261,whole:Route@6775,whole:Route@7058,whole:Route@7192,whole:Route@7215,whole:Route@7230,whole:Route@8076,whole:Route@8204,whole:Route@9021,whole:RouteAlias@26974,whole:RouteAlias@28368,whole:RoutePath@24500 1c699b6275029e783c62648fe6d42b29103acb66d806e9e70b4aae41a73020a6 |
| +@legacy d6828712d10fc2f7974d361b8c38f3fd3da311fd4b153745d0a5a6ab24820b49 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 registry:Account@12371,registry:Alias@27731,registry:Alias@27818,registry:Alias@28398,registry:App@12387,registry:Health@16154,registry:Health@16280,registry:Hibernate@32682,registry:HoldOp@31478,registry:Host@13698,registry:Host@13755,registry:Host@13791,registry:Host@14555,registry:Host@16763,registry:Host@16858,registry:Host@17146,registry:Host@17172,registry:Host@17224,registry:Host@20054,registry:Host@20087,registry:Host@22110,registry:Host@24017,registry:Host@24325,registry:Host@24352,registry:Host@25250,registry:Host@25822,registry:Host@28152,registry:Host@28201,registry:Host@30914,registry:Host@30939,registry:Host@30956,registry:Host@31555,registry:Host@5981,registry:Host@6350,registry:Host@6404,registry:Host@6454,registry:Host@7474,registry:Host@7663,registry:ImportGate@31497,registry:Kind@20446,registry:Kind@20468,registry:Prefix@25797,registry:Socket@14619,registry:Socket@20325,registry:Socket@24333,registry:Status@31454,registry:Status@6275,registry:Target@25809,registry:Tunnel@12210,registry:Tunnel@12402,registry:Version@20177,registry:Version@20427,registry:Version@20529,whole:RegionalDomain@29040,whole:Route@1045,whole:Route@12292,whole:Route@13846,whole:Route@13974,whole:Route@14695,whole:Route@17317,whole:Route@17382,whole:Route@17433,whole:Route@20104,whole:Route@20111,whole:Route@20235,whole:Route@24413,whole:Route@24420,whole:Route@24516,whole:Route@25685,whole:Route@26853,whole:Route@29032,whole:Route@29088,whole:Route@29128,whole:Route@30820,whole:Route@30854,whole:Route@30942,whole:Route@31021,whole:Route@31440,whole:Route@32684,whole:Route@32741,whole:Route@32772,whole:Route@5001,whole:Route@5059,whole:Route@5989,whole:Route@7503,whole:Route@7786,whole:Route@7920,whole:Route@7943,whole:Route@7958,whole:Route@8804,whole:Route@8932,whole:Route@9749,whole:RouteAlias@27702,whole:RouteAlias@29096,whole:RoutePath@25228 57267b6a9cfcaeed4995b1857bd851ae19e2f3d5f67e83209e0a85daeb3bb0a7 |
| @legacy 42304ac2f37522340c2bda552d9967300504dab2102ccdec079d9b0bc740f3af internal/edge/fleetforward.go FleetArmVerdict legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 6 fix round 3: the single fleet-arm refusal decision over one listing, used by Edge.Reload, the edges-file writer and the alias pass (parity by construction); returns the refused set with reasons and the accountless notes (+registry:Host x3, +registry:Status, +whole:Route x3). Pure; no I/O. Review R1 finding 2: also returns Served, each admitted row Reload sends through the fleet arm (a forward row, or a fleet-placed row with no Tunnel) with its fleet, app and the fleet owner from owners; a host the alias step refuses is dropped from it (+registry:App, +registry:Host, +registry:Region, +registry:Tunnel on the listing it already holds). Pure; no I/O. Review R2: the pre-fold fleet rows are now Arm; Served is the destination after the platform-alias fold: every ready, unrefused, non-sidecar row DispatchArm gives an entry, with its Arm fleet when its arm is a fleet's, folded by foldPlatformAliases (Reload's own fold), keeping the hosts that go to a fleet (+registry:Host, +registry:Status, +whole:Route on the listing it already holds). Pure; no I/O; refusals unchanged.;rev3=census-ruling-stateless-replicas-3;basis=Task 3: classify ArmReplica as fleet-served for the existing shared routing, edges-file and alias verdict. Existing field reads unchanged; pure in-memory decision, same owner and alias checks.;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: owners is edge.ForwardOwners; a link-placed forward row (registry.LinkPlacement over the listed row's Region) admitted by FleetServeEligible gets an Arm entry with its link, app and the link's owner, and ArmLink rows count as served; +registry:App, +registry:Host, +registry:Region are that row's fields; a pure decision over the listing, no read source added registry:App@769,registry:App@970,registry:Host@1615,registry:Host@1675,registry:Host@1807,registry:Host@1867,registry:Host@376,registry:Host@559,registry:Host@618,registry:Host@729,registry:Host@928,registry:Region@681,registry:Region@859,registry:Status@1547,registry:Status@316,registry:Tunnel@900,whole:Route@1049,whole:Route@1515,whole:Route@1705,whole:Route@1923,whole:Route@264,whole:Route@518 b98bcc250129fbe47a5fc5be92bac28d809683358010420c3c52388bb42f36a2 |
| @legacy 88e9d5cee56487049c335bd495dc6b39da00bb40f3b834440711ffa2e669f5e4 internal/edge/fleetforward.go FleetServeEligible legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4 (§4.4 tenancy): a forward row is eligible only on a hub, inert, fleet-placed, its fleet in the fleets table and its raw Account non-empty and equal to the owner; a non-forward fleet-placed row: empty raw Account served and noted, else release.RouteAccount must equal the owner; raw field before RouteAccount (+registry:Account x7, +registry:Region x2, +registry:Tunnel, +whole:Route). Pure; no I/O.;rev3=census-ruling-stateless-replicas-3;basis=Task 3: gate set routing on hub role, valid projection, nonempty account/app, instance or inert forward kind, no platform ownership, HA, hibernation or explicit tunnel. New reads are fields of the already-supplied Route. Existing fleet-owner and inert-forward checks still apply; no external read or expansion of destination authority. Fix round 1 M1: retain the same fail-closed structural predicate but give each invalid condition an internal diagnostic instead of the no-healthy-copy message. No admission expansion, user-facing answer, or additional read.;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: owners is edge.ForwardOwners; a forward row whose Region parses as a link placement is judged by linkServeEligible against owners.Links only, and every other row as before against owners.Fleets; +registry:Region and +whole:Route are that parse and the hand-off; refuses more, never admits a fleet row by link owners registry:Account@1413,registry:Account@1484,registry:Account@1570,registry:Account@1672,registry:Account@1828,registry:Account@1926,registry:Account@2189,registry:Account@512,registry:App@532,registry:FleetBoxes@297,registry:HA@683,registry:Hibernate@692,registry:Kind@860,registry:Platform@610,registry:Region@1244,registry:Region@142,registry:Region@282,registry:Tunnel@1629,registry:Tunnel@774,whole:Route@208,whole:Route@2111 94d88d4b36a3dbc2d0cac93be76da320d5926d71b66a2ad8f89bc84ec639468e |
| @legacy 7c635b65e7b6d5dc6aba50ec2f9d77d8c084cc2bb154483af5279b9311af8ee8 internal/edge/purge_header.go Edge.resolvePurgeOwnersIn legacy accepted-legacy accepted-legacy;rev3=census-ruling-edge-page-cache-1;basis=resolvePurgeHosts' former body, verbatim but for three things: it takes the snapshot (cur) from its caller, answers purgeHost{host, owner} pairs, and a host admitted by the path-routing exception (another app) is owned by the serving route rt (the +registry:App sites), so its page clear is of rt's own pages; the same caps, validation and ownership checks;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 8: a declared Carlos-Purge-Host equal to the linked request's public host is the serving route's own host (rt.Host, owner rt), as naming rt.Host already is; the new sites read rt.Host and build purgeHost{rt.Host, rt}; nothing outside rt's own entries becomes purgeable registry:Account@5255,registry:Account@5303,registry:App@4466,registry:App@4484,registry:App@5247,registry:App@5289,registry:App@5394,registry:App@5407,registry:Host@1110,registry:Host@1238,registry:Host@1444,registry:Host@1557,registry:Host@183,registry:Host@1836,registry:Host@2033,registry:Host@2456,registry:Host@2989,registry:Host@3038,registry:Host@4449,registry:Host@4599,registry:Host@4797,registry:Host@494,registry:Host@4959,registry:Host@5238,registry:Host@6019,registry:Host@617,registry:Host@6180,whole:Route@192,whole:Route@2716,whole:Route@3047,whole:Route@4471,whole:Route@4524,whole:Route@4555,whole:Route@4910,whole:Route@5292,whole:Route@5306,whole:Route@5383,whole:Route@5547,whole:Route@5555,whole:Route@5602 3cc7b6ca49d2474edb365c73781a5384a2d171f44ecb969acdf7763536e47477 |
| @@ -114,7 +114,7 @@ internal/edge/fleetforward.go DispatchArm legacy accepted-legacy accepted-legacy |
| internal/provision/forward.go forwardPhase.mint legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 10: mints a forward row through PutForward for an owner's fleet-placed record; a host another row holds is left alone and logged naming the holding row (+registry:Account, +registry:App, +registry:Kind, +whole:Route x4). Agent only.;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 2: before any write, an existing forward row whose Region registry.LinkPlacement parses is reported held (the existing held log line, naming the link, its app and account) and nothing is written; reads only the listed row (Region, App, Account); the pass writes less, never more registry:Account@335,registry:Account@488,registry:App@321,registry:App@474,registry:Kind@306,registry:Region@182,whole:Route@121,whole:Route@543,whole:Route@553,whole:Route@762 ff5165ed5028b296f57b4877b8c36d6c30ec764db8a7085711c3e884b6d11f79 |
| internal/provision/forward.go forwardView.retirements legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 10: the forward rows to retire over the snapshot re-walk (+registry:Host x5, +whole:Route): only forward rows; disputed hosts kept. Agent only.;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 2: a forward row whose Region registry.LinkPlacement parses is never listed for retirement, on the hub or off it; reads only the listed row's Region; the pass deletes less, never more (DeleteForward already refuses link rows) registry:Host@299,registry:Host@368,registry:Host@416,registry:Host@443,registry:Host@606,registry:Region@245,whole:Route@160 04c5190f27d514ec8a95eb0149324ed64ef79411c5f792fb6456c60eae2eb72e |
| internal/registry/remote_dispatch.go Registry.dispatchRemote hint E2 rev3=census-ruling-self-serve-moves-1;basis=the registry child (carlos __registry-child, the service user a root pass forks): plan14-root-reads-e's mixed declaration (E2 adds only the ArtifactHosts read; every other arm is the local method of the same name), with three more write arms, SetHoldIfSeq, ReleaseHoldSeq and InstallLifetimeIf, each calling the local setter; no read operation added; self-serve moves 1 Task 7;rev3=census-ruling-instance-egress-sizes-328-329;identity=the registry child (carlos __registry-child, the service user a root pass forks);basis=#328/#329 plan 1 Task 4: one more write arm, SetPolicy, calling the local Registry.SetPolicy with the request's Host, EgressAllow, Size and PolicyExpiresAt (remoteRequest fields sent by the remote handle's holder); the new kinds registry:EgressAllow, registry:Size and registry:PolicyExpiresAt, one site each, plus one more registry:Host site, all of the request; no read operation added; the read-only worker never reaches it (serveRemote's method gate); no production root pass sends SetPolicy;rev3=census-ruling-region-ha-p1a;basis=the registry child (carlos __registry-child, the service user a root pass forks): one more write arm, SetHA, calling the local Registry.SetHA with the request's Host (+registry:Host); no read operation added; only the provision pass sends it;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 2 and 8: two new remote methods, UpsertUnlessRootfs (carlos add's guarded write) and ResidentInstances (the residency sweep's list), each calling the same-named Registry method;rev3=census-ruling-regional-domains-447;basis=#447 Task 4: two more methods on the existing remote registry transport, ListRegional and ReplaceRegionalSet (request field RDs, response field Regional), each calling the local method of the same name, which validates its own input; no new kind of read;rev3=census-ruling-fleet-secrets-key;basis=one new case, SetFleetSecretsKey, reading the request's Name, Pub, KeyFP, By and At fields and calling SetFleetSecretsKey;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Tasks 1-2: three new cases (SetFleetBoxIf reads the request's Fleet and answers Changed; PutForward reads TValue, a whole Route; DeleteForward reads Host and answers Changed); SetFleetBox gone (+registry:Changed x2, +registry:Fleet, +registry:Host, +registry:TValue, +whole:Route). Each case calls the local writer with its own guards.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Tasks 2 and 6b): three more remote methods dispatched to their local forms, SetFleetBoxDraining (q.Fleet, q.Label, q.At, answering Number64), MarkFleetBoxLabelled (q.Fleet, q.Label, q.At) and SetFleetAssignment (q.Host, q.Assigned, q.Moved); remoteRequest gains Assigned and Moved. The registry child, not root.;rev3=census-ruling-stateless-replicas-1;basis=Task 3a: Add SetServingMode dispatch using the existing remote request Host, Ver and On fields; the same local narrow writer handles it. No new transport or root path. Task 4 R24: dispatch SeedStateless with the existing Observed Route and On carriers to its symmetric guarded local method. No new transport; the existing read-only service gate still refuses writes.;rev3=census-ruling-region-ha-p1b3b-t;basis=Dispatch typed duty, import, exact replacement and guarded receipt operations through the existing service-user registry transport, preserving comparisons and errors. B2 fix r1: dispatch AdvanceHADuty through the existing service-user registry channel and error mapping, reading the request Host only. Read-only method allowlist remains unchanged. B3b: transport bounded typed local journal requests and results over the existing authenticated registry channel; no arbitrary SQL or disk path.;rev3=census-ruling-managed-fleets-2a;basis=Expose the two owned managed preparation methods with Fleet envelope fields, preserving conditional result. Witness TestManagedRegistryPreparationMethods local/remote parity. Dispatch ClearFleetBoxDraining with fleet, label and timestamp to validated local method; no new transport or root path. Witness TestManagedConditionalDrainClear. Dispatch managed insert with FleetBox and At, and return Changed for conditional drain clear. Existing transport and local validation; no new root path. Witness TestAddManagedFleetBox local/remote parity.;rev3=census-ruling-stateless-replicas-2;basis=Slice 3b: adds ClearReplicaAssignment over the existing typed registry RPC; local writer checks the complete observed row. Existing read-only RPC gate unchanged. merge of origin/main 9b8b2c50: retain all HA journal/duty/wake/adoption RPCs alongside replica assignment RPCs; union of request/response fields and error sentinels, unchanged transport and read-only gate. Merge 0b3098cb also retains main's two managed fleet RPCs; the replica RPCs and shared refusal gate remain intact.;rev3=census-ruling-managed-fleets-2b1;basis=managed fleets 2b-1 Task 1: the registry child (carlos __registry-child, the service user a root pass forks) answers GetFleet and ListFleetBoxes with GetFleetContext(ctx, q.Name) and ListFleetBoxesContext(ctx, q.Fleet), passing its existing request context so a cancelled caller ends the child's SQL read; same request fields (Name, Fleet) and same local queries; no method, field or read operation added; read-only method gate unchanged;rev3=census-ruling-edge-page-cache-1;basis=adds the SetPages method: r.SetPages(q.Host, q.PagesOff), the request's PagesOff field (the +registry:Host and +registry:PagesOff sites); the same dispatch as SetAssets. Merged onto main's body at 04dc1dc0 (managed fleets 2b-1: GetFleet and ListFleetBoxes now go through their Context forms with the dispatch ctx), which this branch does not change;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 1: nine more cases (PutLinkChannel, RevokeLinkChannel, LinkChannelAuth, LinkOwners, SetLinkSeen, ResetLinkSeen, LinkSeen, LinkForwards, DeleteLinkForward), each calling the local method with request fields; no other case changed; linked deployments slice 1 Task 7: ten cases for the home link methods (HomeLink, PutHomeLink, DeleteHomeLink, ClaimHomeLink, SetHomeLinkState, HomeLinkConnGen, HomeLinkApps, HomeLinkAppByName, PutHomeLinkApp, DeleteHomeLinkApp), each passing the request's HomeLink, HomeLinkApp, Label, Status or Name to the registry method of that name; the same transport, no read added; linked deployments slice 1 Task 7 fix round 1: one more case, SetHomeLinkUnlinkPending, passing the request's LinkID and On to the registry method of that name; no read added registry:A@10839,registry:Account@2988,registry:Account@3087,registry:Account@7055,registry:Accounts@5717,registry:Addr@7632,registry:Addrs@7640,registry:Adoption@1013,registry:Adoption@818,registry:Alias@10887,registry:Alias@10951,registry:Alias@11039,registry:Aliases@10761,registry:Alive@12714,registry:Args@10463,registry:AssetGen@7839,registry:AssetsOff@7826,registry:Assigned@8317,registry:Assignment@9733,registry:Assignment@9831,registry:At@10970,registry:At@11048,registry:At@12462,registry:At@3322,registry:At@3390,registry:At@3782,registry:At@3879,registry:At@3964,registry:At@9211,registry:Attempts@12484,registry:B@3385,registry:B@3439,registry:Backing@7451,registry:Bucket@3100,registry:BuildState@8076,registry:By@3316,registry:Changed@12394,registry:Changed@2860,registry:Changed@2933,registry:Changed@3034,registry:Changed@322,registry:Changed@3721,registry:Changed@4152,registry:Changed@4225,registry:Changed@464,registry:Changed@4674,registry:Changed@4915,registry:Changed@5448,registry:Changed@564,registry:Changed@6140,registry:Changed@6227,registry:Changed@6316,registry:Changed@6387,registry:Changed@6491,registry:Changed@6578,registry:Changed@6671,registry:Changed@6753,registry:Changed@832,registry:Changed@8664,registry:Changed@8801,registry:Changed@929,registry:Changed@9398,registry:Changed@9586,registry:Channel@7115,registry:Channel@8507,registry:Channel@9056,registry:CheckedAt@9137,registry:Class@7570,registry:DoneBefore@12723,registry:Due@10164,registry:Due@10228,registry:Due@12506,registry:Duty@312,registry:Duty@390,registry:Duty@634,registry:EgressAllow@7979,registry:Env@8575,registry:Env@8967,registry:Env@9067,registry:ExcludeHosts@12189,registry:ExcludeHosts@12284,registry:ExpectGood@9336,registry:ExpectOp@6195,registry:ExpectOp@6445,registry:ExpectPair@6625,registry:Expected@1001,registry:Expected@1153,registry:Expected@1626,registry:Expected@1803,registry:Expected@2114,registry:F@2832,registry:F@2893,registry:F@2978,registry:F@2988,registry:F@3077,registry:F@3087,registry:F@3100,registry:Fleet@3132,registry:Fleet@3497,registry:Fleet@3579,registry:Fleet@3660,registry:Fleet@3764,registry:Fleet@3861,registry:Fleet@3946,registry:Fleet@4047,registry:Fleet@8707,registry:FleetBoxes@3996,registry:Fleets@3202,registry:From@7226,registry:From@7287,registry:FromDB@7362,registry:FromOp@6283,registry:FromSock@7372,registry:HAJournal@183,registry:HAJournal@221,registry:Hash@8381,registry:Health@7649,registry:HomeLink@4751,registry:HomeLink@4827,registry:HomeLinkApp@5304,registry:HomeLinkApp@5404,registry:HomeLinkApps@5234,registry:Host@10041,registry:Host@10101,registry:Host@10156,registry:Host@10220,registry:Host@10404,registry:Host@10455,registry:Host@10522,registry:Host@10597,registry:Host@10660,registry:Host@11257,registry:Host@1136,registry:Host@11383,registry:Host@11537,registry:Host@11825,registry:Host@11889,registry:Host@11948,registry:Host@12031,registry:Host@12114,registry:Host@12345,registry:Host@12430,registry:Host@12562,registry:Host@12643,registry:Host@12806,registry:Host@1888,registry:Host@1999,registry:Host@286,registry:Host@350,registry:Host@422,registry:Host@4713,registry:Host@501,registry:Host@5901,registry:Host@5942,registry:Host@602,registry:Host@6095,registry:Host@6171,registry:Host@6257,registry:Host@6349,registry:Host@6421,registry:Host@6527,registry:Host@6617,registry:Host@6705,registry:Host@6797,registry:Host@694,registry:Host@7047,registry:Host@7107,registry:Host@7165,registry:Host@7218,registry:Host@7279,registry:Host@7354,registry:Host@7443,registry:Host@7497,registry:Host@7562,registry:Host@7624,registry:Host@7702,registry:Host@772,registry:Host@7759,registry:Host@7818,registry:Host@7906,registry:Host@7971,registry:Host@8068,registry:Host@8133,registry:Host@8194,registry:Host@8244,registry:Host@8309,registry:Host@8373,registry:Host@8434,registry:Host@8567,registry:Host@8621,registry:Host@869,registry:Host@8699,registry:Host@8836,registry:Host@8889,registry:Host@9119,registry:Host@9203,registry:Host@9260,registry:Host@9328,registry:Host@9543,registry:Host@973,registry:Host@9808,registry:Host@9965,registry:Hosts@1051,registry:Hosts@5780,registry:Hosts@8498,registry:Hosts@8958,registry:Hosts@9047,registry:Id@2108,registry:Id@2419,registry:Id@2518,registry:Id@2598,registry:Id@2749,registry:IdValue@5536,registry:Idle@10530,registry:Import@734,registry:Journal@1306,registry:Journal@2126,registry:Journal@2425,registry:Journal@2604,registry:Keep@12822,registry:KeyFP@3307,registry:Kind@12651,registry:Kind@12814,registry:Label@3506,registry:Label@3588,registry:Label@3669,registry:Label@3773,registry:Label@3870,registry:Label@3955,registry:Label@4950,registry:Label@8716,registry:Lifetime@358,registry:Lifetime@430,registry:Lifetime@517,registry:Lifetime@610,registry:Lifetime@877,registry:Limit@12180,registry:Limit@12275,registry:Link@4188,registry:LinkID@4264,registry:LinkID@4443,registry:LinkID@4635,registry:LinkID@4721,registry:LinkID@5091,registry:LinkSeen@4545,registry:MaxRun@10538,registry:Method@151,registry:Moved@8329,registry:Ms@12478,registry:Name@11897,registry:Name@11956,registry:Name@12039,registry:Name@12353,registry:Name@12438,registry:Name@12570,registry:Name@1896,registry:Name@2007,registry:Name@2978,registry:Name@3077,registry:Name@3172,registry:Name@3292,registry:Name@5347,registry:Name@5487,registry:Name@5555,registry:Next@1165,registry:NextAt@12496,registry:NextGood@9350,registry:NextValue@2678,registry:NextValue@2776,registry:Now@10731,registry:Now@12173,registry:Now@12268,registry:Now@12361,registry:Now@2031,registry:Number64@3819,registry:Number64@5184,registry:Number64@5643,registry:Number@12611,registry:Number@12682,registry:Number@12767,registry:Observed@1229,registry:Observed@9444,registry:Observed@9531,registry:Observed@9631,registry:Observed@9706,registry:Observed@9898,registry:ObservedValue@1507,registry:Old@2671,registry:Old@2769,registry:On@10109,registry:On@10605,registry:On@10668,registry:On@4460,registry:On@5101,registry:On@9845,registry:On@9910,registry:On@9980,registry:Op@6113,registry:Op@6189,registry:Op@6357,registry:Op@6439,registry:Op@6535,registry:Op@6713,registry:Op@6805,registry:Owner@1144,registry:Owner@1241,registry:Owner@1524,registry:P@11491,registry:PagesOff@7767,registry:Pair@509,registry:Pair@6457,registry:Pair@6541,registry:Pair@6639,registry:Pair@780,registry:Pair@981,registry:Path@11722,registry:Paths@11419,registry:PolicyExpiresAt@8002,registry:Prefix@11545,registry:Prev@9275,registry:Pub@3300,registry:RDs@11391,registry:RateLimit@8442,registry:Receipt@889,registry:Regional@11289,registry:Registration@12047,registry:Registration@12446,registry:Registration@1904,registry:Registration@2015,registry:Replica@8202,registry:ReplicaLife@9718,registry:ReplicaLife@9816,registry:Replicas@8141,registry:Retirement@2755,registry:Revision@529,registry:Revision@622,registry:Revision@989,registry:Route@5878,registry:Routes@10262,registry:Routes@10329,registry:Routes@10698,registry:Routes@4602,registry:Routes@5836,registry:Routes@6831,registry:Rows@11833,registry:Seed@10412,registry:SeenAt@4466,registry:Seq@4453,registry:Size@7994,registry:Sqid@5547,registry:Sqid@5610,registry:Sqid@5689,registry:Status@10960,registry:Status@12468,registry:Status@12578,registry:Status@1920,registry:Status@3678,registry:Status@5012,registry:Status@6103,registry:Status@6179,registry:Status@6265,registry:Status@6429,registry:Status@7173,registry:Status@9127,registry:Steering@7710,registry:StringMap@4084,registry:StringMap@4301,registry:StringMap@4364,registry:T@11773,registry:T@1621,registry:T@1715,registry:T@1798,registry:TValue@5983,registry:TValue@6050,registry:TValue@8766,registry:TValue@9456,registry:Tags@3597,registry:Target@8897,registry:Targets@1317,registry:Text@11578,registry:Text@11641,registry:Text@2324,registry:Text@2471,registry:Text@5657,registry:Timer@11861,registry:Timer@1573,registry:Timer@1755,registry:Timers@12084,registry:Timers@12143,registry:Timers@12232,registry:Times@12856,registry:To@7234,registry:To@7295,registry:ToDB@7384,registry:ToOp@6275,registry:ToSock@7392,registry:TokenHash@3515,registry:Tunnel@8629,registry:Unit@7505,registry:UpdateSettings@7914,registry:Ver@10049,registry:Ver@9268,registry:Ver@9973,registry:W@11191,registry:Wake@702,registry:Wake@788,registry:Wildcards@11085,whole:Account@5721,whole:ClaimOwnership@1146,whole:ClaimOwnership@1243,whole:ClaimOwnership@1526,whole:ClaimRow@1319,whole:ClaimRowArchive@1425,whole:ClaimRowArchive@1435,whole:ColdRows@2673,whole:ColdRows@2680,whole:ColdRows@2771,whole:ColdRows@2778,whole:DutyState@316,whole:DutyState@394,whole:DutyState@636,whole:Fleet@2834,whole:Fleet@2895,whole:Fleet@2980,whole:Fleet@2990,whole:Fleet@3079,whole:Fleet@3089,whole:Fleet@3102,whole:Fleet@3136,whole:Fleet@3206,whole:FleetBox@3387,whole:FleetBox@3441,whole:FleetBox@4000,whole:GoodBuild@9338,whole:GoodBuild@9352,whole:HAAdoption@1015,whole:HAAdoption@822,whole:HAWakeImport@704,whole:HAWakeImport@790,whole:HomeLink@4755,whole:HomeLink@4829,whole:HomeLinkApp@5238,whole:HomeLinkApp@5308,whole:HomeLinkApp@5406,whole:LinkChannel@4190,whole:LinkSeen@4549,whole:Pair@511,whole:Pair@6459,whole:Pair@6543,whole:Pair@6627,whole:Pair@6641,whole:Pair@782,whole:Pair@983,whole:RegionalDomain@11293,whole:RegionalDomain@11393,whole:Route@10266,whole:Route@10333,whole:Route@10702,whole:Route@1231,whole:Route@4606,whole:Route@5840,whole:Route@5882,whole:Route@5985,whole:Route@6052,whole:Route@6835,whole:Route@6990,whole:Route@6996,whole:Route@8768,whole:Route@9446,whole:Route@9458,whole:Route@9533,whole:Route@9633,whole:Route@9708,whole:Route@9900,whole:RouteAlias@10765,whole:RouteAlias@10841,whole:RoutePath@11423,whole:RoutePath@11493,whole:Timer@11775,whole:Timer@11835,whole:Timer@11865,whole:Timer@12088,whole:Timer@12147,whole:Timer@12236,whole:Timer@1509,whole:Timer@1577,whole:Timer@1623,whole:Timer@1717,whole:Timer@1759,whole:Timer@1800,whole:WildcardDomain@11089,whole:WildcardDomain@11193,whole:haJournalRequest@223,whole:haJournalResponse@187 b980809009dd01a889894a597029b1f29441100f50a2aebdd735468335da5ee0 |
| -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 registry:Account@11643,registry:Alias@27003,registry:Alias@27090,registry:Alias@27670,registry:App@11659,registry:Health@15426,registry:Health@15552,registry:Hibernate@31954,registry:HoldOp@30750,registry:Host@12970,registry:Host@13027,registry:Host@13063,registry:Host@13827,registry:Host@16035,registry:Host@16130,registry:Host@16418,registry:Host@16444,registry:Host@16496,registry:Host@19326,registry:Host@19359,registry:Host@21382,registry:Host@23289,registry:Host@23597,registry:Host@23624,registry:Host@24522,registry:Host@25094,registry:Host@27424,registry:Host@27473,registry:Host@30186,registry:Host@30211,registry:Host@30228,registry:Host@30827,registry:Host@5253,registry:Host@5622,registry:Host@5676,registry:Host@5726,registry:Host@6746,registry:Host@6935,registry:ImportGate@30769,registry:Kind@19718,registry:Kind@19740,registry:Prefix@25069,registry:Socket@13891,registry:Socket@19597,registry:Socket@23605,registry:Status@30726,registry:Status@5547,registry:Target@25081,registry:Tunnel@11482,registry:Tunnel@11674,registry:Version@19449,registry:Version@19699,registry:Version@19801,whole:RegionalDomain@28312,whole:Route@11564,whole:Route@13118,whole:Route@13246,whole:Route@13967,whole:Route@16589,whole:Route@16654,whole:Route@16705,whole:Route@19376,whole:Route@19383,whole:Route@19507,whole:Route@23685,whole:Route@23692,whole:Route@23788,whole:Route@24957,whole:Route@26125,whole:Route@28304,whole:Route@28360,whole:Route@28400,whole:Route@30092,whole:Route@30126,whole:Route@30214,whole:Route@30293,whole:Route@30712,whole:Route@313,whole:Route@31956,whole:Route@32013,whole:Route@32044,whole:Route@4273,whole:Route@4331,whole:Route@5261,whole:Route@6775,whole:Route@7058,whole:Route@7192,whole:Route@7215,whole:Route@7230,whole:Route@8076,whole:Route@8204,whole:Route@9021,whole:RouteAlias@26974,whole:RouteAlias@28368,whole:RoutePath@24500 1c699b6275029e783c62648fe6d42b29103acb66d806e9e70b4aae41a73020a6 |
| +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 registry:Account@12371,registry:Alias@27731,registry:Alias@27818,registry:Alias@28398,registry:App@12387,registry:Health@16154,registry:Health@16280,registry:Hibernate@32682,registry:HoldOp@31478,registry:Host@13698,registry:Host@13755,registry:Host@13791,registry:Host@14555,registry:Host@16763,registry:Host@16858,registry:Host@17146,registry:Host@17172,registry:Host@17224,registry:Host@20054,registry:Host@20087,registry:Host@22110,registry:Host@24017,registry:Host@24325,registry:Host@24352,registry:Host@25250,registry:Host@25822,registry:Host@28152,registry:Host@28201,registry:Host@30914,registry:Host@30939,registry:Host@30956,registry:Host@31555,registry:Host@5981,registry:Host@6350,registry:Host@6404,registry:Host@6454,registry:Host@7474,registry:Host@7663,registry:ImportGate@31497,registry:Kind@20446,registry:Kind@20468,registry:Prefix@25797,registry:Socket@14619,registry:Socket@20325,registry:Socket@24333,registry:Status@31454,registry:Status@6275,registry:Target@25809,registry:Tunnel@12210,registry:Tunnel@12402,registry:Version@20177,registry:Version@20427,registry:Version@20529,whole:RegionalDomain@29040,whole:Route@1045,whole:Route@12292,whole:Route@13846,whole:Route@13974,whole:Route@14695,whole:Route@17317,whole:Route@17382,whole:Route@17433,whole:Route@20104,whole:Route@20111,whole:Route@20235,whole:Route@24413,whole:Route@24420,whole:Route@24516,whole:Route@25685,whole:Route@26853,whole:Route@29032,whole:Route@29088,whole:Route@29128,whole:Route@30820,whole:Route@30854,whole:Route@30942,whole:Route@31021,whole:Route@31440,whole:Route@32684,whole:Route@32741,whole:Route@32772,whole:Route@5001,whole:Route@5059,whole:Route@5989,whole:Route@7503,whole:Route@7786,whole:Route@7920,whole:Route@7943,whole:Route@7958,whole:Route@8804,whole:Route@8932,whole:Route@9749,whole:RouteAlias@27702,whole:RouteAlias@29096,whole:RoutePath@25228 57267b6a9cfcaeed4995b1857bd851ae19e2f3d5f67e83209e0a85daeb3bb0a7 |
| internal/edge/fleetforward.go FleetArmVerdict legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 6 fix round 3: the single fleet-arm refusal decision over one listing, used by Edge.Reload, the edges-file writer and the alias pass (parity by construction); returns the refused set with reasons and the accountless notes (+registry:Host x3, +registry:Status, +whole:Route x3). Pure; no I/O. Review R1 finding 2: also returns Served, each admitted row Reload sends through the fleet arm (a forward row, or a fleet-placed row with no Tunnel) with its fleet, app and the fleet owner from owners; a host the alias step refuses is dropped from it (+registry:App, +registry:Host, +registry:Region, +registry:Tunnel on the listing it already holds). Pure; no I/O. Review R2: the pre-fold fleet rows are now Arm; Served is the destination after the platform-alias fold: every ready, unrefused, non-sidecar row DispatchArm gives an entry, with its Arm fleet when its arm is a fleet's, folded by foldPlatformAliases (Reload's own fold), keeping the hosts that go to a fleet (+registry:Host, +registry:Status, +whole:Route on the listing it already holds). Pure; no I/O; refusals unchanged.;rev3=census-ruling-stateless-replicas-3;basis=Task 3: classify ArmReplica as fleet-served for the existing shared routing, edges-file and alias verdict. Existing field reads unchanged; pure in-memory decision, same owner and alias checks.;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: owners is edge.ForwardOwners; a link-placed forward row (registry.LinkPlacement over the listed row's Region) admitted by FleetServeEligible gets an Arm entry with its link, app and the link's owner, and ArmLink rows count as served; +registry:App, +registry:Host, +registry:Region are that row's fields; a pure decision over the listing, no read source added registry:App@769,registry:App@970,registry:Host@1615,registry:Host@1675,registry:Host@1807,registry:Host@1867,registry:Host@376,registry:Host@559,registry:Host@618,registry:Host@729,registry:Host@928,registry:Region@681,registry:Region@859,registry:Status@1547,registry:Status@316,registry:Tunnel@900,whole:Route@1049,whole:Route@1515,whole:Route@1705,whole:Route@1923,whole:Route@264,whole:Route@518 b98bcc250129fbe47a5fc5be92bac28d809683358010420c3c52388bb42f36a2 |
| internal/edge/fleetforward.go FleetServeEligible legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4 (§4.4 tenancy): a forward row is eligible only on a hub, inert, fleet-placed, its fleet in the fleets table and its raw Account non-empty and equal to the owner; a non-forward fleet-placed row: empty raw Account served and noted, else release.RouteAccount must equal the owner; raw field before RouteAccount (+registry:Account x7, +registry:Region x2, +registry:Tunnel, +whole:Route). Pure; no I/O.;rev3=census-ruling-stateless-replicas-3;basis=Task 3: gate set routing on hub role, valid projection, nonempty account/app, instance or inert forward kind, no platform ownership, HA, hibernation or explicit tunnel. New reads are fields of the already-supplied Route. Existing fleet-owner and inert-forward checks still apply; no external read or expansion of destination authority. Fix round 1 M1: retain the same fail-closed structural predicate but give each invalid condition an internal diagnostic instead of the no-healthy-copy message. No admission expansion, user-facing answer, or additional read.;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: owners is edge.ForwardOwners; a forward row whose Region parses as a link placement is judged by linkServeEligible against owners.Links only, and every other row as before against owners.Fleets; +registry:Region and +whole:Route are that parse and the hand-off; refuses more, never admits a fleet row by link owners registry:Account@1413,registry:Account@1484,registry:Account@1570,registry:Account@1672,registry:Account@1828,registry:Account@1926,registry:Account@2189,registry:Account@512,registry:App@532,registry:FleetBoxes@297,registry:HA@683,registry:Hibernate@692,registry:Kind@860,registry:Platform@610,registry:Region@1244,registry:Region@142,registry:Region@282,registry:Tunnel@1629,registry:Tunnel@774,whole:Route@208,whole:Route@2111 94d88d4b36a3dbc2d0cac93be76da320d5926d71b66a2ad8f89bc84ec639468e |
| internal/edge/purge_header.go Edge.resolvePurgeOwnersIn legacy accepted-legacy accepted-legacy;rev3=census-ruling-edge-page-cache-1;basis=resolvePurgeHosts' former body, verbatim but for three things: it takes the snapshot (cur) from its caller, answers purgeHost{host, owner} pairs, and a host admitted by the path-routing exception (another app) is owned by the serving route rt (the +registry:App sites), so its page clear is of rt's own pages; the same caps, validation and ownership checks;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 8: a declared Carlos-Purge-Host equal to the linked request's public host is the serving route's own host (rt.Host, owner rt), as naming rt.Host already is; the new sites read rt.Host and build purgeHost{rt.Host, rt}; nothing outside rt's own entries becomes purgeable registry:Account@5255,registry:Account@5303,registry:App@4466,registry:App@4484,registry:App@5247,registry:App@5289,registry:App@5394,registry:App@5407,registry:Host@1110,registry:Host@1238,registry:Host@1444,registry:Host@1557,registry:Host@183,registry:Host@1836,registry:Host@2033,registry:Host@2456,registry:Host@2989,registry:Host@3038,registry:Host@4449,registry:Host@4599,registry:Host@4797,registry:Host@494,registry:Host@4959,registry:Host@5238,registry:Host@6019,registry:Host@617,registry:Host@6180,whole:Route@192,whole:Route@2716,whole:Route@3047,whole:Route@4471,whole:Route@4524,whole:Route@4555,whole:Route@4910,whole:Route@5292,whole:Route@5306,whole:Route@5383,whole:Route@5547,whole:Route@5555,whole:Route@5602 3cc7b6ca49d2474edb365c73781a5384a2d171f44ecb969acdf7763536e47477 |
| @@ -123,7 +123,7 @@ internal/regionlabel/regionlabel.go ForRoute legacy accepted-legacy accepted-leg |
| internal/registry/forward.go Registry.PutForward legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 2: the only writer of a forward row's declared columns: refuses an argument whose kind is not forward; copies only the declared fields from its argument (Status ready, Provisioned true; no forbidden column is ever written); inside one IMMEDIATE transaction refuses a host a non-forward row holds (ErrHostHeld); keeps FleetBox while Region is unchanged; preserves the observational columns (+file:Exec, +file:QueryRow, +registry:Account, App, Channel, RateLimit, Region, Slug, +registry:Host x3, +registry:Kind, +registry:remote x2, +whole:Route x3, +whole:remoteClient x2).;rev3=census-ruling-fleet-routes-followups;basis=refuses up front, with the new sentinel ErrNotForward and before any read or write, an rt that is not a forward row (as before, now a sentinel), has an empty Host, or whose Region is not a fleet placement (registry.FleetPlacement); +registry:Host x2 and +registry:Region x2 read only the argument in those checks; the transaction and statement are unchanged;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5, rule 3), merged with main's ErrNotForward refusals (kept unchanged): the written row also carries FleetLabel = rt.FleetLabel and FleetBox = rt.FleetLabel; its conflict arm (forwardKept) writes fleet_label from the call and fleet_box as the call's label when set, else kept while the region is unchanged. The hub's forward phase in the agent, not root.;rev3=census-ruling-stateless-replicas-1;basis=Carry declarative Stateless into forward rows under existing transaction and shape guards; projection only.;rev3=census-ruling-agent-start-demo-1;basis=Reads and carries the four demo fields in the existing forward INSERT; the guarded conflict SQL refuses downgrade or identity change.;rev3=census-ruling-stateless-replicas-2;basis=Validates canonical set projection, writes explicit declarative columns and clears single-box binding; all forbidden columns zero. Same transaction/read source. merge of origin/main 6be08467: Retain main demo columns and immutable descriptor conflict guard alongside set validation/projection; merge-only existing route fields.;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 1: also accepts a Region that LinkPlacement parses (link/ + 12 hex), refusing a link row with a FleetLabel (ErrNotForward); the existing in-transaction SELECT also reads the held row's region and refuses a different placement class (ErrHostHeld); a link row additionally needs an active link_channels row of its account in the same transaction (linkAdmits, ErrLinkInactive). Same transaction and statement; the added reads are the argument and the box's own registry database, as carlos file:Exec@2052,file:QueryRow@1631,registry:Account@1092,registry:Account@1989,registry:App@1069,registry:Channel@1145,registry:Copies@1392,registry:DemoExpiresAt@960,registry:DemoHost@901,registry:DemoID@880,registry:DemoLifetime@928,registry:FleetBox@1513,registry:FleetBoxes@1369,registry:FleetBoxes@1490,registry:FleetLabel@1280,registry:FleetLabel@1310,registry:FleetLabel@1525,registry:FleetLabel@540,registry:Host@1693,registry:Host@250,registry:Host@287,registry:Host@500,registry:Host@660,registry:Host@993,registry:Kind@259,registry:RateLimit@1172,registry:Region@1119,registry:Region@130,registry:Region@1898,registry:Region@509,registry:Region@82,registry:ReplicaIncarnation@1460,registry:ReplicaRevision@1420,registry:Slug@1045,registry:Stateless@1340,registry:remote@737,registry:remote@767,whole:Route@2085,whole:Route@822,whole:Route@830,whole:remoteClient@739,whole:remoteClient@769 92749de50752ac228f653180d60ea0b177331657a7062598c8b877b35c694106 |
| internal/registry/registry.go Registry.Fingerprint legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the registry's SQLite side, as carlos: in the agent (/opt/carlos/carlos agent, carlos-edge.service) and in the registry child (carlos __registry-child, which a root pass forks as the service user); the remote arm, unchanged, in the process that holds a remote handle: census-ruling-seeded-instances's body with the row's lifetime pair (incarnation, serving_seq) folded into the edge's change poll, each only when non-zero, so a registry with no pair digests as before; self-serve moves 1 Task 7;rev3=census-ruling-regional-domains-447;basis=#447 Task 4: hashes regional_domains (host, target, account, app, region; created_at not) over the same fresh connection, with a section marker written only when a row exists, so a registry with no regional rows digests as before; the one added site is that SELECT (+file:Query) on the box's own registry database, as carlos; no file path read;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): review R1 finding 1: the routes SELECT also reads host, kind, account, app, platform and fingerprintForwardInert (one CASE over the ForwardForbidden columns), and every row folds host, kind, account and app (tagged, quoted), platform when set, and forward_inert=0 for a forward row that is not inert, so a rowid reused by another hostname, an in-place account or app rewrite, or a stray forbidden column moves the edge's change poll. Same one SELECT per table on the same fresh connection to the box's own registry database, as carlos; no table, file or bucket read added; a digest, never a decision.;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5): the SELECT also reads fleet_label and, only when it is set, hashes "fleet_label=<q>" into the digest, so labelling a row moves the edge's reload fingerprint. Read sites unchanged (33). Registry side, not root; an unlabelled registry's digest is byte-identical.;rev3=census-ruling-stateless-replicas-1;basis=Read the additive stateless projection in the existing registry SELECT and hash only when set; no new read source.;rev3=census-ruling-agent-start-demo-1;basis=Existing SELECT reads four more demo columns; only a marked row adds them to the hash, so ordinary hashes remain unchanged.;rev3=census-ruling-stateless-replicas-2;basis=Four additive projection columns join the existing routes SELECT and hash only when nonzero; no new query or file read. merge of origin/main 6be08467: Union main demo identity and expiry with replica columns in the same SELECT and hash; merge-only body change.;rev3=census-ruling-agent-start-demo-3;basis=Hash moved-notice wire bytes so notice-only changes invalidate an edge route snapshot. Census read-site delta: +file:QueryRow.;rev3=census-ruling-edge-page-cache-1;basis=selects the new pages_off column with the rest and folds "pages_off=1" into the hash only when set, as assets_off, so a registry that never sets it fingerprints as before; same routes SELECT, no new table; read sites unchanged (34); no read added;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 1: hashes link_channels (link_id, account, token_hash, status, generation; connected, seen_at, seq and created_at not) over the same fresh connection, with a section marker written only when a row exists, so a registry with no links digests as before; the one added site is that SELECT (+file:Query) on the box's own registry database, as carlos; a digest, never a decision; linked deployments slice 1 Task 7: also folds home_link (id, serving_url, tunnel_url, the token's sha256 never the token, account, apps_domain, box_label, conn_gen; state and created_at not) and home_link_apps (name, home_account, home_app, home_host) through fingerprintHomeLink over the same fresh connection, each section marker written only when a row exists, so a registry with no link digests as before; no file path read; a digest, never a decision file:Exec@284,file:Open@188,file:Query@10785,file:Query@11990,file:Query@368,file:Query@6655,file:Query@7134,file:Query@8120,file:Query@8816,file:Query@9728,file:QueryRow@12907,registry:ClaimIncarnation@1729,registry:ClaimIncarnation@5563,registry:ClaimIncarnation@5640,registry:ClaimOwner@1773,registry:ClaimOwner@5764,registry:ClaimOwner@5829,registry:ClaimRowID@1792,registry:ClaimRowID@5856,registry:ClaimRowID@5922,registry:ClaimStamp@1754,registry:ClaimStamp@5673,registry:ClaimStamp@5737,registry:Incarnation@1848,registry:Incarnation@6143,registry:Incarnation@6207,registry:ServingSeq@1867,registry:ServingSeq@6234,registry:ServingSeq@6297,registry:Text@158,registry:path@207,registry:remote@55,registry:remote@87,whole:remoteClient@57,whole:remoteClient@89 992e25925704805387f5c460a886c0ee9ba7eb57a06aa5ca384e94b677ea491f |
| @coverage . 52c69727a1e337a47920a1c9f37d9808f1df8d14dbefd29db86f9892bdf10b7d |
| -@coverage internal/edge ae50155c5f75eecb67afd1070d65edbb6d0b8f9ad98f34b4e0da065b7c59e012 |
| +@coverage internal/edge d78675d7a8fdb560a49df34ec27ead41b1efcb50e83a6410f2a829dd8d53016b |
| @coverage internal/gate 17307a6623f6149db163fc8de9139f8d824b36d70d2da635c712aee3671e582a |
| @coverage internal/host 9a1b98f6896147e930776114271105b245546a5b96551872002810ff9ae5403d |
| @coverage internal/provision 6c3f9188cfe17a2f7f87d78cf5f60e9104f5bcd55941947129a5bcea3e4c586c |