| index 9fd7b9270..3d493f641 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-linked-deployments-slice1.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-linked-deployments-slice1.tsv |
| @@ -18,25 +18,25 @@ |
| @legacy a10d080a12c01e05c132febd9e72b6656c340866c1749be14ba9e1f142d8e1ea internal/edge/fleetforward.go linkServeEligible legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: new pure rule for a link-placed forward row: refused off the hub, when not inert, when it carries a fleet box, label or replica set, when its link is not in the active link owners, or when its raw Account is empty or not the link's owner; reads only the row and the owners map registry:Account@567,registry:Account@636,registry:Account@720,registry:FleetBox@277,registry:FleetBoxes@321,registry:FleetLabel@298 e15bfdfc2c2928ccd325b8844346be778eb5e186bd7898c2f21bf84c7574dde7 |
| @legacy ee295a36717cc4064d71e186b1915b9185e4aa42bff4cd209e7b5c9b63d4511b internal/host/link_client.go linkLoopState.dropObsolete legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 8 fix round 2: new; compares the running tunnel's link ID, token, tunnel URL and conn_gen with the HomeLink row just read and stops (cancels first, then records the state) when they differ; records reconnecting only when this box's label holds the row; reads only the row already read, no registry, file or bucket read of its own registry:BoxLabel@129,registry:ConnGen@431,registry:ID@210,registry:Token@276,registry:TunnelURL@348 3f6749b7121d1effc9cee94b6aed37718a8e7701aae5cb648ad1198da97169c3 |
| @legacy 4c89c17ca8c4b8ccb9bfdb1b045405188eef76131c0dd5f20dc66e7766754caf internal/host/link_client.go linkLoopState.pass legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 8: new; the home link loop's pass: reads HomeLink and HomeLinkApps from the agent's own registry, claims an unclaimed link with ClaimHomeLink(label) unless this is a fleet box (tunnelEnvComplete), and starts, keeps or cancels the link's tunnel by link ID, token, tunnel URL, conn_gen and the published set; no file or bucket read, nothing executed; fix round 1: a run the link row alone shows obsolete (link ID, token, tunnel URL or conn_gen changed) is cancelled before HomeLinkApps is read, so a failing set read cannot hold a revoked connection open; stops record the link state as reconnecting (replaced), empty (unlinked, fleet box) or nothing (another box holds the claim); same reads; fix round 2: the obsolete-run comparison moved into dropObsolete, called right after the link row is read and again after the claim's re-read, so a replaced, rotated or revoked link is closed before a claim, re-read or published-set read is attempted; same kind of reads (the HomeLink row passed whole) registry:BoxLabel@1077,registry:BoxLabel@1180,registry:BoxLabel@1223,registry:BoxLabel@625,registry:ID@1151,registry:ID@1398,registry:ID@757,registry:Name@1518,whole:HomeLink@1066,whole:HomeLink@1895,whole:HomeLink@338,whole:HomeLink@615,whole:HomeLink@840,whole:HomeLink@959,whole:HomeLinkApp@1479,whole:HomeLinkApp@1505,whole:HomeLinkApp@1514,whole:HomeLinkApp@1528,whole:HomeLinkApp@1584,whole:HomeLinkApp@1590,whole:HomeLinkApp@1671,whole:HomeLinkApp@1678,whole:HomeLinkApp@1901 c7f5a19669fc5e24a26d3b97456fd9af29e9aecf03f3c483fa630b1fc22eb6f3 |
| -@legacy 2a3a9d15fb722558e494553cb2b35373b688a0cacc948a8714c4531c8743d25e internal/host/link_client.go linkLoopState.start legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 8: new; starts tunnelclient.Loop for the link (channel name from the link ID, the stored token and tunnel URL) serving linkHandler, and records its state with SetHomeLinkState while it is the running loop; no file or bucket read; fix round 1: the run is made current under the loop's lock before its tunnel starts, and its OnState goes through reportState, which writes SetHomeLinkState only while that run is still current; one fewer read site (the link ID in the state callback's log line moved to reportState) registry:ConnGen@221,registry:ID@167,registry:ID@337,registry:ID@416,registry:Token@183,registry:Token@642,registry:TunnelURL@200,registry:TunnelURL@425,registry:TunnelURL@596,whole:HomeLinkApp@237,whole:HomeLinkApp@254,whole:HomeLinkApp@454 db8518154691958ef28b923401c208758c03925d23c2ff64ffb291effe6c013a |
| +@legacy 32b1a3ffc30e68fcbd222b554a7d412765f0af1ec33e5ecbbc6b8d9e01d142d3 internal/host/link_client.go linkLoopState.start legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 8: new; starts tunnelclient.Loop for the link (channel name from the link ID, the stored token and tunnel URL) serving linkHandler, and records its state with SetHomeLinkState while it is the running loop; no file or bucket read; fix round 1: the run is made current under the loop's lock before its tunnel starts, and its OnState goes through reportState, which writes SetHomeLinkState only while that run is still current; one fewer read site (the link ID in the state callback's log line moved to reportState); final review fix: the link handler is built with the link's ID (+registry:ID, the row the pass already read); no read added registry:ConnGen@221,registry:ID@167,registry:ID@337,registry:ID@416,registry:ID@698,registry:Token@183,registry:Token@642,registry:TunnelURL@200,registry:TunnelURL@425,registry:TunnelURL@596,whole:HomeLinkApp@237,whole:HomeLinkApp@254,whole:HomeLinkApp@454 8a8bb74f20945baabb221084111660b95cde75c30bec0996270d1a00af4bc3dd |
| @legacy e14481c06286c23fa3ff9f20d51f906ae9fdfb69c56063c28b1a4d59d44e66ae internal/host/link_client.go linkSetNarrowed legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 8: new; compares two in-memory published sets by name; no read whole:HomeLinkApp@112,whole:HomeLinkApp@130,whole:HomeLinkApp@135,whole:HomeLinkApp@92 acf871a54433606a3d9a43fdc646108df576a8d6b25bdf6f8bbfa15f8e2dbcc6 |
| -@legacy 6ddce06ad2bfd7fc901dc0f2e9de3aaac45f241045fc6dfe185af49d82960d8e internal/host/link_handler.go linkHandler.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 8: new; the link channel's handler: reads the one Carlos-Link-App value, looks it up with HomeLinkAppByName in the agent's own registry on every request, refuses a missing or unpublished name with 404, and hands a published one to edge.ServeLinked with the row's home account, app and host; the request's Host never selects; no file or bucket read registry:HomeAccount@1279,registry:HomeAccount@705,registry:HomeApp@1301,registry:HomeApp@730,registry:HomeHost@1256,registry:HomeHost@683,whole:HomeLinkApp@669 4a5cacac0f6fba9392d40246171f2dd4d38dcc99dd29f2bfccb8f19fe94c49a8 |
| +@legacy bdbf923e789bdb4b1e9373c85c2c76c8a5e781ce6671b80db87dd797f85f14f3 internal/host/link_handler.go linkHandler.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 8: new; the link channel's handler: reads the one Carlos-Link-App value, looks it up with HomeLinkAppByName in the agent's own registry on every request, refuses a missing or unpublished name with 404, and hands a published one to edge.ServeLinked with the row's home account, app and host; the request's Host never selects; no file or bucket read; final review fix (Astra Critical 2): the per-request lookup passes the handler's own link ID, HomeLinkAppByName(linkID, name), so a connection never resolves another link's publications; no read added registry:HomeAccount@1289,registry:HomeAccount@715,registry:HomeApp@1311,registry:HomeApp@740,registry:HomeHost@1266,registry:HomeHost@693,whole:HomeLinkApp@679 6dce3f471f81d3edded470282c57ab7438ac754eb1b9d3e0fc30c1c5a397513a |
| @legacy fea79e228a063943572b0ca4d2abde20ebb96d9ea14678b6bff560828db248ed internal/registry/homelink.go CheckCredentialFile legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): Lstat of the registry path the Registry was opened with (never a caller-named path in production: PutHomeLink passes r.path, the console passes its configured registry); refuses a symbolic link, a non-regular file and a world-readable mode; reads only the mode, refuses more; fix round 1: also Lstats registry.db-wal, -shm and -journal beside the same path (the WAL holds the token first in WAL mode); a missing journal is skipped, an existing one must be a regular non-symlink file with no world-read bit, else refused naming it; reads only modes, refuses more file:Lstat@150 e721b4422cf333532c8e47d2c99553b6d71d7c8763c1ae4cbbbd29e72b6c3c69 |
| @legacy c7283e7233b5213e808e63d902edc8fb0a32aa5c4e2e65f6c437f15b5349c70e internal/registry/homelink.go Registry.ClaimHomeLink legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one conditional UPDATE home_link SET box_label WHERE box_label = '' (the agent's claim), reporting whether it applied file:Exec@321,registry:Changed@288,registry:remote@169,registry:remote@201,registry:sql@321,whole:remoteClient@171,whole:remoteClient@203 b2aeb29bea79d56169650a976c811d670b49ff2e40d516750fab647e508ef2ad |
| @legacy 116b3858199894475b6097cb013d5ff091613743c01b0727888c5b4411b7e362 internal/registry/homelink.go Registry.DeleteHomeLink legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one transaction deleting home_link_apps and home_link file:Exec@220,file:Exec@302,registry:remote@48,registry:remote@78,whole:remoteClient@50,whole:remoteClient@80 8b984285e4e482cff9c4c61bf9ad301df7a733b97e7578e57e0019467c0ec289 |
| @legacy a92d98586f30275534e4da5d391ee16121e13a0dd6cd2c0415508b61b819af5f internal/registry/homelink.go Registry.DeleteHomeLinkApp legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one IMMEDIATE transaction deleting the name and, when it existed, bumping conn_gen file:Exec@289,registry:Changed@191,registry:remote@102,registry:remote@70,whole:remoteClient@104,whole:remoteClient@72 dc3de197a7a9e9bc760dc47cd182b440acd71cdc44c7d032a29a58ae504383d4 |
| @legacy 76e12aa09d86a9973aa72d95c58f548287083c70c9c54a0b8e92a33c7daa7bbd internal/registry/homelink.go Registry.HomeLink legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one SELECT of home_link over a fresh connection to the box's own registry database (or the remote call); returns the row, nil when none file:QueryRow@288,registry:HomeLink@155,registry:remote@55,registry:remote@87,whole:HomeLink@159,whole:HomeLink@437,whole:remoteClient@57,whole:remoteClient@89 ec32b4a640f74a6a04b70c78fb9389aa754843dcbac254e59fc7d819422acee1 |
| -@legacy f325c495fb6b5230e54b0f0c5e216c8cbb85b25f6a607eb24d22e51b3179ddac internal/registry/homelink.go Registry.HomeLinkAppByName legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one SELECT of home_link_apps by name over a fresh connection, read per link request by the home agent (Task 8); nil when not published file:QueryRow@337,registry:HomeAccount@458,registry:HomeApp@474,registry:HomeHost@486,registry:HomeLinkApp@199,registry:Name@449,registry:remote@110,registry:remote@78,whole:HomeLinkApp@203,whole:HomeLinkApp@602,whole:remoteClient@112,whole:remoteClient@80 3c18b839e0f03d6bd7f68ae47fc4a215c9af542cd3ca10f1897283439122ae65 |
| +@legacy a5b4d8672246a5d4d5eb62c0a2670e09269068901ef2c2370389ea81963c5217 internal/registry/homelink.go Registry.HomeLinkAppByName legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one SELECT of home_link_apps by name over a fresh connection, read per link request by the home agent (Task 8); nil when not published; final review fix: takes the caller's link ID and joins home_link on it in the same SELECT (nil for a malformed ID or another link); one fresh connection as before file:QueryRow@409,registry:HomeAccount@579,registry:HomeApp@595,registry:HomeHost@607,registry:HomeLinkApp@223,registry:Name@570,registry:remote@118,registry:remote@86,whole:HomeLinkApp@227,whole:HomeLinkApp@723,whole:remoteClient@120,whole:remoteClient@88 17d50075278f0553e80159d271711b4fb64d45a0acfdc87238192ec27a8144a1 |
| @legacy d5291dffcb11cf46b88dff54ec91dd89d4bc55183ee22e02f55a2325caeb1987 internal/registry/homelink.go Registry.HomeLinkApps legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one SELECT of home_link_apps over a fresh connection file:Query@294,registry:HomeAccount@539,registry:HomeApp@555,registry:HomeHost@567,registry:HomeLinkApps@167,registry:Name@530,registry:remote@63,registry:remote@95,whole:HomeLinkApp@171,whole:HomeLinkApp@618,whole:HomeLinkApp@631,whole:HomeLinkApp@636,whole:HomeLinkApp@650,whole:remoteClient@65,whole:remoteClient@97 159a90b2c3c91f91def5559245c5eab6249d6f7394e0f12d07e4e5050fbc1e97 |
| -@legacy ac058aea98218b8fa52c836f44d53001f03415677b0c51b2e8fb6fd0ed6af0f8 internal/registry/homelink.go Registry.HomeLinkConnGen legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one SELECT conn_gen over a fresh connection; 0 when no link file:QueryRow@303,registry:Number64@173,registry:remote@59,registry:remote@91,whole:remoteClient@61,whole:remoteClient@93 2dff46fa77acbe1835ef1d7a334d789ea0239075f0191f902c29a92a1d8193b2 |
| @legacy 38512bb8a69d0c8a24b85f8417df5bac1c84461634b57f1f2f2525fd75adb8e7 internal/registry/homelink.go Registry.PutHomeLink legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): validates the link ID and a non-empty token, then CheckCredentialFile on the registry's own path, then one IMMEDIATE transaction writing home_link (deleting another ID's row and the published set); written by the home console only file:Exec@572,file:Exec@759,file:Exec@846,registry:Account@1216,registry:AppsDomain@1227,registry:CreatedAt@455,registry:CreatedAt@490,registry:ID@1174,registry:ID@139,registry:ID@217,registry:ID@619,registry:ID@80,registry:ServingURL@1180,registry:Token@1207,registry:Token@151,registry:TunnelURL@1194,registry:path@382,registry:remote@230,registry:remote@260,whole:HomeLink@316,whole:HomeLink@326,whole:remoteClient@232,whole:remoteClient@262 81dd1dd9c16e821cfd39ca335e1d9f1fa55a18fc1bcbc75ae8d53e7f99415967 |
| @legacy a55f13d1e03fddbaf0d545a171db2235c6ebb2f789fe4490d2359b7c2ade43b5 internal/registry/homelink.go Registry.PutHomeLinkApp legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one IMMEDIATE transaction: refuses with no home_link row, inserts a new name, or rewrites a changed one and bumps conn_gen (bumpHomeLinkConnGen) file:Exec@1147,file:Exec@811,file:QueryRow@423,file:QueryRow@622,registry:HomeAccount@1057,registry:HomeAccount@1248,registry:HomeAccount@77,registry:HomeAccount@938,registry:HomeApp@100,registry:HomeApp@1081,registry:HomeApp@1263,registry:HomeApp@953,registry:HomeHost@1102,registry:HomeHost@119,registry:HomeHost@1274,registry:HomeHost@964,registry:Name@1286,registry:Name@61,registry:Name@713,registry:Name@930,registry:remote@224,registry:remote@254,whole:HomeLinkApp@214,whole:HomeLinkApp@313,whole:HomeLinkApp@326,whole:remoteClient@226,whole:remoteClient@256 60200100b330969fe5d76a7aef03f389fb1229bc29ee8845b98c99d9a1b2fdd8 |
| +@legacy 1e05b085f4b94c6364432b50289a6c0d0764428671e5ac477a894089dca250df internal/registry/homelink.go Registry.SetHomeLinkRotatePending legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments final review fix, Astra Important 3): one UPDATE of home_link.rotate_pending for the given link ID on the box's own registry database, written by the home console; validates the ID; the remote form passes LinkID and On; no file or bucket read file:Exec@353,registry:remote@163,registry:remote@193,registry:sql@353,whole:remoteClient@165,whole:remoteClient@195 6a0de510bb9c26774120ca6c8fbe5155345bcd08a18285cc94d154d88870248c |
| @legacy 6d481f791fd4fab8ab0814220b50302b99b0b5ee94ab1adc12ffc7fa9a55ea82 internal/registry/homelink.go Registry.SetHomeLinkState legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): validates the state against a closed set, then one UPDATE of home_link.state; not hashed by Fingerprint file:Exec@380,registry:remote@241,registry:remote@271,registry:sql@380,whole:remoteClient@243,whole:remoteClient@273 dc43156360a1fc86911d84f382623acc07baadd3d3420dcb5fa0f7b2a481fa34 |
| @legacy f9fd8c9c3059fb891f0999cf4e863b502cf9b18950a085aab6bcdb1c4e12fe84 internal/registry/homelink.go Registry.SetHomeLinkUnlinkPending legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7 fix round 1): validates the link ID, then one UPDATE home_link SET unlink_pending WHERE id (or the remote call); the home console's record that a serving-side unlink answered 202; not hashed by Fingerprint file:Exec@353,registry:remote@163,registry:remote@193,registry:sql@353,whole:remoteClient@165,whole:remoteClient@195 c6caeb94d768f23359c73f66bca16f53462424ecd2143f7d7e1bf84a01cf900d |
| -@legacy f9d12a0679cc67c799d24148017f5261a20d72bb5359862a725b8ca895b4327f internal/registry/homelink.go Registry.migrateHomeLink legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): CREATE TABLE IF NOT EXISTS home_link and home_link_apps on the box's own registry database, as carlos; additive; fix round 1: one more additive statement, ALTER TABLE home_link ADD COLUMN unlink_pending INTEGER NOT NULL DEFAULT 0, duplicate-column error swallowed; the box's own registry database, as carlos file:Exec@521,file:Exec@59,file:Exec@705,registry:sql@521,registry:sql@59,registry:sql@705 e89e23e2ef451502d0fc7c8259dede51a2e32462bb531ac301210d4e34bd9fb7 |
| +@legacy 4bea8213958ebc60aff9603844b31d27b3d64521dc3bddf712e3dd36055670a4 internal/registry/homelink.go Registry.migrateHomeLink legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): CREATE TABLE IF NOT EXISTS home_link and home_link_apps on the box's own registry database, as carlos; additive; fix round 1: one more additive statement, ALTER TABLE home_link ADD COLUMN unlink_pending INTEGER NOT NULL DEFAULT 0, duplicate-column error swallowed; the box's own registry database, as carlos; final review fix: one more additive column, ALTER TABLE home_link ADD COLUMN rotate_pending INTEGER NOT NULL DEFAULT 0, in the same duplicate-swallowing loop as unlink_pending; the box's own registry database, as carlos file:Exec@59,file:Exec@639,file:Exec@825,registry:sql@59,registry:sql@639,registry:sql@825 816c5f5f79cf78528fb075e19d6e37b1ecc1469645398cf45281475dd11cfd5b |
| @legacy fe8d05784af7d3353ae13bf1d2c7ea34c30b242a0fd43772ed4dae503f3af4dd internal/registry/homelink.go bumpHomeLinkConnGen legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one UPDATE home_link SET conn_gen = conn_gen + 1 inside the caller's transaction file:Exec@53 2fdb6872763f94c49336351be7aa0d96cbe22dace51c1eb466133635f0325c2c |
| @legacy 435a2ea947465dab611b1d573f004599c29f97d695900fdfd085770900c92e2d internal/registry/homelink.go fingerprintHomeLink legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): two SELECTs (home_link, home_link_apps) on Fingerprint's own fresh connection, folded into its hash; hashes the token's sha256, never the token file:Query@655,file:Query@72,registry:Account@507,registry:AppsDomain@518,registry:BoxLabel@532,registry:ConnGen@544,registry:HomeAccount@1095,registry:HomeAccount@891,registry:HomeApp@1110,registry:HomeApp@907,registry:HomeHost@1121,registry:HomeHost@919,registry:ID@439,registry:Name@1087,registry:Name@882,registry:ServingURL@445,registry:Token@496,registry:TunnelURL@459 6c9c95eba507d65fe3845f19c68bf5ba76f2edfb12e2b0296c09fec485c0a7a8 |
| -@legacy 4cadaed5874a683b42bfb495ee077e85ee11eabbfe69838bd87a40a633ded489 internal/registry/homelink.go scanHomeLink legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): scans one home_link row into HomeLink; pure; fix round 1: also scans unlink_pending into HomeLink.UnlinkPending; pure registry:Account@176,registry:AppsDomain@188,registry:BoxLabel@205,registry:ConnGen@289,registry:CreatedAt@366,registry:ID@130,registry:ServingURL@137,registry:State@218,registry:Token@166,registry:TunnelURL@152,registry:UnlinkPending@314,whole:HomeLink@414 002d3dc1ce6e59195638c9aa04e25c90e87031ca33be0395911aca87c76f1d0b |
| +@legacy 0d669c69a9f52e90f35a08b1a9d5e5898b48315429fa7705c7fbb48742fda925 internal/registry/homelink.go scanHomeLink legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): scans one home_link row into HomeLink; pure; fix round 1: also scans unlink_pending into HomeLink.UnlinkPending; pure; final review fix: scans the additive rotate_pending column too (+registry:RotatePending); the same row read registry:Account@186,registry:AppsDomain@198,registry:BoxLabel@215,registry:ConnGen@310,registry:CreatedAt@420,registry:ID@140,registry:RotatePending@367,registry:ServingURL@147,registry:State@228,registry:Token@176,registry:TunnelURL@162,registry:UnlinkPending@335,whole:HomeLink@468 f4de62e976d76de11e9cc906169901a4e7f8aafb255e75a4380db4dc19c9f4ae |
| @legacy e70f7d3114b383da7bd236ef53642b4ded74f395d22741ffa42f30638472a597 internal/registry/links.go Registry.DeleteLinkForward legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new: deletes host's row only while it is a forward row placed exactly link/<linkID> (validated ID); remote-or-local shape of every narrow setter file:Exec@346,registry:Changed@312,registry:remote@175,registry:remote@207,registry:sql@346,whole:remoteClient@177,whole:remoteClient@209 b4eb7a228abe47f59f7d7b24e852014f1bc0eb1a468b88510b51239371d53e22 |
| @legacy 11c4910fcedf49657f3161d0b7d079becedc2be530f32d09c5149c3c88208b24 internal/registry/links.go Registry.LinkChannelAuth legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new: active link_channels token hashes keyed by link:<id>/home, via activeLinkMap; remote-or-local shape registry:StringMap@177,registry:remote@102,registry:remote@70,whole:remoteClient@104,whole:remoteClient@72 7dd9c9b6f9df7401d71b9dfaec929083111f19aa96c37f4dd058d8d2664deb3f |
| @legacy a0b67cb74b6908970585ef8431ce450014c7c1e5d8110fae4a08efab095dcfc6 internal/registry/links.go Registry.LinkForwards legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new: SELECT routeCols FROM routes for forward rows placed link/<linkID> over a fresh connection to the box's own registry database; remote-or-local shape file:Query@407,registry:Routes@285,registry:remote@165,registry:remote@197,whole:Route@289,whole:Route@702,whole:Route@715,whole:Route@720,whole:Route@734,whole:remoteClient@167,whole:remoteClient@199 0e111abd6943c2f4c6c0be4100df66d1b06f7f98589ce9e5980e6cf6c47e2111 |
| @@ -49,10 +49,10 @@ |
| @legacy ff46e8db406d2db6eaabe630355aac9f0b68247a7712908f2bbb5780e7dba390 internal/registry/links.go Registry.activeLinkMap legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new: runs an in-binary SELECT of two link_channels columns over a fresh connection (freshFleetsConn) to the box's own registry database file:Query@203 8382e06eb0164a59e0d0819cca99fd70e1753815cd08e3d19b86ad78bc5e09bb |
| @legacy bc6cfd76dc7ea2df82dd63923661e77b19caa5a4a35671304c0fa49c5a167a6a internal/registry/links.go Registry.migrateLinks legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new: one CREATE TABLE IF NOT EXISTS link_channels, an in-binary literal file:Exec@53,registry:sql@53 43b435d6429ffc5e031bf1a40a27a6c8318a5113879fc3bef1adf76e023dd174 |
| @legacy 7c5b1ee8dcbb696d502ea9898d712f8d8995dc38cc0c7c4393db09bbfefc2584 internal/registry/links.go linkAdmits legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new: one SELECT 1 FROM link_channels inside PutForward's transaction file:QueryRow@78 f1b3b63e4ffacabb08c4d981a181aa73d0117da0875544a43abf6284b7df7483 |
| -@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 5ae5742eb345850976063d3446dc152317733c2b2f55268e3419e778d6ef11a0 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; final review fix: a row whose own Tunnel fails registry.ValidTunnelName dispatches to ArmNone (+registry:Tunnel is that check); fewer rows reach the tunnel arm, never more; pure, no I/O registry:FleetBoxes@219,registry:Kind@864,registry:Kind@910,registry:Region@106,registry:Socket@774,registry:Tunnel@426,registry:Tunnel@680 93aa34fae605ade31eb01c154cc87a9df2b54a9938581a262b93ec2c9e39fb6d |
| @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 8f02c3b2b29af5a16a1ad45dd1e4418a5be288a242ab4a11a935fc6f0420d51c internal/edge/edge.go Edge.Reload legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-design-edge-rate-limit-358;basis=each route's upstream entry gains rate: e.parseRateSettings(t), the row's rate_limit column parsed once per reload; the one added site is that whole:Route pass of t (parseRateSettings is a new unit, classified in the decisions overlay); no other read added;rev3=census-ruling-certwarm-wake;basis=the single reload hook call becomes runReloadHooks(), which runs every registered hook in order (#386); no read added, same 57 sites (56 before #358 landed on main);rev3=census-ruling-edge-asset-cache-3;basis=each tenant reverse proxy built in the switch (the tunnel, fleet, socket and TCP arms, every *httputil.ReverseProxy) is installed behind assetScrubbedProxy, which hands the proxy an assetInformationalScrub writer so an app's 1xx (103) loses the asset cache's reserved headers (X-Carlos-Asset-Fill, -Fill-Ack, -Expires, Carlos-Cache) on every local path, as the backhaul already does (final review F6); a type check of the proxy it just built and a wrapper around it; static and status handlers untouched; read sites unchanged (57), offsets moved; no read added;rev3=census-ruling-alias-wake-338;basis=#338 follow-up: after the path fold, a resolved platform alias takes its source's own upstream entry (same proxy, route, hibernating: the existing activator wake, lease and fence), keeping its own prefix map (none for a minted apex) and never inheriting the source's (Astra r2 P1); a refused alias, or one whose source has no entry, is dropped from the map (not served, not Allowed); the attached-hostname fold clears platformAlias;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the activator-managed test (generation proxy, hib, no-activator 404) is Route.ActivatorOwned instead of Kind and Hibernate inline, so a resident rootfs instance goes through the activator; binary rows unchanged;rev3=census-ruling-edge-roll-blip;basis=the tcpProxy and multiProxy calls pass e.hold (the per-Edge localHold set once in newEdge): a loopback TCP upstream that refuses is redialled for up to 13 s and a probed route with a local upstream waits for prober readmission instead of answering 502/503 (#434 part B); edge-side dial policy only, no read added, same 52 sites;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: after the alias fold, reads the regional_domains rows (e.reg.ListRegional; an error aborts the reload as every registry read here does) and applies them with foldRegional against the routes slice the same reload read; the added reads are that one registry list and the routes already read;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Tasks 4 and 6: the forward case (fleetProxy toward the binding's FleetBox, throttled refusal); one refusal check before the switch from FleetArmVerdict (sidecar not judged; a non-ready forward row refused; a forward row always judged by FleetServeEligible, any other row only where tunnels are on; an alias of a refused source refused with it); the accountless note; path rows of a forward host not folded; no alias folded onto a refused row; refusedHosts held through every fold. ListFleets and FleetChannelAuth read before the loop (+registry:FleetBox, +registry:Host x7, +whole:Route x3). Serving only; the hub's agent, not root. Review R1 finding 2: the switch reads verdict.Served (FleetArmVerdict) by host; the forward case and the fleet-placed case take their fleet from it (served.Fleet) instead of FleetPlacement(t.Region), and an admitted forward row not Served continues rather than falling through (+registry:Host, -registry:Region); the same rows take the same arms; no read added. Review R2: the switch is on DispatchArm(t, viaFleet, tunnels) (the order moved there unchanged: forward only when in Arm, own Tunnel, fleet, socket, addrs, static, status, else continue), the fleet cases read verdict.Arm (renamed from Served), and the platform-alias fold is foldPlatformAliases with the same take (source entry, own paths, alias marks) and the same refusal log (-registry:Kind x2, -registry:Socket, -registry:Tunnel, +whole:Route: those reads moved into DispatchArm); same rows, same arms, same entries; no read added.;rev3=census-ruling-fleet-routes-followups;basis=the owners map is now e.reg.FleetOwners() instead of ListFleets folded inline: the same fresh-connection ListFleets read and the same name->account map (-registry:Account, -registry:Name, -whole:Fleet x2 move into Registry.FleetOwners); no read added; same error path (abort the reload);rev3=census-ruling-tunnel-websockets;basis=The ArmTunnel arm now records its tenancy (Account, App, Tunnel) copied from the row t that Reload already lists; no new registry query, no file read. Also the reload mutex taken first and held to return, five nil-in-production test hooks, and the sweepUpgrades call after the swap, which reads only the map Reload has just built (spec 7, Tasks 3 and 4).;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5, rule 3): the two fleet proxy builds pass the row to fleetBoxOf(t) instead of reading t.FleetBox (-registry:FleetBox x2, +whole:Route x2); fleetBoxOf answers FleetLabel as authoritative when set, else FleetBox; an authoritative box has no fallback to another of the fleet's channels (503 errFleetDark instead). The edge in the agent, not root; it routes to fewer channels, never more.;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): after the new upstream map is published, closes the held streams of any host the new map no longer holds (absent, not hibernating, route no longer Hibernate). Reads the freshly built in-memory map m and the in-memory held set; no read added beyond the rebuild Reload already does.;rev3=census-ruling-devbox-identity;basis=#486 A: only the devbox edge created by newDevboxEdge (carlos-devbox service user, not root) enables the new proxy hooks. Saves the existing DispatchArm result and reads t.Socket from an already-listed route when that arm is ArmSocket, passing it to configureDevboxProxy for per-request expected-owner validation and visitor-header rewriting. Adds one registry:Socket field site; no new registry query or file open, and ordinary fleet/agent edges leave the hook disabled. Final fix wave: its devbox-only outgoing-header/trailer hooks now also strip case-insensitive underscore/hyphen aliases through stripVisitorHeaders; no new read.;rev3=census-ruling-agent-start-demo-1;basis=Checks demo route eligibility and filters the final folded map using the existing registry listing; no new registry or store query. Merge resolution against origin/main 9bd45488 retains main's devbox proxy hooks (reading the existing route Socket) alongside demo filtering; no additional registry query.;rev3=census-ruling-stateless-replicas-3;basis=Task 3: dispatch admitted stateless set rows through replicaProxy before legacy fleetBoxOf. Read Host and supplied whole Route values from the existing listing to build and filter the set probe inputs after all registry reads and alias folds; synchronize before map publication. Tenancy comes only from FleetArmVerdict. No new external read; no set row reaches legacy fallback, local addresses, provision.Health or hibernation on the hub. Fix round 1 M2: comment and whitespace correction only; read sites and routing behavior unchanged.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1175-1177 passes an already-listed demo Route to demoProxy; :1358 passes existing Route and RouteAlias slices to demoRefusalNames; :1401 publishes refusal names before upstreams. Adds whole-value uses only, no new registry query; retained names refuse fallback after filtering.;rev3=census-ruling-demo-api-site-route;basis=Build a dedicated demo API proxy from the selected existing socket, TCP or probed console transport in the same atomic route snapshot, before ordinary wrappers. Reads existing route Host twice, Version and two whole Route values for exact operator-configured console eligibility. No additional registry query or external read.;rev3=census-ruling-agent-start-demo-3;basis=Refresh the verified moved snapshot from registry on reload before route-independent serving. Census read-site delta: unchanged (87).;rev3=census-ruling-region-ha-g2-fixes;basis=Derive blocked ingress names from already listed unready/held/import-gated/sidecar and fleet-refused rows; added field reads only.;rev3=census-ruling-edge-page-cache-1;basis=keeps every row this reload already read from the registry (e.pageRoutes, e.pageRoutesRead = routes, true, under reloadMu) for the page reload hook; the +whole:Route sites are that assignment of the same slice; no new read;rev3=census-ruling-held-move-speed;basis=the six tenant reverse proxies' ModifyResponse is now classifyMoveStreams(e.responseModifier(t)): MarkMoveStream first reads the response head (status 101, or Content-Type text/event-stream) and sets a flag on the request's in-memory StreamEnd, then responseModifier runs unchanged (byte-identical to main). The hook never wraps or touches the body, so the trailer scrubs keep the proxy as their one closer (Astra r2 F2.1: the graceful boundary end and its watcher were cut). No read added;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: with tunnels on, the pass also reads LinkChannelAuth and LinkOwners from the box's own registry (fresh connection, as FleetChannelAuth and FleetOwners) and merges each well-formed link channel's hash into the set SetDynamicAuth takes; the verdict judges link-placed forward rows by the link owners; an admitted one takes the new ArmLink case (linkProxy down the link's channel, tenancy with the link); the door's fleet snapshot stays fleet owners only and link owners go to a separate snapshot; +whole:Route is the row handed to the new case's responseModifier; the edge process as carlos, no root decision; linked deployments slice 1 Task 8: each upstream entry also records localBackend (ArmSocket, or an instance the activator runs here), from values the pass already holds; no read added; linked deployments slice 1 Task 11: the LinkChannelAuth read (the same fresh-connection read) moves to the top of the pass, before List, and its map is applied at once through the hub's new SetLinkAuth (the link half of the credential set only; fleet entries untouched), so a link revocation or rotation closes the home connection on the old hash even when a later read or step of the same reload fails; the same map is still merged into the set SetDynamicAuth takes; no read added, one moved; the edge process as carlos, no root decision; Task 11 fix round 1: comments only (the reload hook contract now says the link credentials are applied before afterRead); no code or read changed registry:Account@12371,registry:Alias@27731,registry:Alias@27818,registry:Alias@28398,registry:App@12387,registry:Health@16154,registry:Health@16280,registry:Hibernate@32872,registry:HoldOp@31668,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@31104,registry:Host@31129,registry:Host@31146,registry:Host@31745,registry:Host@5981,registry:Host@6350,registry:Host@6404,registry:Host@6454,registry:Host@7474,registry:Host@7663,registry:ImportGate@31687,registry:Kind@20446,registry:Kind@20468,registry:Prefix@25797,registry:Socket@14619,registry:Socket@20325,registry:Socket@24333,registry:Status@31644,registry:Status@6275,registry:Target@25809,registry:Tunnel@12210,registry:Tunnel@12402,registry:Version@20177,registry:Version@20427,registry:Version@20529,whole:RegionalDomain@29095,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@29087,whole:Route@29143,whole:Route@29183,whole:Route@31010,whole:Route@31044,whole:Route@31132,whole:Route@31211,whole:Route@31630,whole:Route@32874,whole:Route@32931,whole:Route@32962,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@29151,whole:RoutePath@25228 e0fc00001229b2dcc8635fd25a2f331e38f850ff504b4c62267969a7f4bceadc |
| +@legacy 1a223176fd0e861fdbec6e9f106404869c57cad2d2cfe63d8962d8e254ad9b9c internal/edge/edge.go Edge.Reload legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-design-edge-rate-limit-358;basis=each route's upstream entry gains rate: e.parseRateSettings(t), the row's rate_limit column parsed once per reload; the one added site is that whole:Route pass of t (parseRateSettings is a new unit, classified in the decisions overlay); no other read added;rev3=census-ruling-certwarm-wake;basis=the single reload hook call becomes runReloadHooks(), which runs every registered hook in order (#386); no read added, same 57 sites (56 before #358 landed on main);rev3=census-ruling-edge-asset-cache-3;basis=each tenant reverse proxy built in the switch (the tunnel, fleet, socket and TCP arms, every *httputil.ReverseProxy) is installed behind assetScrubbedProxy, which hands the proxy an assetInformationalScrub writer so an app's 1xx (103) loses the asset cache's reserved headers (X-Carlos-Asset-Fill, -Fill-Ack, -Expires, Carlos-Cache) on every local path, as the backhaul already does (final review F6); a type check of the proxy it just built and a wrapper around it; static and status handlers untouched; read sites unchanged (57), offsets moved; no read added;rev3=census-ruling-alias-wake-338;basis=#338 follow-up: after the path fold, a resolved platform alias takes its source's own upstream entry (same proxy, route, hibernating: the existing activator wake, lease and fence), keeping its own prefix map (none for a minted apex) and never inheriting the source's (Astra r2 P1); a refused alias, or one whose source has no entry, is dropped from the map (not served, not Allowed); the attached-hostname fold clears platformAlias;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the activator-managed test (generation proxy, hib, no-activator 404) is Route.ActivatorOwned instead of Kind and Hibernate inline, so a resident rootfs instance goes through the activator; binary rows unchanged;rev3=census-ruling-edge-roll-blip;basis=the tcpProxy and multiProxy calls pass e.hold (the per-Edge localHold set once in newEdge): a loopback TCP upstream that refuses is redialled for up to 13 s and a probed route with a local upstream waits for prober readmission instead of answering 502/503 (#434 part B); edge-side dial policy only, no read added, same 52 sites;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: after the alias fold, reads the regional_domains rows (e.reg.ListRegional; an error aborts the reload as every registry read here does) and applies them with foldRegional against the routes slice the same reload read; the added reads are that one registry list and the routes already read;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Tasks 4 and 6: the forward case (fleetProxy toward the binding's FleetBox, throttled refusal); one refusal check before the switch from FleetArmVerdict (sidecar not judged; a non-ready forward row refused; a forward row always judged by FleetServeEligible, any other row only where tunnels are on; an alias of a refused source refused with it); the accountless note; path rows of a forward host not folded; no alias folded onto a refused row; refusedHosts held through every fold. ListFleets and FleetChannelAuth read before the loop (+registry:FleetBox, +registry:Host x7, +whole:Route x3). Serving only; the hub's agent, not root. Review R1 finding 2: the switch reads verdict.Served (FleetArmVerdict) by host; the forward case and the fleet-placed case take their fleet from it (served.Fleet) instead of FleetPlacement(t.Region), and an admitted forward row not Served continues rather than falling through (+registry:Host, -registry:Region); the same rows take the same arms; no read added. Review R2: the switch is on DispatchArm(t, viaFleet, tunnels) (the order moved there unchanged: forward only when in Arm, own Tunnel, fleet, socket, addrs, static, status, else continue), the fleet cases read verdict.Arm (renamed from Served), and the platform-alias fold is foldPlatformAliases with the same take (source entry, own paths, alias marks) and the same refusal log (-registry:Kind x2, -registry:Socket, -registry:Tunnel, +whole:Route: those reads moved into DispatchArm); same rows, same arms, same entries; no read added.;rev3=census-ruling-fleet-routes-followups;basis=the owners map is now e.reg.FleetOwners() instead of ListFleets folded inline: the same fresh-connection ListFleets read and the same name->account map (-registry:Account, -registry:Name, -whole:Fleet x2 move into Registry.FleetOwners); no read added; same error path (abort the reload);rev3=census-ruling-tunnel-websockets;basis=The ArmTunnel arm now records its tenancy (Account, App, Tunnel) copied from the row t that Reload already lists; no new registry query, no file read. Also the reload mutex taken first and held to return, five nil-in-production test hooks, and the sweepUpgrades call after the swap, which reads only the map Reload has just built (spec 7, Tasks 3 and 4).;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5, rule 3): the two fleet proxy builds pass the row to fleetBoxOf(t) instead of reading t.FleetBox (-registry:FleetBox x2, +whole:Route x2); fleetBoxOf answers FleetLabel as authoritative when set, else FleetBox; an authoritative box has no fallback to another of the fleet's channels (503 errFleetDark instead). The edge in the agent, not root; it routes to fewer channels, never more.;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): after the new upstream map is published, closes the held streams of any host the new map no longer holds (absent, not hibernating, route no longer Hibernate). Reads the freshly built in-memory map m and the in-memory held set; no read added beyond the rebuild Reload already does.;rev3=census-ruling-devbox-identity;basis=#486 A: only the devbox edge created by newDevboxEdge (carlos-devbox service user, not root) enables the new proxy hooks. Saves the existing DispatchArm result and reads t.Socket from an already-listed route when that arm is ArmSocket, passing it to configureDevboxProxy for per-request expected-owner validation and visitor-header rewriting. Adds one registry:Socket field site; no new registry query or file open, and ordinary fleet/agent edges leave the hook disabled. Final fix wave: its devbox-only outgoing-header/trailer hooks now also strip case-insensitive underscore/hyphen aliases through stripVisitorHeaders; no new read.;rev3=census-ruling-agent-start-demo-1;basis=Checks demo route eligibility and filters the final folded map using the existing registry listing; no new registry or store query. Merge resolution against origin/main 9bd45488 retains main's devbox proxy hooks (reading the existing route Socket) alongside demo filtering; no additional registry query.;rev3=census-ruling-stateless-replicas-3;basis=Task 3: dispatch admitted stateless set rows through replicaProxy before legacy fleetBoxOf. Read Host and supplied whole Route values from the existing listing to build and filter the set probe inputs after all registry reads and alias folds; synchronize before map publication. Tenancy comes only from FleetArmVerdict. No new external read; no set row reaches legacy fallback, local addresses, provision.Health or hibernation on the hub. Fix round 1 M2: comment and whitespace correction only; read sites and routing behavior unchanged.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1175-1177 passes an already-listed demo Route to demoProxy; :1358 passes existing Route and RouteAlias slices to demoRefusalNames; :1401 publishes refusal names before upstreams. Adds whole-value uses only, no new registry query; retained names refuse fallback after filtering.;rev3=census-ruling-demo-api-site-route;basis=Build a dedicated demo API proxy from the selected existing socket, TCP or probed console transport in the same atomic route snapshot, before ordinary wrappers. Reads existing route Host twice, Version and two whole Route values for exact operator-configured console eligibility. No additional registry query or external read.;rev3=census-ruling-agent-start-demo-3;basis=Refresh the verified moved snapshot from registry on reload before route-independent serving. Census read-site delta: unchanged (87).;rev3=census-ruling-region-ha-g2-fixes;basis=Derive blocked ingress names from already listed unready/held/import-gated/sidecar and fleet-refused rows; added field reads only.;rev3=census-ruling-edge-page-cache-1;basis=keeps every row this reload already read from the registry (e.pageRoutes, e.pageRoutesRead = routes, true, under reloadMu) for the page reload hook; the +whole:Route sites are that assignment of the same slice; no new read;rev3=census-ruling-held-move-speed;basis=the six tenant reverse proxies' ModifyResponse is now classifyMoveStreams(e.responseModifier(t)): MarkMoveStream first reads the response head (status 101, or Content-Type text/event-stream) and sets a flag on the request's in-memory StreamEnd, then responseModifier runs unchanged (byte-identical to main). The hook never wraps or touches the body, so the trailer scrubs keep the proxy as their one closer (Astra r2 F2.1: the graceful boundary end and its watcher were cut). No read added;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: with tunnels on, the pass also reads LinkChannelAuth and LinkOwners from the box's own registry (fresh connection, as FleetChannelAuth and FleetOwners) and merges each well-formed link channel's hash into the set SetDynamicAuth takes; the verdict judges link-placed forward rows by the link owners; an admitted one takes the new ArmLink case (linkProxy down the link's channel, tenancy with the link); the door's fleet snapshot stays fleet owners only and link owners go to a separate snapshot; +whole:Route is the row handed to the new case's responseModifier; the edge process as carlos, no root decision; linked deployments slice 1 Task 8: each upstream entry also records localBackend (ArmSocket, or an instance the activator runs here), from values the pass already holds; no read added; linked deployments slice 1 Task 11: the LinkChannelAuth read (the same fresh-connection read) moves to the top of the pass, before List, and its map is applied at once through the hub's new SetLinkAuth (the link half of the credential set only; fleet entries untouched), so a link revocation or rotation closes the home connection on the old hash even when a later read or step of the same reload fails; the same map is still merged into the set SetDynamicAuth takes; no read added, one moved; the edge process as carlos, no root decision; Task 11 fix round 1: comments only (the reload hook contract now says the link credentials are applied before afterRead); no code or read changed; final review fix: the store of the unread linkAccounts snapshot is deleted (fleetAccounts unchanged); no read added or moved registry:Account@12371,registry:Alias@27731,registry:Alias@27818,registry:Alias@28398,registry:App@12387,registry:Health@16154,registry:Health@16280,registry:Hibernate@32834,registry:HoldOp@31630,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@31066,registry:Host@31091,registry:Host@31108,registry:Host@31707,registry:Host@5981,registry:Host@6350,registry:Host@6404,registry:Host@6454,registry:Host@7474,registry:Host@7663,registry:ImportGate@31649,registry:Kind@20446,registry:Kind@20468,registry:Prefix@25797,registry:Socket@14619,registry:Socket@20325,registry:Socket@24333,registry:Status@31606,registry:Status@6275,registry:Target@25809,registry:Tunnel@12210,registry:Tunnel@12402,registry:Version@20177,registry:Version@20427,registry:Version@20529,whole:RegionalDomain@29095,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@29087,whole:Route@29143,whole:Route@29183,whole:Route@30972,whole:Route@31006,whole:Route@31094,whole:Route@31173,whole:Route@31592,whole:Route@32836,whole:Route@32893,whole:Route@32924,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@29151,whole:RoutePath@25228 cf0c7dadf99e2d5970784fce4d85b877e820d85c5f6012a2b072cde0a9a447b7 |
| @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 |
| @@ -79,25 +79,25 @@ internal/edge/edge.go Edge.pinnedUpstream legacy accepted-legacy accepted-legacy |
| internal/edge/fleetforward.go linkServeEligible legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: new pure rule for a link-placed forward row: refused off the hub, when not inert, when it carries a fleet box, label or replica set, when its link is not in the active link owners, or when its raw Account is empty or not the link's owner; reads only the row and the owners map registry:Account@567,registry:Account@636,registry:Account@720,registry:FleetBox@277,registry:FleetBoxes@321,registry:FleetLabel@298 e15bfdfc2c2928ccd325b8844346be778eb5e186bd7898c2f21bf84c7574dde7 |
| internal/host/link_client.go linkLoopState.dropObsolete legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 8 fix round 2: new; compares the running tunnel's link ID, token, tunnel URL and conn_gen with the HomeLink row just read and stops (cancels first, then records the state) when they differ; records reconnecting only when this box's label holds the row; reads only the row already read, no registry, file or bucket read of its own registry:BoxLabel@129,registry:ConnGen@431,registry:ID@210,registry:Token@276,registry:TunnelURL@348 3f6749b7121d1effc9cee94b6aed37718a8e7701aae5cb648ad1198da97169c3 |
| internal/host/link_client.go linkLoopState.pass legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 8: new; the home link loop's pass: reads HomeLink and HomeLinkApps from the agent's own registry, claims an unclaimed link with ClaimHomeLink(label) unless this is a fleet box (tunnelEnvComplete), and starts, keeps or cancels the link's tunnel by link ID, token, tunnel URL, conn_gen and the published set; no file or bucket read, nothing executed; fix round 1: a run the link row alone shows obsolete (link ID, token, tunnel URL or conn_gen changed) is cancelled before HomeLinkApps is read, so a failing set read cannot hold a revoked connection open; stops record the link state as reconnecting (replaced), empty (unlinked, fleet box) or nothing (another box holds the claim); same reads; fix round 2: the obsolete-run comparison moved into dropObsolete, called right after the link row is read and again after the claim's re-read, so a replaced, rotated or revoked link is closed before a claim, re-read or published-set read is attempted; same kind of reads (the HomeLink row passed whole) registry:BoxLabel@1077,registry:BoxLabel@1180,registry:BoxLabel@1223,registry:BoxLabel@625,registry:ID@1151,registry:ID@1398,registry:ID@757,registry:Name@1518,whole:HomeLink@1066,whole:HomeLink@1895,whole:HomeLink@338,whole:HomeLink@615,whole:HomeLink@840,whole:HomeLink@959,whole:HomeLinkApp@1479,whole:HomeLinkApp@1505,whole:HomeLinkApp@1514,whole:HomeLinkApp@1528,whole:HomeLinkApp@1584,whole:HomeLinkApp@1590,whole:HomeLinkApp@1671,whole:HomeLinkApp@1678,whole:HomeLinkApp@1901 c7f5a19669fc5e24a26d3b97456fd9af29e9aecf03f3c483fa630b1fc22eb6f3 |
| -internal/host/link_client.go linkLoopState.start legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 8: new; starts tunnelclient.Loop for the link (channel name from the link ID, the stored token and tunnel URL) serving linkHandler, and records its state with SetHomeLinkState while it is the running loop; no file or bucket read; fix round 1: the run is made current under the loop's lock before its tunnel starts, and its OnState goes through reportState, which writes SetHomeLinkState only while that run is still current; one fewer read site (the link ID in the state callback's log line moved to reportState) registry:ConnGen@221,registry:ID@167,registry:ID@337,registry:ID@416,registry:Token@183,registry:Token@642,registry:TunnelURL@200,registry:TunnelURL@425,registry:TunnelURL@596,whole:HomeLinkApp@237,whole:HomeLinkApp@254,whole:HomeLinkApp@454 db8518154691958ef28b923401c208758c03925d23c2ff64ffb291effe6c013a |
| +internal/host/link_client.go linkLoopState.start legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 8: new; starts tunnelclient.Loop for the link (channel name from the link ID, the stored token and tunnel URL) serving linkHandler, and records its state with SetHomeLinkState while it is the running loop; no file or bucket read; fix round 1: the run is made current under the loop's lock before its tunnel starts, and its OnState goes through reportState, which writes SetHomeLinkState only while that run is still current; one fewer read site (the link ID in the state callback's log line moved to reportState); final review fix: the link handler is built with the link's ID (+registry:ID, the row the pass already read); no read added registry:ConnGen@221,registry:ID@167,registry:ID@337,registry:ID@416,registry:ID@698,registry:Token@183,registry:Token@642,registry:TunnelURL@200,registry:TunnelURL@425,registry:TunnelURL@596,whole:HomeLinkApp@237,whole:HomeLinkApp@254,whole:HomeLinkApp@454 8a8bb74f20945baabb221084111660b95cde75c30bec0996270d1a00af4bc3dd |
| internal/host/link_client.go linkSetNarrowed legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 8: new; compares two in-memory published sets by name; no read whole:HomeLinkApp@112,whole:HomeLinkApp@130,whole:HomeLinkApp@135,whole:HomeLinkApp@92 acf871a54433606a3d9a43fdc646108df576a8d6b25bdf6f8bbfa15f8e2dbcc6 |
| -internal/host/link_handler.go linkHandler.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 8: new; the link channel's handler: reads the one Carlos-Link-App value, looks it up with HomeLinkAppByName in the agent's own registry on every request, refuses a missing or unpublished name with 404, and hands a published one to edge.ServeLinked with the row's home account, app and host; the request's Host never selects; no file or bucket read registry:HomeAccount@1279,registry:HomeAccount@705,registry:HomeApp@1301,registry:HomeApp@730,registry:HomeHost@1256,registry:HomeHost@683,whole:HomeLinkApp@669 4a5cacac0f6fba9392d40246171f2dd4d38dcc99dd29f2bfccb8f19fe94c49a8 |
| +internal/host/link_handler.go linkHandler.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 8: new; the link channel's handler: reads the one Carlos-Link-App value, looks it up with HomeLinkAppByName in the agent's own registry on every request, refuses a missing or unpublished name with 404, and hands a published one to edge.ServeLinked with the row's home account, app and host; the request's Host never selects; no file or bucket read; final review fix (Astra Critical 2): the per-request lookup passes the handler's own link ID, HomeLinkAppByName(linkID, name), so a connection never resolves another link's publications; no read added registry:HomeAccount@1289,registry:HomeAccount@715,registry:HomeApp@1311,registry:HomeApp@740,registry:HomeHost@1266,registry:HomeHost@693,whole:HomeLinkApp@679 6dce3f471f81d3edded470282c57ab7438ac754eb1b9d3e0fc30c1c5a397513a |
| internal/registry/homelink.go CheckCredentialFile legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): Lstat of the registry path the Registry was opened with (never a caller-named path in production: PutHomeLink passes r.path, the console passes its configured registry); refuses a symbolic link, a non-regular file and a world-readable mode; reads only the mode, refuses more; fix round 1: also Lstats registry.db-wal, -shm and -journal beside the same path (the WAL holds the token first in WAL mode); a missing journal is skipped, an existing one must be a regular non-symlink file with no world-read bit, else refused naming it; reads only modes, refuses more file:Lstat@150 e721b4422cf333532c8e47d2c99553b6d71d7c8763c1ae4cbbbd29e72b6c3c69 |
| internal/registry/homelink.go Registry.ClaimHomeLink legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one conditional UPDATE home_link SET box_label WHERE box_label = '' (the agent's claim), reporting whether it applied file:Exec@321,registry:Changed@288,registry:remote@169,registry:remote@201,registry:sql@321,whole:remoteClient@171,whole:remoteClient@203 b2aeb29bea79d56169650a976c811d670b49ff2e40d516750fab647e508ef2ad |
| internal/registry/homelink.go Registry.DeleteHomeLink legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one transaction deleting home_link_apps and home_link file:Exec@220,file:Exec@302,registry:remote@48,registry:remote@78,whole:remoteClient@50,whole:remoteClient@80 8b984285e4e482cff9c4c61bf9ad301df7a733b97e7578e57e0019467c0ec289 |
| internal/registry/homelink.go Registry.DeleteHomeLinkApp legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one IMMEDIATE transaction deleting the name and, when it existed, bumping conn_gen file:Exec@289,registry:Changed@191,registry:remote@102,registry:remote@70,whole:remoteClient@104,whole:remoteClient@72 dc3de197a7a9e9bc760dc47cd182b440acd71cdc44c7d032a29a58ae504383d4 |
| internal/registry/homelink.go Registry.HomeLink legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one SELECT of home_link over a fresh connection to the box's own registry database (or the remote call); returns the row, nil when none file:QueryRow@288,registry:HomeLink@155,registry:remote@55,registry:remote@87,whole:HomeLink@159,whole:HomeLink@437,whole:remoteClient@57,whole:remoteClient@89 ec32b4a640f74a6a04b70c78fb9389aa754843dcbac254e59fc7d819422acee1 |
| -internal/registry/homelink.go Registry.HomeLinkAppByName legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one SELECT of home_link_apps by name over a fresh connection, read per link request by the home agent (Task 8); nil when not published file:QueryRow@337,registry:HomeAccount@458,registry:HomeApp@474,registry:HomeHost@486,registry:HomeLinkApp@199,registry:Name@449,registry:remote@110,registry:remote@78,whole:HomeLinkApp@203,whole:HomeLinkApp@602,whole:remoteClient@112,whole:remoteClient@80 3c18b839e0f03d6bd7f68ae47fc4a215c9af542cd3ca10f1897283439122ae65 |
| +internal/registry/homelink.go Registry.HomeLinkAppByName legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one SELECT of home_link_apps by name over a fresh connection, read per link request by the home agent (Task 8); nil when not published; final review fix: takes the caller's link ID and joins home_link on it in the same SELECT (nil for a malformed ID or another link); one fresh connection as before file:QueryRow@409,registry:HomeAccount@579,registry:HomeApp@595,registry:HomeHost@607,registry:HomeLinkApp@223,registry:Name@570,registry:remote@118,registry:remote@86,whole:HomeLinkApp@227,whole:HomeLinkApp@723,whole:remoteClient@120,whole:remoteClient@88 17d50075278f0553e80159d271711b4fb64d45a0acfdc87238192ec27a8144a1 |
| internal/registry/homelink.go Registry.HomeLinkApps legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one SELECT of home_link_apps over a fresh connection file:Query@294,registry:HomeAccount@539,registry:HomeApp@555,registry:HomeHost@567,registry:HomeLinkApps@167,registry:Name@530,registry:remote@63,registry:remote@95,whole:HomeLinkApp@171,whole:HomeLinkApp@618,whole:HomeLinkApp@631,whole:HomeLinkApp@636,whole:HomeLinkApp@650,whole:remoteClient@65,whole:remoteClient@97 159a90b2c3c91f91def5559245c5eab6249d6f7394e0f12d07e4e5050fbc1e97 |
| -internal/registry/homelink.go Registry.HomeLinkConnGen legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one SELECT conn_gen over a fresh connection; 0 when no link file:QueryRow@303,registry:Number64@173,registry:remote@59,registry:remote@91,whole:remoteClient@61,whole:remoteClient@93 2dff46fa77acbe1835ef1d7a334d789ea0239075f0191f902c29a92a1d8193b2 |
| internal/registry/homelink.go Registry.PutHomeLink legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): validates the link ID and a non-empty token, then CheckCredentialFile on the registry's own path, then one IMMEDIATE transaction writing home_link (deleting another ID's row and the published set); written by the home console only file:Exec@572,file:Exec@759,file:Exec@846,registry:Account@1216,registry:AppsDomain@1227,registry:CreatedAt@455,registry:CreatedAt@490,registry:ID@1174,registry:ID@139,registry:ID@217,registry:ID@619,registry:ID@80,registry:ServingURL@1180,registry:Token@1207,registry:Token@151,registry:TunnelURL@1194,registry:path@382,registry:remote@230,registry:remote@260,whole:HomeLink@316,whole:HomeLink@326,whole:remoteClient@232,whole:remoteClient@262 81dd1dd9c16e821cfd39ca335e1d9f1fa55a18fc1bcbc75ae8d53e7f99415967 |
| internal/registry/homelink.go Registry.PutHomeLinkApp legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one IMMEDIATE transaction: refuses with no home_link row, inserts a new name, or rewrites a changed one and bumps conn_gen (bumpHomeLinkConnGen) file:Exec@1147,file:Exec@811,file:QueryRow@423,file:QueryRow@622,registry:HomeAccount@1057,registry:HomeAccount@1248,registry:HomeAccount@77,registry:HomeAccount@938,registry:HomeApp@100,registry:HomeApp@1081,registry:HomeApp@1263,registry:HomeApp@953,registry:HomeHost@1102,registry:HomeHost@119,registry:HomeHost@1274,registry:HomeHost@964,registry:Name@1286,registry:Name@61,registry:Name@713,registry:Name@930,registry:remote@224,registry:remote@254,whole:HomeLinkApp@214,whole:HomeLinkApp@313,whole:HomeLinkApp@326,whole:remoteClient@226,whole:remoteClient@256 60200100b330969fe5d76a7aef03f389fb1229bc29ee8845b98c99d9a1b2fdd8 |
| +internal/registry/homelink.go Registry.SetHomeLinkRotatePending legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments final review fix, Astra Important 3): one UPDATE of home_link.rotate_pending for the given link ID on the box's own registry database, written by the home console; validates the ID; the remote form passes LinkID and On; no file or bucket read file:Exec@353,registry:remote@163,registry:remote@193,registry:sql@353,whole:remoteClient@165,whole:remoteClient@195 6a0de510bb9c26774120ca6c8fbe5155345bcd08a18285cc94d154d88870248c |
| internal/registry/homelink.go Registry.SetHomeLinkState legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): validates the state against a closed set, then one UPDATE of home_link.state; not hashed by Fingerprint file:Exec@380,registry:remote@241,registry:remote@271,registry:sql@380,whole:remoteClient@243,whole:remoteClient@273 dc43156360a1fc86911d84f382623acc07baadd3d3420dcb5fa0f7b2a481fa34 |
| internal/registry/homelink.go Registry.SetHomeLinkUnlinkPending legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7 fix round 1): validates the link ID, then one UPDATE home_link SET unlink_pending WHERE id (or the remote call); the home console's record that a serving-side unlink answered 202; not hashed by Fingerprint file:Exec@353,registry:remote@163,registry:remote@193,registry:sql@353,whole:remoteClient@165,whole:remoteClient@195 c6caeb94d768f23359c73f66bca16f53462424ecd2143f7d7e1bf84a01cf900d |
| -internal/registry/homelink.go Registry.migrateHomeLink legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): CREATE TABLE IF NOT EXISTS home_link and home_link_apps on the box's own registry database, as carlos; additive; fix round 1: one more additive statement, ALTER TABLE home_link ADD COLUMN unlink_pending INTEGER NOT NULL DEFAULT 0, duplicate-column error swallowed; the box's own registry database, as carlos file:Exec@521,file:Exec@59,file:Exec@705,registry:sql@521,registry:sql@59,registry:sql@705 e89e23e2ef451502d0fc7c8259dede51a2e32462bb531ac301210d4e34bd9fb7 |
| +internal/registry/homelink.go Registry.migrateHomeLink legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): CREATE TABLE IF NOT EXISTS home_link and home_link_apps on the box's own registry database, as carlos; additive; fix round 1: one more additive statement, ALTER TABLE home_link ADD COLUMN unlink_pending INTEGER NOT NULL DEFAULT 0, duplicate-column error swallowed; the box's own registry database, as carlos; final review fix: one more additive column, ALTER TABLE home_link ADD COLUMN rotate_pending INTEGER NOT NULL DEFAULT 0, in the same duplicate-swallowing loop as unlink_pending; the box's own registry database, as carlos file:Exec@59,file:Exec@639,file:Exec@825,registry:sql@59,registry:sql@639,registry:sql@825 816c5f5f79cf78528fb075e19d6e37b1ecc1469645398cf45281475dd11cfd5b |
| internal/registry/homelink.go bumpHomeLinkConnGen legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): one UPDATE home_link SET conn_gen = conn_gen + 1 inside the caller's transaction file:Exec@53 2fdb6872763f94c49336351be7aa0d96cbe22dace51c1eb466133635f0325c2c |
| internal/registry/homelink.go fingerprintHomeLink legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): two SELECTs (home_link, home_link_apps) on Fingerprint's own fresh connection, folded into its hash; hashes the token's sha256, never the token file:Query@655,file:Query@72,registry:Account@507,registry:AppsDomain@518,registry:BoxLabel@532,registry:ConnGen@544,registry:HomeAccount@1095,registry:HomeAccount@891,registry:HomeApp@1110,registry:HomeApp@907,registry:HomeHost@1121,registry:HomeHost@919,registry:ID@439,registry:Name@1087,registry:Name@882,registry:ServingURL@445,registry:Token@496,registry:TunnelURL@459 6c9c95eba507d65fe3845f19c68bf5ba76f2edfb12e2b0296c09fec485c0a7a8 |
| -internal/registry/homelink.go scanHomeLink legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): scans one home_link row into HomeLink; pure; fix round 1: also scans unlink_pending into HomeLink.UnlinkPending; pure registry:Account@176,registry:AppsDomain@188,registry:BoxLabel@205,registry:ConnGen@289,registry:CreatedAt@366,registry:ID@130,registry:ServingURL@137,registry:State@218,registry:Token@166,registry:TunnelURL@152,registry:UnlinkPending@314,whole:HomeLink@414 002d3dc1ce6e59195638c9aa04e25c90e87031ca33be0395911aca87c76f1d0b |
| +internal/registry/homelink.go scanHomeLink legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new (linked deployments slice 1 Task 7): scans one home_link row into HomeLink; pure; fix round 1: also scans unlink_pending into HomeLink.UnlinkPending; pure; final review fix: scans the additive rotate_pending column too (+registry:RotatePending); the same row read registry:Account@186,registry:AppsDomain@198,registry:BoxLabel@215,registry:ConnGen@310,registry:CreatedAt@420,registry:ID@140,registry:RotatePending@367,registry:ServingURL@147,registry:State@228,registry:Token@176,registry:TunnelURL@162,registry:UnlinkPending@335,whole:HomeLink@468 f4de62e976d76de11e9cc906169901a4e7f8aafb255e75a4380db4dc19c9f4ae |
| internal/registry/links.go Registry.DeleteLinkForward legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new: deletes host's row only while it is a forward row placed exactly link/<linkID> (validated ID); remote-or-local shape of every narrow setter file:Exec@346,registry:Changed@312,registry:remote@175,registry:remote@207,registry:sql@346,whole:remoteClient@177,whole:remoteClient@209 b4eb7a228abe47f59f7d7b24e852014f1bc0eb1a468b88510b51239371d53e22 |
| internal/registry/links.go Registry.LinkChannelAuth legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new: active link_channels token hashes keyed by link:<id>/home, via activeLinkMap; remote-or-local shape registry:StringMap@177,registry:remote@102,registry:remote@70,whole:remoteClient@104,whole:remoteClient@72 7dd9c9b6f9df7401d71b9dfaec929083111f19aa96c37f4dd058d8d2664deb3f |
| internal/registry/links.go Registry.LinkForwards legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new: SELECT routeCols FROM routes for forward rows placed link/<linkID> over a fresh connection to the box's own registry database; remote-or-local shape file:Query@407,registry:Routes@285,registry:remote@165,registry:remote@197,whole:Route@289,whole:Route@702,whole:Route@715,whole:Route@720,whole:Route@734,whole:remoteClient@167,whole:remoteClient@199 0e111abd6943c2f4c6c0be4100df66d1b06f7f98589ce9e5980e6cf6c47e2111 |
| @@ -110,11 +110,11 @@ internal/registry/links.go Registry.SetLinkSeen legacy accepted-legacy accepted- |
| internal/registry/links.go Registry.activeLinkMap legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new: runs an in-binary SELECT of two link_channels columns over a fresh connection (freshFleetsConn) to the box's own registry database file:Query@203 8382e06eb0164a59e0d0819cca99fd70e1753815cd08e3d19b86ad78bc5e09bb |
| internal/registry/links.go Registry.migrateLinks legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new: one CREATE TABLE IF NOT EXISTS link_channels, an in-binary literal file:Exec@53,registry:sql@53 43b435d6429ffc5e031bf1a40a27a6c8318a5113879fc3bef1adf76e023dd174 |
| internal/registry/links.go linkAdmits legacy accepted-legacy accepted-legacy;rev3=census-ruling-linked-deployments-slice1;basis=new: one SELECT 1 FROM link_channels inside PutForward's transaction file:QueryRow@78 f1b3b63e4ffacabb08c4d981a181aa73d0117da0875544a43abf6284b7df7483 |
| -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 |
| +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; final review fix: a row whose own Tunnel fails registry.ValidTunnelName dispatches to ArmNone (+registry:Tunnel is that check); fewer rows reach the tunnel arm, never more; pure, no I/O registry:FleetBoxes@219,registry:Kind@864,registry:Kind@910,registry:Region@106,registry:Socket@774,registry:Tunnel@426,registry:Tunnel@680 93aa34fae605ade31eb01c154cc87a9df2b54a9938581a262b93ec2c9e39fb6d |
| 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; linked deployments slice 1 Task 11: the LinkChannelAuth read (the same fresh-connection read) moves to the top of the pass, before List, and its map is applied at once through the hub's new SetLinkAuth (the link half of the credential set only; fleet entries untouched), so a link revocation or rotation closes the home connection on the old hash even when a later read or step of the same reload fails; the same map is still merged into the set SetDynamicAuth takes; no read added, one moved; the edge process as carlos, no root decision; Task 11 fix round 1: comments only (the reload hook contract now says the link credentials are applied before afterRead); no code or read changed registry:Account@12371,registry:Alias@27731,registry:Alias@27818,registry:Alias@28398,registry:App@12387,registry:Health@16154,registry:Health@16280,registry:Hibernate@32872,registry:HoldOp@31668,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@31104,registry:Host@31129,registry:Host@31146,registry:Host@31745,registry:Host@5981,registry:Host@6350,registry:Host@6404,registry:Host@6454,registry:Host@7474,registry:Host@7663,registry:ImportGate@31687,registry:Kind@20446,registry:Kind@20468,registry:Prefix@25797,registry:Socket@14619,registry:Socket@20325,registry:Socket@24333,registry:Status@31644,registry:Status@6275,registry:Target@25809,registry:Tunnel@12210,registry:Tunnel@12402,registry:Version@20177,registry:Version@20427,registry:Version@20529,whole:RegionalDomain@29095,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@29087,whole:Route@29143,whole:Route@29183,whole:Route@31010,whole:Route@31044,whole:Route@31132,whole:Route@31211,whole:Route@31630,whole:Route@32874,whole:Route@32931,whole:Route@32962,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@29151,whole:RoutePath@25228 e0fc00001229b2dcc8635fd25a2f331e38f850ff504b4c62267969a7f4bceadc |
| +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; linked deployments final review fix: HomeLinkConnGen's case removed (-registry:Number64); HomeLinkAppByName passes the request's LinkID as well as Name; one more case, SetHomeLinkRotatePending, passing the request's LinkID and On to the registry method of that name; no read added registry:A@10831,registry:Account@2988,registry:Account@3087,registry:Account@7047,registry:Accounts@5709,registry:Addr@7624,registry:Addrs@7632,registry:Adoption@1013,registry:Adoption@818,registry:Alias@10879,registry:Alias@10943,registry:Alias@11031,registry:Aliases@10753,registry:Alive@12706,registry:Args@10455,registry:AssetGen@7831,registry:AssetsOff@7818,registry:Assigned@8309,registry:Assignment@9725,registry:Assignment@9823,registry:At@10962,registry:At@11040,registry:At@12454,registry:At@3322,registry:At@3390,registry:At@3782,registry:At@3879,registry:At@3964,registry:At@9203,registry:Attempts@12476,registry:B@3385,registry:B@3439,registry:Backing@7443,registry:Bucket@3100,registry:BuildState@8068,registry:By@3316,registry:Changed@12386,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@5440,registry:Changed@564,registry:Changed@6132,registry:Changed@6219,registry:Changed@6308,registry:Changed@6379,registry:Changed@6483,registry:Changed@6570,registry:Changed@6663,registry:Changed@6745,registry:Changed@832,registry:Changed@8656,registry:Changed@8793,registry:Changed@929,registry:Changed@9390,registry:Changed@9578,registry:Channel@7107,registry:Channel@8499,registry:Channel@9048,registry:CheckedAt@9129,registry:Class@7562,registry:DoneBefore@12715,registry:Due@10156,registry:Due@10220,registry:Due@12498,registry:Duty@312,registry:Duty@390,registry:Duty@634,registry:EgressAllow@7971,registry:Env@8567,registry:Env@8959,registry:Env@9059,registry:ExcludeHosts@12181,registry:ExcludeHosts@12276,registry:ExpectGood@9328,registry:ExpectOp@6187,registry:ExpectOp@6437,registry:ExpectPair@6617,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@8699,registry:FleetBoxes@3996,registry:Fleets@3202,registry:From@7218,registry:From@7279,registry:FromDB@7354,registry:FromOp@6275,registry:FromSock@7364,registry:HAJournal@183,registry:HAJournal@221,registry:Hash@8373,registry:Health@7641,registry:HomeLink@4751,registry:HomeLink@4827,registry:HomeLinkApp@5286,registry:HomeLinkApp@5396,registry:HomeLinkApps@5216,registry:Host@10033,registry:Host@10093,registry:Host@10148,registry:Host@10212,registry:Host@10396,registry:Host@10447,registry:Host@10514,registry:Host@10589,registry:Host@10652,registry:Host@11249,registry:Host@1136,registry:Host@11375,registry:Host@11529,registry:Host@11817,registry:Host@11881,registry:Host@11940,registry:Host@12023,registry:Host@12106,registry:Host@12337,registry:Host@12422,registry:Host@12554,registry:Host@12635,registry:Host@12798,registry:Host@1888,registry:Host@1999,registry:Host@286,registry:Host@350,registry:Host@422,registry:Host@4713,registry:Host@501,registry:Host@5893,registry:Host@5934,registry:Host@602,registry:Host@6087,registry:Host@6163,registry:Host@6249,registry:Host@6341,registry:Host@6413,registry:Host@6519,registry:Host@6609,registry:Host@6697,registry:Host@6789,registry:Host@694,registry:Host@7039,registry:Host@7099,registry:Host@7157,registry:Host@7210,registry:Host@7271,registry:Host@7346,registry:Host@7435,registry:Host@7489,registry:Host@7554,registry:Host@7616,registry:Host@7694,registry:Host@772,registry:Host@7751,registry:Host@7810,registry:Host@7898,registry:Host@7963,registry:Host@8060,registry:Host@8125,registry:Host@8186,registry:Host@8236,registry:Host@8301,registry:Host@8365,registry:Host@8426,registry:Host@8559,registry:Host@8613,registry:Host@869,registry:Host@8691,registry:Host@8828,registry:Host@8881,registry:Host@9111,registry:Host@9195,registry:Host@9252,registry:Host@9320,registry:Host@9535,registry:Host@973,registry:Host@9800,registry:Host@9957,registry:Hosts@1051,registry:Hosts@5772,registry:Hosts@8490,registry:Hosts@8950,registry:Hosts@9039,registry:Id@2108,registry:Id@2419,registry:Id@2518,registry:Id@2598,registry:Id@2749,registry:IdValue@5528,registry:Idle@10522,registry:Import@734,registry:Journal@1306,registry:Journal@2126,registry:Journal@2425,registry:Journal@2604,registry:Keep@12814,registry:KeyFP@3307,registry:Kind@12643,registry:Kind@12806,registry:Label@3506,registry:Label@3588,registry:Label@3669,registry:Label@3773,registry:Label@3870,registry:Label@3955,registry:Label@4950,registry:Label@8708,registry:Lifetime@358,registry:Lifetime@430,registry:Lifetime@517,registry:Lifetime@610,registry:Lifetime@877,registry:Limit@12172,registry:Limit@12267,registry:Link@4188,registry:LinkID@4264,registry:LinkID@4443,registry:LinkID@4635,registry:LinkID@4721,registry:LinkID@5091,registry:LinkID@5176,registry:LinkID@5329,registry:LinkSeen@4545,registry:MaxRun@10530,registry:Method@151,registry:Moved@8321,registry:Ms@12470,registry:Name@11889,registry:Name@11948,registry:Name@12031,registry:Name@12345,registry:Name@12430,registry:Name@12562,registry:Name@1896,registry:Name@2007,registry:Name@2978,registry:Name@3077,registry:Name@3172,registry:Name@3292,registry:Name@5339,registry:Name@5479,registry:Name@5547,registry:Next@1165,registry:NextAt@12488,registry:NextGood@9342,registry:NextValue@2678,registry:NextValue@2776,registry:Now@10723,registry:Now@12165,registry:Now@12260,registry:Now@12353,registry:Now@2031,registry:Number64@3819,registry:Number64@5635,registry:Number@12603,registry:Number@12674,registry:Number@12759,registry:Observed@1229,registry:Observed@9436,registry:Observed@9523,registry:Observed@9623,registry:Observed@9698,registry:Observed@9890,registry:ObservedValue@1507,registry:Old@2671,registry:Old@2769,registry:On@10101,registry:On@10597,registry:On@10660,registry:On@4460,registry:On@5101,registry:On@5186,registry:On@9837,registry:On@9902,registry:On@9972,registry:Op@6105,registry:Op@6181,registry:Op@6349,registry:Op@6431,registry:Op@6527,registry:Op@6705,registry:Op@6797,registry:Owner@1144,registry:Owner@1241,registry:Owner@1524,registry:P@11483,registry:PagesOff@7759,registry:Pair@509,registry:Pair@6449,registry:Pair@6533,registry:Pair@6631,registry:Pair@780,registry:Pair@981,registry:Path@11714,registry:Paths@11411,registry:PolicyExpiresAt@7994,registry:Prefix@11537,registry:Prev@9267,registry:Pub@3300,registry:RDs@11383,registry:RateLimit@8434,registry:Receipt@889,registry:Regional@11281,registry:Registration@12039,registry:Registration@12438,registry:Registration@1904,registry:Registration@2015,registry:Replica@8194,registry:ReplicaLife@9710,registry:ReplicaLife@9808,registry:Replicas@8133,registry:Retirement@2755,registry:Revision@529,registry:Revision@622,registry:Revision@989,registry:Route@5870,registry:Routes@10254,registry:Routes@10321,registry:Routes@10690,registry:Routes@4602,registry:Routes@5828,registry:Routes@6823,registry:Rows@11825,registry:Seed@10404,registry:SeenAt@4466,registry:Seq@4453,registry:Size@7986,registry:Sqid@5539,registry:Sqid@5602,registry:Sqid@5681,registry:Status@10952,registry:Status@12460,registry:Status@12570,registry:Status@1920,registry:Status@3678,registry:Status@5012,registry:Status@6095,registry:Status@6171,registry:Status@6257,registry:Status@6421,registry:Status@7165,registry:Status@9119,registry:Steering@7702,registry:StringMap@4084,registry:StringMap@4301,registry:StringMap@4364,registry:T@11765,registry:T@1621,registry:T@1715,registry:T@1798,registry:TValue@5975,registry:TValue@6042,registry:TValue@8758,registry:TValue@9448,registry:Tags@3597,registry:Target@8889,registry:Targets@1317,registry:Text@11570,registry:Text@11633,registry:Text@2324,registry:Text@2471,registry:Text@5649,registry:Timer@11853,registry:Timer@1573,registry:Timer@1755,registry:Timers@12076,registry:Timers@12135,registry:Timers@12224,registry:Times@12848,registry:To@7226,registry:To@7287,registry:ToDB@7376,registry:ToOp@6267,registry:ToSock@7384,registry:TokenHash@3515,registry:Tunnel@8621,registry:Unit@7497,registry:UpdateSettings@7906,registry:Ver@10041,registry:Ver@9260,registry:Ver@9965,registry:W@11183,registry:Wake@702,registry:Wake@788,registry:Wildcards@11077,whole:Account@5713,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@9330,whole:GoodBuild@9344,whole:HAAdoption@1015,whole:HAAdoption@822,whole:HAWakeImport@704,whole:HAWakeImport@790,whole:HomeLink@4755,whole:HomeLink@4829,whole:HomeLinkApp@5220,whole:HomeLinkApp@5290,whole:HomeLinkApp@5398,whole:LinkChannel@4190,whole:LinkSeen@4549,whole:Pair@511,whole:Pair@6451,whole:Pair@6535,whole:Pair@6619,whole:Pair@6633,whole:Pair@782,whole:Pair@983,whole:RegionalDomain@11285,whole:RegionalDomain@11385,whole:Route@10258,whole:Route@10325,whole:Route@10694,whole:Route@1231,whole:Route@4606,whole:Route@5832,whole:Route@5874,whole:Route@5977,whole:Route@6044,whole:Route@6827,whole:Route@6982,whole:Route@6988,whole:Route@8760,whole:Route@9438,whole:Route@9450,whole:Route@9525,whole:Route@9625,whole:Route@9700,whole:Route@9892,whole:RouteAlias@10757,whole:RouteAlias@10833,whole:RoutePath@11415,whole:RoutePath@11485,whole:Timer@11767,whole:Timer@11827,whole:Timer@11857,whole:Timer@12080,whole:Timer@12139,whole:Timer@12228,whole:Timer@1509,whole:Timer@1577,whole:Timer@1623,whole:Timer@1717,whole:Timer@1759,whole:Timer@1800,whole:WildcardDomain@11081,whole:WildcardDomain@11185,whole:haJournalRequest@223,whole:haJournalResponse@187 0a490ad6a3c5c8aeacc645bf757e846d22a15bd7708187e8f137bbafa100b163 |
| +internal/edge/edge.go Edge.Reload legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-design-edge-rate-limit-358;basis=each route's upstream entry gains rate: e.parseRateSettings(t), the row's rate_limit column parsed once per reload; the one added site is that whole:Route pass of t (parseRateSettings is a new unit, classified in the decisions overlay); no other read added;rev3=census-ruling-certwarm-wake;basis=the single reload hook call becomes runReloadHooks(), which runs every registered hook in order (#386); no read added, same 57 sites (56 before #358 landed on main);rev3=census-ruling-edge-asset-cache-3;basis=each tenant reverse proxy built in the switch (the tunnel, fleet, socket and TCP arms, every *httputil.ReverseProxy) is installed behind assetScrubbedProxy, which hands the proxy an assetInformationalScrub writer so an app's 1xx (103) loses the asset cache's reserved headers (X-Carlos-Asset-Fill, -Fill-Ack, -Expires, Carlos-Cache) on every local path, as the backhaul already does (final review F6); a type check of the proxy it just built and a wrapper around it; static and status handlers untouched; read sites unchanged (57), offsets moved; no read added;rev3=census-ruling-alias-wake-338;basis=#338 follow-up: after the path fold, a resolved platform alias takes its source's own upstream entry (same proxy, route, hibernating: the existing activator wake, lease and fence), keeping its own prefix map (none for a minted apex) and never inheriting the source's (Astra r2 P1); a refused alias, or one whose source has no entry, is dropped from the map (not served, not Allowed); the attached-hostname fold clears platformAlias;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the activator-managed test (generation proxy, hib, no-activator 404) is Route.ActivatorOwned instead of Kind and Hibernate inline, so a resident rootfs instance goes through the activator; binary rows unchanged;rev3=census-ruling-edge-roll-blip;basis=the tcpProxy and multiProxy calls pass e.hold (the per-Edge localHold set once in newEdge): a loopback TCP upstream that refuses is redialled for up to 13 s and a probed route with a local upstream waits for prober readmission instead of answering 502/503 (#434 part B); edge-side dial policy only, no read added, same 52 sites;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: after the alias fold, reads the regional_domains rows (e.reg.ListRegional; an error aborts the reload as every registry read here does) and applies them with foldRegional against the routes slice the same reload read; the added reads are that one registry list and the routes already read;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Tasks 4 and 6: the forward case (fleetProxy toward the binding's FleetBox, throttled refusal); one refusal check before the switch from FleetArmVerdict (sidecar not judged; a non-ready forward row refused; a forward row always judged by FleetServeEligible, any other row only where tunnels are on; an alias of a refused source refused with it); the accountless note; path rows of a forward host not folded; no alias folded onto a refused row; refusedHosts held through every fold. ListFleets and FleetChannelAuth read before the loop (+registry:FleetBox, +registry:Host x7, +whole:Route x3). Serving only; the hub's agent, not root. Review R1 finding 2: the switch reads verdict.Served (FleetArmVerdict) by host; the forward case and the fleet-placed case take their fleet from it (served.Fleet) instead of FleetPlacement(t.Region), and an admitted forward row not Served continues rather than falling through (+registry:Host, -registry:Region); the same rows take the same arms; no read added. Review R2: the switch is on DispatchArm(t, viaFleet, tunnels) (the order moved there unchanged: forward only when in Arm, own Tunnel, fleet, socket, addrs, static, status, else continue), the fleet cases read verdict.Arm (renamed from Served), and the platform-alias fold is foldPlatformAliases with the same take (source entry, own paths, alias marks) and the same refusal log (-registry:Kind x2, -registry:Socket, -registry:Tunnel, +whole:Route: those reads moved into DispatchArm); same rows, same arms, same entries; no read added.;rev3=census-ruling-fleet-routes-followups;basis=the owners map is now e.reg.FleetOwners() instead of ListFleets folded inline: the same fresh-connection ListFleets read and the same name->account map (-registry:Account, -registry:Name, -whole:Fleet x2 move into Registry.FleetOwners); no read added; same error path (abort the reload);rev3=census-ruling-tunnel-websockets;basis=The ArmTunnel arm now records its tenancy (Account, App, Tunnel) copied from the row t that Reload already lists; no new registry query, no file read. Also the reload mutex taken first and held to return, five nil-in-production test hooks, and the sweepUpgrades call after the swap, which reads only the map Reload has just built (spec 7, Tasks 3 and 4).;rev3=census-ruling-managed-fleets-1b;basis=managed fleets 1b (Task 5, rule 3): the two fleet proxy builds pass the row to fleetBoxOf(t) instead of reading t.FleetBox (-registry:FleetBox x2, +whole:Route x2); fleetBoxOf answers FleetLabel as authoritative when set, else FleetBox; an authoritative box has no fallback to another of the fleet's channels (503 errFleetDark instead). The edge in the agent, not root; it routes to fewer channels, never more.;rev3=census-ruling-edge-held-streams;basis=the edge in the agent (carlos-edge.service, user carlos): after the new upstream map is published, closes the held streams of any host the new map no longer holds (absent, not hibernating, route no longer Hibernate). Reads the freshly built in-memory map m and the in-memory held set; no read added beyond the rebuild Reload already does.;rev3=census-ruling-devbox-identity;basis=#486 A: only the devbox edge created by newDevboxEdge (carlos-devbox service user, not root) enables the new proxy hooks. Saves the existing DispatchArm result and reads t.Socket from an already-listed route when that arm is ArmSocket, passing it to configureDevboxProxy for per-request expected-owner validation and visitor-header rewriting. Adds one registry:Socket field site; no new registry query or file open, and ordinary fleet/agent edges leave the hook disabled. Final fix wave: its devbox-only outgoing-header/trailer hooks now also strip case-insensitive underscore/hyphen aliases through stripVisitorHeaders; no new read.;rev3=census-ruling-agent-start-demo-1;basis=Checks demo route eligibility and filters the final folded map using the existing registry listing; no new registry or store query. Merge resolution against origin/main 9bd45488 retains main's devbox proxy hooks (reading the existing route Socket) alongside demo filtering; no additional registry query.;rev3=census-ruling-stateless-replicas-3;basis=Task 3: dispatch admitted stateless set rows through replicaProxy before legacy fleetBoxOf. Read Host and supplied whole Route values from the existing listing to build and filter the set probe inputs after all registry reads and alias folds; synchronize before map publication. Tenancy comes only from FleetArmVerdict. No new external read; no set row reaches legacy fallback, local addresses, provision.Health or hibernation on the hub. Fix round 1 M2: comment and whitespace correction only; read sites and routing behavior unchanged.;rev3=census-ruling-agent-start-demo-2;basis=edge.go:1175-1177 passes an already-listed demo Route to demoProxy; :1358 passes existing Route and RouteAlias slices to demoRefusalNames; :1401 publishes refusal names before upstreams. Adds whole-value uses only, no new registry query; retained names refuse fallback after filtering.;rev3=census-ruling-demo-api-site-route;basis=Build a dedicated demo API proxy from the selected existing socket, TCP or probed console transport in the same atomic route snapshot, before ordinary wrappers. Reads existing route Host twice, Version and two whole Route values for exact operator-configured console eligibility. No additional registry query or external read.;rev3=census-ruling-agent-start-demo-3;basis=Refresh the verified moved snapshot from registry on reload before route-independent serving. Census read-site delta: unchanged (87).;rev3=census-ruling-region-ha-g2-fixes;basis=Derive blocked ingress names from already listed unready/held/import-gated/sidecar and fleet-refused rows; added field reads only.;rev3=census-ruling-edge-page-cache-1;basis=keeps every row this reload already read from the registry (e.pageRoutes, e.pageRoutesRead = routes, true, under reloadMu) for the page reload hook; the +whole:Route sites are that assignment of the same slice; no new read;rev3=census-ruling-held-move-speed;basis=the six tenant reverse proxies' ModifyResponse is now classifyMoveStreams(e.responseModifier(t)): MarkMoveStream first reads the response head (status 101, or Content-Type text/event-stream) and sets a flag on the request's in-memory StreamEnd, then responseModifier runs unchanged (byte-identical to main). The hook never wraps or touches the body, so the trailer scrubs keep the proxy as their one closer (Astra r2 F2.1: the graceful boundary end and its watcher were cut). No read added;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 3: with tunnels on, the pass also reads LinkChannelAuth and LinkOwners from the box's own registry (fresh connection, as FleetChannelAuth and FleetOwners) and merges each well-formed link channel's hash into the set SetDynamicAuth takes; the verdict judges link-placed forward rows by the link owners; an admitted one takes the new ArmLink case (linkProxy down the link's channel, tenancy with the link); the door's fleet snapshot stays fleet owners only and link owners go to a separate snapshot; +whole:Route is the row handed to the new case's responseModifier; the edge process as carlos, no root decision; linked deployments slice 1 Task 8: each upstream entry also records localBackend (ArmSocket, or an instance the activator runs here), from values the pass already holds; no read added; linked deployments slice 1 Task 11: the LinkChannelAuth read (the same fresh-connection read) moves to the top of the pass, before List, and its map is applied at once through the hub's new SetLinkAuth (the link half of the credential set only; fleet entries untouched), so a link revocation or rotation closes the home connection on the old hash even when a later read or step of the same reload fails; the same map is still merged into the set SetDynamicAuth takes; no read added, one moved; the edge process as carlos, no root decision; Task 11 fix round 1: comments only (the reload hook contract now says the link credentials are applied before afterRead); no code or read changed; final review fix: the store of the unread linkAccounts snapshot is deleted (fleetAccounts unchanged); no read added or moved registry:Account@12371,registry:Alias@27731,registry:Alias@27818,registry:Alias@28398,registry:App@12387,registry:Health@16154,registry:Health@16280,registry:Hibernate@32834,registry:HoldOp@31630,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@31066,registry:Host@31091,registry:Host@31108,registry:Host@31707,registry:Host@5981,registry:Host@6350,registry:Host@6404,registry:Host@6454,registry:Host@7474,registry:Host@7663,registry:ImportGate@31649,registry:Kind@20446,registry:Kind@20468,registry:Prefix@25797,registry:Socket@14619,registry:Socket@20325,registry:Socket@24333,registry:Status@31606,registry:Status@6275,registry:Target@25809,registry:Tunnel@12210,registry:Tunnel@12402,registry:Version@20177,registry:Version@20427,registry:Version@20529,whole:RegionalDomain@29095,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@29087,whole:Route@29143,whole:Route@29183,whole:Route@30972,whole:Route@31006,whole:Route@31094,whole:Route@31173,whole:Route@31592,whole:Route@32836,whole:Route@32893,whole:Route@32924,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@29151,whole:RoutePath@25228 cf0c7dadf99e2d5970784fce4d85b877e820d85c5f6012a2b072cde0a9a447b7 |
| 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 |
| @@ -122,12 +122,12 @@ internal/provision/reconcile.go Reconcile legacy accepted-legacy accepted-legacy |
| internal/regionlabel/regionlabel.go ForRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console and the carlos CLI (a pure package; no box unit links it for a decision);basis=new (region labels plan 1 task 2): labels a registry row already in hand from its Region and Pool columns and RouteServedEverywhere; pure: no file, no store, no registry open, nothing written;decision: Paul, as census owner, 2026-10-26: accepted as a new unit (#280);rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 6: a row placed on a linked deployment (registry.LinkPlacement over the row's own Region, "link/<id>") is labelled as linked (the new Label.Link, the link ID; Text empty) before the fleet and everywhere checks, instead of being labelled with "link/<id>" as a region code; pure, reads only the Route it is given, no read added registry:Pool@329,registry:Pool@394,registry:Region@100,registry:Region@138,registry:Region@199,registry:Region@233,registry:Region@318,registry:Region@364,whole:Route@292 f88391a298a8511fd1305ffcd046b84130d0fd1f756509802529f776679971ea |
| 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 6aeba1da704d360ee24ec47c9d83d0e2120229eb1157654d575ffcfc91111f16 |
| +@coverage . 746426c19ac319841a2c97f711025e7cb1c0840325badb5e89637cccb9500560 |
| +@coverage internal/edge 3d22041a28d59cd8c67367109588b0d1ff709f6cdc3667df688e7aa4e41d0752 |
| @coverage internal/gate 17307a6623f6149db163fc8de9139f8d824b36d70d2da635c712aee3671e582a |
| -@coverage internal/host 9a1b98f6896147e930776114271105b245546a5b96551872002810ff9ae5403d |
| +@coverage internal/host 3be7aa8deb896115192b9832f47af5cb4628851c9943d3fdb5c28a93a1dd5a4d |
| @coverage internal/provision 6c3f9188cfe17a2f7f87d78cf5f60e9104f5bcd55941947129a5bcea3e4c586c |
| @coverage internal/regionlabel 8d831085b7e3ce7bb1ea1f20f443b4529c5b7177de18e7c4889e4ca330aa6a00 |
| -@coverage internal/registry d160203302b7508294b6568f2a452e32c64921b5b1a1196ec358ee1128e335ba |
| +@coverage internal/registry 0ab843666e664a9aac2b0f21b6509e6ebf1af779fe138d0f26f538de040cdbca |
| @coverage internal/tunnelclient a3661e839ab9e18977dfad0ebe846a38f7c8e327c6c85047d1e3cef42d80aff6 |
| -@fields ?,A,Account,Accounts,AcquiredGeneration,AddedAt,Addr,Addrs,Adoption,Alias,Aliases,Alive,AllowAbsent,App,AppsDomain,Archives,Args,AssetGen,AssetsOff,Assigned,Assignment,At,Attempts,B,Backing,Basis,Binding,Blocked,Body,BoxLabel,Bucket,BuildState,By,Callback,CallbackError,CallbackFailed,Canary,Caps,CertExpiresAt,Changed,Channel,CheckedAt,Claim,ClaimIncarnation,ClaimOwner,ClaimOwnership,ClaimRowID,ClaimStamp,Class,Code,Column,ConnGen,Connected,Contents,Copies,Count,CreatedAt,Cursor,DBPath,DNSCheckedAt,DNSStatus,Deadline,Default,DeleteUncertain,Demand,DemoExpiresAt,DemoHost,DemoID,DemoLifetime,Departure,DepartureIID,DepartureRef,Departures,Digest,DoneBefore,DrainingSince,Due,DueAt,Duty,EdgesETag,EgressAllow,EnrolledAt,Env,EnvBefore,Environment,Error,ErrorKind,ExcludeHosts,ExpectGood,ExpectOp,ExpectPair,Expected,ExpectedPair,F,Failed,FenceGen,Field,FillLegacyRegistration,Fleet,FleetBox,FleetBoxes,FleetLabel,Fleets,Found,From,FromDB,FromOp,FromSock,Gate,Generation,GoodDemand,GoodDigest,GoodVersion,HA,HAJournal,Hash,Health,Held,Hibernate,Hint,Hints,HoldOp,HolderEpoch,HolderIID,HolderRef,HomeAccount,HomeApp,HomeHost,HomeLink,HomeLinkApp,HomeLinkApps,Host,Hosts,ID,IID,Id,IdValue,Identity,Idle,IdleSeconds,Import,ImportGate,Inbox,Incarnation,InventoryGeneration,Journal,Keep,Key,KeyFP,Keys,Kind,Label,LabelledAt,LastAt,LastBlocked,LastError,LastMs,LastPage,LastStatus,Lifetime,Limit,Link,LinkID,LinkSeen,LockETag,LockGeneration,Managed,MaxRun,MaxRunSeconds,MessageID,Method,Moved,Ms,Name,Next,NextAt,NextAttempt,NextDue,NextGood,NextValue,NotBefore,Now,Number,Number64,Observation,Observed,ObservedValue,Offset,Old,Oldest,On,OnConflict,Op,Original,Owner,Ownership,P,Page,PagesOff,Pair,Path,Paths,PermissionAlerted,Phase,Platform,PolicyExpiresAt,Pool,Prefix,Prev,PrevVersion,ProofDigest,ProofKey,Provisioned,Pub,RDs,RateLimit,Raw,Receipt,ReceivedAt,RecordDigest,RecordKey,Ref,Region,Regional,Registration,Replica,ReplicaIncarnation,ReplicaLife,ReplicaRevision,Replicas,Replication,Rescan,Result,Retirement,RetryCount,Revision,Route,Routes,Row,Rows,Runtime,Scan,SecretsKeyFP,SecretsKeySetAt,SecretsKeySetBy,SecretsPub,Seed,SeedID,SeedSource,SeenAt,Seq,Sequence,ServingSeq,ServingURL,ServingVersion,Size,Slug,Socket,Spec,Sqid,StartedAt,State,Stateless,Status,StatusNamed,Steering,StringMap,Summary,T,TValue,Tags,Target,Targets,Text,Timer,Timers,Times,To,ToDB,ToOp,ToSock,Token,TokenHash,Tunnel,TunnelURL,Type,Unit,UnlinkPending,Unresolved,UpdateSettings,Ver,Version,ViewKey,Visited,W,Waiting,Wake,WakeDigest,WakeIncarnation,Walk,Wildcards,closed,conn,connect,ctx,d,dec,done,enc,full,input,output,path,readOnly,remote,slot,sql,wait |
| +@fields ?,A,Account,Accounts,AcquiredGeneration,AddedAt,Addr,Addrs,Adoption,Alias,Aliases,Alive,AllowAbsent,App,AppsDomain,Archives,Args,AssetGen,AssetsOff,Assigned,Assignment,At,Attempts,B,Backing,Basis,Binding,Blocked,Body,BoxLabel,Bucket,BuildState,By,Callback,CallbackError,CallbackFailed,Canary,Caps,CertExpiresAt,Changed,Channel,CheckedAt,Claim,ClaimIncarnation,ClaimOwner,ClaimOwnership,ClaimRowID,ClaimStamp,Class,Code,Column,ConnGen,Connected,Contents,Copies,Count,CreatedAt,Cursor,DBPath,DNSCheckedAt,DNSStatus,Deadline,Default,DeleteUncertain,Demand,DemoExpiresAt,DemoHost,DemoID,DemoLifetime,Departure,DepartureIID,DepartureRef,Departures,Digest,DoneBefore,DrainingSince,Due,DueAt,Duty,EdgesETag,EgressAllow,EnrolledAt,Env,EnvBefore,Environment,Error,ErrorKind,ExcludeHosts,ExpectGood,ExpectOp,ExpectPair,Expected,ExpectedPair,F,Failed,FenceGen,Field,FillLegacyRegistration,Fleet,FleetBox,FleetBoxes,FleetLabel,Fleets,Found,From,FromDB,FromOp,FromSock,Gate,Generation,GoodDemand,GoodDigest,GoodVersion,HA,HAJournal,Hash,Health,Held,Hibernate,Hint,Hints,HoldOp,HolderEpoch,HolderIID,HolderRef,HomeAccount,HomeApp,HomeHost,HomeLink,HomeLinkApp,HomeLinkApps,Host,Hosts,ID,IID,Id,IdValue,Identity,Idle,IdleSeconds,Import,ImportGate,Inbox,Incarnation,InventoryGeneration,Journal,Keep,Key,KeyFP,Keys,Kind,Label,LabelledAt,LastAt,LastBlocked,LastError,LastMs,LastPage,LastStatus,Lifetime,Limit,Link,LinkID,LinkSeen,LockETag,LockGeneration,Managed,MaxRun,MaxRunSeconds,MessageID,Method,Moved,Ms,Name,Next,NextAt,NextAttempt,NextDue,NextGood,NextValue,NotBefore,Now,Number,Number64,Observation,Observed,ObservedValue,Offset,Old,Oldest,On,OnConflict,Op,Original,Owner,Ownership,P,Page,PagesOff,Pair,Path,Paths,PermissionAlerted,Phase,Platform,PolicyExpiresAt,Pool,Prefix,Prev,PrevVersion,ProofDigest,ProofKey,Provisioned,Pub,RDs,RateLimit,Raw,Receipt,ReceivedAt,RecordDigest,RecordKey,Ref,Region,Regional,Registration,Replica,ReplicaIncarnation,ReplicaLife,ReplicaRevision,Replicas,Replication,Rescan,Result,Retirement,RetryCount,Revision,RotatePending,Route,Routes,Row,Rows,Runtime,Scan,SecretsKeyFP,SecretsKeySetAt,SecretsKeySetBy,SecretsPub,Seed,SeedID,SeedSource,SeenAt,Seq,Sequence,ServingSeq,ServingURL,ServingVersion,Size,Slug,Socket,Spec,Sqid,StartedAt,State,Stateless,Status,StatusNamed,Steering,StringMap,Summary,T,TValue,Tags,Target,Targets,Text,Timer,Timers,Times,To,ToDB,ToOp,ToSock,Token,TokenHash,Tunnel,TunnelURL,Type,Unit,UnlinkPending,Unresolved,UpdateSettings,Ver,Version,ViewKey,Visited,W,Waiting,Wake,WakeDigest,WakeIncarnation,Walk,Wildcards,closed,conn,connect,ctx,d,dec,done,enc,full,input,output,path,readOnly,remote,slot,sql,wait |