carlos / platform Public

Fleet public routes review R1: the census overlay re-proposed for both fixes

make census-propose NAME=fleet-public-routes with the same claims file,
claims added for Registry.Fingerprint and fingerprintForwardInert and
extended for Edge.Reload and FleetArmVerdict: 114 units (32 body, 56
sites, 20 new, 6 reads), seal af326671 -> 5f70d8e1 (was 1fe73b52).
Envelopes internal/edge and internal/registry re-pinned. The record-write
census re-pins Server.handleAPIInstanceList (key-site, lit:instances, a
rename at the site). Spec §7 records the delta.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev efdab297692d121d6e656edb0ab2449b7a89a2bc parent 9f468a3
5 files changed, +53 −16
  • docs/superpowers/notes/census-proposal-fleet-public-routes.md +7 −4
  • docs/superpowers/specs/2026-10-29-fleet-public-routes-design.md +26 −1
  • internal/provision/fleet_public_routes_census_test.go +7 −2
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-fleet-public-routes.tsv +12 −8
diff --git a/docs/superpowers/notes/census-proposal-fleet-public-routes.md b/docs/superpowers/notes/census-proposal-fleet-public-routes.md
index 94ee2dc2d..9c8862255 100644
--- a/docs/superpowers/notes/census-proposal-fleet-public-routes.md
+++ b/docs/superpowers/notes/census-proposal-fleet-public-routes.md
@@ -1,6 +1,6 @@
# Census approval: fleet-public-routes
-Ruling `census-ruling-fleet-public-routes`. The independent reviewer approves or rejects every change below, 26 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
+Ruling `census-ruling-fleet-public-routes`. The independent reviewer approves or rejects every change below, 27 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
| unit | change | read sites | what changed |
|---|---|---|---|
@@ -19,6 +19,7 @@ Ruling `census-ruling-fleet-public-routes`. The independent reviewer approves or
| `internal/registry/registry.go` `Registry.ClearNextDueIf` | body | unchanged (6) | fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): the writer guard. Its statements carry kind <> 'forward' and a forward row at the host answers ErrForwardRow (a Route argument's IsForward(), a method call, refused before any write; an unmatched statement told from no row by forwardAt). It writes less, never more; read sites unchanged; no root decision. |
| `internal/registry/registry.go` `Registry.DeleteIfHold` | body | unchanged (7) | fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): the writer guard. Its statements carry kind <> 'forward' and a forward row at the host answers ErrForwardRow (a Route argument's IsForward(), a method call, refused before any write; an unmatched statement told from no row by forwardAt). It writes less, never more; read sites unchanged; no root decision. |
| `internal/registry/registry.go` `Registry.DeleteIfHoldWithTimers` | body | unchanged (8) | fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): the writer guard. Its statements carry kind <> 'forward' and a forward row at the host answers ErrForwardRow (a Route argument's IsForward(), a method call, refused before any write; an unmatched statement told from no row by forwardAt). It writes less, never more; read sites unchanged; no root decision. |
+| `internal/registry/registry.go` `Registry.Fingerprint` | body | unchanged (33) | 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. |
| `internal/registry/registry.go` `Registry.HandHold` | body | unchanged (7) | fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): the writer guard. Its statements carry kind <> 'forward' and a forward row at the host answers ErrForwardRow (a Route argument's IsForward(), a method call, refused before any write; an unmatched statement told from no row by forwardAt). It writes less, never more; read sites unchanged; no root decision. |
| `internal/registry/registry.go` `Registry.InstallLifetimeIf` | body | unchanged (15) | fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): the writer guard. Its statements carry kind <> 'forward' and a forward row at the host answers ErrForwardRow (a Route argument's IsForward(), a method call, refused before any write; an unmatched statement told from no row by forwardAt). It writes less, never more; read sites unchanged; no root decision. |
| `internal/registry/registry.go` `Registry.ReleaseHold` | body | unchanged (7) | fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): the writer guard. Its statements carry kind <> 'forward' and a forward row at the host answers ErrForwardRow (a Route argument's IsForward(), a method call, refused before any write; an unmatched statement told from no row by forwardAt). It writes less, never more; read sites unchanged; no root decision. |
@@ -45,7 +46,7 @@ Ruling `census-ruling-fleet-public-routes`. The independent reviewer approves or
| `internal/domains/aliases.go` `ReconcileAliasesReport` | sites | +registry:Host, +whole:Route | 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. |
| `internal/domains/reconcile.go` `Reconcile` | sites | +whole:Route ×3 | fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 7: the whole-app trash loop keeps every forward row (keptLive = append(keptLive, rt), +whole:Route x3) ahead of DeleteIfUnchanged, so a trashed fleet app's forward row is retired by the forward phase alone. Deletes less, never more. |
| `internal/edge/assetcatch.go` `Edge.localAssetCatch` | sites | +whole:Route | fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: a forward row is never caught locally (IsForward(), +whole:Route). Only narrows. |
-| `internal/edge/edge.go` `Edge.Reload` | sites | +registry:FleetBox, +registry:Host ×7, +whole:Route ×3 | fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Tasks 4 and 6: the forward case (fleetProxy toward the binding's FleetBox, throttled refusal); one refusal check before the switch from FleetArmVerdict (sidecar not judged; a non-ready forward row refused; a forward row always judged by FleetServeEligible, any other row only where tunnels are on; an alias of a refused source refused with it); the accountless note; path rows of a forward host not folded; no alias folded onto a refused row; refusedHosts held through every fold. ListFleets and FleetChannelAuth read before the loop (+registry:FleetBox, +registry:Host x7, +whole:Route x3). Serving only; the hub's agent, not root. |
+| `internal/edge/edge.go` `Edge.Reload` | sites | +registry:FleetBox, +registry:Host ×8, -registry:Region, +whole:Route ×3 | fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Tasks 4 and 6: the forward case (fleetProxy toward the binding's FleetBox, throttled refusal); one refusal check before the switch from FleetArmVerdict (sidecar not judged; a non-ready forward row refused; a forward row always judged by FleetServeEligible, any other row only where tunnels are on; an alias of a refused source refused with it); the accountless note; path rows of a forward host not folded; no alias folded onto a refused row; refusedHosts held through every fold. ListFleets and FleetChannelAuth read before the loop (+registry:FleetBox, +registry:Host x7, +whole:Route x3). Serving only; the hub's agent, not root. Review R1 finding 2: the switch reads verdict.Served (FleetArmVerdict) by host; the forward case and the fleet-placed case take their fleet from it (served.Fleet) instead of FleetPlacement(t.Region), and an admitted forward row not Served continues rather than falling through (+registry:Host, -registry:Region); the same rows take the same arms; no read added. |
| `internal/edge/edge.go` `Edge.ServeHTTP` | sites | +whole:Route ×2 | fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only. |
| `internal/edge/planthrottle.go` `Edge.planThrottleOf` | sites | +whole:Route | fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 5: the kind selector admits a forward row as an instance (IsForward(), +whole:Route); fromTunnel exemptions unchanged. Only slows. |
| `internal/edge/planthrottle.go` `Edge.trackUpgrade` | sites | +whole:Route | fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 5: the kind selector admits a forward row as an instance (IsForward(), +whole:Route); fromTunnel exemptions unchanged. |
@@ -121,6 +122,7 @@ Recorded dispositions, which each change must still satisfy:
- `internal/registry/registry.go` `Registry.ClearNextDueIf`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1,J4;basis=route-and-input
- `internal/registry/registry.go` `Registry.DeleteIfHold`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1,J4;basis=route-and-input
- `internal/registry/registry.go` `Registry.DeleteIfHoldWithTimers`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1,J4;basis=route-and-input
+- `internal/registry/registry.go` `Registry.Fingerprint`: legacy, task accepted-legacy. Basis: 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
- `internal/registry/registry.go` `Registry.HandHold`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1,J4;basis=route-and-input
- `internal/registry/registry.go` `Registry.InstallLifetimeIf`: legacy, task accepted-legacy. Basis: 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 in the process that holds a remote handle: new; one conditional UPDATE of an unheld row's incarnation and serving_seq from an expected pair to the next, the rows reconcile's migration and recreation rules name; self-serve moves 1 Task 7
- `internal/registry/registry.go` `Registry.ReleaseHold`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1,J4;basis=route-and-input
@@ -200,7 +202,7 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- new `cli.go:refuseForwardRoute`: reads +whole:Route ×2; written legacy, accepted-legacy, frozen
- new `cli.go:refuseForwardTargets`: reads +registry:App, +whole:Route ×4; written legacy, accepted-legacy, frozen
- new `cli.go:refuseForwardWrite`: reads +whole:Route; written legacy, accepted-legacy, frozen
-- new `internal/edge/fleetforward.go:FleetArmVerdict`: reads +registry:Host ×3, +registry:Status, +whole:Route ×3; written legacy, accepted-legacy, frozen
+- new `internal/edge/fleetforward.go:FleetArmVerdict`: reads +registry:App, +registry:Host ×4, +registry:Region, +registry:Status, +registry:Tunnel, +whole:Route ×3; written legacy, accepted-legacy, frozen
- new `internal/edge/fleetforward.go:FleetServeEligible`: reads +registry:Account ×7, +registry:Region ×2, +registry:Tunnel, +whole:Route; written legacy, accepted-legacy, frozen
- new `internal/host/hub.go:fleetRefusedFor`: reads +whole:Route; written legacy, accepted-legacy, frozen
- new `internal/host/hub.go:hubFleetOwners`: reads +registry:Account, +registry:Name, +whole:Fleet ×2; written legacy, accepted-legacy, frozen
@@ -214,6 +216,7 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- new `internal/registry/forward.go:Route.InertForward`: reads +registry:Addr, +registry:Addrs, +registry:Args, +registry:AssetGen, +registry:AssetsOff, +registry:Backing, +registry:BuildState, +registry:Canary, +registry:Caps, +registry:ClaimIncarnation, +registry:ClaimOwner, +registry:ClaimRowID, +registry:ClaimStamp, +registry:DBPath, +registry:EgressAllow, +registry:Environment, +registry:Gate, +registry:GoodDemand, +registry:GoodDigest, +registry:GoodVersion, +registry:HA, +registry:Health, +registry:Hibernate, +registry:HoldOp, +registry:IdleSeconds, +registry:ImportGate, +registry:Incarnation, +registry:LastError, +registry:MaxRunSeconds, +registry:NextDue, +registry:Platform, +registry:PolicyExpiresAt, +registry:Pool, +registry:PrevVersion, +registry:Replica, +registry:Replicas, +registry:Replication, +registry:Runtime, +registry:Seed, +registry:SeedSource, +registry:ServingSeq, +registry:ServingVersion, +registry:Size, +registry:Socket, +registry:StatusNamed, +registry:Steering, +registry:Tunnel, +registry:Unit, +registry:UpdateSettings, +registry:Version; written legacy, accepted-legacy, frozen
- new `internal/registry/forward.go:Route.IsForward`: reads +registry:Kind; written legacy, accepted-legacy, frozen
- new `internal/registry/forward.go:forwardAt`: reads +file:QueryRow; written legacy, accepted-legacy, frozen
+- new `internal/registry/forward.go:var fingerprintForwardInert`: reads +registry:Column ×2, +registry:Type, +whole:ForwardColumn ×2; written legacy, accepted-legacy, frozen
- new `internal/registry/forward.go:var putForwardSQL`: reads +registry:Column, +registry:Type, +whole:ForwardColumn; written legacy, accepted-legacy, frozen
- other `changed registry schema`: closed only if it is the registry schema (re-pinned)
- reads `cli.go:runRemove`: +whole:Route; keeps legacy, task accepted-legacy
@@ -223,6 +226,6 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- reads `internal/registry/recoveryhandover.go:Registry.RebindClaimRows`: +registry:Host ×2, +registry:Route ×4, -registry:sql, +whole:Route ×4, +whole:claimTransaction ×2; keeps legacy, task accepted-legacy
- reads `internal/registry/registry.go:upsertRoute`: +registry:Host; keeps legacy, task accepted-legacy
-Seal: `af326671321edda76c7e6217a47892605a9e3b886fa880ad6d049c2f28f63873` → `1fe73b52e654afa61069ceed44a1119983f7d2df0fbca3d6d8ae326828d18c9a`.
+Seal: `af326671321edda76c7e6217a47892605a9e3b886fa880ad6d049c2f28f63873` → `5f70d8e114f38d493088b6a6076d66026520e813b33484f3f42fa59d71d0da60`.
Overlay: `internal/provision/testdata/plan14-root-reads-fleet-public-routes.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/docs/superpowers/specs/2026-10-29-fleet-public-routes-design.md b/docs/superpowers/specs/2026-10-29-fleet-public-routes-design.md
index 30257a79a..debf2c41e 100644
--- a/docs/superpowers/specs/2026-10-29-fleet-public-routes-design.md
+++ b/docs/superpowers/specs/2026-10-29-fleet-public-routes-design.md
@@ -1394,6 +1394,28 @@ Units, by file (N = new, R = removed, otherwise a changed body or sites):
`plan14-root-reads-fleet-public-routes.tsv`, seal `af326671...` to
`1fe73b52...`; `fastConvergeLoop`'s claim names `BoxProvisionConfig`.
+ Whole-branch review round 1's fixes, re-proposed under the same NAME:
+ 114 units (32 body, 56 sites, 20 new, 6 reads), seal `af326671...` to
+ `5f70d8e1...`. Finding 1 (the edge's
+ change poll missed route identity): `internal/registry/registry.go`
+ `Registry.Fingerprint` (`body`, read sites unchanged (33)) also selects
+ host, kind, account, app, platform and `fingerprintForwardInert`, and
+ folds them per row; `internal/registry/forward.go` `var
+ fingerprintForwardInert` (new, `+registry:Column` x2, `+registry:Type`,
+ `+whole:ForwardColumn` x2), a CASE over the `ForwardForbidden` columns
+ built once. Same one SELECT per table on the same fresh connection, no
+ table, file or bucket read added. Finding 2 (C08 copied the fleet-arm
+ decision): `FleetArmVerdict` (still `new`; now `+registry:App`,
+ `+registry:Host` x4, `+registry:Region`, `+registry:Status`,
+ `+registry:Tunnel`, `+whole:Route` x3) also returns `Served`, each row
+ Reload sends through the fleet arm with its fleet, app and the fleet's
+ owner; `Edge.Reload` (`sites`, now `+registry:FleetBox`,
+ `+registry:Host` x8, `-registry:Region`, `+whole:Route` x3) takes its two
+ fleet cases' fleet from `Served` instead of `FleetPlacement(t.Region)`.
+ Envelopes `internal/edge` and `internal/registry` re-pinned. The
+ console's `instanceHealth` and `forwardHeldReason` are outside the root
+ scope; `handleAPIInstanceList` is re-pinned in 9B8 (below).
+
Root's own row readers (adopt, capability, named units, restart, stage,
rootfs, `layoutReversalIncomplete`) change no code and select by
`Kind == "instance"`, `IsSidecar()`, `Unit`, `Runtime`, `Backing`,
@@ -1427,7 +1449,10 @@ is gone, an unplace clears legacy rows first (fix round 1), the record
walk is as before) and `apiinstances.go`
`Server.handleAPIInstanceList` (key-site, `lit:instances`, unchanged:
`route_held` from the registry listing instance health already read; no
-new bucket read or write).
+new bucket read or write), re-pinned again for review round 1's finding
+2 (it passes instance health's `hubRouting`, the listing with
+`edge.FleetArmVerdict`'s `Served` over it, to `forwardHeldReason`; a
+rename at the site, no new key).
Reviewer: Astra, verdict on #280.
diff --git a/internal/provision/fleet_public_routes_census_test.go b/internal/provision/fleet_public_routes_census_test.go
index 222e91cd9..bbe85bcc5 100644
--- a/internal/provision/fleet_public_routes_census_test.go
+++ b/internal/provision/fleet_public_routes_census_test.go
@@ -76,7 +76,10 @@ package provision
// (key-site): it takes the registry listing instanceHealth already read
// and sets route_held (FPR-C08, forwardHeldReason) on each of the
// caller's own records. No new bucket read or write; the record listing
-// and its instances literal are unchanged.
+// and its instances literal are unchanged. Since review R1 finding 2 the
+// listing comes with the edge's Served answer over it (hubRouting, built
+// in instanceHealth from the same registry's fleets table); a rename at
+// this site, no new key.
func fleetPublicRoutesWriteCensusInventory() []censusEntry {
entries := append([]censusEntry(nil), analyticsLiveWriteCensusInventory()...)
repins := []censusEntry{
@@ -93,7 +96,9 @@ func fleetPublicRoutesWriteCensusInventory() []censusEntry {
// Task 11 (fix round 1: an unplace clears legacy rows first): the same record walk.
{"internal/console/fleets.go", "Server.placeAppTarget", "record-writer", "key:RecordsPrefix,key:SetRecordRegion", "122d7b01f3d7cd1e9e6a61fee4f46f7b7d9f88b95d9af8831031e2a31da04551"},
// Task 11: route_held from the registry listing; the same record listing.
- {"internal/console/apiinstances.go", "Server.handleAPIInstanceList", "key-site", "lit:instances", "117d18b80409bccbb3e608b49effae4413dcf0ed561a4e18e7e9d28c6e3cef90"},
+ // Review R1 finding 2: it passes instanceHealth's hubRouting (the listing
+ // and the edge's Served answer over it) to forwardHeldReason.
+ {"internal/console/apiinstances.go", "Server.handleAPIInstanceList", "key-site", "lit:instances", "20119033ae57593fd3cb000c231c6137e99ae0edcf8f3268b44a3f932b85489f"},
}
for _, r := range repins {
found := false
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index fa8e64506..e973a238c 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -41,4 +41,4 @@ plan14-root-reads-region-ha-p1b2.tsv 5b559ba7a42084908cb0fec08083bb2b9b3c9d96003
plan14-root-reads-analytics-agents.tsv 5b559ba7a42084908cb0fec08083bb2b9b3c9d960036fd10418f81e56304bb64
plan14-root-reads-region-ha-dead-holder-backoff.tsv 8f6a1865b0abcea9d4fb68232cc2a25263a106ec87f73bd4b3f2fb388971ebe5
plan14-root-reads-managed-fleets-1c-451.tsv af326671321edda76c7e6217a47892605a9e3b886fa880ad6d049c2f28f63873
-plan14-root-reads-fleet-public-routes.tsv 1fe73b52e654afa61069ceed44a1119983f7d2df0fbca3d6d8ae326828d18c9a
+plan14-root-reads-fleet-public-routes.tsv 5f70d8e114f38d493088b6a6076d66026520e813b33484f3f42fa59d71d0da60
diff --git a/internal/provision/testdata/plan14-root-reads-fleet-public-routes.tsv b/internal/provision/testdata/plan14-root-reads-fleet-public-routes.tsv
index c882afe83..fc3d944e4 100644
--- a/internal/provision/testdata/plan14-root-reads-fleet-public-routes.tsv
+++ b/internal/provision/testdata/plan14-root-reads-fleet-public-routes.tsv
@@ -1,7 +1,7 @@
# Census overlay fleet-public-routes, written by census-propose (#369). census-ruling-fleet-public-routes, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-fleet-public-routes.md.
-# 31 body, 56 sites, 7 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
+# 32 body, 56 sites, 7 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
# 1 removed: each unit's declaration, or each envelope's directory, is absent from the scanned tree, so its row goes, a frozen declaration is retired as absent, and an envelope is retired.
-# 26 new dispositions: 6 reads re-frozen at their disposition with the claim, 19 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 1 other.
+# 27 new dispositions: 6 reads re-frozen at their disposition with the claim, 20 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 1 other.
@legacy a4eac75b57a105de11c2b97abbfb34bc4df00c54dbe39e73a1fb7280ba6c0098 internal/host/agent.go countExpiredCanaries legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 7: a forward row is skipped (IsForward(), a method call) before its channel pointer is read; read sites unchanged (6); it reads less, never more. registry:App@653,registry:Channel@661,registry:Platform@405,whole:Route@256,whole:Route@453,whole:Route@648 afc7dfc2f1bdbc41cd1824cae07ef235976a40819139ffa71a5117b80bdff16d
@legacy cd29e6d0c4d4725bd90e1c125f7b885dda2456c4cb18a6ed8ce9a754e1c6aef5 internal/host/fleetbind.go ReconcileFleetBindings legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): §4.5: runs on the hub only (hubArmed); a binding whose object key is not fleetBindingKey(b.Fleet, b.Host) is skipped and logged before anything else; the stamp is SetFleetBoxIf, one conditional write judging placement, kind and active fleet membership at the instant of the write (SetFleetBox removed); a write that changes nothing is logged. Read sites unchanged (3); it stamps less, never more. registry:FleetBox@2104,registry:Region@1896,whole:Route@1030 45f326099ae129e3407f032edb98845d3a7b67f3fd2558c8498326481d4cfd0b
@legacy d61db25a94590c95afa7ba6b6df6d25ee51dd19187003cfaae0828ebfe23fb77 internal/host/plans_pass.go planThrottleFor legacy accepted-legacy accepted-legacy;rev3=census-ruling-plans-4c-units;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), as a hook armed in runAgent: planIdleFor's and planRateCeilingFor's twin, it reads the row's account (release.RouteAccount) and kind and the plans pass's in-memory cache; returns the account's published throttle while it is in force, for instance rows only. Only slows; no root decision (plans 4c).;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 5: a forward row is admitted where an instance row was (IsForward(), a method call), so the owner's throttle applies on the hub; read sites unchanged (2). Only slows; no root decision. registry:Kind@69,whole:Route@275 5e52fa6cb3618e4ddb25b1f24952227e5c29c9545617c809b2a7efe2b9322000
@@ -15,6 +15,7 @@
@legacy 89e59ba863e020fbc09490d6dc62e896980c188cddfdf8519a6affa265eaac71 internal/registry/registry.go Registry.ClearNextDueIf legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): the writer guard. Its statements carry kind <> 'forward' and a forward row at the host answers ErrForwardRow (a Route argument's IsForward(), a method call, refused before any write; an unmatched statement told from no row by forwardAt). It writes less, never more; read sites unchanged; no root decision. file:Exec@215,registry:remote@100,registry:remote@70,registry:sql@215,whole:remoteClient@102,whole:remoteClient@72 c6d4ba1ae683573e0ca6149d7f7ed9f33c09f6d4b889c6c794a6906cfd7aab6a
@legacy 05464dd61bd9cf583605d5b425299a4a76e3b3836c3f0170a7fac38413985c43 internal/registry/registry.go Registry.DeleteIfHold legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): the writer guard. Its statements carry kind <> 'forward' and a forward row at the host answers ErrForwardRow (a Route argument's IsForward(), a method call, refused before any write; an unmatched statement told from no row by forwardAt). It writes less, never more; read sites unchanged; no root decision. file:Exec@265,registry:Changed@193,registry:remote@101,registry:remote@69,registry:sql@265,whole:remoteClient@103,whole:remoteClient@71 47fff19a382043e8d711e84fc8d1cd3c54b083524649cf310d195e86888d1a14
@legacy 5f07ec75747b0a4fcf8d28294c21fe29b240c5d389c37b287432ccdef9c76405 internal/registry/registry.go Registry.DeleteIfHoldWithTimers legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): the writer guard. Its statements carry kind <> 'forward' and a forward row at the host answers ErrForwardRow (a Route argument's IsForward(), a method call, refused before any write; an unmatched statement told from no row by forwardAt). It writes less, never more; read sites unchanged; no root decision. file:Exec@372,file:Exec@599,registry:Changed@213,registry:remote@111,registry:remote@79,registry:sql@284,whole:remoteClient@113,whole:remoteClient@81 3119da9f51e7c4575ee84988ac49aac28c7b7da3f1bdfa2b8b9854fe187d44aa
+@legacy b49ab49f60297a25468b3460c8d23c84889b636ac0dd19ac4ba90a1398340779 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. file:Exec@284,file:Open@188,file:Query@368,file:Query@5293,file:Query@5772,file:Query@6758,file:Query@7454,file:Query@8366,file:Query@9423,registry:ClaimIncarnation@1401,registry:ClaimIncarnation@4201,registry:ClaimIncarnation@4278,registry:ClaimOwner@1445,registry:ClaimOwner@4402,registry:ClaimOwner@4467,registry:ClaimRowID@1464,registry:ClaimRowID@4494,registry:ClaimRowID@4560,registry:ClaimStamp@1426,registry:ClaimStamp@4311,registry:ClaimStamp@4375,registry:Incarnation@1509,registry:Incarnation@4781,registry:Incarnation@4845,registry:ServingSeq@1528,registry:ServingSeq@4872,registry:ServingSeq@4935,registry:Text@158,registry:path@207,registry:remote@55,registry:remote@87,whole:remoteClient@57,whole:remoteClient@89 075a4b677fd0b173648b2a2c68001fe489992c36346964a50c9b8373fcd393b4
@legacy a21325a72acf27c0a523a86debfb21a33c7f1d50cd7bcf68ad7aa9023fa7beff internal/registry/registry.go Registry.HandHold legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): the writer guard. Its statements carry kind <> 'forward' and a forward row at the host answers ErrForwardRow (a Route argument's IsForward(), a method call, refused before any write; an unmatched statement told from no row by forwardAt). It writes less, never more; read sites unchanged; no root decision. file:Exec@484,registry:Changed@239,registry:remote@115,registry:remote@83,registry:sql@484,whole:remoteClient@117,whole:remoteClient@85 acfb284c208288028d707979fa4df4dd0832031293c8f8def86b6a620e5dfec7
@legacy 10903ed1183bd6cdf0dfb549749e5111086ea8a33e49132f8a14e4d25a2b47f8 internal/registry/registry.go Registry.InstallLifetimeIf 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 in the process that holds a remote handle: new; one conditional UPDATE of an unheld row's incarnation and serving_seq from an expected pair to the next, the rows reconcile's migration and recreation rules name; self-serve moves 1 Task 7;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): the writer guard. Its statements carry kind <> 'forward' and a forward row at the host answers ErrForwardRow (a Route argument's IsForward(), a method call, refused before any write; an unmatched statement told from no row by forwardAt). It writes less, never more; read sites unchanged; no root decision. file:Exec@276,registry:Changed@242,registry:Incarnation@437,registry:Incarnation@478,registry:ServingSeq@455,registry:ServingSeq@498,registry:remote@121,registry:remote@89,registry:sql@276,whole:Pair@195,whole:Pair@207,whole:Pair@215,whole:Pair@221,whole:remoteClient@123,whole:remoteClient@91 68ea02d808975e44d01cc05d9d38a8562de93a29e47ea757fd5761fb2fc9a4a8
@legacy 3c958b841901c403d73de8cd899ddb435729c43d1d7189ff9c80e8b8664bb601 internal/registry/registry.go Registry.ReleaseHold legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): the writer guard. Its statements carry kind <> 'forward' and a forward row at the host answers ErrForwardRow (a Route argument's IsForward(), a method call, refused before any write; an unmatched statement told from no row by forwardAt). It writes less, never more; read sites unchanged; no root decision. file:Exec@263,registry:Changed@191,registry:remote@100,registry:remote@68,registry:sql@263,whole:remoteClient@102,whole:remoteClient@70 f81967fe4ba32872864efae95ece39fccc772c63b0d4869e3784d6395b7d3e94
@@ -34,7 +35,7 @@
@legacy ec27d4dab8ef2788909404d17e10af89c502455d8fbad84d81371c8ab94d2542 cli.go refuseForwardRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 3: refuses one row with FPR-C01 when it is a forward row (+whole:Route x2); a refusal only. whole:Route@127,whole:Route@50 dac303211dc7ee2ee7a810ab702f806d44c6292499088fd34c22a35567061140
@legacy a0ce2c8e02fe616047d2d5b86eb2b3b13c1fdcf5969864905276b04fce7551fb cli.go refuseForwardTargets legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 3 fix round 1: the --host row, or every row the --app batch selects (appAccount filter), checked for a forward row before anything else (+registry:App, +whole:Route x4); a refusal only. registry:App@343,whole:Route@194,whole:Route@329,whole:Route@415,whole:Route@492 a0bd197f71a7d8ea4b3268a4dc3e8fd8693fa04cc3e452c0df5dea21efb8fa0a
@legacy 8a885806806d4eef1c2d6a691d41c8cdba3befc754ad53d07762e5834f7650c5 cli.go refuseForwardWrite legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 3 fix round 1: on a registry ErrForwardRow, reads the row again to name it in FPR-C01 (+whole:Route); a refusal only. whole:Route@204 cbc07e525e9b7a473a0bf220837cd890f5a97c42bfaba5c450ed8a5df94178f1
-@legacy fefa4c1d012e1a03fbab5e6f489cd0366b7bc8f68ba620b9d20bd50ad3f09945 internal/edge/fleetforward.go FleetArmVerdict legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 6 fix round 3: the single fleet-arm refusal decision over one listing, used by Edge.Reload, the edges-file writer and the alias pass (parity by construction); returns the refused set with reasons and the accountless notes (+registry:Host x3, +registry:Status, +whole:Route x3). Pure; no I/O. registry:Host@315,registry:Host@510,registry:Host@554,registry:Status@255,whole:Route@203,whole:Route@457,whole:Route@609 07d2cf80aa7f932c77b5676cd96b3cb5446593df34292013fd257a2552330cc2
+@legacy 70cbae270f9d9e9eed90bc1275d6e1735574070bdf11b1ddd93ae1c7ac6a5d69 internal/edge/fleetforward.go FleetArmVerdict legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 6 fix round 3: the single fleet-arm refusal decision over one listing, used by Edge.Reload, the edges-file writer and the alias pass (parity by construction); returns the refused set with reasons and the accountless notes (+registry:Host x3, +registry:Status, +whole:Route x3). Pure; no I/O. Review R1 finding 2: also returns Served, each admitted row Reload sends through the fleet arm (a forward row, or a fleet-placed row with no Tunnel) with its fleet, app and the fleet owner from owners; a host the alias step refuses is dropped from it (+registry:App, +registry:Host, +registry:Region, +registry:Tunnel on the listing it already holds). Pure; no I/O. registry:App@770,registry:Host@349,registry:Host@532,registry:Host@591,registry:Host@728,registry:Region@656,registry:Status@289,registry:Tunnel@697,whole:Route@237,whole:Route@491,whole:Route@842 982dd96a6e3f0869d51df98ab4628c38672c364e0fcae20e5516e01a6e3be3bb
@legacy 5dcd674831b838b030c4aaa934b44834cea72c528729832e5ccda9fa9589bb67 internal/edge/fleetforward.go FleetServeEligible legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4 (§4.4 tenancy): a forward row is eligible only on a hub, inert, fleet-placed, its fleet in the fleets table and its raw Account non-empty and equal to the owner; a non-forward fleet-placed row: empty raw Account served and noted, else release.RouteAccount must equal the owner; raw field before RouteAccount (+registry:Account x7, +registry:Region x2, +registry:Tunnel, +whole:Route). Pure; no I/O. registry:Account@1009,registry:Account@1107,registry:Account@1363,registry:Account@594,registry:Account@665,registry:Account@751,registry:Account@853,registry:Region@145,registry:Region@432,registry:Tunnel@810,whole:Route@1285 d9524bf630586a737e856f0b46e3b065129969f033f084a3b7adea0d2fb8da32
@legacy 5d02b78d4b6dbe612d783abda323606b3dccf1fe71970cb70695b5e5f3f7cc02 internal/host/hub.go fleetRefusedFor legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 6 fix round 3: a thin adapter passing FleetArmVerdict's refused set through for the writer and the alias pass (+whole:Route); decides nothing. whole:Route@309 1137627ca597b364ec0f126096a1dde081871f6515b42df573e576a40c48ca11
@legacy 319d6e342562d5d773fb6efdd980594fc832709fcaae7c26afd20327e97d2170 internal/host/hub.go hubFleetOwners legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 12: the hub's owner map (ReconcileConfig.FleetOwners and the edge fleet-arm inputs), the registry fleets table read on each call: Fleet.Name -> Fleet.Account (+registry:Account, +registry:Name, +whole:Fleet x2). Agent-side; no root decision. registry:Account@328,registry:Name@318,whole:Fleet@270,whole:Fleet@299 a0bbc70cbcecd50c89b4c1d41fe8f19d2e7b91b4258c4c75956c9a26cce7708d
@@ -48,6 +49,7 @@
@legacy 75f17e4751dc0c94a891f7c2dd334663b864ed0cd96bc20c8e9d32ccf09449fa internal/registry/forward.go Route.InertForward legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 2: true only when every one of the 50 forbidden columns of §4.2 is zero (one +registry:<field> site each, nothing else). Pure. registry:Addr@84,registry:Addrs@102,registry:Args@789,registry:AssetGen@274,registry:AssetsOff@257,registry:Backing@715,registry:BuildState@979,registry:Canary@636,registry:Caps@549,registry:ClaimIncarnation@1041,registry:ClaimOwner@1094,registry:ClaimRowID@1118,registry:ClaimStamp@1071,registry:DBPath@319,registry:EgressAllow@907,registry:Environment@504,registry:Gate@617,registry:GoodDemand@434,registry:GoodDigest@410,registry:GoodVersion@385,registry:HA@586,registry:Health@121,registry:Hibernate@568,registry:HoldOp@141,registry:IdleSeconds@807,registry:ImportGate@232,registry:Incarnation@161,registry:LastError@296,registry:MaxRunSeconds@831,registry:NextDue@675,registry:Platform@755,registry:PolicyExpiresAt@950,registry:Pool@486,registry:PrevVersion@360,registry:Replica@1026,registry:Replicas@1003,registry:Replication@650,registry:Runtime@596,registry:Seed@771,registry:SeedSource@208,registry:ServingSeq@185,registry:ServingVersion@458,registry:Size@932,registry:Socket@64,registry:StatusNamed@696,registry:Steering@857,registry:Tunnel@529,registry:Unit@736,registry:UpdateSettings@879,registry:Version@339 91d914f0f465b6030599036a73618470e044095cc12ac916b836b83055ef7681
@legacy b7747cb4ff417f0637eb80fb7b813491012204b32211a73a728e0eef672948ad internal/registry/forward.go Route.IsForward legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 2: Kind == "forward" (+registry:Kind). Pure. registry:Kind@41 e1c6358e97b1638d1528f377952dee2d8a7b73cb7ee9493ee93b3e1969cf7262
@legacy c186461a439e575fac505990c4743449759ad037b8a1dd07fad2eb4f8dc94f7c internal/registry/forward.go forwardAt legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 3: the one SELECT kind every guarded writer uses to answer ErrForwardRow for a forward row at the host (+file:QueryRow); decides the error, never a write. file:QueryRow@73 3ada8330901d8af32718dbca9b8a66ac43c7673da1e8c02d446167c35c8b0aaf
+@legacy 691efb65ee1510282077bbbaa5e68c4df8bc9895844ebfaf382737d92989b220 internal/registry/forward.go var fingerprintForwardInert legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): review R1 finding 1: a SQL CASE expression built once from ForwardForbidden (column name and type): 1 for a non-forward row or an inert forward row, else 0; read only by Registry.Fingerprint's SELECT. A constant string; no I/O. registry:Column@184,registry:Column@235,registry:Type@139,whole:ForwardColumn@115,whole:ForwardColumn@77 e8059c0f5fe795705d7b226c6e2ee2bbcc23d5a8ae6e658d6c828213489b35e8
@legacy 5765c51bcbd90399bd9aaea8847ddaf266354cdf461d0ce79f64a91fdfc9538a internal/registry/forward.go var putForwardSQL legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 2: PutForward's statement, its conflict arm built once from the ForwardForbidden literal (+registry:Column, +registry:Type, +whole:ForwardColumn); reads only a package literal. registry:Column@694,registry:Type@634,whole:ForwardColumn@595 7e4d14acc0e5ddd19457adcf2c54333af57cb131890126fd31ae81a1a48b0150
@legacy 92130e09d8e1a24e5a91ba103944ab8f2a8fee031b380684495ceb06163412bc cli.go runRemove legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 3 FPR-C01: a Get and the forward check before Delete (+whole:Route); a refusal only. file:Open@277,whole:Route@539 714ca0b07046c0a8646b3f838f94b0ddc0b950f7134cdd8790860b6ed4a9b7b3
@legacy dd8cd9480a0eed378e73cf045ea6ceb4cab312ce1d31319a6dd4d339007a9427 internal/registry/claimhold.go Registry.SetClaimHold legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 3: the forward check on its claim transaction (+whole:claimTransaction); ErrForwardRow before any write. registry:ClaimIncarnation@797,registry:ClaimOwner@839,registry:ClaimRowID@857,registry:ClaimStamp@821,registry:remote@123,registry:remote@153,whole:ClaimOwnership@222,whole:ClaimOwnership@229,whole:claimTransaction@550,whole:remoteClient@125,whole:remoteClient@155 4b314d6636b57f34d71e37e6519a565c36ae0b230ce238486985b639fb276349
@@ -64,7 +66,7 @@
@legacy 6efde31b74d6732e1a3142489302a8cceb0c607ccc9eadad9bb96f500376640b 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. registry:Account@18794,registry:Account@18809,registry:Account@18927,registry:Account@19279,registry:Account@19292,registry:Alias@16881,registry:Alias@16921,registry:Alias@16991,registry:App@13561,registry:App@13761,registry:App@13917,registry:App@14118,registry:App@18822,registry:App@18833,registry:App@18940,registry:App@19305,registry:App@19314,registry:App@3612,registry:App@3808,registry:App@7432,registry:App@7631,registry:Host@14484,registry:Host@18604,registry:Host@18679,registry:Host@18702,registry:Host@18754,registry:Host@19088,registry:Host@19160,registry:Host@19264,registry:Host@19575,registry:Host@19628,registry:Host@19700,registry:Host@20234,registry:Host@20347,registry:Host@20406,registry:Host@20487,registry:Host@724,registry:Prefix@20242,registry:Prefix@20361,registry:Prefix@20414,registry:Prefix@20495,registry:Region@18949,registry:Status@10295,registry:Target@18774,registry:Target@18879,whole:RegionalDomain@17568,whole:RegionalDomain@17586,whole:RegionalDomain@18532,whole:RegionalDomain@18570,whole:RegionalDomain@18591,whole:RegionalDomain@18614,whole:RegionalDomain@18741,whole:RegionalDomain@2323,whole:Route@10077,whole:Route@10239,whole:Route@1127,whole:Route@13530,whole:Route@13605,whole:Route@13752,whole:Route@13814,whole:Route@13957,whole:Route@14113,whole:Route@15366,whole:Route@16461,whole:Route@16469,whole:Route@18872,whole:Route@18923,whole:Route@2304,whole:Route@2955,whole:Route@3652,whole:Route@3803,whole:Route@3859,whole:Route@677,whole:Route@6778,whole:Route@706,whole:Route@717,whole:Route@735,whole:Route@7476,whole:Route@7622,whole:Route@935,whole:Route@9625,whole:RouteAlias@1135,whole:RouteAlias@16477,whole:RouteAlias@16856,whole:RoutePath@11822,whole:RoutePath@20127,whole:RoutePath@20169,whole:RoutePath@20304,whole:RoutePath@20334,whole:WildcardDomain@14680,whole:WildcardDomain@18638,whole:WildcardDomain@18667,whole:WildcardDomain@19148,whole:WildcardDomain@19170,whole:WildcardDomain@19194,whole:WildcardDomain@19243,whole:WildcardDomain@19406,whole:WildcardDomain@19534,whole:WildcardDomain@19563,whole:WildcardDomain@2537 dbeec4dda10804908e22d0b5094828c96042d4943722bbefbfec792350cd2916
@legacy e490713bd4bc272c91a24bc595a1188bf4863ae2dd2e7345f715c79fc2059091 internal/domains/reconcile.go Reconcile legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from its domains loop: the seeded-instances body (a trashed app's route kept while an import on its host is journaled, deleted only if the row is still the one listed); self-serve moves 1 Task 4 removes the claims-off 1d auto-purge, so a claims-off box destroys no app objects and a host-claim box only requests the claim's purge as before; the registry reads are unchanged;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 7: the whole-app trash loop keeps every forward row (keptLive = append(keptLive, rt), +whole:Route x3) ahead of DeleteIfUnchanged, so a trashed fleet app's forward row is retired by the forward phase alone. Deletes less, never more. registry:Account@5579,registry:Account@5775,registry:App@10407,registry:App@11743,registry:App@13982,registry:App@5380,registry:App@5528,registry:App@7482,registry:App@7539,registry:App@7740,registry:App@7953,registry:App@8191,registry:App@8381,registry:Canary@10351,registry:Canary@13029,registry:Canary@13873,registry:Channel@11798,registry:Channel@13006,registry:Channel@13904,registry:Channel@13991,registry:Channel@14294,registry:Host@10314,registry:Host@10993,registry:Host@14029,registry:Host@14114,registry:Host@14285,registry:Host@5650,registry:Host@5736,registry:Host@7589,registry:Host@7731,registry:Host@7944,registry:Host@8182,registry:Host@8372,registry:Kind@12672,registry:Platform@10335,registry:Platform@13858,whole:Route@10296,whole:Route@10402,whole:Route@10463,whole:Route@10669,whole:Route@10685,whole:Route@10811,whole:Route@10839,whole:Route@11005,whole:Route@11021,whole:Route@11029,whole:Route@11728,whole:Route@11781,whole:Route@11938,whole:Route@11954,whole:Route@12999,whole:Route@13069,whole:Route@13238,whole:Route@13254,whole:Route@13262,whole:Route@13813,whole:Route@13844,whole:Route@13977,whole:Route@14132,whole:Route@14146,whole:Route@14152,whole:Route@14324,whole:Route@14338,whole:Route@14344,whole:Route@14352,whole:Route@14361,whole:Route@5366,whole:Route@5380,whole:Route@5510,whole:Route@5528,whole:Route@5579,whole:Route@5650,whole:Route@5736,whole:Route@5775,whole:Route@7144,whole:Route@7176,whole:Route@7426,whole:Route@7444,whole:Route@7454,whole:Route@7534,whole:Route@7760,whole:Route@7778,whole:Route@7788,whole:Route@7854,whole:Route@7971,whole:Route@7989,whole:Route@7999,whole:Route@8204,whole:Route@8222,whole:Route@8232,whole:Route@8410,whole:Route@8428,whole:Route@8438,whole:Route@8448,whole:Route@8457 befcac49b400761e731737246e8e8256b42ad980649be7db67e61b9895d8bd5d
@legacy 845e5a176dba6bd251eae8a73880debebff4d3deb62e2a8120fe317476458ec9 internal/edge/assetcatch.go Edge.localAssetCatch legacy accepted-legacy accepted-legacy;rev3=census-ruling-edge-asset-cache-3;basis=in the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): new (asset cache plan 3 Task 5): the local catch decision on a box with a route row for the host. It catches only when armed, for GET or HEAD, on a row of the edge's own route snapshot that is not the status host and has no password gate and no import gate (the row's Kind, Gate and ImportGate), and for a path under a prefix the box's asset policy holds for the host (LocalAssets.For, the edges file writer's settled snapshot, no registry read per call). It only narrows: a gated or import-gated row is never caught, so a stored body is never served past a gate; no root decision;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: a forward row is never caught locally (IsForward(), +whole:Route). Only narrows. registry:Gate@748,registry:ImportGate@771,registry:Kind@719,whole:Route@722,whole:Route@751,whole:Route@774,whole:Route@803 242c568f4647d930d66341493bf8dfd6b171b6772a2daa05188962cee5e73b60
-@legacy 97209612a71c4286853f1d9e2e74e3521c16638c519aa399e1eca743a828f34b internal/edge/edge.go Edge.Reload legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-design-edge-rate-limit-358;basis=each route's upstream entry gains rate: e.parseRateSettings(t), the row's rate_limit column parsed once per reload; the one added site is that whole:Route pass of t (parseRateSettings is a new unit, classified in the decisions overlay); no other read added;rev3=census-ruling-certwarm-wake;basis=the single reload hook call becomes runReloadHooks(), which runs every registered hook in order (#386); no read added, same 57 sites (56 before #358 landed on main);rev3=census-ruling-edge-asset-cache-3;basis=each tenant reverse proxy built in the switch (the tunnel, fleet, socket and TCP arms, every *httputil.ReverseProxy) is installed behind assetScrubbedProxy, which hands the proxy an assetInformationalScrub writer so an app's 1xx (103) loses the asset cache's reserved headers (X-Carlos-Asset-Fill, -Fill-Ack, -Expires, Carlos-Cache) on every local path, as the backhaul already does (final review F6); a type check of the proxy it just built and a wrapper around it; static and status handlers untouched; read sites unchanged (57), offsets moved; no read added;rev3=census-ruling-alias-wake-338;basis=#338 follow-up: after the path fold, a resolved platform alias takes its source's own upstream entry (same proxy, route, hibernating: the existing activator wake, lease and fence), keeping its own prefix map (none for a minted apex) and never inheriting the source's (Astra r2 P1); a refused alias, or one whose source has no entry, is dropped from the map (not served, not Allowed); the attached-hostname fold clears platformAlias;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the activator-managed test (generation proxy, hib, no-activator 404) is Route.ActivatorOwned instead of Kind and Hibernate inline, so a resident rootfs instance goes through the activator; binary rows unchanged;rev3=census-ruling-edge-roll-blip;basis=the tcpProxy and multiProxy calls pass e.hold (the per-Edge localHold set once in newEdge): a loopback TCP upstream that refuses is redialled for up to 13 s and a probed route with a local upstream waits for prober readmission instead of answering 502/503 (#434 part B); edge-side dial policy only, no read added, same 52 sites;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: after the alias fold, reads the regional_domains rows (e.reg.ListRegional; an error aborts the reload as every registry read here does) and applies them with foldRegional against the routes slice the same reload read; the added reads are that one registry list and the routes already read;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Tasks 4 and 6: the forward case (fleetProxy toward the binding's FleetBox, throttled refusal); one refusal check before the switch from FleetArmVerdict (sidecar not judged; a non-ready forward row refused; a forward row always judged by FleetServeEligible, any other row only where tunnels are on; an alias of a refused source refused with it); the accountless note; path rows of a forward host not folded; no alias folded onto a refused row; refusedHosts held through every fold. ListFleets and FleetChannelAuth read before the loop (+registry:FleetBox, +registry:Host x7, +whole:Route x3). Serving only; the hub's agent, not root. registry:Account@3193,registry:Alias@22955,registry:Alias@23042,registry:Alias@23622,registry:FleetBox@5862,registry:FleetBox@9697,registry:Health@11842,registry:Health@11968,registry:Host@10251,registry:Host@12451,registry:Host@12546,registry:Host@12834,registry:Host@12860,registry:Host@12912,registry:Host@17383,registry:Host@19290,registry:Host@19598,registry:Host@19625,registry:Host@20426,registry:Host@20998,registry:Host@23376,registry:Host@23425,registry:Host@4586,registry:Host@4640,registry:Host@4690,registry:Host@9559,registry:Host@9616,registry:Host@9652,registry:Kind@13008,registry:Kind@13068,registry:Kind@15719,registry:Kind@15741,registry:Name@3183,registry:Prefix@20973,registry:Region@5099,registry:Socket@10315,registry:Socket@19606,registry:Socket@9804,registry:Status@4511,registry:Target@20985,registry:Tunnel@8263,registry:Tunnel@8319,registry:Version@15700,registry:Version@15802,whole:Fleet@3135,whole:Fleet@3164,whole:RegionalDomain@24092,whole:Route@10371,whole:Route@12985,whole:Route@130,whole:Route@13058,whole:Route@13118,whole:Route@19658,whole:Route@19665,whole:Route@19761,whole:Route@20861,whole:Route@21876,whole:Route@24084,whole:Route@3266,whole:Route@3324,whole:Route@5926,whole:Route@8381,whole:Route@9761,whole:RouteAlias@22926,whole:RoutePath@20404 1665415406e86d7d422c59738f5e2537c008561adda4ba1baa812573bc0a7acc
+@legacy 3e1e690b8376f2ad61b8bbacaed7d60f0a1bf0ebf32f004ae446fb31bd32aef4 internal/edge/edge.go Edge.Reload legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-design-edge-rate-limit-358;basis=each route's upstream entry gains rate: e.parseRateSettings(t), the row's rate_limit column parsed once per reload; the one added site is that whole:Route pass of t (parseRateSettings is a new unit, classified in the decisions overlay); no other read added;rev3=census-ruling-certwarm-wake;basis=the single reload hook call becomes runReloadHooks(), which runs every registered hook in order (#386); no read added, same 57 sites (56 before #358 landed on main);rev3=census-ruling-edge-asset-cache-3;basis=each tenant reverse proxy built in the switch (the tunnel, fleet, socket and TCP arms, every *httputil.ReverseProxy) is installed behind assetScrubbedProxy, which hands the proxy an assetInformationalScrub writer so an app's 1xx (103) loses the asset cache's reserved headers (X-Carlos-Asset-Fill, -Fill-Ack, -Expires, Carlos-Cache) on every local path, as the backhaul already does (final review F6); a type check of the proxy it just built and a wrapper around it; static and status handlers untouched; read sites unchanged (57), offsets moved; no read added;rev3=census-ruling-alias-wake-338;basis=#338 follow-up: after the path fold, a resolved platform alias takes its source's own upstream entry (same proxy, route, hibernating: the existing activator wake, lease and fence), keeping its own prefix map (none for a minted apex) and never inheriting the source's (Astra r2 P1); a refused alias, or one whose source has no entry, is dropped from the map (not served, not Allowed); the attached-hostname fold clears platformAlias;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the activator-managed test (generation proxy, hib, no-activator 404) is Route.ActivatorOwned instead of Kind and Hibernate inline, so a resident rootfs instance goes through the activator; binary rows unchanged;rev3=census-ruling-edge-roll-blip;basis=the tcpProxy and multiProxy calls pass e.hold (the per-Edge localHold set once in newEdge): a loopback TCP upstream that refuses is redialled for up to 13 s and a probed route with a local upstream waits for prober readmission instead of answering 502/503 (#434 part B); edge-side dial policy only, no read added, same 52 sites;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: after the alias fold, reads the regional_domains rows (e.reg.ListRegional; an error aborts the reload as every registry read here does) and applies them with foldRegional against the routes slice the same reload read; the added reads are that one registry list and the routes already read;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Tasks 4 and 6: the forward case (fleetProxy toward the binding's FleetBox, throttled refusal); one refusal check before the switch from FleetArmVerdict (sidecar not judged; a non-ready forward row refused; a forward row always judged by FleetServeEligible, any other row only where tunnels are on; an alias of a refused source refused with it); the accountless note; path rows of a forward host not folded; no alias folded onto a refused row; refusedHosts held through every fold. ListFleets and FleetChannelAuth read before the loop (+registry:FleetBox, +registry:Host x7, +whole:Route x3). Serving only; the hub's agent, not root. Review R1 finding 2: the switch reads verdict.Served (FleetArmVerdict) by host; the forward case and the fleet-placed case take their fleet from it (served.Fleet) instead of FleetPlacement(t.Region), and an admitted forward row not Served continues rather than falling through (+registry:Host, -registry:Region); the same rows take the same arms; no read added. registry:Account@3193,registry:Alias@23566,registry:Alias@23653,registry:Alias@24233,registry:FleetBox@10308,registry:FleetBox@6319,registry:Health@12453,registry:Health@12579,registry:Host@10163,registry:Host@10220,registry:Host@10256,registry:Host@10862,registry:Host@13062,registry:Host@13157,registry:Host@13445,registry:Host@13471,registry:Host@13523,registry:Host@17994,registry:Host@19901,registry:Host@20209,registry:Host@20236,registry:Host@21037,registry:Host@21609,registry:Host@23987,registry:Host@24036,registry:Host@4586,registry:Host@4640,registry:Host@4690,registry:Host@5420,registry:Kind@13619,registry:Kind@13679,registry:Kind@16330,registry:Kind@16352,registry:Name@3183,registry:Prefix@21584,registry:Socket@10415,registry:Socket@10926,registry:Socket@20217,registry:Status@4511,registry:Target@21596,registry:Tunnel@8720,registry:Tunnel@8776,registry:Version@16311,registry:Version@16413,whole:Fleet@3135,whole:Fleet@3164,whole:RegionalDomain@24703,whole:Route@10372,whole:Route@10982,whole:Route@130,whole:Route@13596,whole:Route@13669,whole:Route@13729,whole:Route@20269,whole:Route@20276,whole:Route@20372,whole:Route@21472,whole:Route@22487,whole:Route@24695,whole:Route@3266,whole:Route@3324,whole:Route@6383,whole:Route@8838,whole:RouteAlias@23537,whole:RoutePath@21015 ef7588339f3ea374264e6b2f463a6f00ec18d94e57df83de9075f27a711236a0
@legacy a5b9d730d59372ca746b85678d6c23297d18fc4df6ac1c3e10142624c0e7f2e8 internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only. registry:Gate@19424,registry:Gate@19484,registry:Gate@19542,registry:Host@19527,registry:ImportGate@25256,registry:Kind@15087,registry:Kind@17557,registry:Kind@25198,registry:Kind@25227,whole:Route@11116,whole:Route@12895,whole:Route@13107,whole:Route@13299,whole:Route@15090,whole:Route@16393,whole:Route@16488,whole:Route@16564,whole:Route@16608,whole:Route@17560,whole:Route@19427,whole:Route@19487,whole:Route@19530,whole:Route@19545,whole:Route@21178,whole:Route@25201,whole:Route@25230,whole:Route@25259,whole:Route@25291,whole:Route@27118 fc5d1d3cf4100ae1634d9b2ff14d01a67a0dc548891757efdcada3b9c85fe4b2
@legacy cf3f4d519ad3c4d3b6e9b28d8f7bc3c726ac989733cc2c17933a29bd83c96b3d internal/edge/planthrottle.go Edge.planThrottleOf legacy accepted-legacy accepted-legacy;rev3=census-ruling-plans-4c-units;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), serving only: asks the plan throttle hook (planThrottleFor, passed the row) whether an instance row's account is slowed down; door, hop-door and tunnel callers exempt as from the rate limit; reads only the row's kind (plans 4c).;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 5: the kind selector admits a forward row as an instance (IsForward(), +whole:Route); fromTunnel exemptions unchanged. Only slows. registry:Kind@130,whole:Route@133,whole:Route@165,whole:Route@380 b9d5f5afde26cd0f574bfd71c57c87ee599ae55b6585db53a61c9b65694ad4cc
@legacy 47b416f22b8d2016809666b5ab86d60c792f055f014c29594c8636f5cfee0633 internal/edge/planthrottle.go Edge.trackUpgrade legacy accepted-legacy accepted-legacy;rev3=census-ruling-plans-4c-units;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), serving only: for an instance row whose account plans govern (planGoverned, passed the row), wraps the upgrade request in a cancellable context registered under release.RouteAccount(row), so CloseAccountUpgrades can end it (plans 4c).;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 5: the kind selector admits a forward row as an instance (IsForward(), +whole:Route); fromTunnel exemptions unchanged. registry:Kind@129,whole:Route@132,whole:Route@164,whole:Route@195,whole:Route@262 bfe61c428884d63fca40d81c8dd7ffe5b3ebec22d5197bffc67ac0f5e0dc4fa5
@@ -122,6 +124,7 @@ internal/registry/importjournal.go insertRouteTx legacy accepted-legacy accepted
internal/registry/registry.go Registry.ClearNextDueIf legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): the writer guard. Its statements carry kind <> 'forward' and a forward row at the host answers ErrForwardRow (a Route argument's IsForward(), a method call, refused before any write; an unmatched statement told from no row by forwardAt). It writes less, never more; read sites unchanged; no root decision. file:Exec@215,registry:remote@100,registry:remote@70,registry:sql@215,whole:remoteClient@102,whole:remoteClient@72 c6d4ba1ae683573e0ca6149d7f7ed9f33c09f6d4b889c6c794a6906cfd7aab6a
internal/registry/registry.go Registry.DeleteIfHold legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): the writer guard. Its statements carry kind <> 'forward' and a forward row at the host answers ErrForwardRow (a Route argument's IsForward(), a method call, refused before any write; an unmatched statement told from no row by forwardAt). It writes less, never more; read sites unchanged; no root decision. file:Exec@265,registry:Changed@193,registry:remote@101,registry:remote@69,registry:sql@265,whole:remoteClient@103,whole:remoteClient@71 47fff19a382043e8d711e84fc8d1cd3c54b083524649cf310d195e86888d1a14
internal/registry/registry.go Registry.DeleteIfHoldWithTimers legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): the writer guard. Its statements carry kind <> 'forward' and a forward row at the host answers ErrForwardRow (a Route argument's IsForward(), a method call, refused before any write; an unmatched statement told from no row by forwardAt). It writes less, never more; read sites unchanged; no root decision. file:Exec@372,file:Exec@599,registry:Changed@213,registry:remote@111,registry:remote@79,registry:sql@284,whole:remoteClient@113,whole:remoteClient@81 3119da9f51e7c4575ee84988ac49aac28c7b7da3f1bdfa2b8b9854fe187d44aa
+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. file:Exec@284,file:Open@188,file:Query@368,file:Query@5293,file:Query@5772,file:Query@6758,file:Query@7454,file:Query@8366,file:Query@9423,registry:ClaimIncarnation@1401,registry:ClaimIncarnation@4201,registry:ClaimIncarnation@4278,registry:ClaimOwner@1445,registry:ClaimOwner@4402,registry:ClaimOwner@4467,registry:ClaimRowID@1464,registry:ClaimRowID@4494,registry:ClaimRowID@4560,registry:ClaimStamp@1426,registry:ClaimStamp@4311,registry:ClaimStamp@4375,registry:Incarnation@1509,registry:Incarnation@4781,registry:Incarnation@4845,registry:ServingSeq@1528,registry:ServingSeq@4872,registry:ServingSeq@4935,registry:Text@158,registry:path@207,registry:remote@55,registry:remote@87,whole:remoteClient@57,whole:remoteClient@89 075a4b677fd0b173648b2a2c68001fe489992c36346964a50c9b8373fcd393b4
internal/registry/registry.go Registry.HandHold legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): the writer guard. Its statements carry kind <> 'forward' and a forward row at the host answers ErrForwardRow (a Route argument's IsForward(), a method call, refused before any write; an unmatched statement told from no row by forwardAt). It writes less, never more; read sites unchanged; no root decision. file:Exec@484,registry:Changed@239,registry:remote@115,registry:remote@83,registry:sql@484,whole:remoteClient@117,whole:remoteClient@85 acfb284c208288028d707979fa4df4dd0832031293c8f8def86b6a620e5dfec7
internal/registry/registry.go Registry.InstallLifetimeIf 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 in the process that holds a remote handle: new; one conditional UPDATE of an unheld row's incarnation and serving_seq from an expected pair to the next, the rows reconcile's migration and recreation rules name; self-serve moves 1 Task 7;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): the writer guard. Its statements carry kind <> 'forward' and a forward row at the host answers ErrForwardRow (a Route argument's IsForward(), a method call, refused before any write; an unmatched statement told from no row by forwardAt). It writes less, never more; read sites unchanged; no root decision. file:Exec@276,registry:Changed@242,registry:Incarnation@437,registry:Incarnation@478,registry:ServingSeq@455,registry:ServingSeq@498,registry:remote@121,registry:remote@89,registry:sql@276,whole:Pair@195,whole:Pair@207,whole:Pair@215,whole:Pair@221,whole:remoteClient@123,whole:remoteClient@91 68ea02d808975e44d01cc05d9d38a8562de93a29e47ea757fd5761fb2fc9a4a8
internal/registry/registry.go Registry.ReleaseHold legacy accepted-legacy accepted-legacy;rev3=J1,J4;basis=route-and-input;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): the writer guard. Its statements carry kind <> 'forward' and a forward row at the host answers ErrForwardRow (a Route argument's IsForward(), a method call, refused before any write; an unmatched statement told from no row by forwardAt). It writes less, never more; read sites unchanged; no root decision. file:Exec@263,registry:Changed@191,registry:remote@100,registry:remote@68,registry:sql@263,whole:remoteClient@102,whole:remoteClient@70 f81967fe4ba32872864efae95ece39fccc772c63b0d4869e3784d6395b7d3e94
@@ -142,7 +145,7 @@ cli.go forwardRouteRefusal legacy accepted-legacy accepted-legacy;rev3=census-ru
cli.go refuseForwardRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 3: refuses one row with FPR-C01 when it is a forward row (+whole:Route x2); a refusal only. whole:Route@127,whole:Route@50 dac303211dc7ee2ee7a810ab702f806d44c6292499088fd34c22a35567061140
cli.go refuseForwardTargets legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 3 fix round 1: the --host row, or every row the --app batch selects (appAccount filter), checked for a forward row before anything else (+registry:App, +whole:Route x4); a refusal only. registry:App@343,whole:Route@194,whole:Route@329,whole:Route@415,whole:Route@492 a0bd197f71a7d8ea4b3268a4dc3e8fd8693fa04cc3e452c0df5dea21efb8fa0a
cli.go refuseForwardWrite legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 3 fix round 1: on a registry ErrForwardRow, reads the row again to name it in FPR-C01 (+whole:Route); a refusal only. whole:Route@204 cbc07e525e9b7a473a0bf220837cd890f5a97c42bfaba5c450ed8a5df94178f1
-internal/edge/fleetforward.go FleetArmVerdict legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 6 fix round 3: the single fleet-arm refusal decision over one listing, used by Edge.Reload, the edges-file writer and the alias pass (parity by construction); returns the refused set with reasons and the accountless notes (+registry:Host x3, +registry:Status, +whole:Route x3). Pure; no I/O. registry:Host@315,registry:Host@510,registry:Host@554,registry:Status@255,whole:Route@203,whole:Route@457,whole:Route@609 07d2cf80aa7f932c77b5676cd96b3cb5446593df34292013fd257a2552330cc2
+internal/edge/fleetforward.go FleetArmVerdict legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 6 fix round 3: the single fleet-arm refusal decision over one listing, used by Edge.Reload, the edges-file writer and the alias pass (parity by construction); returns the refused set with reasons and the accountless notes (+registry:Host x3, +registry:Status, +whole:Route x3). Pure; no I/O. Review R1 finding 2: also returns Served, each admitted row Reload sends through the fleet arm (a forward row, or a fleet-placed row with no Tunnel) with its fleet, app and the fleet owner from owners; a host the alias step refuses is dropped from it (+registry:App, +registry:Host, +registry:Region, +registry:Tunnel on the listing it already holds). Pure; no I/O. registry:App@770,registry:Host@349,registry:Host@532,registry:Host@591,registry:Host@728,registry:Region@656,registry:Status@289,registry:Tunnel@697,whole:Route@237,whole:Route@491,whole:Route@842 982dd96a6e3f0869d51df98ab4628c38672c364e0fcae20e5516e01a6e3be3bb
internal/edge/fleetforward.go FleetServeEligible legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4 (§4.4 tenancy): a forward row is eligible only on a hub, inert, fleet-placed, its fleet in the fleets table and its raw Account non-empty and equal to the owner; a non-forward fleet-placed row: empty raw Account served and noted, else release.RouteAccount must equal the owner; raw field before RouteAccount (+registry:Account x7, +registry:Region x2, +registry:Tunnel, +whole:Route). Pure; no I/O. registry:Account@1009,registry:Account@1107,registry:Account@1363,registry:Account@594,registry:Account@665,registry:Account@751,registry:Account@853,registry:Region@145,registry:Region@432,registry:Tunnel@810,whole:Route@1285 d9524bf630586a737e856f0b46e3b065129969f033f084a3b7adea0d2fb8da32
internal/host/hub.go fleetRefusedFor legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 6 fix round 3: a thin adapter passing FleetArmVerdict's refused set through for the writer and the alias pass (+whole:Route); decides nothing. whole:Route@309 1137627ca597b364ec0f126096a1dde081871f6515b42df573e576a40c48ca11
internal/host/hub.go hubFleetOwners legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 12: the hub's owner map (ReconcileConfig.FleetOwners and the edge fleet-arm inputs), the registry fleets table read on each call: Fleet.Name -> Fleet.Account (+registry:Account, +registry:Name, +whole:Fleet x2). Agent-side; no root decision. registry:Account@328,registry:Name@318,whole:Fleet@270,whole:Fleet@299 a0bbc70cbcecd50c89b4c1d41fe8f19d2e7b91b4258c4c75956c9a26cce7708d
@@ -156,6 +159,7 @@ internal/registry/forward.go Registry.SetFleetBoxIf legacy accepted-legacy accep
internal/registry/forward.go Route.InertForward legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 2: true only when every one of the 50 forbidden columns of §4.2 is zero (one +registry:<field> site each, nothing else). Pure. registry:Addr@84,registry:Addrs@102,registry:Args@789,registry:AssetGen@274,registry:AssetsOff@257,registry:Backing@715,registry:BuildState@979,registry:Canary@636,registry:Caps@549,registry:ClaimIncarnation@1041,registry:ClaimOwner@1094,registry:ClaimRowID@1118,registry:ClaimStamp@1071,registry:DBPath@319,registry:EgressAllow@907,registry:Environment@504,registry:Gate@617,registry:GoodDemand@434,registry:GoodDigest@410,registry:GoodVersion@385,registry:HA@586,registry:Health@121,registry:Hibernate@568,registry:HoldOp@141,registry:IdleSeconds@807,registry:ImportGate@232,registry:Incarnation@161,registry:LastError@296,registry:MaxRunSeconds@831,registry:NextDue@675,registry:Platform@755,registry:PolicyExpiresAt@950,registry:Pool@486,registry:PrevVersion@360,registry:Replica@1026,registry:Replicas@1003,registry:Replication@650,registry:Runtime@596,registry:Seed@771,registry:SeedSource@208,registry:ServingSeq@185,registry:ServingVersion@458,registry:Size@932,registry:Socket@64,registry:StatusNamed@696,registry:Steering@857,registry:Tunnel@529,registry:Unit@736,registry:UpdateSettings@879,registry:Version@339 91d914f0f465b6030599036a73618470e044095cc12ac916b836b83055ef7681
internal/registry/forward.go Route.IsForward legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 2: Kind == "forward" (+registry:Kind). Pure. registry:Kind@41 e1c6358e97b1638d1528f377952dee2d8a7b73cb7ee9493ee93b3e1969cf7262
internal/registry/forward.go forwardAt legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 3: the one SELECT kind every guarded writer uses to answer ErrForwardRow for a forward row at the host (+file:QueryRow); decides the error, never a write. file:QueryRow@73 3ada8330901d8af32718dbca9b8a66ac43c7673da1e8c02d446167c35c8b0aaf
+internal/registry/forward.go var fingerprintForwardInert legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): review R1 finding 1: a SQL CASE expression built once from ForwardForbidden (column name and type): 1 for a non-forward row or an inert forward row, else 0; read only by Registry.Fingerprint's SELECT. A constant string; no I/O. registry:Column@184,registry:Column@235,registry:Type@139,whole:ForwardColumn@115,whole:ForwardColumn@77 e8059c0f5fe795705d7b226c6e2ee2bbcc23d5a8ae6e658d6c828213489b35e8
internal/registry/forward.go var putForwardSQL legacy accepted-legacy accepted-legacy;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 2: PutForward's statement, its conflict arm built once from the ForwardForbidden literal (+registry:Column, +registry:Type, +whole:ForwardColumn); reads only a package literal. registry:Column@694,registry:Type@634,whole:ForwardColumn@595 7e4d14acc0e5ddd19457adcf2c54333af57cb131890126fd31ae81a1a48b0150
cli.go runRemove legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 3 FPR-C01: a Get and the forward check before Delete (+whole:Route); a refusal only. file:Open@277,whole:Route@539 714ca0b07046c0a8646b3f838f94b0ddc0b950f7134cdd8790860b6ed4a9b7b3
internal/registry/claimhold.go Registry.SetClaimHold legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 3: the forward check on its claim transaction (+whole:claimTransaction); ErrForwardRow before any write. registry:ClaimIncarnation@797,registry:ClaimOwner@839,registry:ClaimRowID@857,registry:ClaimStamp@821,registry:remote@123,registry:remote@153,whole:ClaimOwnership@222,whole:ClaimOwnership@229,whole:claimTransaction@550,whole:remoteClient@125,whole:remoteClient@155 4b314d6636b57f34d71e37e6519a565c36ae0b230ce238486985b639fb276349
@@ -173,7 +177,7 @@ cli.go runRouteUnit legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-ro
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. registry:Account@18794,registry:Account@18809,registry:Account@18927,registry:Account@19279,registry:Account@19292,registry:Alias@16881,registry:Alias@16921,registry:Alias@16991,registry:App@13561,registry:App@13761,registry:App@13917,registry:App@14118,registry:App@18822,registry:App@18833,registry:App@18940,registry:App@19305,registry:App@19314,registry:App@3612,registry:App@3808,registry:App@7432,registry:App@7631,registry:Host@14484,registry:Host@18604,registry:Host@18679,registry:Host@18702,registry:Host@18754,registry:Host@19088,registry:Host@19160,registry:Host@19264,registry:Host@19575,registry:Host@19628,registry:Host@19700,registry:Host@20234,registry:Host@20347,registry:Host@20406,registry:Host@20487,registry:Host@724,registry:Prefix@20242,registry:Prefix@20361,registry:Prefix@20414,registry:Prefix@20495,registry:Region@18949,registry:Status@10295,registry:Target@18774,registry:Target@18879,whole:RegionalDomain@17568,whole:RegionalDomain@17586,whole:RegionalDomain@18532,whole:RegionalDomain@18570,whole:RegionalDomain@18591,whole:RegionalDomain@18614,whole:RegionalDomain@18741,whole:RegionalDomain@2323,whole:Route@10077,whole:Route@10239,whole:Route@1127,whole:Route@13530,whole:Route@13605,whole:Route@13752,whole:Route@13814,whole:Route@13957,whole:Route@14113,whole:Route@15366,whole:Route@16461,whole:Route@16469,whole:Route@18872,whole:Route@18923,whole:Route@2304,whole:Route@2955,whole:Route@3652,whole:Route@3803,whole:Route@3859,whole:Route@677,whole:Route@6778,whole:Route@706,whole:Route@717,whole:Route@735,whole:Route@7476,whole:Route@7622,whole:Route@935,whole:Route@9625,whole:RouteAlias@1135,whole:RouteAlias@16477,whole:RouteAlias@16856,whole:RoutePath@11822,whole:RoutePath@20127,whole:RoutePath@20169,whole:RoutePath@20304,whole:RoutePath@20334,whole:WildcardDomain@14680,whole:WildcardDomain@18638,whole:WildcardDomain@18667,whole:WildcardDomain@19148,whole:WildcardDomain@19170,whole:WildcardDomain@19194,whole:WildcardDomain@19243,whole:WildcardDomain@19406,whole:WildcardDomain@19534,whole:WildcardDomain@19563,whole:WildcardDomain@2537 dbeec4dda10804908e22d0b5094828c96042d4943722bbefbfec792350cd2916
internal/domains/reconcile.go Reconcile legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from its domains loop: the seeded-instances body (a trashed app's route kept while an import on its host is journaled, deleted only if the row is still the one listed); self-serve moves 1 Task 4 removes the claims-off 1d auto-purge, so a claims-off box destroys no app objects and a host-claim box only requests the claim's purge as before; the registry reads are unchanged;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 7: the whole-app trash loop keeps every forward row (keptLive = append(keptLive, rt), +whole:Route x3) ahead of DeleteIfUnchanged, so a trashed fleet app's forward row is retired by the forward phase alone. Deletes less, never more. registry:Account@5579,registry:Account@5775,registry:App@10407,registry:App@11743,registry:App@13982,registry:App@5380,registry:App@5528,registry:App@7482,registry:App@7539,registry:App@7740,registry:App@7953,registry:App@8191,registry:App@8381,registry:Canary@10351,registry:Canary@13029,registry:Canary@13873,registry:Channel@11798,registry:Channel@13006,registry:Channel@13904,registry:Channel@13991,registry:Channel@14294,registry:Host@10314,registry:Host@10993,registry:Host@14029,registry:Host@14114,registry:Host@14285,registry:Host@5650,registry:Host@5736,registry:Host@7589,registry:Host@7731,registry:Host@7944,registry:Host@8182,registry:Host@8372,registry:Kind@12672,registry:Platform@10335,registry:Platform@13858,whole:Route@10296,whole:Route@10402,whole:Route@10463,whole:Route@10669,whole:Route@10685,whole:Route@10811,whole:Route@10839,whole:Route@11005,whole:Route@11021,whole:Route@11029,whole:Route@11728,whole:Route@11781,whole:Route@11938,whole:Route@11954,whole:Route@12999,whole:Route@13069,whole:Route@13238,whole:Route@13254,whole:Route@13262,whole:Route@13813,whole:Route@13844,whole:Route@13977,whole:Route@14132,whole:Route@14146,whole:Route@14152,whole:Route@14324,whole:Route@14338,whole:Route@14344,whole:Route@14352,whole:Route@14361,whole:Route@5366,whole:Route@5380,whole:Route@5510,whole:Route@5528,whole:Route@5579,whole:Route@5650,whole:Route@5736,whole:Route@5775,whole:Route@7144,whole:Route@7176,whole:Route@7426,whole:Route@7444,whole:Route@7454,whole:Route@7534,whole:Route@7760,whole:Route@7778,whole:Route@7788,whole:Route@7854,whole:Route@7971,whole:Route@7989,whole:Route@7999,whole:Route@8204,whole:Route@8222,whole:Route@8232,whole:Route@8410,whole:Route@8428,whole:Route@8438,whole:Route@8448,whole:Route@8457 befcac49b400761e731737246e8e8256b42ad980649be7db67e61b9895d8bd5d
internal/edge/assetcatch.go Edge.localAssetCatch legacy accepted-legacy accepted-legacy;rev3=census-ruling-edge-asset-cache-3;basis=in the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): new (asset cache plan 3 Task 5): the local catch decision on a box with a route row for the host. It catches only when armed, for GET or HEAD, on a row of the edge's own route snapshot that is not the status host and has no password gate and no import gate (the row's Kind, Gate and ImportGate), and for a path under a prefix the box's asset policy holds for the host (LocalAssets.For, the edges file writer's settled snapshot, no registry read per call). It only narrows: a gated or import-gated row is never caught, so a stored body is never served past a gate; no root decision;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: a forward row is never caught locally (IsForward(), +whole:Route). Only narrows. registry:Gate@748,registry:ImportGate@771,registry:Kind@719,whole:Route@722,whole:Route@751,whole:Route@774,whole:Route@803 242c568f4647d930d66341493bf8dfd6b171b6772a2daa05188962cee5e73b60
-internal/edge/edge.go Edge.Reload legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-design-edge-rate-limit-358;basis=each route's upstream entry gains rate: e.parseRateSettings(t), the row's rate_limit column parsed once per reload; the one added site is that whole:Route pass of t (parseRateSettings is a new unit, classified in the decisions overlay); no other read added;rev3=census-ruling-certwarm-wake;basis=the single reload hook call becomes runReloadHooks(), which runs every registered hook in order (#386); no read added, same 57 sites (56 before #358 landed on main);rev3=census-ruling-edge-asset-cache-3;basis=each tenant reverse proxy built in the switch (the tunnel, fleet, socket and TCP arms, every *httputil.ReverseProxy) is installed behind assetScrubbedProxy, which hands the proxy an assetInformationalScrub writer so an app's 1xx (103) loses the asset cache's reserved headers (X-Carlos-Asset-Fill, -Fill-Ack, -Expires, Carlos-Cache) on every local path, as the backhaul already does (final review F6); a type check of the proxy it just built and a wrapper around it; static and status handlers untouched; read sites unchanged (57), offsets moved; no read added;rev3=census-ruling-alias-wake-338;basis=#338 follow-up: after the path fold, a resolved platform alias takes its source's own upstream entry (same proxy, route, hibernating: the existing activator wake, lease and fence), keeping its own prefix map (none for a minted apex) and never inheriting the source's (Astra r2 P1); a refused alias, or one whose source has no entry, is dropped from the map (not served, not Allowed); the attached-hostname fold clears platformAlias;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the activator-managed test (generation proxy, hib, no-activator 404) is Route.ActivatorOwned instead of Kind and Hibernate inline, so a resident rootfs instance goes through the activator; binary rows unchanged;rev3=census-ruling-edge-roll-blip;basis=the tcpProxy and multiProxy calls pass e.hold (the per-Edge localHold set once in newEdge): a loopback TCP upstream that refuses is redialled for up to 13 s and a probed route with a local upstream waits for prober readmission instead of answering 502/503 (#434 part B); edge-side dial policy only, no read added, same 52 sites;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: after the alias fold, reads the regional_domains rows (e.reg.ListRegional; an error aborts the reload as every registry read here does) and applies them with foldRegional against the routes slice the same reload read; the added reads are that one registry list and the routes already read;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Tasks 4 and 6: the forward case (fleetProxy toward the binding's FleetBox, throttled refusal); one refusal check before the switch from FleetArmVerdict (sidecar not judged; a non-ready forward row refused; a forward row always judged by FleetServeEligible, any other row only where tunnels are on; an alias of a refused source refused with it); the accountless note; path rows of a forward host not folded; no alias folded onto a refused row; refusedHosts held through every fold. ListFleets and FleetChannelAuth read before the loop (+registry:FleetBox, +registry:Host x7, +whole:Route x3). Serving only; the hub's agent, not root. registry:Account@3193,registry:Alias@22955,registry:Alias@23042,registry:Alias@23622,registry:FleetBox@5862,registry:FleetBox@9697,registry:Health@11842,registry:Health@11968,registry:Host@10251,registry:Host@12451,registry:Host@12546,registry:Host@12834,registry:Host@12860,registry:Host@12912,registry:Host@17383,registry:Host@19290,registry:Host@19598,registry:Host@19625,registry:Host@20426,registry:Host@20998,registry:Host@23376,registry:Host@23425,registry:Host@4586,registry:Host@4640,registry:Host@4690,registry:Host@9559,registry:Host@9616,registry:Host@9652,registry:Kind@13008,registry:Kind@13068,registry:Kind@15719,registry:Kind@15741,registry:Name@3183,registry:Prefix@20973,registry:Region@5099,registry:Socket@10315,registry:Socket@19606,registry:Socket@9804,registry:Status@4511,registry:Target@20985,registry:Tunnel@8263,registry:Tunnel@8319,registry:Version@15700,registry:Version@15802,whole:Fleet@3135,whole:Fleet@3164,whole:RegionalDomain@24092,whole:Route@10371,whole:Route@12985,whole:Route@130,whole:Route@13058,whole:Route@13118,whole:Route@19658,whole:Route@19665,whole:Route@19761,whole:Route@20861,whole:Route@21876,whole:Route@24084,whole:Route@3266,whole:Route@3324,whole:Route@5926,whole:Route@8381,whole:Route@9761,whole:RouteAlias@22926,whole:RoutePath@20404 1665415406e86d7d422c59738f5e2537c008561adda4ba1baa812573bc0a7acc
+internal/edge/edge.go Edge.Reload legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-design-edge-rate-limit-358;basis=each route's upstream entry gains rate: e.parseRateSettings(t), the row's rate_limit column parsed once per reload; the one added site is that whole:Route pass of t (parseRateSettings is a new unit, classified in the decisions overlay); no other read added;rev3=census-ruling-certwarm-wake;basis=the single reload hook call becomes runReloadHooks(), which runs every registered hook in order (#386); no read added, same 57 sites (56 before #358 landed on main);rev3=census-ruling-edge-asset-cache-3;basis=each tenant reverse proxy built in the switch (the tunnel, fleet, socket and TCP arms, every *httputil.ReverseProxy) is installed behind assetScrubbedProxy, which hands the proxy an assetInformationalScrub writer so an app's 1xx (103) loses the asset cache's reserved headers (X-Carlos-Asset-Fill, -Fill-Ack, -Expires, Carlos-Cache) on every local path, as the backhaul already does (final review F6); a type check of the proxy it just built and a wrapper around it; static and status handlers untouched; read sites unchanged (57), offsets moved; no read added;rev3=census-ruling-alias-wake-338;basis=#338 follow-up: after the path fold, a resolved platform alias takes its source's own upstream entry (same proxy, route, hibernating: the existing activator wake, lease and fence), keeping its own prefix map (none for a minted apex) and never inheriting the source's (Astra r2 P1); a refused alias, or one whose source has no entry, is dropped from the map (not served, not Allowed); the attached-hostname fold clears platformAlias;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the activator-managed test (generation proxy, hib, no-activator 404) is Route.ActivatorOwned instead of Kind and Hibernate inline, so a resident rootfs instance goes through the activator; binary rows unchanged;rev3=census-ruling-edge-roll-blip;basis=the tcpProxy and multiProxy calls pass e.hold (the per-Edge localHold set once in newEdge): a loopback TCP upstream that refuses is redialled for up to 13 s and a probed route with a local upstream waits for prober readmission instead of answering 502/503 (#434 part B); edge-side dial policy only, no read added, same 52 sites;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: after the alias fold, reads the regional_domains rows (e.reg.ListRegional; an error aborts the reload as every registry read here does) and applies them with foldRegional against the routes slice the same reload read; the added reads are that one registry list and the routes already read;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Tasks 4 and 6: the forward case (fleetProxy toward the binding's FleetBox, throttled refusal); one refusal check before the switch from FleetArmVerdict (sidecar not judged; a non-ready forward row refused; a forward row always judged by FleetServeEligible, any other row only where tunnels are on; an alias of a refused source refused with it); the accountless note; path rows of a forward host not folded; no alias folded onto a refused row; refusedHosts held through every fold. ListFleets and FleetChannelAuth read before the loop (+registry:FleetBox, +registry:Host x7, +whole:Route x3). Serving only; the hub's agent, not root. Review R1 finding 2: the switch reads verdict.Served (FleetArmVerdict) by host; the forward case and the fleet-placed case take their fleet from it (served.Fleet) instead of FleetPlacement(t.Region), and an admitted forward row not Served continues rather than falling through (+registry:Host, -registry:Region); the same rows take the same arms; no read added. registry:Account@3193,registry:Alias@23566,registry:Alias@23653,registry:Alias@24233,registry:FleetBox@10308,registry:FleetBox@6319,registry:Health@12453,registry:Health@12579,registry:Host@10163,registry:Host@10220,registry:Host@10256,registry:Host@10862,registry:Host@13062,registry:Host@13157,registry:Host@13445,registry:Host@13471,registry:Host@13523,registry:Host@17994,registry:Host@19901,registry:Host@20209,registry:Host@20236,registry:Host@21037,registry:Host@21609,registry:Host@23987,registry:Host@24036,registry:Host@4586,registry:Host@4640,registry:Host@4690,registry:Host@5420,registry:Kind@13619,registry:Kind@13679,registry:Kind@16330,registry:Kind@16352,registry:Name@3183,registry:Prefix@21584,registry:Socket@10415,registry:Socket@10926,registry:Socket@20217,registry:Status@4511,registry:Target@21596,registry:Tunnel@8720,registry:Tunnel@8776,registry:Version@16311,registry:Version@16413,whole:Fleet@3135,whole:Fleet@3164,whole:RegionalDomain@24703,whole:Route@10372,whole:Route@10982,whole:Route@130,whole:Route@13596,whole:Route@13669,whole:Route@13729,whole:Route@20269,whole:Route@20276,whole:Route@20372,whole:Route@21472,whole:Route@22487,whole:Route@24695,whole:Route@3266,whole:Route@3324,whole:Route@6383,whole:Route@8838,whole:RouteAlias@23537,whole:RoutePath@21015 ef7588339f3ea374264e6b2f463a6f00ec18d94e57df83de9075f27a711236a0
internal/edge/edge.go Edge.ServeHTTP legacy accepted-legacy accepted-legacy;rev3=census-ruling-seeded-instances;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos): main's body with the import gate checked after the door's scope and a gated row left out of the response cache; serving only;rev3=census-ruling-edge-request-records;basis=one more call in the observer defer, observeRecords(up.route, ...), passing on the route the defer already holds; no new kind of read;rev3=census-ruling-design-edge-rate-limit-358;basis=calls rateAdmit twice, and an admitted request holds a slot on both paths: on the upgrade path before the activator or proxy (the handshake holds its slot through slotWriter, given back at the first final answer or at the reverse proxy's hijack on a 101, so an open WebSocket is not counted; released by a defer), and on the ordinary path after the response-cache check and before the activator and proxy (an admitted request holds a slot through slotWriter, released by a defer); a refusal is a 429 written there and returns; the upgrade path's comment now names slotWriter as its one wrapper; one comment on the door mark reworded; read sites unchanged (22: main's 21 plus edge-request-records' observeRecords pass of the route), offsets moved; no read added;rev3=census-ruling-plans-4c-box-throttle;basis=calls planThrottleAdmit before the response cache, and on an upgrade trackUpgrade then planUpgradeAdmit (plans 4c, Astra findings 1 and 2); the new reads live in those units (plans-4c-units decision). The same read sites here.;rev3=census-ruling-plans-4d-lapse;basis=calls planDisabledAdmit right after the import gate, passing the final upstream's route and the request host; a turned-off route gets the fixed disabled page before the meter, gate, cache and activator (plans 4d). The new read lives in that unit (plans-4d-units decision); one more whole-row pass here.;rev3=census-ruling-edge-protection-2;basis=runs the guard, a pure in-memory matcher on r.URL.Path and RawQuery (internal/edgeguard), once per request after the meter and observer defer and before the password gate, the upgrade branch, the cache and the activator, for a request that is not a door call, a backhauled door hop or a tunnel delivery; a matched block answers a 404 itself through guardDecide; the two new sites are one expression, up.route.Kind == "static" (a static route this box serves checks only the hard tier here and leaves the probe tier to serveTree), a read of the route row the edge already resolved; no new kind of read;rev3=census-ruling-edge-asset-cache-3;basis=the asset cache's three hooks (asset cache plan 3): the request's reserved asset headers are deleted at entry (the fill assertion kept only beside a verified hop); on the exact-remote and lookup-miss branches the far catch (serveAssetFar) is tried before backhaulTo and backhaul; after the observer defer and main's hard and probe checks, a verified hop with a valid fill assertion is answered by serveAssetFillForHop; after the upgrade branch and before gzip and the shared cache, the local catch (serveAssetLocal); the observer defer skips only the usage meter for an acknowledged home fill (out.unbilled); the new reads live in the new units of the edge-asset-cache-3-decisions overlay; the same route row and read sites (25); no read added;rev3=census-ruling-regional-domains-447;basis=#447 Task 5: straight after lookupUpstreamPath it calls regionalGate (regional.go), which for an entry built from a regional_domains row answers 503 to a hop or a deny entry before any arm that can leave the box (the exact-home backhaul, the far asset catch, the door dial, the miss backhaul), and lets a star match through only to the exact-home arm when ExactHome names another box for that distinct exact name; after the exact-home arm a regional deny entry the arm did not answer is refused (regionalRefuse, 503); refusals only, on the route map the edge already holds; read sites unchanged (25);rev3=census-ruling-static-headers;basis=the shared response cache is no longer looked up or filled for a static-kind route: one more read of the route row the edge already resolved (up.route.Kind == "static") in the cacheable expression; a refusal only, nothing new opened or followed;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2 (N-HA10): one call, frontForwardHA, right after the route lookup's !ok block and before the login POST; same reads;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 4: loginPost and cacheable treat a forward row as not this box's to answer (IsForward(), +whole:Route x2): no login form and no shared cache for a forward host. Serving only. registry:Gate@19424,registry:Gate@19484,registry:Gate@19542,registry:Host@19527,registry:ImportGate@25256,registry:Kind@15087,registry:Kind@17557,registry:Kind@25198,registry:Kind@25227,whole:Route@11116,whole:Route@12895,whole:Route@13107,whole:Route@13299,whole:Route@15090,whole:Route@16393,whole:Route@16488,whole:Route@16564,whole:Route@16608,whole:Route@17560,whole:Route@19427,whole:Route@19487,whole:Route@19530,whole:Route@19545,whole:Route@21178,whole:Route@25201,whole:Route@25230,whole:Route@25259,whole:Route@25291,whole:Route@27118 fc5d1d3cf4100ae1634d9b2ff14d01a67a0dc548891757efdcada3b9c85fe4b2
internal/edge/planthrottle.go Edge.planThrottleOf legacy accepted-legacy accepted-legacy;rev3=census-ruling-plans-4c-units;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), serving only: asks the plan throttle hook (planThrottleFor, passed the row) whether an instance row's account is slowed down; door, hop-door and tunnel callers exempt as from the rate limit; reads only the row's kind (plans 4c).;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 5: the kind selector admits a forward row as an instance (IsForward(), +whole:Route); fromTunnel exemptions unchanged. Only slows. registry:Kind@130,whole:Route@133,whole:Route@165,whole:Route@380 b9d5f5afde26cd0f574bfd71c57c87ee599ae55b6585db53a61c9b65694ad4cc
internal/edge/planthrottle.go Edge.trackUpgrade legacy accepted-legacy accepted-legacy;rev3=census-ruling-plans-4c-units;basis=the edge inside the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), serving only: for an instance row whose account plans govern (planGoverned, passed the row), wraps the upgrade request in a cancellable context registered under release.RouteAccount(row), so CloseAccountUpgrades can end it (plans 4c).;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 5: the kind selector admits a forward row as an instance (IsForward(), +whole:Route); fromTunnel exemptions unchanged. registry:Kind@129,whole:Route@132,whole:Route@164,whole:Route@195,whole:Route@262 bfe61c428884d63fca40d81c8dd7ffe5b3ebec22d5197bffc67ac0f5e0dc4fa5
@@ -223,9 +227,9 @@ internal/release/rootupdates.go RootUpdateInputs.routes authority E3,J1 rev3=PRO
@removed internal/registry/registry.go Registry.SetFleetBox H3 census-ruling-fleet-public-routes;absent;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 1: removed, not moved; replaced by Registry.SetFleetBoxIf (forward.go, new unit on this card), which judges placement, kind and active fleet membership at the write; ReconcileFleetBindings (on this card) is its one caller.
@coverage . f97deea5d64c8e2911dc0be0645da98ce9ece8d2d3dc8f2c77f49098576b5afb
@coverage internal/domains 26080bce26f249af3a5013450e37c80900fee7ab615ecd549fb800479f8e27f7
-@coverage internal/edge 9981f4042de730c3acc43a365782b73a6302f969bec781f5422daa0d52d754c1
+@coverage internal/edge 7765c6eec38cbd3b41bf34303b1a22e414e874a90e24d6ca827b4d92a4a66860
@coverage internal/host 8c766e110f1da37300835e8682bfac8e6106a133ff7853186c1f0717019a4223
@coverage internal/provision 1ef99d05ab30bb923af6e70d490dd9d6bd0b2ddeecc239c2ceebb023e27524ef
-@coverage internal/registry 7615e764446ca045d89549e268f0b5abc86b95feefd340ccbd5149bf9626d6a1
+@coverage internal/registry 69fc3cbe539d79eb1d73c2b9956cdcc9e9c1e86c3e1224ce09b0b036c74c3b07
@coverage internal/release a7db79d93b2627c344dc79134d0b2834e5ca5902704a69fb08594b0f5b29b5d8
@fields A,Account,Accounts,AddedAt,Addr,Addrs,Alias,Aliases,Alive,AllowAbsent,App,Archives,Args,AssetGen,AssetsOff,At,Attempts,B,Backing,Bucket,BuildState,By,Callback,CallbackError,CallbackFailed,Canary,Caps,CertExpiresAt,Changed,Channel,CheckedAt,Claim,ClaimIncarnation,ClaimOwner,ClaimOwnership,ClaimRowID,ClaimStamp,Class,Column,Contents,CreatedAt,DBPath,DNSCheckedAt,DNSStatus,Deadline,Default,Demand,Digest,DoneBefore,Due,DueAt,EgressAllow,Env,EnvBefore,Environment,Error,ErrorKind,ExcludeHosts,ExpectGood,ExpectOp,ExpectPair,Expected,F,Failed,FenceGen,Field,Fleet,FleetBox,FleetBoxes,Fleets,From,FromDB,FromOp,FromSock,Gate,GoodDemand,GoodDigest,GoodVersion,HA,Hash,Health,Held,Hibernate,HoldOp,Host,Hosts,ID,Id,IdValue,Idle,IdleSeconds,ImportGate,Incarnation,Journal,Keep,KeyFP,Kind,Label,LastAt,LastError,LastMs,LastStatus,Limit,MaxRun,MaxRunSeconds,Method,Ms,Name,Next,NextAt,NextDue,NextGood,NextValue,Now,Number,Number64,Observed,ObservedValue,Old,On,Op,Original,Owner,Ownership,P,Pair,Path,Paths,Platform,PolicyExpiresAt,Pool,Prefix,Prev,PrevVersion,Provisioned,Pub,RDs,RateLimit,RecordKey,Region,Regional,Registration,Replica,Replicas,Replication,Retirement,Route,Routes,Row,Rows,Runtime,SecretsKeyFP,SecretsKeySetAt,SecretsKeySetBy,SecretsPub,Seed,SeedID,SeedSource,ServingSeq,ServingVersion,Size,Slug,Socket,Spec,Sqid,State,Status,StatusNamed,Steering,StringMap,T,TValue,Tags,Target,Targets,Text,Timer,Timers,Times,To,ToDB,ToOp,ToSock,TokenHash,Tunnel,Type,Unit,UpdateSettings,Ver,Version,W,WakeIncarnation,Wildcards,closed,conn,connect,ctx,d,dec,done,enc,full,input,mu,output,path,readOnly,remote,sql,wait