carlos / platform Public

region labels: census approved by Astra (all approvals); decision rows' bases qualified as Astra noted

Astra (gpt-6-astra, high) approved every body/sites unit and envelope at
2e4f9db5, and found the eight decision rows' bases truthful with no root
read; three now say an uncached registry open runs registry.Open's schema
migration. The decisions remain Paul's on #280.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 66cbd82c25e7389ac764a26135aa46d7b382b56c parent 2e4f9db
4 files changed, +59 −9
  • docs/superpowers/notes/census-proposal-region-labels.md +1 −1
  • docs/superpowers/specs/CODEX-CENSUS-REVIEW-REGION-LABELS.md +50 −0
  • internal/provision/testdata/plan14-root-reads-chain.tsv +2 −2
  • internal/provision/testdata/plan14-root-reads-region-labels-decisions.tsv +6 −6

CI failed — run details

diff --git a/docs/superpowers/notes/census-proposal-region-labels.md b/docs/superpowers/notes/census-proposal-region-labels.md
index 3588ff85f..744adc4b8 100644
--- a/docs/superpowers/notes/census-proposal-region-labels.md
+++ b/docs/superpowers/notes/census-proposal-region-labels.md
@@ -58,6 +58,6 @@ Recorded dispositions, which each change must still satisfy:
- `internal/console/fleets.go` `Server.appPlacement`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route
- `internal/console/view.go` `Assemble`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-console-perf-1;basis=takes the request context instead of context.Background() and wraps the registry List in a perf db span (perf.SpanContext); the same registry and store reads, no read added;rev3=census-ruling-console-remote-instances;basis=Collects the set of local registry hosts (rt.Host) so a record host the registry has gets no remote row (its record's created_at bounds the local row's metrics history); adds rows from the account's records and remoteFacts when given a remote source.
-Seal: `fb0eda1b0765516d60e32474fc095f693450c3fb10b40856c17d42bc1d2a685a` → `8168a171b212706c2be1448c4c3bfa901fec7e2bc0f7cd72479aba1a9100df6e`.
+Seal: `734437c08f76a0f556b9e48595d4405718e013cdcdda7953c83f403045f4cc8a` → `6a5a17485ad3e9d7c7f3dcdd03dfbc4edc27ec56cc17f4acbc4330207b7659ab`.
Overlay: `internal/provision/testdata/plan14-root-reads-region-labels.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/docs/superpowers/specs/CODEX-CENSUS-REVIEW-REGION-LABELS.md b/docs/superpowers/specs/CODEX-CENSUS-REVIEW-REGION-LABELS.md
new file mode 100644
index 000000000..f15d36c2a
--- /dev/null
+++ b/docs/superpowers/specs/CODEX-CENSUS-REVIEW-REGION-LABELS.md
@@ -0,0 +1,50 @@
+| unit | verdict | evidence |
+|---|---|---|
+| `cmd/console/main.go: serve` | Approve | [Lines 589–598](/home/paulca/amadan.net/carlos/platform-region-labels/cmd/console/main.go:589) start the console’s label cache using its existing deployment store. No privileged reader or tenant-selected path is introduced. |
+| `dbforward.go: dbPullForward` | Approve | [Lines 533–575](/home/paulca/amadan.net/carlos/platform-region-labels/dbforward.go:533) retain the endpoint, 64 KiB refusal limit, private directory and cleanup. Labels affect sentences only. |
+| `dbforward.go: dbQueryForward` | Approve | [Lines 114–163](/home/paulca/amadan.net/carlos/platform-region-labels/dbforward.go:114) retain SQL validation, request construction and bounded refusal reading. The added decoder only chooses an error sentence. |
+| `dbforward.go: openDBPull` | Approve | [Lines 360–464](/home/paulca/amadan.net/carlos/platform-region-labels/dbforward.go:360) retain manifest, encryption, sequence, header, hash and cancellation checks, plus exclusive 0600 file creation. `place` reaches error text only. |
+| `deploy.go: runDeploy` | Approve | [Lines 517–536](/home/paulca/amadan.net/carlos/platform-region-labels/deploy.go:517) derive labels from records already fetched. Host selection, gate passes and probe destinations remain unchanged. |
+| `Server.assembleAccountFleet` | Approve | [Lines 100–110](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/accountfleet.go:100) replace displayed region words through the cached box map; existing reads and account scope remain unchanged. |
+| `Server.writeMoveDetail` | Approve | [Lines 1536–1549](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/apiinstancemove.go:1536) add endpoint labels from the existing journal and cache. Claim-read failure still refuses the response; evidence keys are unchanged. |
+| `Server.handleAPIInstanceList` | Approve | [Lines 849–877](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/apiinstances.go:849) label records already admitted to the listing. No change to record loading, judgment or filtering. |
+| `Server.handleAPIStatusInstances` | Approve | [Lines 132–145](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/apistatusinstances.go:132) add cached box labels. Ownership attribution and existing reads remain unchanged. |
+| `Server.handleAppInstances` | Approve | [Lines 4004–4030](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/server.go:4004) change the displayed placement sentence and remove a redundant edges read. Unknown availability remains unknown; placement enforcement is untouched. |
+| `templates/app_instance.html: external` | Approve | [Line 15](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/templates/app_instance.html:15) adds escaped region and move text. Retry controls are unchanged. |
+| `templates/app_instances.html: external` | Approve | [Lines 36–40](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/templates/app_instances.html:36) and [87](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/templates/app_instances.html:87) add a display column and adjust its span. No action or input changes. |
+| `templates/app_overview.html: external` | Approve | [Lines 54–58](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/templates/app_overview.html:54) render stored labels and counts, linking to the existing settings page. |
+| `templates/app_releases.html: external` | Approve | [Line 41](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/templates/app_releases.html:41) adds region counts. Rollback permissions, form and CSRF fields remain unchanged. |
+| `templates/app_settings.html: external` | Approve | [Lines 21–27](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/templates/app_settings.html:21) add descriptive text; [line 199](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/templates/app_settings.html:199) changes button wording only. Placement values and submission remain unchanged. |
+| `templates/apps.html: external` | Approve | [Lines 12–17](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/templates/apps.html:12) add escaped region labels and counts to existing rows. |
+| `templates/fleet.html: external` | Approve | [Lines 39–48](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/templates/fleet.html:39), [68–72](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/templates/fleet.html:68) and [111](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/templates/fleet.html:111) render cached labels with fallbacks. No new actions. |
+| `templates/flow.html: external` | Approve | [Lines 38 and 50](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/templates/flow.html:38) add escaped text beside addresses; URL construction is unchanged. |
+| `templates/layout.html: external` | Approve | [Line 362](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/templates/layout.html:362) adds CSS only. |
+| `internal/dbdoor/client.go: doorError` | Approve | [Lines 174–195](/home/paulca/amadan.net/carlos/platform-region-labels/internal/dbdoor/client.go:174) retain the 64 KiB bound, conflict/marker/region validation and retry cap. `region_name` is an additional decoded string. |
+| `status_instances.go: printStatusLayout` | Approve | [Lines 220–260](/home/paulca/amadan.net/carlos/platform-region-labels/status_instances.go:220) add a formatted region column. Layout classification and warnings remain unchanged. |
+| `Server.appPlacement` | Approve | [Lines 490–504](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/fleets.go:490) preserve stored-placement precedence and error handling. The extracted [fallback](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/regionfacts.go:111) preserves raw account/app comparisons and first fleet match exactly. |
+| `internal/console/view.go: Assemble` | Approve | [Lines 571–594](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/view.go:571) retain registry loading and account filtering. [Lines 620–627](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/view.go:620) and [671](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/view.go:671) derive labels and fleet facts from existing rows. |
+| Envelope `.` | Approve | Changed CLI paths use labels for output. The additional [deployment-store read](/home/paulca/amadan.net/carlos/platform-region-labels/cli.go:3768) uses operator environment configuration and the existing edges reader. [Label validation](/home/paulca/amadan.net/carlos/platform-region-labels/region_labels.go:19) rejects controls and oversized strings; move commands retain raw codes. No new root-service path. |
+| Envelope `cmd/console` | Approve | [serve](/home/paulca/amadan.net/carlos/platform-region-labels/cmd/console/main.go:589) starts the cache; [armChangeIndex](/home/paulca/amadan.net/carlos/platform-region-labels/cmd/console/main.go:1670) returns the existing watch while preserving both arming refusals. No authority or environment change. |
+| Envelope `internal/console` | Approve | The [cache](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/regionnames.go:87) uses the configured store and retains its previous map on incomplete reads. New [registry access](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/regionfacts.go:127) uses configured paths; [SQL](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/store.go:2029) binds names. The [operator gate](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/server.go:3316), account gates and move refusals remain intact. No labels feed root operations. |
+| Envelope `internal/console/templates` | Approve | All nine changed templates are covered above. Additions are escaped display text, existing-page links and CSS; no security gate, action destination or submitted authority changes. |
+| Envelope `internal/dbdoor` | Approve | [Forward types](/home/paulca/amadan.net/carlos/platform-region-labels/internal/dbdoor/forward.go:9) add label fields; [doorError](/home/paulca/amadan.net/carlos/platform-region-labels/internal/dbdoor/client.go:174) preserves its existing validation and bounds. |
+| Envelope `internal/geo` | Approve | [AWSRegionCodes, lines 65–67](/home/paulca/amadan.net/carlos/platform-region-labels/internal/geo/awsregions.go:65) sorts keys from the compiled-in map. No I/O or lookup-policy change. |
+| Envelope `internal/provision` | Approve | [Lines 10–14](/home/paulca/amadan.net/carlos/platform-region-labels/internal/provision/servedeverywhere.go:10) export wrappers around unchanged predicates. Reconciler scope is unchanged. The [record-write inventory](/home/paulca/amadan.net/carlos/platform-region-labels/internal/provision/region_labels_census_test.go:28) retains prior classifications and site kinds. |
+| Envelope `internal/regionlabel` | Approve | [Names and label constructors](/home/paulca/amadan.net/carlos/platform-region-labels/internal/regionlabel/regionlabel.go:40) and [MovePhrase](/home/paulca/amadan.net/carlos/platform-region-labels/internal/regionlabel/move.go:50) operate on supplied values. Their predicate callees only inspect fields and parse addresses; they neither resolve names nor perform I/O. |
+
+Decision-row notes for `2e4f9db549b60c0541acf8ebf5badff9c9759b79`, reviewed against `ed03ca7d`. These are observations for Paul, **not approvals**.
+
+One qualification applies to three bases below: “nothing written” is not strictly true transitively on an uncached registry open. [openRegistry, lines 541–552](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/view.go:541) calls [registry.Open, lines 580–597](/home/paulca/amadan.net/carlos/platform-region-labels/internal/registry/registry.go:580), which runs schema migration. This is existing console-user behavior against the configured registry, not a new root read.
+
+| decision row | basis truthfulness and root-read observation |
+|---|---|
+| `Server.handleAPIAppList` | Accurate about one registry listing, account/app filtering and SQLite-derived labels: [lines 379–417](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/apitemporary.go:379). Apply the uncached-open qualification above to “nothing written.” No new root read. |
+| `regionlabel.ForRoute` | Accurate: [lines 141–150](/home/paulca/amadan.net/carlos/platform-region-labels/internal/regionlabel/regionlabel.go:141) inspect the supplied row and invoke the named pure predicate. No root read or I/O. |
+| `provision.RouteServedEverywhere` | Accurate: the [one-line wrapper](/home/paulca/amadan.net/carlos/platform-region-labels/internal/provision/servedeverywhere.go:14) calls unchanged [everywhereRoute, lines 376–398](/home/paulca/amadan.net/carlos/platform-region-labels/internal/provision/reconcile.go:376). Address classification parses literals without DNS. No root read. |
+| `Server.handleAPIRoutes` | Accurate: [lines 146–175](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/apiroutes.go:146) retain account/app filtering and derive additional fields from listed rows and cached names. No added open, store request or root read. |
+| `Store.LivePlacesNamed` | Accurate: [lines 2029–2052](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/store.go:2029) issue one SELECT for nonempty input, binding every app name. Only placeholder count is constructed. No root read. |
+| `fleetFromRoutes` | Accurate: [lines 111–120](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/regionfacts.go:111) reproduce the old fallback’s comparisons, order and return value. No I/O or root read. |
+| `Server.registryRoutes` | Accurate about the configured cached handle, empty-path refusal and test seam: [lines 127–148](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/regionfacts.go:127). Qualify “nothing written” as above. No new root read. |
+| `Server.fleetAppRegions` | Accurate about the query, registry listing and in-memory label fold: [lines 253–288](/home/paulca/amadan.net/carlos/platform-region-labels/internal/console/regionfacts.go:253). Its production caller remains operator-gated. Qualify “nothing written” through `registryRoutes` as above. No new root read. |
+
+APPROVED (all approvals)
\ No newline at end of file
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index e888fbb0a..a4f0197a1 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -53,5 +53,5 @@ plan14-root-reads-console-perf-1.tsv da85f1ae6035c36915225c78195aac28ca6f7263d21
plan14-root-reads-console-remote-instances.tsv 129e42ead28394976233059b786097bbd42654afee5caa54f24ed17621181fe3
plan14-root-reads-console-ux-nav-decisions.tsv 8f541d91481d535b6cc3e4da4d3461daa234049e7a2e21e367f75273d5b0e83c
plan14-root-reads-console-ux-nav.tsv 68cff99dd9dce5f2b895cbe8a786509b9aa653d340b88715030d0aa9e47d736d
-plan14-root-reads-region-labels-decisions.tsv fb0eda1b0765516d60e32474fc095f693450c3fb10b40856c17d42bc1d2a685a
-plan14-root-reads-region-labels.tsv 8168a171b212706c2be1448c4c3bfa901fec7e2bc0f7cd72479aba1a9100df6e
+plan14-root-reads-region-labels-decisions.tsv 734437c08f76a0f556b9e48595d4405718e013cdcdda7953c83f403045f4cc8a
+plan14-root-reads-region-labels.tsv 6a5a17485ad3e9d7c7f3dcdd03dfbc4edc27ec56cc17f4acbc4330207b7659ab
diff --git a/internal/provision/testdata/plan14-root-reads-region-labels-decisions.tsv b/internal/provision/testdata/plan14-root-reads-region-labels-decisions.tsv
index 923075527..59131bd34 100644
--- a/internal/provision/testdata/plan14-root-reads-region-labels-decisions.tsv
+++ b/internal/provision/testdata/plan14-root-reads-region-labels-decisions.tsv
@@ -1,17 +1,17 @@
# Census overlay region-labels-decisions, written BY HAND (AGENTS.md, The census: census-propose refuses decisions). The decisions of census-ruling-region-labels (branch region-labels, plans docs/superpowers/plans/2026-10-25-region-labels-1-console.md and -2-cli.md: region labels): seven new units and one new kind of read. Loaded from the chain manifest before plan14-root-reads-region-labels.tsv, which census-propose wrote for the approvals. Card docs/superpowers/notes/census-proposal-region-labels.md.
# PENDING: Paul's ruling, as census owner, asked on #280. Every row reads the console box's registry rows, the console's own SQLite or a row already in hand; no root read is added, nothing a tenant names is opened.
-@legacy 2270891786110160714ab70b77e76c3ee389df935a7bee3293b53985d3c754df internal/console/apitemporary.go Server.handleAPIAppList legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console (cmd/console serve under console.service, user carlos-console), on GET /api/cli/apps/{account}/list;basis=new to the census (region labels plan 1 task 8): lists the console box's registry once per request through Server.registryRoutes (the cached openRegistry handle the app pages use) and folds each app's legacy fleet placement from the rows in hand with fleetFromRoutes, for the region and region_name fields; reads SQLite as before; no file path, nothing a tenant names, no store request, nothing written whole:Route@1226 12d1534745fcd64e161de275b9cbc7d766f0853169ca473f01692268891cfa26
@legacy 285bd6ea00156a309e2d05853b6ef0197f9654012c4cbac3cf439a2ed144c2ca internal/regionlabel/regionlabel.go ForRoute legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console and the carlos CLI (a pure package; no box unit links it for a decision);basis=new (region labels plan 1 task 2): labels a registry row already in hand from its Region and Pool columns and RouteServedEverywhere; pure: no file, no store, no registry open, nothing written registry:Pool@230,registry:Pool@295,registry:Region@100,registry:Region@134,registry:Region@219,registry:Region@265,whole:Route@193 c327623c8204cca2872cc7e3f46ccbffe7a45c490ac6ee105e071ffffb694d17
@legacy 36091e57fec262ba53975b3f10fc1a6b2d77f23740031785f625496165392022 internal/provision/servedeverywhere.go RouteServedEverywhere legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console and the carlos CLI, through internal/regionlabel; never a box unit;basis=new (region labels plan 1 task 1): an exported one-line wrapper over everywhereRoute, the reconciler's own class predicate, so the labels and the reconciler answer from one rule; reads only the registry row handed in; no I/O whole:Route@76 a1741aa5baf444d669027b7e71fce80e9ea833e4d2683be5a8966f010c74919d
@legacy 5829de80608bbf5b9b34ce752e1ff9fe029311752e010e30c1c104e7521ae18f internal/console/apiroutes.go Server.handleAPIRoutes legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-console-remote-instances;basis=Passes nil for healthByHost's ownership-start argument; nothing else.;rev3=census-ruling-region-labels;basis=reads each listed row's Region column (rows it already lists) for the additive region and region_name fields, through homeRegionOut and regionlabel.ForRoute over the cached name map; no new open, no store request (region labels plan 1 task 8) registry:Account@4762,registry:App@1646,registry:App@2152,registry:App@4701,registry:Backing@2312,registry:Canary@2450,registry:Channel@2172,registry:Environment@2197,registry:Hibernate@2271,registry:Host@1730,registry:Host@2094,registry:Host@2250,registry:Host@2406,registry:Host@4834,registry:Host@4914,registry:Kind@2109,registry:Platform@2435,registry:Prefix@4930,registry:Provisioned@2337,registry:Region@2496,registry:Replication@2369,registry:Status@2221,registry:Target@4948,registry:Unit@2291,whole:Route@1635,whole:Route@1684,whole:Route@1721,whole:Route@1741,whole:Route@1861,whole:Route@1963,whole:Route@2042,whole:Route@2142,whole:Route@2548,whole:Route@4825,whole:RoutePath@3767 e06726ec0ed30948880b11a1dcd679a9972f1a2325a9d69bbb2dab1fe03312e4
+@legacy 8020e6e8ead1924ee676204649db49dcbf64e420cf1f43c708928da32c3b4331 internal/console/apitemporary.go Server.handleAPIAppList legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console (cmd/console serve under console.service, user carlos-console), on GET /api/cli/apps/{account}/list;basis=new to the census (region labels plan 1 task 8): lists the console box's registry once per request through Server.registryRoutes (the cached openRegistry handle the app pages use) and folds each app's legacy fleet placement from the rows in hand with fleetFromRoutes, for the region and region_name fields; reads SQLite as before; no file path, nothing a tenant names, no store request; writes nothing of its own; an uncached openRegistry runs registry.Open's schema migration on the configured registry, as every console registry open does whole:Route@1226 12d1534745fcd64e161de275b9cbc7d766f0853169ca473f01692268891cfa26
+@legacy 90a36b188541d9b282cee8be61731fa1859d543e1bbea4308d3db1f9d80284b9 internal/console/regionfacts.go Server.registryRoutes legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console (cmd/console serve under console.service, user carlos-console), on /api/cli/apps/{account}/list and the operator /fleet page;basis=new (region labels plan 1 task 5): opens the console box's registry through openRegistry(cfg.Registry), the same cached handle Assemble and appPlacement open, and lists its routes once; a console with no registry configured answers not read rather than opening an empty path; listRoutes is a nil test seam in production; writes nothing of its own; an uncached openRegistry runs registry.Open's schema migration on the configured registry, as every console registry open does whole:Route@209,whole:Route@564 b3c59398b4ec3fda1fa7eeff9d64741a3422b2f3c6ea6ccb65713810af9e98d9
@legacy a79a80402d3b2eabdfdc6da6101f31a49cd0567f9d9ce67043a78fb815a5a3a0 internal/console/store.go Store.LivePlacesNamed legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console (cmd/console serve under console.service, user carlos-console), on the operator-only GET /fleet;basis=new (region labels plan 1 task 10): one SELECT over the console's own SQLite apps and accounts tables, live apps whose name is one of the names given (bound parameters, never interpolated), returning each one's account, stored region and placement; no file path, nothing written file:Query@209 4a18b7f0d5d8fae24d40f44c2f6fdc07ad90c9a57bbb5c04c0865a595597042e
+@legacy b9a1e52279652a950b2c62ced45615e8aad82ee8f18c2df168e064be55f33a79 internal/console/regionfacts.go Server.fleetAppRegions legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console (cmd/console serve under console.service, user carlos-console), on the operator-only GET /fleet;basis=new (region labels plan 1 task 10): one SQLite query of the console's own apps table (Store.LivePlacesNamed) and one registry listing (Server.registryRoutes), folded in memory into one region label per app name for the platform fleet page; no file path, no store request; writes nothing of its own; an uncached openRegistry runs registry.Open's schema migration on the configured registry, as every console registry open does whole:Route@556 23d5a09de03b138c0189a2a54acf04e74901da5b2fc1165a6da8f97675c0f65b
@legacy cb69bb9a0bca155b51c18617aafb45e5636e6797c93d6d343632625d2db7a8ea internal/console/regionfacts.go fleetFromRoutes legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console (cmd/console serve under console.service, user carlos-console);basis=new (region labels plan 1 task 5): appPlacement's legacy route fallback moved whole into a pure function over rows already listed: the first fleet/<name> Region among the rows whose Account and App match, compared on the raw columns exactly as before; appPlacement's sites fell by the same reads; no I/O registry:Account@107,registry:App@129,registry:Region@199,registry:Region@226,whole:Route@93 23f1c9c4b5bfeb8be43b430f29d84911fae5349fff0e075838f36d969cb7a929
-@legacy cf36d0b43b4e2f65911f326de9a91902a15f7cb5b8d8db5b3fe6869cad959721 internal/console/regionfacts.go Server.registryRoutes legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console (cmd/console serve under console.service, user carlos-console), on /api/cli/apps/{account}/list and the operator /fleet page;basis=new (region labels plan 1 task 5): opens the console box's registry through openRegistry(cfg.Registry), the same cached handle Assemble and appPlacement open, and lists its routes once; a console with no registry configured answers not read rather than opening an empty path; listRoutes is a nil test seam in production; nothing written whole:Route@209,whole:Route@564 b3c59398b4ec3fda1fa7eeff9d64741a3422b2f3c6ea6ccb65713810af9e98d9
-@legacy f097ada4f0ca7435ce86cb262ad15e80e42566d8ad28a08a351646bb870561f5 internal/console/regionfacts.go Server.fleetAppRegions legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console (cmd/console serve under console.service, user carlos-console), on the operator-only GET /fleet;basis=new (region labels plan 1 task 10): one SQLite query of the console's own apps table (Store.LivePlacesNamed) and one registry listing (Server.registryRoutes), folded in memory into one region label per app name for the platform fleet page; no file path, no store request, nothing written whole:Route@556 23d5a09de03b138c0189a2a54acf04e74901da5b2fc1165a6da8f97675c0f65b
internal/console/apiroutes.go Server.handleAPIRoutes legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-console-remote-instances;basis=Passes nil for healthByHost's ownership-start argument; nothing else.;rev3=census-ruling-region-labels;basis=reads each listed row's Region column (rows it already lists) for the additive region and region_name fields, through homeRegionOut and regionlabel.ForRoute over the cached name map; no new open, no store request (region labels plan 1 task 8) registry:Account@4762,registry:App@1646,registry:App@2152,registry:App@4701,registry:Backing@2312,registry:Canary@2450,registry:Channel@2172,registry:Environment@2197,registry:Hibernate@2271,registry:Host@1730,registry:Host@2094,registry:Host@2250,registry:Host@2406,registry:Host@4834,registry:Host@4914,registry:Kind@2109,registry:Platform@2435,registry:Prefix@4930,registry:Provisioned@2337,registry:Region@2496,registry:Replication@2369,registry:Status@2221,registry:Target@4948,registry:Unit@2291,whole:Route@1635,whole:Route@1684,whole:Route@1721,whole:Route@1741,whole:Route@1861,whole:Route@1963,whole:Route@2042,whole:Route@2142,whole:Route@2548,whole:Route@4825,whole:RoutePath@3767 e06726ec0ed30948880b11a1dcd679a9972f1a2325a9d69bbb2dab1fe03312e4
-internal/console/apitemporary.go Server.handleAPIAppList legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console (cmd/console serve under console.service, user carlos-console), on GET /api/cli/apps/{account}/list;basis=new to the census (region labels plan 1 task 8): lists the console box's registry once per request through Server.registryRoutes (the cached openRegistry handle the app pages use) and folds each app's legacy fleet placement from the rows in hand with fleetFromRoutes, for the region and region_name fields; reads SQLite as before; no file path, nothing a tenant names, no store request, nothing written whole:Route@1226 12d1534745fcd64e161de275b9cbc7d766f0853169ca473f01692268891cfa26
-internal/console/regionfacts.go Server.fleetAppRegions legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console (cmd/console serve under console.service, user carlos-console), on the operator-only GET /fleet;basis=new (region labels plan 1 task 10): one SQLite query of the console's own apps table (Store.LivePlacesNamed) and one registry listing (Server.registryRoutes), folded in memory into one region label per app name for the platform fleet page; no file path, no store request, nothing written whole:Route@556 23d5a09de03b138c0189a2a54acf04e74901da5b2fc1165a6da8f97675c0f65b
-internal/console/regionfacts.go Server.registryRoutes legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console (cmd/console serve under console.service, user carlos-console), on /api/cli/apps/{account}/list and the operator /fleet page;basis=new (region labels plan 1 task 5): opens the console box's registry through openRegistry(cfg.Registry), the same cached handle Assemble and appPlacement open, and lists its routes once; a console with no registry configured answers not read rather than opening an empty path; listRoutes is a nil test seam in production; nothing written whole:Route@209,whole:Route@564 b3c59398b4ec3fda1fa7eeff9d64741a3422b2f3c6ea6ccb65713810af9e98d9
+internal/console/apitemporary.go Server.handleAPIAppList legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console (cmd/console serve under console.service, user carlos-console), on GET /api/cli/apps/{account}/list;basis=new to the census (region labels plan 1 task 8): lists the console box's registry once per request through Server.registryRoutes (the cached openRegistry handle the app pages use) and folds each app's legacy fleet placement from the rows in hand with fleetFromRoutes, for the region and region_name fields; reads SQLite as before; no file path, nothing a tenant names, no store request; writes nothing of its own; an uncached openRegistry runs registry.Open's schema migration on the configured registry, as every console registry open does whole:Route@1226 12d1534745fcd64e161de275b9cbc7d766f0853169ca473f01692268891cfa26
+internal/console/regionfacts.go Server.fleetAppRegions legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console (cmd/console serve under console.service, user carlos-console), on the operator-only GET /fleet;basis=new (region labels plan 1 task 10): one SQLite query of the console's own apps table (Store.LivePlacesNamed) and one registry listing (Server.registryRoutes), folded in memory into one region label per app name for the platform fleet page; no file path, no store request; writes nothing of its own; an uncached openRegistry runs registry.Open's schema migration on the configured registry, as every console registry open does whole:Route@556 23d5a09de03b138c0189a2a54acf04e74901da5b2fc1165a6da8f97675c0f65b
+internal/console/regionfacts.go Server.registryRoutes legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console (cmd/console serve under console.service, user carlos-console), on /api/cli/apps/{account}/list and the operator /fleet page;basis=new (region labels plan 1 task 5): opens the console box's registry through openRegistry(cfg.Registry), the same cached handle Assemble and appPlacement open, and lists its routes once; a console with no registry configured answers not read rather than opening an empty path; listRoutes is a nil test seam in production; writes nothing of its own; an uncached openRegistry runs registry.Open's schema migration on the configured registry, as every console registry open does whole:Route@209,whole:Route@564 b3c59398b4ec3fda1fa7eeff9d64741a3422b2f3c6ea6ccb65713810af9e98d9
internal/console/regionfacts.go fleetFromRoutes legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console (cmd/console serve under console.service, user carlos-console);basis=new (region labels plan 1 task 5): appPlacement's legacy route fallback moved whole into a pure function over rows already listed: the first fleet/<name> Region among the rows whose Account and App match, compared on the raw columns exactly as before; appPlacement's sites fell by the same reads; no I/O registry:Account@107,registry:App@129,registry:Region@199,registry:Region@226,whole:Route@93 23f1c9c4b5bfeb8be43b430f29d84911fae5349fff0e075838f36d969cb7a929
internal/console/store.go Store.LivePlacesNamed legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console (cmd/console serve under console.service, user carlos-console), on the operator-only GET /fleet;basis=new (region labels plan 1 task 10): one SELECT over the console's own SQLite apps and accounts tables, live apps whose name is one of the names given (bound parameters, never interpolated), returning each one's account, stored region and placement; no file path, nothing written file:Query@209 4a18b7f0d5d8fae24d40f44c2f6fdc07ad90c9a57bbb5c04c0865a595597042e
internal/provision/servedeverywhere.go RouteServedEverywhere legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-labels;identity=the console and the carlos CLI, through internal/regionlabel; never a box unit;basis=new (region labels plan 1 task 1): an exported one-line wrapper over everywhereRoute, the reconciler's own class predicate, so the labels and the reconciler answer from one rule; reads only the registry row handed in; no I/O whole:Route@76 a1741aa5baf444d669027b7e71fce80e9ea833e4d2683be5a8966f010c74919d