| index e9e011957..a6bfc3f94 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-fix-incomplete-domains-pass.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-fix-incomplete-domains-pass.tsv |
| @@ -1,5 +1,5 @@ |
| # Census overlay fix-incomplete-domains-pass, written by census-propose (#369). census-ruling-fix-incomplete-domains-pass, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-fix-incomplete-domains-pass.md. |
| # 0 body, 1 sites, 1 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| -@legacy 162a91a2f3c3dfee3f8d14f573a67718ca2ce3165136e1ab782385bc03d7eb3e 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=keeps rows tied to a claim listed but not read this pass (route_aliases via aliasClaimUnread on the row name, wildcard_domains within the per-box cap, route_paths by host) instead of deleting them; only fields of rows the pass already read (existing aliases, wildcard rows, paths, the dropped hosts from the same listing); no new registry, file or bucket read; deletes less, never more; no root pass calls it; no root decision registry:Account@20032,registry:Account@20047,registry:Account@20165,registry:Account@21049,registry:Account@21062,registry:Alias@18315,registry:Alias@18349,registry:Alias@18415,registry:Alias@18485,registry:App@14167,registry:App@14367,registry:App@14523,registry:App@14724,registry:App@20060,registry:App@20071,registry:App@20178,registry:App@21075,registry:App@21084,registry:App@4218,registry:App@4414,registry:App@8038,registry:App@8237,registry:Host@15090,registry:Host@19842,registry:Host@19917,registry:Host@19940,registry:Host@19992,registry:Host@20326,registry:Host@20398,registry:Host@20593,registry:Host@20616,registry:Host@20675,registry:Host@20858,registry:Host@20930,registry:Host@21034,registry:Host@21345,registry:Host@21398,registry:Host@21470,registry:Host@22004,registry:Host@22117,registry:Host@22161,registry:Host@22268,registry:Host@22349,registry:Host@834,registry:Prefix@22012,registry:Prefix@22131,registry:Prefix@22276,registry:Prefix@22357,registry:Region@20187,registry:Status@10901,registry:Target@20012,registry:Target@20117,whole:RegionalDomain@18806,whole:RegionalDomain@18824,whole:RegionalDomain@19770,whole:RegionalDomain@19808,whole:RegionalDomain@19829,whole:RegionalDomain@19852,whole:RegionalDomain@19979,whole:RegionalDomain@20662,whole:RegionalDomain@2669,whole:RegionalDomain@276,whole:RegionalDomain@2870,whole:Route@10231,whole:Route@1045,whole:Route@10683,whole:Route@10845,whole:Route@1237,whole:Route@14136,whole:Route@14211,whole:Route@14358,whole:Route@14420,whole:Route@14563,whole:Route@14719,whole:Route@15972,whole:Route@17067,whole:Route@17075,whole:Route@20110,whole:Route@20161,whole:Route@2851,whole:Route@3270,whole:Route@337,whole:Route@3561,whole:Route@4258,whole:Route@4409,whole:Route@4465,whole:Route@7384,whole:Route@787,whole:Route@8082,whole:Route@816,whole:Route@8228,whole:Route@827,whole:Route@845,whole:RouteAlias@1245,whole:RouteAlias@17083,whole:RouteAlias@18290,whole:RoutePath@12428,whole:RoutePath@21897,whole:RoutePath@21939,whole:RoutePath@22074,whole:RoutePath@22104,whole:WildcardDomain@15286,whole:WildcardDomain@19876,whole:WildcardDomain@19905,whole:WildcardDomain@20386,whole:WildcardDomain@20408,whole:WildcardDomain@20552,whole:WildcardDomain@20581,whole:WildcardDomain@20918,whole:WildcardDomain@20940,whole:WildcardDomain@20964,whole:WildcardDomain@21013,whole:WildcardDomain@21176,whole:WildcardDomain@21304,whole:WildcardDomain@21333,whole:WildcardDomain@3084 4ce5452a1c760fffec9aa62409651b42ce852f1483941c00cec6ca6624639e13 |
| -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=keeps rows tied to a claim listed but not read this pass (route_aliases via aliasClaimUnread on the row name, wildcard_domains within the per-box cap, route_paths by host) instead of deleting them; only fields of rows the pass already read (existing aliases, wildcard rows, paths, the dropped hosts from the same listing); no new registry, file or bucket read; deletes less, never more; no root pass calls it; no root decision registry:Account@20032,registry:Account@20047,registry:Account@20165,registry:Account@21049,registry:Account@21062,registry:Alias@18315,registry:Alias@18349,registry:Alias@18415,registry:Alias@18485,registry:App@14167,registry:App@14367,registry:App@14523,registry:App@14724,registry:App@20060,registry:App@20071,registry:App@20178,registry:App@21075,registry:App@21084,registry:App@4218,registry:App@4414,registry:App@8038,registry:App@8237,registry:Host@15090,registry:Host@19842,registry:Host@19917,registry:Host@19940,registry:Host@19992,registry:Host@20326,registry:Host@20398,registry:Host@20593,registry:Host@20616,registry:Host@20675,registry:Host@20858,registry:Host@20930,registry:Host@21034,registry:Host@21345,registry:Host@21398,registry:Host@21470,registry:Host@22004,registry:Host@22117,registry:Host@22161,registry:Host@22268,registry:Host@22349,registry:Host@834,registry:Prefix@22012,registry:Prefix@22131,registry:Prefix@22276,registry:Prefix@22357,registry:Region@20187,registry:Status@10901,registry:Target@20012,registry:Target@20117,whole:RegionalDomain@18806,whole:RegionalDomain@18824,whole:RegionalDomain@19770,whole:RegionalDomain@19808,whole:RegionalDomain@19829,whole:RegionalDomain@19852,whole:RegionalDomain@19979,whole:RegionalDomain@20662,whole:RegionalDomain@2669,whole:RegionalDomain@276,whole:RegionalDomain@2870,whole:Route@10231,whole:Route@1045,whole:Route@10683,whole:Route@10845,whole:Route@1237,whole:Route@14136,whole:Route@14211,whole:Route@14358,whole:Route@14420,whole:Route@14563,whole:Route@14719,whole:Route@15972,whole:Route@17067,whole:Route@17075,whole:Route@20110,whole:Route@20161,whole:Route@2851,whole:Route@3270,whole:Route@337,whole:Route@3561,whole:Route@4258,whole:Route@4409,whole:Route@4465,whole:Route@7384,whole:Route@787,whole:Route@8082,whole:Route@816,whole:Route@8228,whole:Route@827,whole:Route@845,whole:RouteAlias@1245,whole:RouteAlias@17083,whole:RouteAlias@18290,whole:RoutePath@12428,whole:RoutePath@21897,whole:RoutePath@21939,whole:RoutePath@22074,whole:RoutePath@22104,whole:WildcardDomain@15286,whole:WildcardDomain@19876,whole:WildcardDomain@19905,whole:WildcardDomain@20386,whole:WildcardDomain@20408,whole:WildcardDomain@20552,whole:WildcardDomain@20581,whole:WildcardDomain@20918,whole:WildcardDomain@20940,whole:WildcardDomain@20964,whole:WildcardDomain@21013,whole:WildcardDomain@21176,whole:WildcardDomain@21304,whole:WildcardDomain@21333,whole:WildcardDomain@3084 4ce5452a1c760fffec9aa62409651b42ce852f1483941c00cec6ca6624639e13 |
| -@coverage internal/domains 00a6ddcd42dd9bcf757e1eafc7b3960a0af7a985dca8de8a708817e87b0ab4c2 |
| +@legacy 53089e3204fd7d3e94d96097d116b8101b75b7a2ecbee924b88095ccface216b 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=keeps rows tied to a claim listed but not read this pass (relevantDropped hosts only, so a complete pass keeps nothing) instead of deleting them: route_aliases while the row target route here still has the row account and app (aliasClaimUnread on the row name; a name with its own listed claim is decided by that claim alone), wildcard_domains within the per-box cap while the row account and app hold a local route and none of their local routes is fleet-refused (the fleet-public-routes refusal still removes the parent), route_paths while the host route still has the row account and app; only fields of rows the pass already read (routes, existing aliases, wildcard rows, paths, the listing and dropped hosts); no new registry, file or bucket read; deletes less, never more; no root pass calls it; no root decision registry:Account@18833,registry:Account@20556,registry:Account@20571,registry:Account@20689,registry:Account@21768,registry:Account@22222,registry:Account@22235,registry:Account@23422,registry:Alias@18737,registry:Alias@18867,registry:Alias@18939,registry:Alias@19009,registry:App@14416,registry:App@14616,registry:App@14772,registry:App@14973,registry:App@18786,registry:App@18796,registry:App@20584,registry:App@20595,registry:App@20702,registry:App@21721,registry:App@21731,registry:App@22248,registry:App@22257,registry:App@23375,registry:App@23385,registry:App@4467,registry:App@4663,registry:App@8287,registry:App@8486,registry:Host@15339,registry:Host@18771,registry:Host@20366,registry:Host@20441,registry:Host@20464,registry:Host@20516,registry:Host@20850,registry:Host@20922,registry:Host@21499,registry:Host@21520,registry:Host@21579,registry:Host@21840,registry:Host@22031,registry:Host@22103,registry:Host@22207,registry:Host@22518,registry:Host@22571,registry:Host@22643,registry:Host@23177,registry:Host@23290,registry:Host@23344,registry:Host@23364,registry:Host@23531,registry:Host@23612,registry:Host@834,registry:Prefix@23185,registry:Prefix@23304,registry:Prefix@23539,registry:Prefix@23620,registry:Region@20711,registry:Status@11150,registry:Target@20536,registry:Target@20641,whole:RegionalDomain@19330,whole:RegionalDomain@19348,whole:RegionalDomain@20294,whole:RegionalDomain@20332,whole:RegionalDomain@20353,whole:RegionalDomain@20376,whole:RegionalDomain@20503,whole:RegionalDomain@21566,whole:RegionalDomain@276,whole:RegionalDomain@2918,whole:RegionalDomain@3119,whole:Route@1045,whole:Route@10480,whole:Route@10932,whole:Route@11094,whole:Route@1434,whole:Route@14385,whole:Route@14460,whole:Route@14607,whole:Route@14669,whole:Route@14812,whole:Route@14968,whole:Route@16221,whole:Route@17316,whole:Route@17324,whole:Route@18764,whole:Route@18826,whole:Route@20634,whole:Route@20685,whole:Route@21706,whole:Route@21761,whole:Route@23337,whole:Route@23415,whole:Route@3100,whole:Route@337,whole:Route@3519,whole:Route@3810,whole:Route@4507,whole:Route@4658,whole:Route@4714,whole:Route@7633,whole:Route@787,whole:Route@816,whole:Route@827,whole:Route@8331,whole:Route@845,whole:Route@8477,whole:RouteAlias@1442,whole:RouteAlias@17332,whole:RouteAlias@18712,whole:RoutePath@12677,whole:RoutePath@23070,whole:RoutePath@23112,whole:RoutePath@23247,whole:RoutePath@23277,whole:WildcardDomain@15535,whole:WildcardDomain@20400,whole:WildcardDomain@20429,whole:WildcardDomain@20910,whole:WildcardDomain@20932,whole:WildcardDomain@21458,whole:WildcardDomain@21487,whole:WildcardDomain@22091,whole:WildcardDomain@22113,whole:WildcardDomain@22137,whole:WildcardDomain@22186,whole:WildcardDomain@22349,whole:WildcardDomain@22477,whole:WildcardDomain@22506,whole:WildcardDomain@3333 1243c0523cd9373cfc2aa418533dcc6df37b359668465b3f6d66e288a902ad5a |
| +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=keeps rows tied to a claim listed but not read this pass (relevantDropped hosts only, so a complete pass keeps nothing) instead of deleting them: route_aliases while the row target route here still has the row account and app (aliasClaimUnread on the row name; a name with its own listed claim is decided by that claim alone), wildcard_domains within the per-box cap while the row account and app hold a local route and none of their local routes is fleet-refused (the fleet-public-routes refusal still removes the parent), route_paths while the host route still has the row account and app; only fields of rows the pass already read (routes, existing aliases, wildcard rows, paths, the listing and dropped hosts); no new registry, file or bucket read; deletes less, never more; no root pass calls it; no root decision registry:Account@18833,registry:Account@20556,registry:Account@20571,registry:Account@20689,registry:Account@21768,registry:Account@22222,registry:Account@22235,registry:Account@23422,registry:Alias@18737,registry:Alias@18867,registry:Alias@18939,registry:Alias@19009,registry:App@14416,registry:App@14616,registry:App@14772,registry:App@14973,registry:App@18786,registry:App@18796,registry:App@20584,registry:App@20595,registry:App@20702,registry:App@21721,registry:App@21731,registry:App@22248,registry:App@22257,registry:App@23375,registry:App@23385,registry:App@4467,registry:App@4663,registry:App@8287,registry:App@8486,registry:Host@15339,registry:Host@18771,registry:Host@20366,registry:Host@20441,registry:Host@20464,registry:Host@20516,registry:Host@20850,registry:Host@20922,registry:Host@21499,registry:Host@21520,registry:Host@21579,registry:Host@21840,registry:Host@22031,registry:Host@22103,registry:Host@22207,registry:Host@22518,registry:Host@22571,registry:Host@22643,registry:Host@23177,registry:Host@23290,registry:Host@23344,registry:Host@23364,registry:Host@23531,registry:Host@23612,registry:Host@834,registry:Prefix@23185,registry:Prefix@23304,registry:Prefix@23539,registry:Prefix@23620,registry:Region@20711,registry:Status@11150,registry:Target@20536,registry:Target@20641,whole:RegionalDomain@19330,whole:RegionalDomain@19348,whole:RegionalDomain@20294,whole:RegionalDomain@20332,whole:RegionalDomain@20353,whole:RegionalDomain@20376,whole:RegionalDomain@20503,whole:RegionalDomain@21566,whole:RegionalDomain@276,whole:RegionalDomain@2918,whole:RegionalDomain@3119,whole:Route@1045,whole:Route@10480,whole:Route@10932,whole:Route@11094,whole:Route@1434,whole:Route@14385,whole:Route@14460,whole:Route@14607,whole:Route@14669,whole:Route@14812,whole:Route@14968,whole:Route@16221,whole:Route@17316,whole:Route@17324,whole:Route@18764,whole:Route@18826,whole:Route@20634,whole:Route@20685,whole:Route@21706,whole:Route@21761,whole:Route@23337,whole:Route@23415,whole:Route@3100,whole:Route@337,whole:Route@3519,whole:Route@3810,whole:Route@4507,whole:Route@4658,whole:Route@4714,whole:Route@7633,whole:Route@787,whole:Route@816,whole:Route@827,whole:Route@8331,whole:Route@845,whole:Route@8477,whole:RouteAlias@1442,whole:RouteAlias@17332,whole:RouteAlias@18712,whole:RoutePath@12677,whole:RoutePath@23070,whole:RoutePath@23112,whole:RoutePath@23247,whole:RoutePath@23277,whole:WildcardDomain@15535,whole:WildcardDomain@20400,whole:WildcardDomain@20429,whole:WildcardDomain@20910,whole:WildcardDomain@20932,whole:WildcardDomain@21458,whole:WildcardDomain@21487,whole:WildcardDomain@22091,whole:WildcardDomain@22113,whole:WildcardDomain@22137,whole:WildcardDomain@22186,whole:WildcardDomain@22349,whole:WildcardDomain@22477,whole:WildcardDomain@22506,whole:WildcardDomain@3333 1243c0523cd9373cfc2aa418533dcc6df37b359668465b3f6d66e288a902ad5a |
| +@coverage internal/domains 68b42a5387b976d202c462fe58f868e80b67afd73429bdeaa3cf00c9755d4e3e |