Claims cleanup R5 task 3: census overlay for the region switch deletion
Three body changes (console serve, handleAPICreateApp, app_new.html), no read added, and the cmd/console, internal/console and templates envelopes re-pinned. Generated by make census-propose NAME=claims-cleanup-r5.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 files changed,
+35
−0
docs/superpowers/notes/census-proposal-claims-cleanup-r5.md+23 −0internal/provision/testdata/plan14-root-reads-chain.tsv+1 −0internal/provision/testdata/plan14-root-reads-claims-cleanup-r5.tsv+11 −0
CI passed — run details
diff --git a/docs/superpowers/notes/census-proposal-claims-cleanup-r5.md b/docs/superpowers/notes/census-proposal-claims-cleanup-r5.md| new file mode 100644 |
| index 000000000..e14ff4599 |
| --- /dev/null |
| +++ b/docs/superpowers/notes/census-proposal-claims-cleanup-r5.md |
| @@ -0,0 +1,23 @@ |
| +# Census approval: claims-cleanup-r5 |
| + |
| +Ruling `census-ruling-claims-cleanup-r5`. Every change below keeps the disposition it already has, so it needs an approval, not a decision. |
| + |
| +| unit | change | read sites | what changed | |
| +|---|---|---|---| |
| +| `cmd/console/main.go` `serve` | body | unchanged (3) | drops the CONSOLE_APP_REGIONS read into Config.AppRegions and adds logRetiredAppRegions(os.Getenv), which only logs one line when the variable is set, no read added, the three data path literals unchanged | |
| +| `internal/console/apicli.go` `Server.handleAPICreateApp` | body | unchanged (2) | drops the newAppRegionReq call (an explicit-region validation that only ran with the switch on, reading control/edges and placements from the deployment bucket) and the region argument to claimApp, no read added | |
| +| `internal/console/templates/app_new.html` `external` | body | unchanged (1) | drops the switch-on region picker block (the RegionPicker block, nil with the switch off), the rendered form is byte-identical, no read added | |
| + |
| +Envelopes re-pinned: `cmd/console`, `internal/console`, `internal/console/templates`. |
| + |
| +Review: a model from the other family than the author reads the branch's diff against main on the amadan.net remote (`origin` or `amadan`, whichever points at amadan.net) and gives a verdict for every unit and every re-pinned envelope above. For a unit, compare the change with its recorded disposition and basis below; for an envelope, read every changed function in the package and what it reaches. Escalate if the change lets root open, run, query or follow anything it did not before from a path or input a tenant, an app or a box agent can create, write or name; if it weakens a check, refusal, validation, argument or environment the basis relies on; or if the diff cannot settle either. Otherwise approve. Record each verdict on #280 with the tip. An escalation goes to the census owner as a decision. |
| + |
| +Recorded dispositions, which each change must still satisfy: |
| + |
| +- `cmd/console/main.go` `serve`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the console (cmd/console serve under console.service, user carlos-console): Task 0 starts the lifetimes cutover watch, Task 3 the lifetime recovery pass and Task 5 the incarnation migration pass (off unless CARLOS_LIFETIMES_MIGRATE=1) beside the other claim workers; the same three data path literals move; no privileged reader is added |
| +- `internal/console/apicli.go` `Server.handleAPICreateApp`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route |
| +- `internal/console/templates/app_new.html` `external`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J4;basis=root-input |
| + |
| +Seal: `9cef5e93a1e3520e02efe66455bf70c1170d380b6d6a72ede02036ce3dd41924` → `b93e2927557e9274435d8cb32668c276cd9e821c6231d3f57e4c47b03f6e8264`. |
| + |
| +Overlay: `internal/provision/testdata/plan14-root-reads-claims-cleanup-r5.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`. |
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv| index 00311d81b..398558e0b 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-chain.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-chain.tsv |
| @@ -45,3 +45,4 @@ plan14-root-reads-edge-protection-2.tsv a864cf31b6bf2c30b5aa8c2647835efdc456f34f |
| plan14-root-reads-offline-move-trim-t1.tsv a864cf31b6bf2c30b5aa8c2647835efdc456f34f4945eea12751daab2457728e |
| plan14-root-reads-claims-cleanup-r1.tsv 9cef5e93a1e3520e02efe66455bf70c1170d380b6d6a72ede02036ce3dd41924 |
| plan14-root-reads-claims-cleanup-r2.tsv 9cef5e93a1e3520e02efe66455bf70c1170d380b6d6a72ede02036ce3dd41924 |
| +plan14-root-reads-claims-cleanup-r5.tsv b93e2927557e9274435d8cb32668c276cd9e821c6231d3f57e4c47b03f6e8264 |
diff --git a/internal/provision/testdata/plan14-root-reads-claims-cleanup-r5.tsv b/internal/provision/testdata/plan14-root-reads-claims-cleanup-r5.tsv| new file mode 100644 |
| index 000000000..c75002e3a |
| --- /dev/null |
| +++ b/internal/provision/testdata/plan14-root-reads-claims-cleanup-r5.tsv |
| @@ -0,0 +1,11 @@ |
| +# Census overlay claims-cleanup-r5, written by census-propose (#369). census-ruling-claims-cleanup-r5, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-claims-cleanup-r5.md. |
| +# 3 body, 0 sites, 3 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| +@legacy 21aaac6a71ef9b39d4fcd069309bd4356b29e245b33f446d1230f3fa21b794f4 cmd/console/main.go serve legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the console (cmd/console serve under console.service, user carlos-console): Task 0 starts the lifetimes cutover watch, Task 3 the lifetime recovery pass and Task 5 the incarnation migration pass (off unless CARLOS_LIFETIMES_MIGRATE=1) beside the other claim workers; the same three data path literals move; no privileged reader is added;rev3=census-ruling-claims-cleanup-r5;basis=drops the CONSOLE_APP_REGIONS read into Config.AppRegions and adds logRetiredAppRegions(os.Getenv), which only logs one line when the variable is set, no read added, the three data path literals unchanged data-literal@4634,data-literal@5669,data-literal@5906 06552d463e155d3a05bb89a345e7f125bd9c7f822247bc8955fed1bcbf321bf8 |
| +@legacy e9efcf06bd640f47f367798a80defd9104d9583d4ebdc57c9607e07b1a3973e0 internal/console/apicli.go Server.handleAPICreateApp legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-claims-cleanup-r5;basis=drops the newAppRegionReq call (an explicit-region validation that only ran with the switch on, reading control/edges and placements from the deployment bucket) and the region argument to claimApp, no read added registry:Account@3168,whole:Fleet@3156 e70f90c3abd7e445a0675a5290699d12afe9d5eb4abd7a08208dcbaff0f7bb62 |
| +@legacy 5b6b8282b483dcfde282f29517d08e521c48ebb768e32fbfdd6facb7d98df668 internal/console/templates/app_new.html external legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-claims-cleanup-r5;basis=drops the switch-on region picker block (the RegionPicker block, nil with the switch off), the rendered form is byte-identical, no read added file:external@0 7f1c362fdee6afe7ed9be85ee163f5f6afdc1ae5a3ff705299965c8b8e6410e5 |
| +cmd/console/main.go serve legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the console (cmd/console serve under console.service, user carlos-console): Task 0 starts the lifetimes cutover watch, Task 3 the lifetime recovery pass and Task 5 the incarnation migration pass (off unless CARLOS_LIFETIMES_MIGRATE=1) beside the other claim workers; the same three data path literals move; no privileged reader is added;rev3=census-ruling-claims-cleanup-r5;basis=drops the CONSOLE_APP_REGIONS read into Config.AppRegions and adds logRetiredAppRegions(os.Getenv), which only logs one line when the variable is set, no read added, the three data path literals unchanged data-literal@4634,data-literal@5669,data-literal@5906 06552d463e155d3a05bb89a345e7f125bd9c7f822247bc8955fed1bcbf321bf8 |
| +internal/console/apicli.go Server.handleAPICreateApp legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-claims-cleanup-r5;basis=drops the newAppRegionReq call (an explicit-region validation that only ran with the switch on, reading control/edges and placements from the deployment bucket) and the region argument to claimApp, no read added registry:Account@3168,whole:Fleet@3156 e70f90c3abd7e445a0675a5290699d12afe9d5eb4abd7a08208dcbaff0f7bb62 |
| +internal/console/templates/app_new.html external legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-claims-cleanup-r5;basis=drops the switch-on region picker block (the RegionPicker block, nil with the switch off), the rendered form is byte-identical, no read added file:external@0 7f1c362fdee6afe7ed9be85ee163f5f6afdc1ae5a3ff705299965c8b8e6410e5 |
| +@coverage cmd/console 995f9d49e8745a13fdfd991dfb242c2749ea8dbda7e5151c4ae590dfb908f87c |
| +@coverage internal/console b6eeef76b945268098ae4a1487221927301aa819dc44eeab3e198b19fecd7d20 |
| +@coverage internal/console/templates db119ec449b7af3fb17b902e8b86562f2b10eec28d10bbf73aacdd794c7219bb |