| index 2b9c62fe5..ecbb26dbe 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-account-subdomains.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-account-subdomains.tsv |
| @@ -1,32 +1,32 @@ |
| # Census overlay account-subdomains, written by census-propose (#369). census-ruling-account-subdomains, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-account-subdomains.md. |
| -# 2 body, 4 sites, 3 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| +# 1 body, 5 sites, 3 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| # 8 new dispositions: 1 reads re-frozen at their disposition with the claim, 6 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 1 other. |
| -@legacy c2cfff6c738fb2f53726a5f537873a72720c4413262be1a39d8b7cff3d79a939 internal/domains/aliases.go deriveInstanceAliases legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=root-route; the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): rev3=J1's body; a stale body under a retired lifetime no longer makes a label shared, and a label with a record that cannot be judged keeps its existing alias row of the catch-all's own account and app (reading that row's Account and App) only once the derived name has passed every precedence check a derived name answers to (validity, an exact claim, a local real route, a deployment route, the per-box cap), and derives no new one; a report-only conservative keep, never a new route;rev3=census-ruling-regional-domains-447;basis=#447 Task 2: an instance catch-all whose parent claim is regional is inert (logged once, continue), as one whose parent is not held is; it only narrows what derives; no read added;rev3=census-ruling-account-subdomains;basis=takes a *int budget shared with the namespace pass instead of a local counter; the same checks and cap (maxInstanceAliases, now a var so a test can lower it); same reads; body change only registry:Account@2487,registry:Account@3805,registry:Account@4604,registry:Alias@2549,registry:Alias@2617,registry:Alias@2661,registry:Alias@574,registry:App@1987,registry:App@2513,registry:App@3831,registry:App@4630,registry:Host@2144,registry:Host@4583,registry:Host@4593,registry:Host@4789,registry:Provisioned@1937,registry:Replica@1973,registry:Slug@2076,whole:Route@1921,whole:Route@2027,whole:Route@3347,whole:RouteAlias@2467,whole:RouteAlias@3787,whole:RouteAlias@4565,whole:RouteAlias@526,whole:RouteAlias@556,whole:RouteAlias@569,whole:RouteAlias@585 e0e3f4f651bc7fde2c37c0259d993ca02b36bac67adee10140227eaa30c41ab3 |
| @legacy 25840eb4a2ba81e4108851318ad48bc9d7bdccc6a824c7a8ca372306428913bb internal/host/agent.go aliasPassReportingComplete legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Extract the existing serialized alias pass, add cancellable locking and routing-only alias/regional publication from its completeness report; existing deployment/claim/registry reads retained, new in-memory Route/RegionalDomain passes.;rev3=census-ruling-fix-incomplete-domains-pass;basis=gains a startup bool parameter that it copies into domains.AliasReport.StartupNoRemoval; runHAIngressStartup passes true, aliasPassReporting (the ordinary agent pass) passes false; same reads and calls, body change only; no root pass calls it; no root decision;rev3=census-ruling-account-subdomains;basis=sets AliasReport.AppsDomain from PLATFORM_APPS_DOMAIN (trimmed), the variable domainsTickConfig reads; same reads and calls otherwise; body change only whole:RegionalDomain@1778,whole:Route@1856,whole:Route@957,whole:Route@979,whole:Route@998 8a439cd701910b91d9bf8c39e96a56141c20c063f590dc26f557eb5337884ad6 |
| -@legacy a0a1447e90876551a7b8eeb96a4f230a8bf126676b9a4aebe0cd67c772728741 internal/domains/namespacealiases.go deriveNamespaceAliases legacy accepted-legacy accepted-legacy;rev3=census-ruling-account-subdomains;basis=new: derives <prefix>.<name>.<apps> -> <prefix>.<sqid>.<apps> alias rows from the routes, alias rows and claim listing the pass already read (Provisioned or Platform, not sidecar or replica, of the name's account), writes them with UpsertAlias and SetAliasDNSStatus to the box's own registry, and HA names into the in-memory AliasIngress report; no file, path or bucket read registry:Account@1703,registry:Account@2933,registry:Alias@760,registry:App@1724,registry:App@1733,registry:App@1849,registry:DNSCheckedAt@1895,registry:DNSCheckedAt@2199,registry:DNSStatus@2165,registry:HA@2824,registry:Host@1238,registry:Host@1682,registry:Host@1692,registry:Host@1820,registry:Host@2806,registry:Host@2915,registry:Platform@1062,registry:Provisioned@1044,registry:Replica@1096,whole:Route@1028,whole:Route@1156,whole:Route@1637,whole:Route@2478,whole:Route@2560,whole:Route@2598,whole:Route@2780,whole:Route@2835,whole:Route@3173,whole:Route@3238,whole:Route@3312,whole:Route@3368,whole:Route@3392,whole:Route@919,whole:RouteAlias@1654,whole:RouteAlias@712,whole:RouteAlias@742,whole:RouteAlias@755,whole:RouteAlias@771 bb4ec44dd39e5c89503a2971791c79bef78f9d859e005e97c7f0ce5345af75a3 |
| +@legacy 6640a6d2ced4baaf78c77b55c524e0cdf0392c0d028319922700db419e9a5c57 internal/domains/namespacealiases.go deriveNamespaceAliases legacy accepted-legacy accepted-legacy;rev3=census-ruling-account-subdomains;basis=new: derives <prefix>.<name>.<apps> -> <prefix>.<sqid>.<apps> alias rows from the routes, alias rows and claim listing the pass already read (Provisioned or Platform, not sidecar or replica, of the name's account), writes them "pointing" (fix round 1) with UpsertAlias, and SetAliasDNSStatus("pointing") for an existing one that is not, to the box's own registry, and HA names into the in-memory AliasIngress report; no file, path or bucket read registry:Account@1666,registry:Account@2867,registry:Alias@760,registry:App@1687,registry:App@1696,registry:App@1812,registry:DNSStatus@2137,registry:HA@2758,registry:Host@1238,registry:Host@1645,registry:Host@1655,registry:Host@1783,registry:Host@2740,registry:Host@2849,registry:Platform@1062,registry:Provisioned@1044,registry:Replica@1096,whole:Route@1028,whole:Route@1156,whole:Route@2412,whole:Route@2494,whole:Route@2532,whole:Route@2714,whole:Route@2769,whole:Route@3107,whole:Route@3172,whole:Route@3246,whole:Route@3302,whole:Route@3326,whole:Route@919,whole:RouteAlias@1617,whole:RouteAlias@712,whole:RouteAlias@742,whole:RouteAlias@755,whole:RouteAlias@771 c100c0ab8340ac352b4ccce7c6db7c572d5d54d4ba8924214d1cc097a7e39f21 |
| @legacy bfff2db67ed66e28eac929243b4893d7d29c6753020540e504a1eba8d66e2f3d internal/domains/namespacealiases.go isNamespaceDerived legacy accepted-legacy accepted-legacy;rev3=census-ruling-account-subdomains;basis=new: pure predicate over one alias row and the held-name map; no read registry:Account@220,registry:Alias@133,registry:Host@241 c647beeb6870d420d9748a891d9889a264757b22f141f08925157e7ac0f2628d |
| @legacy e8451b20617a4257e7f9a03a40a1dd1ba4319cfcb42a8baeda9dc3b657f708f6 internal/domains/namespacealiases.go keepNamespaceAliases legacy accepted-legacy accepted-legacy;rev3=census-ruling-account-subdomains;basis=new: marks already-read alias rows of an unread namespace name as desired for this pass; no read, no write registry:Alias@372,registry:Alias@392,registry:Alias@421,registry:Alias@472,registry:Alias@762,whole:Route@465,whole:RouteAlias@285,whole:RouteAlias@321 57298aa31f68e53ee4637b28d912e0ec150f93d36f551044a6f8ae7c925c31ac |
| -@legacy 22d03c2950438f46f732ae4efdc14b1e3c1006267877e844a1f0c6202e9574c4 internal/domains/namespacealiases.go namespaceTwinStatus legacy accepted-legacy accepted-legacy;rev3=census-ruling-account-subdomains;basis=new: returns a route's dns_status or "pointing"; no read beyond the row it is handed registry:DNSStatus@59,registry:DNSStatus@91 d1c6dcaf957f4d831e85e9659271de89e90e6f0f0a79a049032f1c910ca11b75 |
| +@legacy 109dcfea428af7d943f0feb3512bd0873dd340a5d9568e79d321e741991b5f5a internal/domains/namespacealiases.go repairNamespaceStatus legacy accepted-legacy accepted-legacy;rev3=census-ruling-account-subdomains;basis=new (fix round 1): over claims and alias rows the pass already read, sets dns_status "pointing" (SetAliasDNSStatus, the box's own registry) on a derived-shape row an exact claim made or one kept for an unread namespace, when it is not already; no read, no new name registry:Alias@1084,registry:Alias@321,registry:Alias@949,registry:Alias@970,registry:DNSStatus@838,registry:DNSStatus@982,whole:RouteAlias@1039,whole:RouteAlias@273,whole:RouteAlias@303,whole:RouteAlias@316,whole:RouteAlias@332,whole:RouteAlias@818,whole:RouteAlias@926 7f46f8c0e56d50ea465f2f60f672ff55c5e4c501d57bcb5ff738312c93330438 |
| @legacy d3ef96a89c5bfefe22d04298c1b245cb6c52f764bab4f057d12f32479ee9990c internal/registry/registry.go Registry.ListAccountNamespaces legacy accepted-legacy accepted-legacy;rev3=census-ruling-account-subdomains;basis=new: SELECT name, account FROM account_namespaces on the box's own registry database (or the remote child's), as carlos file:Query@311,registry:StringMap@199,registry:StringMap@225,registry:StringMap@274,registry:remote@108,registry:remote@76,registry:sql@311,whole:remoteClient@110,whole:remoteClient@78 53daf0d3d3181b71297bbaa2bb6f15cc3ae37a97bc7016cea2946a6cb193c33a |
| @legacy efbd87025cac8bbe390ed1fb3fd107a981ecc5e5ab95b32ed79e84d0d78cd4f3 internal/registry/registry.go Registry.SetAccountNamespaces legacy accepted-legacy accepted-legacy;rev3=census-ruling-account-subdomains;basis=new: replaces account_namespaces in one transaction (DELETE then INSERTs) on the box's own registry database (or through the remote child); refuses an empty name or account before writing file:Exec@459,file:Exec@578,registry:remote@237,registry:remote@267,registry:sql@377,whole:remoteClient@239,whole:remoteClient@269 f9d6350014a1e7cd0f3776bb6a9355df0fefbf228c385198c878bf76ecc64a5d |
| -@legacy 85b866393537ad5f3e0b3fde656fa84111f09553b091a010983c3cc138f13fcf internal/domains/aliases.go ReconcileAliasesReport legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-edge-asset-cache-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), in its alias pass (aliasPassReporting in runAgent; ReconcileAliases, now a wrapper, is its other caller): main's ReconcileAliases body, moved here with the same reads and writes, plus a completeness report (AliasReport) set false at every point that already logged a failure and carried on, and when relevantDropped names a listed claim the pass could not rule out; the box's asset authority clock advances only after a complete pass; one more whole:Route and whole:RouteAlias site each, the routes and alias rows the pass already read handed to relevantDropped; no registry, file or bucket read added; no root pass calls it; no root decision;rev3=census-ruling-regional-domains-447;basis=#447 Task 4: in the alias pass inside the agent: reads the existing regional_domains rows (reg.ListRegional) beside the alias rows, derives a regional claim's rows through deriveRegional for AliasReport.Region (the caller's ReconcileConfig.Region, set by aliasPassReporting) and its wildcard parent when bound, skipping the alias, paths and catch-all halves for it, writes them through writeRegional, and keeps an unread regional claim's wildcard parent while the kept apex row still binds a target RegionalTarget accepts on the routes this pass read (same account and app, per-box cap); claims are read as before (the listing and per-claim GETs it already does); the added reads are the registry's regional rows and fields of rows the pass already holds;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 6 fix rounds 2-3: AliasReport.FleetRefused (edge.FleetArmVerdict's refused set) is called once on the pass's own listing; a Wildcard claim whose primary is fleet-refused derives no wildcard_domains row (an earlier one goes with the ordinary removal); the catch-all alias is derived as before (+registry:Host, +whole:Route). Rows already read; writes less, never more; no root pass calls it.;rev3=census-ruling-region-ha-g2-fixes;basis=Project accepted regional exact/catchall names and plain/delegated aliases into routing-only reports using existing claims and pre-pool metadata; new whole Route/RegionalDomain uses, no new external reader.;rev3=census-ruling-fix-incomplete-domains-pass;basis=adds AliasReport.StartupNoRemoval, an input set only by the agent startup HA ingress pass (host startupAliasPass via runHAIngressStartup): when set, the pass skips the route_aliases, wildcard_domains and route_paths removals (each skipped removal marks the pass incomplete) and the removal rules themselves are unchanged; derivations, refusals and writes are unchanged; same read sites (body change only); no new registry, file or bucket read; deletes less, never more, and only on the startup pass; no root pass calls it; no root decision;rev3=census-ruling-account-subdomains;basis=with AliasReport.AppsDomain set, reads the box's own account_namespaces table (reg.ListAccountNamespaces), sorts a listed-but-unread namespace claim (ParseNamespaceHost on the dropped host): a not-found body keeps nothing and is not counted by relevantDropped, any other failure keeps that name's recorded rows; runs deriveNamespaceAliases after deriveInstanceAliases on the routes, alias rows and claims it already read (AccountNamespaces over the read claims), keepNamespaceAliases for unread names, and writes the table through writeAccountNamespaces (once, only when it differs; no shrink under StartupNoRemoval); the added sites are the routes and alias rows already read handed to those helpers; no file or bucket read added registry:Account@21164,registry:Account@21179,registry:Account@21297,registry:Account@21649,registry:Account@21662,registry:Alias@19158,registry:Alias@19291,registry:Alias@19361,registry:App@15181,registry:App@15381,registry:App@15537,registry:App@15738,registry:App@21192,registry:App@21203,registry:App@21310,registry:App@21675,registry:App@21684,registry:App@5232,registry:App@5428,registry:App@9052,registry:App@9251,registry:Host@16104,registry:Host@20974,registry:Host@21049,registry:Host@21072,registry:Host@21124,registry:Host@21458,registry:Host@21530,registry:Host@21634,registry:Host@21945,registry:Host@22091,registry:Host@22163,registry:Host@22697,registry:Host@22810,registry:Host@22962,registry:Host@23043,registry:Host@834,registry:Prefix@22705,registry:Prefix@22824,registry:Prefix@22970,registry:Prefix@23051,registry:Region@21319,registry:Status@11915,registry:Target@21144,registry:Target@21249,whole:RegionalDomain@19938,whole:RegionalDomain@19956,whole:RegionalDomain@20902,whole:RegionalDomain@20940,whole:RegionalDomain@20961,whole:RegionalDomain@20984,whole:RegionalDomain@21111,whole:RegionalDomain@276,whole:RegionalDomain@3683,whole:RegionalDomain@3884,whole:Route@1045,whole:Route@11245,whole:Route@11697,whole:Route@11859,whole:Route@15150,whole:Route@15225,whole:Route@15372,whole:Route@15434,whole:Route@15577,whole:Route@15733,whole:Route@16986,whole:Route@18111,whole:Route@18119,whole:Route@18665,whole:Route@18673,whole:Route@18972,whole:Route@21242,whole:Route@21293,whole:Route@2251,whole:Route@337,whole:Route@3865,whole:Route@4284,whole:Route@4575,whole:Route@5272,whole:Route@5423,whole:Route@5479,whole:Route@787,whole:Route@816,whole:Route@827,whole:Route@8398,whole:Route@845,whole:Route@9096,whole:Route@9242,whole:RouteAlias@18127,whole:RouteAlias@18681,whole:RouteAlias@18954,whole:RouteAlias@19133,whole:RouteAlias@2259,whole:RoutePath@13442,whole:RoutePath@22590,whole:RoutePath@22632,whole:RoutePath@22767,whole:RoutePath@22797,whole:WildcardDomain@16300,whole:WildcardDomain@21008,whole:WildcardDomain@21037,whole:WildcardDomain@21518,whole:WildcardDomain@21540,whole:WildcardDomain@21564,whole:WildcardDomain@21613,whole:WildcardDomain@21776,whole:WildcardDomain@21904,whole:WildcardDomain@21933,whole:WildcardDomain@4098 fad4463c6717c5a068087aa8d5d67a97dcedfa699b553b754f39298911d9db06 |
| -@legacy 9a95aa6d853b34a08ae96a3e9c479277a949001776d26d47114f4658f3fba0e7 internal/domains/reconcile.go StampHealth legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-dns-fresh-lookup-724;basis=section 4 now computes every cached verdict first, then freshUpgrade gives up to 64 randomly ordered names that could have a public zone (not under the apps domain, not special-use like .internal) and whose verdict is "" or "elsewhere" an uncached lookup (30 s pass budget) that may only upgrade to "pointing", then stamps; the extra sites are the indexed loops over the same rows (#724);rev3=census-ruling-no-negative-prime-724;basis=section 4 now hands each route and alias, with its previous stamp (the two new registry:DNSStatus reads, rt.DNSStatus and a.DNSStatus, same rows already listed), to dnsVerdicts, which first hands the pass's hostnames to Config.FreshRetain (the resolver forgets its in-memory backoff and strike for names no longer carried) and then decides each hostname once per pass and applies the verdict to every row carrying it: a name not "pointing" before this pass and eligible for a fresh lookup (public name, not under the apps domain, ResolveFresh set) is looked at uncached first within the same 64-lookup/30 s budget (shared, with previously "pointing" names' upgrade looks serviced before any fresh-first name so new names cannot starve a published one) and stamped from it (edge address, A or AAAA, "pointing", other "elsewhere", authoritative not-found "", authoritative NODATA for A and AAAA with the zone's SOA "" with no cached query), falling back to the cached lookup past the budget or on the second fresh failure in a row; the first fresh failure in a row is held (stamp and check time untouched, the resolver forgives it so the next pass asks fresh again); a previously "pointing" name keeps cached-first plus the upgrade-only fresh look (ResolveUpgrade, nearest zones first), so the fresh path still never unpublishes; a fresh-first name that ends the pass "pointing" (fresh or cached) has its fresh failure backoff cleared through Config.FreshForget, so an onboarding failure never suppresses the upgrade look that keeps it published; new names are ordered never-checked first then oldest check, and lookups answered from the backoff do not count against the budget; StampHealth's own body is unchanged by the last round; no new file, path or command input; the dropped Alias/Host/Route/RouteAlias sites are the old indexed loops folded into the candidate build (#724);rev3=census-ruling-account-subdomains;basis=reads the box's own account_namespaces table (only when DNS stamping runs) and leaves out of the DNS loop the alias rows isNamespaceDerived names (an alias under a held name, of that name's account, pointing at its sqid twin); the added RouteAlias sites are that filter over rows already listed; stamps less, never more; TLS stamping unchanged registry:Alias@3986,registry:Alias@4575,registry:Alias@4665,registry:Alias@5099,registry:Alias@5163,registry:Alias@5251,registry:DNSCheckedAt@3861,registry:DNSCheckedAt@4008,registry:DNSStatus@3847,registry:DNSStatus@3995,registry:DNSStatus@4200,registry:DNSStatus@4499,registry:Host@3838,registry:Host@4272,registry:Host@4356,registry:Host@4868,registry:Host@4927,registry:Host@5009,whole:Route@199,whole:Route@236,whole:Route@3662,whole:Route@3778,whole:Route@4107,whole:Route@4822,whole:RouteAlias@1404,whole:RouteAlias@1570,whole:RouteAlias@1606,whole:RouteAlias@1637,whole:RouteAlias@1657,whole:RouteAlias@1669,whole:RouteAlias@3708,whole:RouteAlias@3922,whole:RouteAlias@4402,whole:RouteAlias@5052,whole:RouteAlias@780 c7378e603993650aa12ef694d3ebbee430797e12ae2e2ce7a3b8e8f031d508c0 |
| +@legacy fa4d20ed731a2072f5bb27f99b3c6adcf5dec293d55d98f4ed2e5660f5f12293 internal/domains/aliases.go ReconcileAliasesReport legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-edge-asset-cache-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), in its alias pass (aliasPassReporting in runAgent; ReconcileAliases, now a wrapper, is its other caller): main's ReconcileAliases body, moved here with the same reads and writes, plus a completeness report (AliasReport) set false at every point that already logged a failure and carried on, and when relevantDropped names a listed claim the pass could not rule out; the box's asset authority clock advances only after a complete pass; one more whole:Route and whole:RouteAlias site each, the routes and alias rows the pass already read handed to relevantDropped; no registry, file or bucket read added; no root pass calls it; no root decision;rev3=census-ruling-regional-domains-447;basis=#447 Task 4: in the alias pass inside the agent: reads the existing regional_domains rows (reg.ListRegional) beside the alias rows, derives a regional claim's rows through deriveRegional for AliasReport.Region (the caller's ReconcileConfig.Region, set by aliasPassReporting) and its wildcard parent when bound, skipping the alias, paths and catch-all halves for it, writes them through writeRegional, and keeps an unread regional claim's wildcard parent while the kept apex row still binds a target RegionalTarget accepts on the routes this pass read (same account and app, per-box cap); claims are read as before (the listing and per-claim GETs it already does); the added reads are the registry's regional rows and fields of rows the pass already holds;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 6 fix rounds 2-3: AliasReport.FleetRefused (edge.FleetArmVerdict's refused set) is called once on the pass's own listing; a Wildcard claim whose primary is fleet-refused derives no wildcard_domains row (an earlier one goes with the ordinary removal); the catch-all alias is derived as before (+registry:Host, +whole:Route). Rows already read; writes less, never more; no root pass calls it.;rev3=census-ruling-region-ha-g2-fixes;basis=Project accepted regional exact/catchall names and plain/delegated aliases into routing-only reports using existing claims and pre-pool metadata; new whole Route/RegionalDomain uses, no new external reader.;rev3=census-ruling-fix-incomplete-domains-pass;basis=adds AliasReport.StartupNoRemoval, an input set only by the agent startup HA ingress pass (host startupAliasPass via runHAIngressStartup): when set, the pass skips the route_aliases, wildcard_domains and route_paths removals (each skipped removal marks the pass incomplete) and the removal rules themselves are unchanged; derivations, refusals and writes are unchanged; same read sites (body change only); no new registry, file or bucket read; deletes less, never more, and only on the startup pass; no root pass calls it; no root decision;rev3=census-ruling-account-subdomains;basis=with AliasReport.AppsDomain set, reads the box's own account_namespaces table (reg.ListAccountNamespaces), sorts a listed-but-unread namespace claim (ParseNamespaceHost on the dropped host): a not-found body keeps nothing and is not counted by relevantDropped, any other failure keeps that name's recorded rows; runs deriveNamespaceAliases after deriveInstanceAliases on the routes, alias rows and claims it already read (AccountNamespaces over the read claims), keepNamespaceAliases for unread names, and writes the table through writeAccountNamespaces (once, only when it differs; no shrink under StartupNoRemoval); the added sites are the routes and alias rows already read handed to those helpers; no file or bucket read added; fix round 1: keepNamespaceAliases runs before deriveNamespaceAliases, and repairNamespaceStatus stamps "pointing" on derived-shape rows of exact claims and kept names, over claims and rows already read registry:Account@21423,registry:Account@21438,registry:Account@21556,registry:Account@21908,registry:Account@21921,registry:Alias@19417,registry:Alias@19550,registry:Alias@19620,registry:App@15181,registry:App@15381,registry:App@15537,registry:App@15738,registry:App@21451,registry:App@21462,registry:App@21569,registry:App@21934,registry:App@21943,registry:App@5232,registry:App@5428,registry:App@9052,registry:App@9251,registry:Host@16104,registry:Host@21233,registry:Host@21308,registry:Host@21331,registry:Host@21383,registry:Host@21717,registry:Host@21789,registry:Host@21893,registry:Host@22204,registry:Host@22350,registry:Host@22422,registry:Host@22956,registry:Host@23069,registry:Host@23221,registry:Host@23302,registry:Host@834,registry:Prefix@22964,registry:Prefix@23083,registry:Prefix@23229,registry:Prefix@23310,registry:Region@21578,registry:Status@11915,registry:Target@21403,registry:Target@21508,whole:RegionalDomain@20197,whole:RegionalDomain@20215,whole:RegionalDomain@21161,whole:RegionalDomain@21199,whole:RegionalDomain@21220,whole:RegionalDomain@21243,whole:RegionalDomain@21370,whole:RegionalDomain@276,whole:RegionalDomain@3683,whole:RegionalDomain@3884,whole:Route@1045,whole:Route@11245,whole:Route@11697,whole:Route@11859,whole:Route@15150,whole:Route@15225,whole:Route@15372,whole:Route@15434,whole:Route@15577,whole:Route@15733,whole:Route@16986,whole:Route@18111,whole:Route@18119,whole:Route@18950,whole:Route@19040,whole:Route@19048,whole:Route@21501,whole:Route@21552,whole:Route@2251,whole:Route@337,whole:Route@3865,whole:Route@4284,whole:Route@4575,whole:Route@5272,whole:Route@5423,whole:Route@5479,whole:Route@787,whole:Route@816,whole:Route@827,whole:Route@8398,whole:Route@845,whole:Route@9096,whole:Route@9242,whole:RouteAlias@18127,whole:RouteAlias@18932,whole:RouteAlias@19056,whole:RouteAlias@19211,whole:RouteAlias@19392,whole:RouteAlias@2259,whole:RoutePath@13442,whole:RoutePath@22849,whole:RoutePath@22891,whole:RoutePath@23026,whole:RoutePath@23056,whole:WildcardDomain@16300,whole:WildcardDomain@21267,whole:WildcardDomain@21296,whole:WildcardDomain@21777,whole:WildcardDomain@21799,whole:WildcardDomain@21823,whole:WildcardDomain@21872,whole:WildcardDomain@22035,whole:WildcardDomain@22163,whole:WildcardDomain@22192,whole:WildcardDomain@4098 6760800ba4e5fbce8b12dadfb15d1efcee759f133834a90abdb994e0787513b3 |
| +@legacy 061cc4b3c620f627b91290216e4300f981cdc2ca2e8e009911c1eca11c78df97 internal/domains/aliases.go deriveInstanceAliases legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=root-route; the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): rev3=J1's body; a stale body under a retired lifetime no longer makes a label shared, and a label with a record that cannot be judged keeps its existing alias row of the catch-all's own account and app (reading that row's Account and App) only once the derived name has passed every precedence check a derived name answers to (validity, an exact claim, a local real route, a deployment route, the per-box cap), and derives no new one; a report-only conservative keep, never a new route;rev3=census-ruling-regional-domains-447;basis=#447 Task 2: an instance catch-all whose parent claim is regional is inert (logged once, continue), as one whose parent is not held is; it only narrows what derives; no read added;rev3=census-ruling-account-subdomains;basis=takes a *int budget shared with the namespace pass instead of a local counter; the same checks and cap (maxInstanceAliases, now a var so a test can lower it); names kept on a failed instance listing now take the budget too, each once (fix round 1, Astra I-2), so the cap holds on that branch; same reads; body change only; derives and keeps less, never more registry:Account@2665,registry:Account@4257,registry:Account@5056,registry:Alias@2727,registry:Alias@2795,registry:Alias@2834,registry:Alias@3113,registry:Alias@574,registry:App@1987,registry:App@2691,registry:App@4283,registry:App@5082,registry:Host@2144,registry:Host@5035,registry:Host@5045,registry:Host@5241,registry:Provisioned@1937,registry:Replica@1973,registry:Slug@2076,whole:Route@1921,whole:Route@2027,whole:Route@3799,whole:RouteAlias@2645,whole:RouteAlias@4239,whole:RouteAlias@5017,whole:RouteAlias@526,whole:RouteAlias@556,whole:RouteAlias@569,whole:RouteAlias@585 e28e5dd2671298b348ac63705f239659f5a8e48a39ef51d8e007349de2443fb6 |
| +@legacy 6487c32cb53e58f13d5304afbf1d1bfde28819c3d266fe32dd5600cade696388 internal/domains/reconcile.go StampHealth legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-dns-fresh-lookup-724;basis=section 4 now computes every cached verdict first, then freshUpgrade gives up to 64 randomly ordered names that could have a public zone (not under the apps domain, not special-use like .internal) and whose verdict is "" or "elsewhere" an uncached lookup (30 s pass budget) that may only upgrade to "pointing", then stamps; the extra sites are the indexed loops over the same rows (#724);rev3=census-ruling-no-negative-prime-724;basis=section 4 now hands each route and alias, with its previous stamp (the two new registry:DNSStatus reads, rt.DNSStatus and a.DNSStatus, same rows already listed), to dnsVerdicts, which first hands the pass's hostnames to Config.FreshRetain (the resolver forgets its in-memory backoff and strike for names no longer carried) and then decides each hostname once per pass and applies the verdict to every row carrying it: a name not "pointing" before this pass and eligible for a fresh lookup (public name, not under the apps domain, ResolveFresh set) is looked at uncached first within the same 64-lookup/30 s budget (shared, with previously "pointing" names' upgrade looks serviced before any fresh-first name so new names cannot starve a published one) and stamped from it (edge address, A or AAAA, "pointing", other "elsewhere", authoritative not-found "", authoritative NODATA for A and AAAA with the zone's SOA "" with no cached query), falling back to the cached lookup past the budget or on the second fresh failure in a row; the first fresh failure in a row is held (stamp and check time untouched, the resolver forgives it so the next pass asks fresh again); a previously "pointing" name keeps cached-first plus the upgrade-only fresh look (ResolveUpgrade, nearest zones first), so the fresh path still never unpublishes; a fresh-first name that ends the pass "pointing" (fresh or cached) has its fresh failure backoff cleared through Config.FreshForget, so an onboarding failure never suppresses the upgrade look that keeps it published; new names are ordered never-checked first then oldest check, and lookups answered from the backoff do not count against the budget; StampHealth's own body is unchanged by the last round; no new file, path or command input; the dropped Alias/Host/Route/RouteAlias sites are the old indexed loops folded into the candidate build (#724);rev3=census-ruling-account-subdomains;basis=reads the box's own account_namespaces table (only when DNS stamping runs) and leaves out of the DNS loop the alias rows isNamespaceDerived names (an alias under a held name, of that name's account, pointing at its sqid twin); if that read fails it logs and leaves out every alias two or more labels under the apps domain, still stamping every other alias, every route and all TLS expiry (fix round 1); the added RouteAlias sites are that filter over rows already listed; stamps less, never more; TLS stamping unchanged registry:Alias@1972,registry:Alias@4450,registry:Alias@5039,registry:Alias@5129,registry:Alias@5563,registry:Alias@5627,registry:Alias@5715,registry:DNSCheckedAt@4325,registry:DNSCheckedAt@4472,registry:DNSStatus@4311,registry:DNSStatus@4459,registry:DNSStatus@4664,registry:DNSStatus@4963,registry:Host@4302,registry:Host@4736,registry:Host@4820,registry:Host@5332,registry:Host@5391,registry:Host@5473,whole:Route@199,whole:Route@236,whole:Route@4126,whole:Route@4242,whole:Route@4571,whole:Route@5286,whole:RouteAlias@1680,whole:RouteAlias@1906,whole:RouteAlias@2058,whole:RouteAlias@2106,whole:RouteAlias@2126,whole:RouteAlias@2138,whole:RouteAlias@4172,whole:RouteAlias@4386,whole:RouteAlias@4866,whole:RouteAlias@5516,whole:RouteAlias@780 5288387d1eac4611bc4b1acc30569011009192e7210127001c27174e1e1cfa43 |
| @legacy d5b19e5fea9c3ef9f7b7c68012a8529fcab3fe0a670e1e4a64d90366ab25bf10 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;rev3=census-ruling-account-subdomains;basis=hashes account_namespaces (name, account) over the same fresh connection, with a section marker written only when a row exists, so a registry with no held names 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 file:Exec@284,file:Open@188,file:Query@10785,file:Query@11707,file:Query@12810,file:Query@368,file:Query@6655,file:Query@7134,file:Query@8120,file:Query@8816,file:Query@9728,file:QueryRow@13727,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 a52e0bc25d555bbf22f35655c54c0fa3aca6cedec5f0b6b80157d9d95f921a29 |
| @legacy 5d46724aa4ebbec5cc075b3d28c1efd3fdd89e73abcb73ceaabc6bc2c68c36e5 internal/registry/registry.go Registry.migrate 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), on every registry open; a box CLI verb that opens the registry directly runs it as whoever runs the verb: census-ruling-seeded-instances's body with two more columns added to routes (incarnation and serving_seq, INTEGER NOT NULL DEFAULT 0, idempotent through the duplicate-column rule); self-serve moves 1 Task 7;rev3=census-ruling-rootfs-apps-2;basis=one more ALTER TABLE, routes ADD COLUMN runtime TEXT NOT NULL DEFAULT '', beside main's rate_limit, assets_off, asset_gen, incarnation and serving_seq (the last four from the merges of origin/main 3c33f2eb and 953b9fda); the same sixteen sites, no read added;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328/#329 plan 1 Task 4: three more ALTER TABLE statements in the existing loop, routes ADD COLUMN egress_allow, size and policy_expires_at, each TEXT NOT NULL DEFAULT '' and idempotent through the duplicate-column rule; the same sixteen sites, no read added.;rev3=census-ruling-region-ha-p1a;basis=one more ALTER TABLE in the existing loop: routes ADD COLUMN ha INTEGER NOT NULL DEFAULT 0, idempotent through the duplicate-column rule; the same sixteen sites, no read added;rev3=census-ruling-ha-p1a-433;basis=the registry's SQLite side as carlos (agent, registry child; a box CLI verb that opens the registry directly runs it as whoever runs it), on every registry open: the ALTER TABLE routes statements are now built from the one migration definition routeAddedColumns (addedColumn name, type, default; review r1 P2): for each entry without the Claim mark, "ALTER TABLE routes ADD COLUMN " + spec(), byte for byte the statements main runs, in main's order, under the same duplicate-column rule. +registry:Claim is that mark, +whole:addedColumn the struct. Every name, type and default is an in-binary literal; no statement added, removed or changed; no read added.;rev3=census-ruling-regional-domains-447;basis=#447 Task 4: one more CREATE TABLE IF NOT EXISTS regional_domains (host TEXT PRIMARY KEY, target, account, app, region TEXT NOT NULL DEFAULT '', created_at INTEGER NOT NULL DEFAULT 0), beside wildcard_domains; the added sites are that statement (+file:Exec, +registry:sql), an in-binary literal; additive, no existing statement changed;rev3=census-ruling-region-ha-p1b3b-t;basis=Create local HA duty/replay tables and revision triggers in the existing registry connection; no new database path.;rev3=census-ruling-agent-start-demo-3;basis=Create moved-notice storage as a single (id, wire) row; fingerprints include the stored wire bytes. Census read-site delta: +file:Exec, +registry:sql.;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 1: calls migrateLinks after migrateHADuties (one CREATE TABLE IF NOT EXISTS link_channels, an in-binary literal); additive, no existing statement changed; linked deployments slice 1 Task 7: also runs migrateHomeLink (CREATE TABLE IF NOT EXISTS home_link and home_link_apps) after migrateLinks; additive, the box's own registry database, as carlos;rev3=census-ruling-account-subdomains;basis=one more CREATE TABLE IF NOT EXISTS account_namespaces (name TEXT PRIMARY KEY, account TEXT NOT NULL), an in-binary literal (+file:Exec, +registry:sql); additive, no existing statement changed file:Exec@1124,file:Exec@1855,file:Exec@212,file:Exec@2409,file:Exec@3057,file:Exec@3822,file:Exec@4101,file:Exec@4964,file:Exec@51,file:Exec@5140,file:Exec@761,registry:Claim@686,registry:sql@1124,registry:sql@1855,registry:sql@212,registry:sql@2409,registry:sql@3057,registry:sql@3822,registry:sql@4101,registry:sql@4964,registry:sql@51,registry:sql@5140,registry:sql@761,whole:addedColumn@661 0c5fdaf1215e8f81c156a1fc1576cb075c2a52238bde75fc8320d49472fd117d |
| -internal/domains/aliases.go deriveInstanceAliases legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=root-route; the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): rev3=J1's body; a stale body under a retired lifetime no longer makes a label shared, and a label with a record that cannot be judged keeps its existing alias row of the catch-all's own account and app (reading that row's Account and App) only once the derived name has passed every precedence check a derived name answers to (validity, an exact claim, a local real route, a deployment route, the per-box cap), and derives no new one; a report-only conservative keep, never a new route;rev3=census-ruling-regional-domains-447;basis=#447 Task 2: an instance catch-all whose parent claim is regional is inert (logged once, continue), as one whose parent is not held is; it only narrows what derives; no read added;rev3=census-ruling-account-subdomains;basis=takes a *int budget shared with the namespace pass instead of a local counter; the same checks and cap (maxInstanceAliases, now a var so a test can lower it); same reads; body change only registry:Account@2487,registry:Account@3805,registry:Account@4604,registry:Alias@2549,registry:Alias@2617,registry:Alias@2661,registry:Alias@574,registry:App@1987,registry:App@2513,registry:App@3831,registry:App@4630,registry:Host@2144,registry:Host@4583,registry:Host@4593,registry:Host@4789,registry:Provisioned@1937,registry:Replica@1973,registry:Slug@2076,whole:Route@1921,whole:Route@2027,whole:Route@3347,whole:RouteAlias@2467,whole:RouteAlias@3787,whole:RouteAlias@4565,whole:RouteAlias@526,whole:RouteAlias@556,whole:RouteAlias@569,whole:RouteAlias@585 e0e3f4f651bc7fde2c37c0259d993ca02b36bac67adee10140227eaa30c41ab3 |
| internal/host/agent.go aliasPassReportingComplete legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-g2-fixes;basis=Extract the existing serialized alias pass, add cancellable locking and routing-only alias/regional publication from its completeness report; existing deployment/claim/registry reads retained, new in-memory Route/RegionalDomain passes.;rev3=census-ruling-fix-incomplete-domains-pass;basis=gains a startup bool parameter that it copies into domains.AliasReport.StartupNoRemoval; runHAIngressStartup passes true, aliasPassReporting (the ordinary agent pass) passes false; same reads and calls, body change only; no root pass calls it; no root decision;rev3=census-ruling-account-subdomains;basis=sets AliasReport.AppsDomain from PLATFORM_APPS_DOMAIN (trimmed), the variable domainsTickConfig reads; same reads and calls otherwise; body change only whole:RegionalDomain@1778,whole:Route@1856,whole:Route@957,whole:Route@979,whole:Route@998 8a439cd701910b91d9bf8c39e96a56141c20c063f590dc26f557eb5337884ad6 |
| -internal/domains/namespacealiases.go deriveNamespaceAliases legacy accepted-legacy accepted-legacy;rev3=census-ruling-account-subdomains;basis=new: derives <prefix>.<name>.<apps> -> <prefix>.<sqid>.<apps> alias rows from the routes, alias rows and claim listing the pass already read (Provisioned or Platform, not sidecar or replica, of the name's account), writes them with UpsertAlias and SetAliasDNSStatus to the box's own registry, and HA names into the in-memory AliasIngress report; no file, path or bucket read registry:Account@1703,registry:Account@2933,registry:Alias@760,registry:App@1724,registry:App@1733,registry:App@1849,registry:DNSCheckedAt@1895,registry:DNSCheckedAt@2199,registry:DNSStatus@2165,registry:HA@2824,registry:Host@1238,registry:Host@1682,registry:Host@1692,registry:Host@1820,registry:Host@2806,registry:Host@2915,registry:Platform@1062,registry:Provisioned@1044,registry:Replica@1096,whole:Route@1028,whole:Route@1156,whole:Route@1637,whole:Route@2478,whole:Route@2560,whole:Route@2598,whole:Route@2780,whole:Route@2835,whole:Route@3173,whole:Route@3238,whole:Route@3312,whole:Route@3368,whole:Route@3392,whole:Route@919,whole:RouteAlias@1654,whole:RouteAlias@712,whole:RouteAlias@742,whole:RouteAlias@755,whole:RouteAlias@771 bb4ec44dd39e5c89503a2971791c79bef78f9d859e005e97c7f0ce5345af75a3 |
| +internal/domains/namespacealiases.go deriveNamespaceAliases legacy accepted-legacy accepted-legacy;rev3=census-ruling-account-subdomains;basis=new: derives <prefix>.<name>.<apps> -> <prefix>.<sqid>.<apps> alias rows from the routes, alias rows and claim listing the pass already read (Provisioned or Platform, not sidecar or replica, of the name's account), writes them "pointing" (fix round 1) with UpsertAlias, and SetAliasDNSStatus("pointing") for an existing one that is not, to the box's own registry, and HA names into the in-memory AliasIngress report; no file, path or bucket read registry:Account@1666,registry:Account@2867,registry:Alias@760,registry:App@1687,registry:App@1696,registry:App@1812,registry:DNSStatus@2137,registry:HA@2758,registry:Host@1238,registry:Host@1645,registry:Host@1655,registry:Host@1783,registry:Host@2740,registry:Host@2849,registry:Platform@1062,registry:Provisioned@1044,registry:Replica@1096,whole:Route@1028,whole:Route@1156,whole:Route@2412,whole:Route@2494,whole:Route@2532,whole:Route@2714,whole:Route@2769,whole:Route@3107,whole:Route@3172,whole:Route@3246,whole:Route@3302,whole:Route@3326,whole:Route@919,whole:RouteAlias@1617,whole:RouteAlias@712,whole:RouteAlias@742,whole:RouteAlias@755,whole:RouteAlias@771 c100c0ab8340ac352b4ccce7c6db7c572d5d54d4ba8924214d1cc097a7e39f21 |
| internal/domains/namespacealiases.go isNamespaceDerived legacy accepted-legacy accepted-legacy;rev3=census-ruling-account-subdomains;basis=new: pure predicate over one alias row and the held-name map; no read registry:Account@220,registry:Alias@133,registry:Host@241 c647beeb6870d420d9748a891d9889a264757b22f141f08925157e7ac0f2628d |
| internal/domains/namespacealiases.go keepNamespaceAliases legacy accepted-legacy accepted-legacy;rev3=census-ruling-account-subdomains;basis=new: marks already-read alias rows of an unread namespace name as desired for this pass; no read, no write registry:Alias@372,registry:Alias@392,registry:Alias@421,registry:Alias@472,registry:Alias@762,whole:Route@465,whole:RouteAlias@285,whole:RouteAlias@321 57298aa31f68e53ee4637b28d912e0ec150f93d36f551044a6f8ae7c925c31ac |
| -internal/domains/namespacealiases.go namespaceTwinStatus legacy accepted-legacy accepted-legacy;rev3=census-ruling-account-subdomains;basis=new: returns a route's dns_status or "pointing"; no read beyond the row it is handed registry:DNSStatus@59,registry:DNSStatus@91 d1c6dcaf957f4d831e85e9659271de89e90e6f0f0a79a049032f1c910ca11b75 |
| +internal/domains/namespacealiases.go repairNamespaceStatus legacy accepted-legacy accepted-legacy;rev3=census-ruling-account-subdomains;basis=new (fix round 1): over claims and alias rows the pass already read, sets dns_status "pointing" (SetAliasDNSStatus, the box's own registry) on a derived-shape row an exact claim made or one kept for an unread namespace, when it is not already; no read, no new name registry:Alias@1084,registry:Alias@321,registry:Alias@949,registry:Alias@970,registry:DNSStatus@838,registry:DNSStatus@982,whole:RouteAlias@1039,whole:RouteAlias@273,whole:RouteAlias@303,whole:RouteAlias@316,whole:RouteAlias@332,whole:RouteAlias@818,whole:RouteAlias@926 7f46f8c0e56d50ea465f2f60f672ff55c5e4c501d57bcb5ff738312c93330438 |
| internal/registry/registry.go Registry.ListAccountNamespaces legacy accepted-legacy accepted-legacy;rev3=census-ruling-account-subdomains;basis=new: SELECT name, account FROM account_namespaces on the box's own registry database (or the remote child's), as carlos file:Query@311,registry:StringMap@199,registry:StringMap@225,registry:StringMap@274,registry:remote@108,registry:remote@76,registry:sql@311,whole:remoteClient@110,whole:remoteClient@78 53daf0d3d3181b71297bbaa2bb6f15cc3ae37a97bc7016cea2946a6cb193c33a |
| internal/registry/registry.go Registry.SetAccountNamespaces legacy accepted-legacy accepted-legacy;rev3=census-ruling-account-subdomains;basis=new: replaces account_namespaces in one transaction (DELETE then INSERTs) on the box's own registry database (or through the remote child); refuses an empty name or account before writing file:Exec@459,file:Exec@578,registry:remote@237,registry:remote@267,registry:sql@377,whole:remoteClient@239,whole:remoteClient@269 f9d6350014a1e7cd0f3776bb6a9355df0fefbf228c385198c878bf76ecc64a5d |
| 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; rotation fix (Astra final re-review, C): SetHomeLinkRotatePending's case removed; two cases added, RotateHomeLinkKey (passing the request's HomeLink ID, Token and RotatePending) and ClearHomeLinkRotatePending (passing LinkID and Seq, answering Changed), each to the registry method of that name, which validates its own input; no read added;rev3=census-ruling-account-subdomains;basis=two more cases: ListAccountNamespaces (answers in StringMap) and SetAccountNamespaces (request field Names), each calling the registry method of the same name on the child's own database; no other case changed registry:A@10963,registry:Account@2988,registry:Account@3087,registry:Account@7179,registry:Accounts@5841,registry:Addr@7756,registry:Addrs@7764,registry:Adoption@1013,registry:Adoption@818,registry:Alias@11011,registry:Alias@11075,registry:Alias@11163,registry:Aliases@10885,registry:Alive@12988,registry:Args@10587,registry:AssetGen@7963,registry:AssetsOff@7950,registry:Assigned@8441,registry:Assignment@9857,registry:Assignment@9955,registry:At@11094,registry:At@11172,registry:At@12736,registry:At@3322,registry:At@3390,registry:At@3782,registry:At@3879,registry:At@3964,registry:At@9335,registry:Attempts@12758,registry:B@3385,registry:B@3439,registry:Backing@7575,registry:Bucket@3100,registry:BuildState@8200,registry:By@3316,registry:Changed@12668,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@5259,registry:Changed@5572,registry:Changed@564,registry:Changed@6264,registry:Changed@6351,registry:Changed@6440,registry:Changed@6511,registry:Changed@6615,registry:Changed@6702,registry:Changed@6795,registry:Changed@6877,registry:Changed@832,registry:Changed@8788,registry:Changed@8925,registry:Changed@929,registry:Changed@9522,registry:Changed@9710,registry:Channel@7239,registry:Channel@8631,registry:Channel@9180,registry:CheckedAt@9261,registry:Class@7694,registry:DoneBefore@12997,registry:Due@10288,registry:Due@10352,registry:Due@12780,registry:Duty@312,registry:Duty@390,registry:Duty@634,registry:EgressAllow@8103,registry:Env@8699,registry:Env@9091,registry:Env@9191,registry:ExcludeHosts@12463,registry:ExcludeHosts@12558,registry:ExpectGood@9460,registry:ExpectOp@6319,registry:ExpectOp@6569,registry:ExpectPair@6749,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@8831,registry:FleetBoxes@3996,registry:Fleets@3202,registry:From@7350,registry:From@7411,registry:FromDB@7486,registry:FromOp@6407,registry:FromSock@7496,registry:HAJournal@183,registry:HAJournal@221,registry:Hash@8505,registry:Health@7773,registry:HomeLink@4751,registry:HomeLink@4827,registry:HomeLink@5162,registry:HomeLink@5177,registry:HomeLink@5195,registry:HomeLinkApp@5418,registry:HomeLinkApp@5528,registry:HomeLinkApps@5348,registry:Host@10089,registry:Host@10165,registry:Host@10225,registry:Host@10280,registry:Host@10344,registry:Host@10528,registry:Host@10579,registry:Host@10646,registry:Host@10721,registry:Host@10784,registry:Host@1136,registry:Host@11381,registry:Host@11507,registry:Host@11811,registry:Host@12099,registry:Host@12163,registry:Host@12222,registry:Host@12305,registry:Host@12388,registry:Host@12619,registry:Host@12704,registry:Host@12836,registry:Host@12917,registry:Host@13080,registry:Host@1888,registry:Host@1999,registry:Host@286,registry:Host@350,registry:Host@422,registry:Host@4713,registry:Host@501,registry:Host@602,registry:Host@6025,registry:Host@6066,registry:Host@6219,registry:Host@6295,registry:Host@6381,registry:Host@6473,registry:Host@6545,registry:Host@6651,registry:Host@6741,registry:Host@6829,registry:Host@6921,registry:Host@694,registry:Host@7171,registry:Host@7231,registry:Host@7289,registry:Host@7342,registry:Host@7403,registry:Host@7478,registry:Host@7567,registry:Host@7621,registry:Host@7686,registry:Host@772,registry:Host@7748,registry:Host@7826,registry:Host@7883,registry:Host@7942,registry:Host@8030,registry:Host@8095,registry:Host@8192,registry:Host@8257,registry:Host@8318,registry:Host@8368,registry:Host@8433,registry:Host@8497,registry:Host@8558,registry:Host@869,registry:Host@8691,registry:Host@8745,registry:Host@8823,registry:Host@8960,registry:Host@9013,registry:Host@9243,registry:Host@9327,registry:Host@9384,registry:Host@9452,registry:Host@9667,registry:Host@973,registry:Host@9932,registry:Hosts@1051,registry:Hosts@5904,registry:Hosts@8622,registry:Hosts@9082,registry:Hosts@9171,registry:ID@5162,registry:Id@2108,registry:Id@2419,registry:Id@2518,registry:Id@2598,registry:Id@2749,registry:IdValue@5660,registry:Idle@10654,registry:Import@734,registry:Journal@1306,registry:Journal@2126,registry:Journal@2425,registry:Journal@2604,registry:Keep@13096,registry:KeyFP@3307,registry:Kind@12925,registry:Kind@13088,registry:Label@3506,registry:Label@3588,registry:Label@3669,registry:Label@3773,registry:Label@3870,registry:Label@3955,registry:Label@4950,registry:Label@8840,registry:Lifetime@358,registry:Lifetime@430,registry:Lifetime@517,registry:Lifetime@610,registry:Lifetime@877,registry:Limit@12454,registry:Limit@12549,registry:Link@4188,registry:LinkID@4264,registry:LinkID@4443,registry:LinkID@4635,registry:LinkID@4721,registry:LinkID@5091,registry:LinkID@5307,registry:LinkID@5461,registry:LinkSeen@4545,registry:MaxRun@10662,registry:Method@151,registry:Moved@8453,registry:Ms@12752,registry:Name@12171,registry:Name@12230,registry:Name@12313,registry:Name@12627,registry:Name@12712,registry:Name@12844,registry:Name@1896,registry:Name@2007,registry:Name@2978,registry:Name@3077,registry:Name@3172,registry:Name@3292,registry:Name@5471,registry:Name@5611,registry:Name@5679,registry:Names@11663,registry:Next@1165,registry:NextAt@12770,registry:NextGood@9474,registry:NextValue@2678,registry:NextValue@2776,registry:Now@10855,registry:Now@12447,registry:Now@12542,registry:Now@12635,registry:Now@2031,registry:Number64@3819,registry:Number64@5767,registry:Number@12885,registry:Number@12956,registry:Number@13041,registry:Observed@10022,registry:Observed@1229,registry:Observed@9568,registry:Observed@9655,registry:Observed@9755,registry:Observed@9830,registry:ObservedValue@1507,registry:Old@2671,registry:Old@2769,registry:On@10034,registry:On@10104,registry:On@10233,registry:On@10729,registry:On@10792,registry:On@4460,registry:On@5101,registry:On@9969,registry:Op@6237,registry:Op@6313,registry:Op@6481,registry:Op@6563,registry:Op@6659,registry:Op@6837,registry:Op@6929,registry:Owner@1144,registry:Owner@1241,registry:Owner@1524,registry:P@11765,registry:PagesOff@7891,registry:Pair@509,registry:Pair@6581,registry:Pair@6665,registry:Pair@6763,registry:Pair@780,registry:Pair@981,registry:Path@11996,registry:Paths@11693,registry:PolicyExpiresAt@8126,registry:Prefix@11819,registry:Prev@9399,registry:Pub@3300,registry:RDs@11515,registry:RateLimit@8566,registry:Receipt@889,registry:Regional@11413,registry:Registration@12321,registry:Registration@12720,registry:Registration@1904,registry:Registration@2015,registry:Replica@8326,registry:ReplicaLife@9842,registry:ReplicaLife@9940,registry:Replicas@8265,registry:Retirement@2755,registry:Revision@529,registry:Revision@622,registry:Revision@989,registry:RotatePending@5195,registry:Route@6002,registry:Routes@10386,registry:Routes@10453,registry:Routes@10822,registry:Routes@4602,registry:Routes@5960,registry:Routes@6955,registry:Rows@12107,registry:Seed@10536,registry:SeenAt@4466,registry:Seq@4453,registry:Seq@5317,registry:Size@8118,registry:Sqid@5671,registry:Sqid@5734,registry:Sqid@5813,registry:Status@11084,registry:Status@12742,registry:Status@12852,registry:Status@1920,registry:Status@3678,registry:Status@5012,registry:Status@6227,registry:Status@6303,registry:Status@6389,registry:Status@6553,registry:Status@7297,registry:Status@9251,registry:Steering@7834,registry:StringMap@11555,registry:StringMap@4084,registry:StringMap@4301,registry:StringMap@4364,registry:T@12047,registry:T@1621,registry:T@1715,registry:T@1798,registry:TValue@6107,registry:TValue@6174,registry:TValue@8890,registry:TValue@9580,registry:Tags@3597,registry:Target@9021,registry:Targets@1317,registry:Text@11852,registry:Text@11915,registry:Text@2324,registry:Text@2471,registry:Text@5781,registry:Timer@12135,registry:Timer@1573,registry:Timer@1755,registry:Timers@12358,registry:Timers@12417,registry:Timers@12506,registry:Times@13130,registry:To@7358,registry:To@7419,registry:ToDB@7508,registry:ToOp@6399,registry:ToSock@7516,registry:Token@5177,registry:TokenHash@3515,registry:Tunnel@8753,registry:Unit@7629,registry:UpdateSettings@8038,registry:Ver@10097,registry:Ver@10173,registry:Ver@9392,registry:W@11315,registry:Wake@702,registry:Wake@788,registry:Wildcards@11209,whole:Account@5845,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@9462,whole:GoodBuild@9476,whole:HAAdoption@1015,whole:HAAdoption@822,whole:HAWakeImport@704,whole:HAWakeImport@790,whole:HomeLink@4755,whole:HomeLink@4829,whole:HomeLink@5164,whole:HomeLink@5179,whole:HomeLink@5197,whole:HomeLinkApp@5352,whole:HomeLinkApp@5422,whole:HomeLinkApp@5530,whole:LinkChannel@4190,whole:LinkSeen@4549,whole:Pair@511,whole:Pair@6583,whole:Pair@6667,whole:Pair@6751,whole:Pair@6765,whole:Pair@782,whole:Pair@983,whole:RegionalDomain@11417,whole:RegionalDomain@11517,whole:Route@10024,whole:Route@10390,whole:Route@10457,whole:Route@10826,whole:Route@1231,whole:Route@4606,whole:Route@5964,whole:Route@6006,whole:Route@6109,whole:Route@6176,whole:Route@6959,whole:Route@7114,whole:Route@7120,whole:Route@8892,whole:Route@9570,whole:Route@9582,whole:Route@9657,whole:Route@9757,whole:Route@9832,whole:RouteAlias@10889,whole:RouteAlias@10965,whole:RoutePath@11697,whole:RoutePath@11767,whole:Timer@12049,whole:Timer@12109,whole:Timer@12139,whole:Timer@12362,whole:Timer@12421,whole:Timer@12510,whole:Timer@1509,whole:Timer@1577,whole:Timer@1623,whole:Timer@1717,whole:Timer@1759,whole:Timer@1800,whole:WildcardDomain@11213,whole:WildcardDomain@11317,whole:haJournalRequest@223,whole:haJournalResponse@187 1e4389350f87aa622a6e083cd51345fdaf34ab009bf744a9fb9f9ae010688366 |
| -internal/domains/aliases.go ReconcileAliasesReport legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-edge-asset-cache-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), in its alias pass (aliasPassReporting in runAgent; ReconcileAliases, now a wrapper, is its other caller): main's ReconcileAliases body, moved here with the same reads and writes, plus a completeness report (AliasReport) set false at every point that already logged a failure and carried on, and when relevantDropped names a listed claim the pass could not rule out; the box's asset authority clock advances only after a complete pass; one more whole:Route and whole:RouteAlias site each, the routes and alias rows the pass already read handed to relevantDropped; no registry, file or bucket read added; no root pass calls it; no root decision;rev3=census-ruling-regional-domains-447;basis=#447 Task 4: in the alias pass inside the agent: reads the existing regional_domains rows (reg.ListRegional) beside the alias rows, derives a regional claim's rows through deriveRegional for AliasReport.Region (the caller's ReconcileConfig.Region, set by aliasPassReporting) and its wildcard parent when bound, skipping the alias, paths and catch-all halves for it, writes them through writeRegional, and keeps an unread regional claim's wildcard parent while the kept apex row still binds a target RegionalTarget accepts on the routes this pass read (same account and app, per-box cap); claims are read as before (the listing and per-claim GETs it already does); the added reads are the registry's regional rows and fields of rows the pass already holds;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 6 fix rounds 2-3: AliasReport.FleetRefused (edge.FleetArmVerdict's refused set) is called once on the pass's own listing; a Wildcard claim whose primary is fleet-refused derives no wildcard_domains row (an earlier one goes with the ordinary removal); the catch-all alias is derived as before (+registry:Host, +whole:Route). Rows already read; writes less, never more; no root pass calls it.;rev3=census-ruling-region-ha-g2-fixes;basis=Project accepted regional exact/catchall names and plain/delegated aliases into routing-only reports using existing claims and pre-pool metadata; new whole Route/RegionalDomain uses, no new external reader.;rev3=census-ruling-fix-incomplete-domains-pass;basis=adds AliasReport.StartupNoRemoval, an input set only by the agent startup HA ingress pass (host startupAliasPass via runHAIngressStartup): when set, the pass skips the route_aliases, wildcard_domains and route_paths removals (each skipped removal marks the pass incomplete) and the removal rules themselves are unchanged; derivations, refusals and writes are unchanged; same read sites (body change only); no new registry, file or bucket read; deletes less, never more, and only on the startup pass; no root pass calls it; no root decision;rev3=census-ruling-account-subdomains;basis=with AliasReport.AppsDomain set, reads the box's own account_namespaces table (reg.ListAccountNamespaces), sorts a listed-but-unread namespace claim (ParseNamespaceHost on the dropped host): a not-found body keeps nothing and is not counted by relevantDropped, any other failure keeps that name's recorded rows; runs deriveNamespaceAliases after deriveInstanceAliases on the routes, alias rows and claims it already read (AccountNamespaces over the read claims), keepNamespaceAliases for unread names, and writes the table through writeAccountNamespaces (once, only when it differs; no shrink under StartupNoRemoval); the added sites are the routes and alias rows already read handed to those helpers; no file or bucket read added registry:Account@21164,registry:Account@21179,registry:Account@21297,registry:Account@21649,registry:Account@21662,registry:Alias@19158,registry:Alias@19291,registry:Alias@19361,registry:App@15181,registry:App@15381,registry:App@15537,registry:App@15738,registry:App@21192,registry:App@21203,registry:App@21310,registry:App@21675,registry:App@21684,registry:App@5232,registry:App@5428,registry:App@9052,registry:App@9251,registry:Host@16104,registry:Host@20974,registry:Host@21049,registry:Host@21072,registry:Host@21124,registry:Host@21458,registry:Host@21530,registry:Host@21634,registry:Host@21945,registry:Host@22091,registry:Host@22163,registry:Host@22697,registry:Host@22810,registry:Host@22962,registry:Host@23043,registry:Host@834,registry:Prefix@22705,registry:Prefix@22824,registry:Prefix@22970,registry:Prefix@23051,registry:Region@21319,registry:Status@11915,registry:Target@21144,registry:Target@21249,whole:RegionalDomain@19938,whole:RegionalDomain@19956,whole:RegionalDomain@20902,whole:RegionalDomain@20940,whole:RegionalDomain@20961,whole:RegionalDomain@20984,whole:RegionalDomain@21111,whole:RegionalDomain@276,whole:RegionalDomain@3683,whole:RegionalDomain@3884,whole:Route@1045,whole:Route@11245,whole:Route@11697,whole:Route@11859,whole:Route@15150,whole:Route@15225,whole:Route@15372,whole:Route@15434,whole:Route@15577,whole:Route@15733,whole:Route@16986,whole:Route@18111,whole:Route@18119,whole:Route@18665,whole:Route@18673,whole:Route@18972,whole:Route@21242,whole:Route@21293,whole:Route@2251,whole:Route@337,whole:Route@3865,whole:Route@4284,whole:Route@4575,whole:Route@5272,whole:Route@5423,whole:Route@5479,whole:Route@787,whole:Route@816,whole:Route@827,whole:Route@8398,whole:Route@845,whole:Route@9096,whole:Route@9242,whole:RouteAlias@18127,whole:RouteAlias@18681,whole:RouteAlias@18954,whole:RouteAlias@19133,whole:RouteAlias@2259,whole:RoutePath@13442,whole:RoutePath@22590,whole:RoutePath@22632,whole:RoutePath@22767,whole:RoutePath@22797,whole:WildcardDomain@16300,whole:WildcardDomain@21008,whole:WildcardDomain@21037,whole:WildcardDomain@21518,whole:WildcardDomain@21540,whole:WildcardDomain@21564,whole:WildcardDomain@21613,whole:WildcardDomain@21776,whole:WildcardDomain@21904,whole:WildcardDomain@21933,whole:WildcardDomain@4098 fad4463c6717c5a068087aa8d5d67a97dcedfa699b553b754f39298911d9db06 |
| -internal/domains/reconcile.go StampHealth legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-dns-fresh-lookup-724;basis=section 4 now computes every cached verdict first, then freshUpgrade gives up to 64 randomly ordered names that could have a public zone (not under the apps domain, not special-use like .internal) and whose verdict is "" or "elsewhere" an uncached lookup (30 s pass budget) that may only upgrade to "pointing", then stamps; the extra sites are the indexed loops over the same rows (#724);rev3=census-ruling-no-negative-prime-724;basis=section 4 now hands each route and alias, with its previous stamp (the two new registry:DNSStatus reads, rt.DNSStatus and a.DNSStatus, same rows already listed), to dnsVerdicts, which first hands the pass's hostnames to Config.FreshRetain (the resolver forgets its in-memory backoff and strike for names no longer carried) and then decides each hostname once per pass and applies the verdict to every row carrying it: a name not "pointing" before this pass and eligible for a fresh lookup (public name, not under the apps domain, ResolveFresh set) is looked at uncached first within the same 64-lookup/30 s budget (shared, with previously "pointing" names' upgrade looks serviced before any fresh-first name so new names cannot starve a published one) and stamped from it (edge address, A or AAAA, "pointing", other "elsewhere", authoritative not-found "", authoritative NODATA for A and AAAA with the zone's SOA "" with no cached query), falling back to the cached lookup past the budget or on the second fresh failure in a row; the first fresh failure in a row is held (stamp and check time untouched, the resolver forgives it so the next pass asks fresh again); a previously "pointing" name keeps cached-first plus the upgrade-only fresh look (ResolveUpgrade, nearest zones first), so the fresh path still never unpublishes; a fresh-first name that ends the pass "pointing" (fresh or cached) has its fresh failure backoff cleared through Config.FreshForget, so an onboarding failure never suppresses the upgrade look that keeps it published; new names are ordered never-checked first then oldest check, and lookups answered from the backoff do not count against the budget; StampHealth's own body is unchanged by the last round; no new file, path or command input; the dropped Alias/Host/Route/RouteAlias sites are the old indexed loops folded into the candidate build (#724);rev3=census-ruling-account-subdomains;basis=reads the box's own account_namespaces table (only when DNS stamping runs) and leaves out of the DNS loop the alias rows isNamespaceDerived names (an alias under a held name, of that name's account, pointing at its sqid twin); the added RouteAlias sites are that filter over rows already listed; stamps less, never more; TLS stamping unchanged registry:Alias@3986,registry:Alias@4575,registry:Alias@4665,registry:Alias@5099,registry:Alias@5163,registry:Alias@5251,registry:DNSCheckedAt@3861,registry:DNSCheckedAt@4008,registry:DNSStatus@3847,registry:DNSStatus@3995,registry:DNSStatus@4200,registry:DNSStatus@4499,registry:Host@3838,registry:Host@4272,registry:Host@4356,registry:Host@4868,registry:Host@4927,registry:Host@5009,whole:Route@199,whole:Route@236,whole:Route@3662,whole:Route@3778,whole:Route@4107,whole:Route@4822,whole:RouteAlias@1404,whole:RouteAlias@1570,whole:RouteAlias@1606,whole:RouteAlias@1637,whole:RouteAlias@1657,whole:RouteAlias@1669,whole:RouteAlias@3708,whole:RouteAlias@3922,whole:RouteAlias@4402,whole:RouteAlias@5052,whole:RouteAlias@780 c7378e603993650aa12ef694d3ebbee430797e12ae2e2ce7a3b8e8f031d508c0 |
| +internal/domains/aliases.go ReconcileAliasesReport legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-edge-asset-cache-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), in its alias pass (aliasPassReporting in runAgent; ReconcileAliases, now a wrapper, is its other caller): main's ReconcileAliases body, moved here with the same reads and writes, plus a completeness report (AliasReport) set false at every point that already logged a failure and carried on, and when relevantDropped names a listed claim the pass could not rule out; the box's asset authority clock advances only after a complete pass; one more whole:Route and whole:RouteAlias site each, the routes and alias rows the pass already read handed to relevantDropped; no registry, file or bucket read added; no root pass calls it; no root decision;rev3=census-ruling-regional-domains-447;basis=#447 Task 4: in the alias pass inside the agent: reads the existing regional_domains rows (reg.ListRegional) beside the alias rows, derives a regional claim's rows through deriveRegional for AliasReport.Region (the caller's ReconcileConfig.Region, set by aliasPassReporting) and its wildcard parent when bound, skipping the alias, paths and catch-all halves for it, writes them through writeRegional, and keeps an unread regional claim's wildcard parent while the kept apex row still binds a target RegionalTarget accepts on the routes this pass read (same account and app, per-box cap); claims are read as before (the listing and per-claim GETs it already does); the added reads are the registry's regional rows and fields of rows the pass already holds;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 6 fix rounds 2-3: AliasReport.FleetRefused (edge.FleetArmVerdict's refused set) is called once on the pass's own listing; a Wildcard claim whose primary is fleet-refused derives no wildcard_domains row (an earlier one goes with the ordinary removal); the catch-all alias is derived as before (+registry:Host, +whole:Route). Rows already read; writes less, never more; no root pass calls it.;rev3=census-ruling-region-ha-g2-fixes;basis=Project accepted regional exact/catchall names and plain/delegated aliases into routing-only reports using existing claims and pre-pool metadata; new whole Route/RegionalDomain uses, no new external reader.;rev3=census-ruling-fix-incomplete-domains-pass;basis=adds AliasReport.StartupNoRemoval, an input set only by the agent startup HA ingress pass (host startupAliasPass via runHAIngressStartup): when set, the pass skips the route_aliases, wildcard_domains and route_paths removals (each skipped removal marks the pass incomplete) and the removal rules themselves are unchanged; derivations, refusals and writes are unchanged; same read sites (body change only); no new registry, file or bucket read; deletes less, never more, and only on the startup pass; no root pass calls it; no root decision;rev3=census-ruling-account-subdomains;basis=with AliasReport.AppsDomain set, reads the box's own account_namespaces table (reg.ListAccountNamespaces), sorts a listed-but-unread namespace claim (ParseNamespaceHost on the dropped host): a not-found body keeps nothing and is not counted by relevantDropped, any other failure keeps that name's recorded rows; runs deriveNamespaceAliases after deriveInstanceAliases on the routes, alias rows and claims it already read (AccountNamespaces over the read claims), keepNamespaceAliases for unread names, and writes the table through writeAccountNamespaces (once, only when it differs; no shrink under StartupNoRemoval); the added sites are the routes and alias rows already read handed to those helpers; no file or bucket read added; fix round 1: keepNamespaceAliases runs before deriveNamespaceAliases, and repairNamespaceStatus stamps "pointing" on derived-shape rows of exact claims and kept names, over claims and rows already read registry:Account@21423,registry:Account@21438,registry:Account@21556,registry:Account@21908,registry:Account@21921,registry:Alias@19417,registry:Alias@19550,registry:Alias@19620,registry:App@15181,registry:App@15381,registry:App@15537,registry:App@15738,registry:App@21451,registry:App@21462,registry:App@21569,registry:App@21934,registry:App@21943,registry:App@5232,registry:App@5428,registry:App@9052,registry:App@9251,registry:Host@16104,registry:Host@21233,registry:Host@21308,registry:Host@21331,registry:Host@21383,registry:Host@21717,registry:Host@21789,registry:Host@21893,registry:Host@22204,registry:Host@22350,registry:Host@22422,registry:Host@22956,registry:Host@23069,registry:Host@23221,registry:Host@23302,registry:Host@834,registry:Prefix@22964,registry:Prefix@23083,registry:Prefix@23229,registry:Prefix@23310,registry:Region@21578,registry:Status@11915,registry:Target@21403,registry:Target@21508,whole:RegionalDomain@20197,whole:RegionalDomain@20215,whole:RegionalDomain@21161,whole:RegionalDomain@21199,whole:RegionalDomain@21220,whole:RegionalDomain@21243,whole:RegionalDomain@21370,whole:RegionalDomain@276,whole:RegionalDomain@3683,whole:RegionalDomain@3884,whole:Route@1045,whole:Route@11245,whole:Route@11697,whole:Route@11859,whole:Route@15150,whole:Route@15225,whole:Route@15372,whole:Route@15434,whole:Route@15577,whole:Route@15733,whole:Route@16986,whole:Route@18111,whole:Route@18119,whole:Route@18950,whole:Route@19040,whole:Route@19048,whole:Route@21501,whole:Route@21552,whole:Route@2251,whole:Route@337,whole:Route@3865,whole:Route@4284,whole:Route@4575,whole:Route@5272,whole:Route@5423,whole:Route@5479,whole:Route@787,whole:Route@816,whole:Route@827,whole:Route@8398,whole:Route@845,whole:Route@9096,whole:Route@9242,whole:RouteAlias@18127,whole:RouteAlias@18932,whole:RouteAlias@19056,whole:RouteAlias@19211,whole:RouteAlias@19392,whole:RouteAlias@2259,whole:RoutePath@13442,whole:RoutePath@22849,whole:RoutePath@22891,whole:RoutePath@23026,whole:RoutePath@23056,whole:WildcardDomain@16300,whole:WildcardDomain@21267,whole:WildcardDomain@21296,whole:WildcardDomain@21777,whole:WildcardDomain@21799,whole:WildcardDomain@21823,whole:WildcardDomain@21872,whole:WildcardDomain@22035,whole:WildcardDomain@22163,whole:WildcardDomain@22192,whole:WildcardDomain@4098 6760800ba4e5fbce8b12dadfb15d1efcee759f133834a90abdb994e0787513b3 |
| +internal/domains/aliases.go deriveInstanceAliases legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=root-route; the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): rev3=J1's body; a stale body under a retired lifetime no longer makes a label shared, and a label with a record that cannot be judged keeps its existing alias row of the catch-all's own account and app (reading that row's Account and App) only once the derived name has passed every precedence check a derived name answers to (validity, an exact claim, a local real route, a deployment route, the per-box cap), and derives no new one; a report-only conservative keep, never a new route;rev3=census-ruling-regional-domains-447;basis=#447 Task 2: an instance catch-all whose parent claim is regional is inert (logged once, continue), as one whose parent is not held is; it only narrows what derives; no read added;rev3=census-ruling-account-subdomains;basis=takes a *int budget shared with the namespace pass instead of a local counter; the same checks and cap (maxInstanceAliases, now a var so a test can lower it); names kept on a failed instance listing now take the budget too, each once (fix round 1, Astra I-2), so the cap holds on that branch; same reads; body change only; derives and keeps less, never more registry:Account@2665,registry:Account@4257,registry:Account@5056,registry:Alias@2727,registry:Alias@2795,registry:Alias@2834,registry:Alias@3113,registry:Alias@574,registry:App@1987,registry:App@2691,registry:App@4283,registry:App@5082,registry:Host@2144,registry:Host@5035,registry:Host@5045,registry:Host@5241,registry:Provisioned@1937,registry:Replica@1973,registry:Slug@2076,whole:Route@1921,whole:Route@2027,whole:Route@3799,whole:RouteAlias@2645,whole:RouteAlias@4239,whole:RouteAlias@5017,whole:RouteAlias@526,whole:RouteAlias@556,whole:RouteAlias@569,whole:RouteAlias@585 e28e5dd2671298b348ac63705f239659f5a8e48a39ef51d8e007349de2443fb6 |
| +internal/domains/reconcile.go StampHealth legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-dns-fresh-lookup-724;basis=section 4 now computes every cached verdict first, then freshUpgrade gives up to 64 randomly ordered names that could have a public zone (not under the apps domain, not special-use like .internal) and whose verdict is "" or "elsewhere" an uncached lookup (30 s pass budget) that may only upgrade to "pointing", then stamps; the extra sites are the indexed loops over the same rows (#724);rev3=census-ruling-no-negative-prime-724;basis=section 4 now hands each route and alias, with its previous stamp (the two new registry:DNSStatus reads, rt.DNSStatus and a.DNSStatus, same rows already listed), to dnsVerdicts, which first hands the pass's hostnames to Config.FreshRetain (the resolver forgets its in-memory backoff and strike for names no longer carried) and then decides each hostname once per pass and applies the verdict to every row carrying it: a name not "pointing" before this pass and eligible for a fresh lookup (public name, not under the apps domain, ResolveFresh set) is looked at uncached first within the same 64-lookup/30 s budget (shared, with previously "pointing" names' upgrade looks serviced before any fresh-first name so new names cannot starve a published one) and stamped from it (edge address, A or AAAA, "pointing", other "elsewhere", authoritative not-found "", authoritative NODATA for A and AAAA with the zone's SOA "" with no cached query), falling back to the cached lookup past the budget or on the second fresh failure in a row; the first fresh failure in a row is held (stamp and check time untouched, the resolver forgives it so the next pass asks fresh again); a previously "pointing" name keeps cached-first plus the upgrade-only fresh look (ResolveUpgrade, nearest zones first), so the fresh path still never unpublishes; a fresh-first name that ends the pass "pointing" (fresh or cached) has its fresh failure backoff cleared through Config.FreshForget, so an onboarding failure never suppresses the upgrade look that keeps it published; new names are ordered never-checked first then oldest check, and lookups answered from the backoff do not count against the budget; StampHealth's own body is unchanged by the last round; no new file, path or command input; the dropped Alias/Host/Route/RouteAlias sites are the old indexed loops folded into the candidate build (#724);rev3=census-ruling-account-subdomains;basis=reads the box's own account_namespaces table (only when DNS stamping runs) and leaves out of the DNS loop the alias rows isNamespaceDerived names (an alias under a held name, of that name's account, pointing at its sqid twin); if that read fails it logs and leaves out every alias two or more labels under the apps domain, still stamping every other alias, every route and all TLS expiry (fix round 1); the added RouteAlias sites are that filter over rows already listed; stamps less, never more; TLS stamping unchanged registry:Alias@1972,registry:Alias@4450,registry:Alias@5039,registry:Alias@5129,registry:Alias@5563,registry:Alias@5627,registry:Alias@5715,registry:DNSCheckedAt@4325,registry:DNSCheckedAt@4472,registry:DNSStatus@4311,registry:DNSStatus@4459,registry:DNSStatus@4664,registry:DNSStatus@4963,registry:Host@4302,registry:Host@4736,registry:Host@4820,registry:Host@5332,registry:Host@5391,registry:Host@5473,whole:Route@199,whole:Route@236,whole:Route@4126,whole:Route@4242,whole:Route@4571,whole:Route@5286,whole:RouteAlias@1680,whole:RouteAlias@1906,whole:RouteAlias@2058,whole:RouteAlias@2106,whole:RouteAlias@2126,whole:RouteAlias@2138,whole:RouteAlias@4172,whole:RouteAlias@4386,whole:RouteAlias@4866,whole:RouteAlias@5516,whole:RouteAlias@780 5288387d1eac4611bc4b1acc30569011009192e7210127001c27174e1e1cfa43 |
| 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;rev3=census-ruling-account-subdomains;basis=hashes account_namespaces (name, account) over the same fresh connection, with a section marker written only when a row exists, so a registry with no held names 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 file:Exec@284,file:Open@188,file:Query@10785,file:Query@11707,file:Query@12810,file:Query@368,file:Query@6655,file:Query@7134,file:Query@8120,file:Query@8816,file:Query@9728,file:QueryRow@13727,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 a52e0bc25d555bbf22f35655c54c0fa3aca6cedec5f0b6b80157d9d95f921a29 |
| internal/registry/registry.go Registry.migrate 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), on every registry open; a box CLI verb that opens the registry directly runs it as whoever runs the verb: census-ruling-seeded-instances's body with two more columns added to routes (incarnation and serving_seq, INTEGER NOT NULL DEFAULT 0, idempotent through the duplicate-column rule); self-serve moves 1 Task 7;rev3=census-ruling-rootfs-apps-2;basis=one more ALTER TABLE, routes ADD COLUMN runtime TEXT NOT NULL DEFAULT '', beside main's rate_limit, assets_off, asset_gen, incarnation and serving_seq (the last four from the merges of origin/main 3c33f2eb and 953b9fda); the same sixteen sites, no read added;rev3=census-ruling-instance-egress-sizes-328-329;basis=#328/#329 plan 1 Task 4: three more ALTER TABLE statements in the existing loop, routes ADD COLUMN egress_allow, size and policy_expires_at, each TEXT NOT NULL DEFAULT '' and idempotent through the duplicate-column rule; the same sixteen sites, no read added.;rev3=census-ruling-region-ha-p1a;basis=one more ALTER TABLE in the existing loop: routes ADD COLUMN ha INTEGER NOT NULL DEFAULT 0, idempotent through the duplicate-column rule; the same sixteen sites, no read added;rev3=census-ruling-ha-p1a-433;basis=the registry's SQLite side as carlos (agent, registry child; a box CLI verb that opens the registry directly runs it as whoever runs it), on every registry open: the ALTER TABLE routes statements are now built from the one migration definition routeAddedColumns (addedColumn name, type, default; review r1 P2): for each entry without the Claim mark, "ALTER TABLE routes ADD COLUMN " + spec(), byte for byte the statements main runs, in main's order, under the same duplicate-column rule. +registry:Claim is that mark, +whole:addedColumn the struct. Every name, type and default is an in-binary literal; no statement added, removed or changed; no read added.;rev3=census-ruling-regional-domains-447;basis=#447 Task 4: one more CREATE TABLE IF NOT EXISTS regional_domains (host TEXT PRIMARY KEY, target, account, app, region TEXT NOT NULL DEFAULT '', created_at INTEGER NOT NULL DEFAULT 0), beside wildcard_domains; the added sites are that statement (+file:Exec, +registry:sql), an in-binary literal; additive, no existing statement changed;rev3=census-ruling-region-ha-p1b3b-t;basis=Create local HA duty/replay tables and revision triggers in the existing registry connection; no new database path.;rev3=census-ruling-agent-start-demo-3;basis=Create moved-notice storage as a single (id, wire) row; fingerprints include the stored wire bytes. Census read-site delta: +file:Exec, +registry:sql.;rev3=census-ruling-linked-deployments-slice1;basis=linked deployments slice 1 Task 1: calls migrateLinks after migrateHADuties (one CREATE TABLE IF NOT EXISTS link_channels, an in-binary literal); additive, no existing statement changed; linked deployments slice 1 Task 7: also runs migrateHomeLink (CREATE TABLE IF NOT EXISTS home_link and home_link_apps) after migrateLinks; additive, the box's own registry database, as carlos;rev3=census-ruling-account-subdomains;basis=one more CREATE TABLE IF NOT EXISTS account_namespaces (name TEXT PRIMARY KEY, account TEXT NOT NULL), an in-binary literal (+file:Exec, +registry:sql); additive, no existing statement changed file:Exec@1124,file:Exec@1855,file:Exec@212,file:Exec@2409,file:Exec@3057,file:Exec@3822,file:Exec@4101,file:Exec@4964,file:Exec@51,file:Exec@5140,file:Exec@761,registry:Claim@686,registry:sql@1124,registry:sql@1855,registry:sql@212,registry:sql@2409,registry:sql@3057,registry:sql@3822,registry:sql@4101,registry:sql@4964,registry:sql@51,registry:sql@5140,registry:sql@761,whole:addedColumn@661 0c5fdaf1215e8f81c156a1fc1576cb075c2a52238bde75fc8320d49472fd117d |
| -@coverage internal/domains 0debaf45750879d4189230d9a9d3779e8bbf4bf688db73f56331a4a6c9efa074 |
| +@coverage internal/domains e8d31977ed6dc2766a26d8c08f94e6287cd3dd3b19de311aecd87f87abefe1c9 |
| @coverage internal/host aa8f6c1a0b8dd200cb7656622d1fb6004ea0e1bbac292459b4eafa463da7f9bb |
| @coverage internal/registry 87edc805294acb90abb7637f64fd174bd8ced08978783dbb2631855082955582 |
| @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,Names,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,RotateGen,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 |