carlos / platform Public

Claims cleanup plan: dev undo, R0-R9 removals, census re-base, pause trims

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev c2946c6293e5b9db31758087b032e22d9fda806d parent 6413ebf
1 file changed, +34 −0
  • docs/superpowers/plans/2026-10-25-claims-cleanup.md +34 −0

CI passed — run details

diff --git a/docs/superpowers/plans/2026-10-25-claims-cleanup.md b/docs/superpowers/plans/2026-10-25-claims-cleanup.md
new file mode 100644
index 000000000..b29f03c8e
--- /dev/null
+++ b/docs/superpowers/plans/2026-10-25-claims-cleanup.md
@@ -0,0 +1,34 @@
+# Claims cleanup: the plan
+
+Paul shelved the host lifecycle claim work on 2026-10-25 and parked live moves and HA (amadan #404). This plan removes what the claim work left behind, narrows the census to code root runs, and trims the offline move's pause. Evidence is in three notes beside this one:
+
+- `docs/superpowers/notes/claims-inventory.md`: what runs with claims off, the removal order R0-R9, the census mechanics.
+- `docs/superpowers/notes/dev-claim-trial-undo.md`: the dev trial's residue and a 13-step undo.
+- `docs/superpowers/notes/offline-move-pause-trim.md`: where the ~3 minute pause goes.
+
+Rules for every branch: one branch per row below, each with a one-line finish line; claims-off behaviour stays identical unless the row says otherwise; targeted tests locally, the full gate in CI; cross-model review (Astra for a Claude author); dev first, then flagship. A branch that finds something new stops and reports rather than growing.
+
+## Order
+
+| # | Work | Finish line | Needs |
+|---|---|---|---|
+| U | Undo the dev claim trial (note steps 0-11; step 12 optional) | Dev updates, promotes and rolls back stable and canary with no roster reservation, no guard and no floor, like flagship. Wakecheck passes. | Astra READY on the note; Paul's go for the run |
+| R0 | Census removal plumbing (test only) | A deleted package or unit passes the census with a generated overlay and a reviewer's approval; changed and new reads still fail. | Paul's ruling on #280: reviewers may approve `removed` |
+| R1 | Move the live slices out of claim packages (`Incarnation`, region helpers, the offline door's checks) | No claims-off caller imports a claim package for live behaviour; golden vectors unchanged. | — |
+| R2 | Delete activation tooling, `carlos system claims`, `sim/hostlife`, root-runner scripts | Gone; `system` verbs otherwise unchanged. | — |
+| R3 | Delete region HA 2a/2b | Gone; edge, LB health and placement as with the flag off. Touches the edge. | — |
+| R4a | Delete moves Phase 1 (operator live moves) | Gone; offline and legacy moves unchanged. | — |
+| R4b | Delete the moves protocol floor | Gone; seeds floor unchanged. | U done (dev's floor removed) |
+| R5 | Delete nearest-region (Plan 15) | Every region door answers as with the switch off. | — |
+| R6 | Delete the console claim runtime | Console starts and serves as with claims off. Touches console startup. | — |
+| R7a-d | Delete activator, agent, instance-control and unit claim wiring | Wake, swap, seed, agent startup and self-update as today. R7a touches the wake path. | U done (no box armed) |
+| R8 | Delete root census plumbing | Every restart, rollback, start and reset-failed effect is the legacy one; D3 health, the previous pointer and the release-dir repair stay. | — |
+| R9 | Remove the switch | A box or console with `CARLOS_HOST_CLAIM` set ignores it and logs once (my call). | — |
+| C2 | Re-base the census on code root runs | The census covers only units reachable from root's verbs and root units; agent, console and template edits no longer need a card; the 117-overlay chain is archived behind one new base. | Paul's ruling on #280; after R8, when the row count is far smaller |
+| T1 | Delete staged objects in parallel at `open` | Same objects deleted, before the app starts; 5-12 s saved on a measured move. | — |
+| T2 | Report the stop as soon as it finishes | 10-18 s saved on `start`. | Rebased on the self-serve branches |
+| T3 | Restore once, before `open` | 25-50 s saved. | Paul reverses his 2026-10-22 ruling (self-serve spec §10 Q3) |
+| T4 | Shorter self-serve job ticks | 10-25 s saved for self-serve. | Built on the self-serve branches |
+| P | db push, new work on main's pull path | Separate plan. | Self-serve moves Plans 2-3 merged |
+
+R1 to R8 follow the inventory's §4 table for the files, callers, behaviour to keep and tests. Move each claims-off witness test out of a file before deleting the file (inventory §4; about 38 live in claim-named test files). Keep `lease/versioned.go` and `staging.go` until P decides whether push reuses them.