carlos / platform Public

Dev claim trial undo log: step 5 immediate checks pass, hourly re-check pending

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 13522a597202fa83b31f2983eccad88048ea1eff parent bb301a2
1 file changed, +27 −0
  • docs/superpowers/notes/dev-claim-trial-undo-log.md +27 −0

CI passed — run details

diff --git a/docs/superpowers/notes/dev-claim-trial-undo-log.md b/docs/superpowers/notes/dev-claim-trial-undo-log.md
index 13d8e6767..b8044cc40 100644
--- a/docs/superpowers/notes/dev-claim-trial-undo-log.md
+++ b/docs/superpowers/notes/dev-claim-trial-undo-log.md
@@ -155,3 +155,30 @@ Start: 2026-10-25T22:50:55Z
- Console journal since the step 1 restart (12 lines): 0 lines matching `hostfloor|floor|refus|roster|host-actor`.
End: 2026-10-25T22:52Z. **Step 4: PASS.**
+
+## Step 5 [SSM dennis, leo, sophie, one box at a time]: remove the local moves floor
+
+Start: 2026-10-25T22:52:55Z
+
+Method: per box, two SSM root shells. Part A (actions 1 to 4) stops the path, waits for update and recover to be `inactive`, stops the edge, checks MainPID 0 and no `… agent` process (scan of `/proc/*/cmdline`), then runs `flock -n /data/.moves/floor.lock -c "mv -T /data/.moves/floor.json /root/claim-undo-20261026/step5/floor.json && mv -T /data/.moves/floor.min-release /root/claim-undo-20261026/step5/floor.min-release"` (on flock failure it restarts edge and path and stops, as the note says). Then action 6, the R1 re-read, runs from DOCS-T1 (`head-object` on both keys), because the boxes can't read R1 themselves. Part B (action 7) runs `systemctl start carlos-edge.service` then `systemctl start carlos-system-update.path`. Action 5 (optional B6, `carlos.prev.allowed`) was **not** done: B6 is inert without B5, so it stays in place.
+
+Deviation (read-only): the note's `move offline status` takes `--app`. For leo's claimtrial the door answers `pooled instances do not move in v1 — their data lives on the pool's own box` (exit 5). Every move door goes through `moveGate`, which refuses a pooled record before anything else (`apiinstancemove.go:86-88`), and "the record carries `move` verbatim while one is in flight" (`:42`). `apps/bab/claimtrial/instances/claimtrial.dev.carlosframework.com.json` has keys `account app channel created_at created_by host pool schema slug`, with no `move`, so no move is in flight. Sophie's `helloworld.dev.oncarlos.com` is an external layout route with no instance record (`apps/bab/helloworld/instances/` is empty; the door says `Not found`), so it can't have a move either.
+
+### dennis (22:52:58Z to 22:54:22Z)
+- Pre: R1 `404` both; `floor.json` `{"min":1,"min_release":"v0.28.4"}`, `floor.min-release` `v0.28.4`; edge 188602 plain; update and recover inactive; serves no hosts (layout lists none), so no move status to query.
+- Part A 22:53:07.16Z: path inactive; update and recover inactive; edge stopped 22:53:07.20Z, MainPID 0, no agent process; moved under `floor.lock`; both files absent; done 22:53:07.43Z. R1 re-read 22:53:08Z: `404` both. Part B 22:53:11.93Z: edge rc 0, path rc 0. Edge dark about 5 s.
+- Post: edge MainPID 236511, NRestarts 0, active, `ExecStart=/opt/carlos/carlos agent`; listening on 443 and 80; both floor files absent (`floor.lock` only); `control/edges/dennis-stenciling.json` rewritten 22:54:13Z (last write before that was 17:13:24Z) with **no** `moves_floor_min_release` (`serves_shared_pool` true, `prev_allowed_for` v0.28.4).
+
+### leo (22:54:32Z to 22:56:41Z)
+- Pre: R1 `404` both; floor files `v0.28.4`; edge 755488 plain (`ExecStart=/opt/carlos/carlos agent` since step 2's reload); update and recover inactive; claimtrial has no move (above).
+- Part A 22:55:24.54Z: edge stopped 22:55:24.60Z, MainPID 0, no agent process; moved under `floor.lock`; both absent; done 22:55:26.05Z. R1 re-read 22:55:31Z: `404` both. Part B 22:55:36.15Z: rc 0 and 0. **The first start through the plain edge unit.**
+- Post: edge MainPID 807871, NRestarts 0, active, `ExecStart=/opt/carlos/carlos agent`, `Requires=data-instances.mount run-carlos-logs.mount carlos.slice run-carlos-instances.mount sysinit.target` (no recover); listening on 80 and 443; both floor files absent; claimtrial via `--resolve` 200, `host=ip-172-31-19-180` (hits 936, up from 934, so no rows lost); `control/edges/leo-climbing.json` rewritten 22:56:37Z (before: 17:18:11Z) with no `moves_floor_min_release`, `serves_shared_pool` false, hosts `[claimtrial…]`. The only journal line is the old edge's next-due probe at shutdown (22:55:24, `connection refused … recording none`), which is benign.
+
+### sophie (22:56:54Z to 22:58:26Z)
+- Pre: R1 `404` both; floor files `v0.28.4`; edge 924951 plain; update and recover inactive; wakecheck `No move is in flight`; helloworld has no record (above).
+- Part A 22:57:08.15Z: edge stopped 22:57:08.21Z, MainPID 0, no agent process; moved under `floor.lock`; both absent; done 22:57:09.09Z. R1 re-read 22:57:11Z: `404` both. Part B 22:57:15.46Z: rc 0 and 0. The first start through the plain edge unit. Console and wakecheck dark about 7 s.
+- Post: edge MainPID 977178, NRestarts 0, active, plain `ExecStart`; listening on 80 and 443; both floor files absent; `console.service` active; wakecheck via DNS 200, `host=ip-172-31-14-16` (hits 2178); console `/healthz` 200, `x-carlos-version: v0.28.16`; `control/edges/sophie-knitting.json` rewritten 22:58:16Z with no `moves_floor_min_release`, `serves_shared_pool` true.
+
+Aside dirs `/root/claim-undo-20261026/step5/` on each box hold `floor.json` and `floor.min-release`.
+
+Interim (22:58Z): every immediate post-check passes. Pending: the note's "check again after the next hourly refresh" (edge starts dennis 22:53:11Z, leo 22:55:36Z, sophie 22:57:15Z, so due about 23:53Z, 23:55Z and 23:57Z). Step 5 is not marked PASS until that check is done.