carlos / platform Public

Dev claim trial undo log: step 0 PASS

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 5f2cd6e1be581089e91772fb7fe4297b278d0655 parent 3b6287c
1 file changed, +73 −0
  • docs/superpowers/notes/dev-claim-trial-undo-log.md +73 −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
new file mode 100644
index 000000000..14aa83405
--- /dev/null
+++ b/docs/superpowers/notes/dev-claim-trial-undo-log.md
@@ -0,0 +1,73 @@
+# Dev claim trial undo: step log
+
+Procedure: `docs/superpowers/notes/dev-claim-trial-undo.md` rev 3 (content at
+`3b6287c7`; its title line still reads "rev 2"), Astra r3 READY. Paul's go relayed
+by the controller: steps 0 to 8, then step 10 only if 0 to 8 all pass. Not 9, not 11.
+Dev freeze on amadan #404. Leo keeps `CARLOS_POOLS=cohort1`.
+
+Operator: Claude (agent) from DOCS-T1. Helpers: runbook `ssm.sh` verbatim
+(`origin/claim-dev-cohort1-runbook`, "How commands are run"), `leo`/`sophie`/`dennis`
+wrappers over it, the note's `devcli`, and `rosterview` (the python form from
+`own/after236/v0286/env.sh`, as used in the v0.28.16 dev roll log).
+
+Resume rule: read this log, continue from the first step not marked PASS,
+re-running that step's pre-check.
+
+## Step 0 [READ]: target, inventory and emptiness
+
+Start: 2026-10-25T22:34:02Z
+
+**Target** (22:34Z):
+1. `carlos auth whoami` (default): `paul@keymail.dev at https://console.carloku.com` (flagship, expected; the reason for `devcli`).
+2. `devcli auth whoami --console "$DEV"`: `paul@keymail.dev at https://platform.dev.carlosframework.com`, accounts `ops (bab)`. PASS.
+3. `aws --profile kass sts get-caller-identity`: account `640012953448`, `user/remote-agent`. PASS.
+4. `devcli system status --console "$DEV"`: canary and stable `v0.28.16`; `dennis-stenciling`, `leo-climbing` (stable), `sophie-knitting` (canary), all `v0.28.16 current`. Exactly the three. PASS.
+
+**Claim emptiness.**
+- Runbook block 1 on leo (over `ssm.sh`): every count `0`, then `leo: all empty`. The `tools present` line did not print (sqlite3 or jq missing on leo); no count used them, because `journals.db` and `migration.json` are absent.
+- Runbook block 2 (5.1 helpers; `box_inspect` restaged `roster.json`/`rev` in sophie's `/root/claim-trial`, its documented side effect): `host-claim-files 0`, evidence 0, serving-evidence 0, holds 0, activations 0, `bucket and roster: all empty`.
+- All three boxes: `/var/lib/carlos-claims`, `/opt/carlos/system/guard/moves` and `.../authority/exec/census.json` absent.
+
+**Bucket inventory** (`carlos-dev-640012953448`, versioning Enabled):
+
+| Row | Key | VersionId | ETag / sha256 |
+|---|---|---|---|
+| R1 | `control/moves-protocol.json` (33 B, 2026-10-19T19:33:45Z, `{"min":1,"min_release":"v0.28.4"}`) | `1rciJuMI6WA2QabjihAvuUJaM8K_rppK` | `089eb7af…` / `1a6a7e50f1081e1fdebe07026a9ad1cd0b27e9e36851176c5f510185832a4ab3` |
+| R1 | `control/moves-protocol-auth.json` (375 B, same time) | `xhHnuQAMdYzrEL6gFv_Kfq07JbEhsSTD` | `36257996…` / `3bbd48a885ea3b05b41095822627f274a4136bed33aebb63a2d175abfbb7f470` |
+| R2 | `control/host-actors.json` (2227 B, 2026-10-25T17:38:12Z) | `WC3aphsSxjJNcQ4pW.AoucHDRdrqbRn2` | `e40c968f54473c1e09b43c6c7e6df4f9` / `d7d20269b800b3bee0414bbb4cbc5ccc76fc427e13ce9909c48b94cf837eb6c9` |
+| R4 | `control/host-actor-invitations/leo-climbing.json` | `H8Q4V5KaxrrJkviWEigBCjCKGk9rvjeS` | `6590de66…` / `462d2fe0fd2b0563…` |
+| R4 | `control/host-actor-invitations/sophie-knitting.json` | `mtD2lkmwKs5FgmldGyhbHimATQUuvikc` | `2bfbb474…` / `29dd2bcf96b3d62e…` |
+| R4 | `control/host-console-invitations/dev-console.json` | `Of2A.t.Mzw7..DDPEuzGwP3B2OizWL7H` | `836ea6e8…` / `82ec3ffd03919304…` |
+| R5 | `status/consoles/dev-console.json` (rewritten 22:34:33Z) | `8tqAK1RBBqujx._.LSCZG71.8kHjbSV1` | `9b99241e…` / `8c44fc139947ca46…` |
+
+- R3: `control/system/router/releases/` holds v0.28.2, v0.28.4, v0.28.6 … v0.28.16 (13 keys, no v0.28.3 or v0.28.5).
+- R7: `control/boxes/leo-climbing.json`, `sophie-knitting.json` (keep). R9: `claim-signer/` empty. R10: `root-runner/` objects from 2026-10-14 (many). R11: `releases/bab/pointer-digests` present (keep). R12: no `control/hosts*`, no `apps/*/*/admission.json`.
+- `rosterview`: `{"rev": 53, "etag": "\"e40c968f54473c1e09b43c6c7e6df4f9\"", "activations": [], "holds": []}`.
+- Router channels: stable and canary current `v0.28.16` (release_tag v0.28.16, moves_protocol 1, activation_id stable `cd738764…`, canary `00275249…`); `history[0]` is `v0.28.15` on both.
+- Edges files: dennis `serves_shared_pool=true`, leo `false`, sophie `true`; all three `moves_floor_min_release=v0.28.4`.
+
+**Box inventory.**
+- Leo: guard dir `activation.json carlos completed.json identities policy.json` (root 755; `identities/` v0.28.4, v0.28.6 … v0.28.16); policy `armed`; `completed.json` = activation id = `cd73876401719979bb11e59ae4925ca8`; no `journal.json`, no `update-begun.json*`; `/data/.hostexec` empty (carlos 2770); `/data/.moves/floor.json` `{"min":1,"min_release":"v0.28.4"}`, `floor.min-release` `v0.28.4`, `floor.lock` root 0 B; `carlos.prev.allowed` `v0.28.4`; `carlos` v0.28.16 `578bab0f…d553`, `.prev` v0.28.15 `6587576f…e0dd`; locks `/etc/carlos/.claims-activation.lock` and `/etc/carlos/fence-writer/.claims-activation.lock` (root 600, 0 B); none in `console.service.d` or `/etc/systemd/system`; fence-writer dir holds only `.claims-activation.lock`, `credentials.installation.json`, `credentials.json`; `host-actor.json`, `host-evidence.key`, `channel-identity.json`, `/root/claim-trial` present; `CARLOS_POOLS=cohort1`.
+- Sophie: as leo, plus `console-ready.json`; completed = activation id = `002752494a1e096ac402f36ea5915ee4`; `/etc/carlos/.claims-activation.lock` only (no fence-writer dir, no evidence key); `/root/claim-trial` incl. `paused-20261019/`; `CARLOS_SYSTEM_CHANNEL=canary`.
+- Dennis: no guard, no `.hostexec`, no `host-actor.json`, no locks, no `channel-identity.json`, no `/root/claim-trial`; floor files as leo (`v0.28.4`); `carlos.prev.allowed` `v0.28.4`; versions as leo; `CARLOS_REGION=uk`.
+
+**Unit baseline.** Fragment sha256 identical on all three boxes: edge `7ec2140a87cad8b9…5e5f`, update `cfcaeea6308021ce…3fd6`, recover `f16b260868c4b258…7b45`.
+- Dennis (expected plain units): `DropInPaths=` empty on all three; edge `ExecStart=/opt/carlos/carlos agent`, `Requires=carlos.slice run-carlos-logs.mount run-carlos-instances.mount data-instances.mount sysinit.target` (no recover); update/recover `ExecStart=/bin/sh -c 'if [ -x /opt/carlos/system/guard/carlos ] && … guard-exec …; fi; … exec /opt/carlos/carlos system apply[ --recover]'`; no `*.service.d` dirs.
+- Leo and sophie: each unit has `DropInPaths=…/90-host-floor.conf` (edge 168 B, update 87 B, recover 89 B), `ExecStart=/opt/carlos/system/guard/carlos system guard-exec edge|apply|recover`; edge `Requires` includes `carlos-system-recover.service`. Sophie's three drop-in dirs are mode 700.
+- Edge MainPID / NRestarts: leo 755488 / 0, sophie 924951 / 0, dennis 188602 / 0; each listens on `*:80` and `*:443`. Update and recover inactive; `carlos-system-update.path` active on all.
+
+**Sophie console.**
+- `console.service` fragment `ExecStart=/opt/carlos/live/platform.dev.carlosframework.com serve`; drop-ins `90-host-floor.conf` (`887585fe…5518`), `91-claim-runtime.conf` (`815226c3…e938`), `apps-domain.conf`, `change-index.conf`, `db-forward.conf`, `release-key.conf`, `temporary-apps.conf`.
+- Running PID 927346 since 17:39:31Z, NRestarts 0, exe `/opt/carlos/system/console/console` `337387dd…c4e2`; live link → `/opt/carlos/versions/v0.28.16/console` `337387dd…c4e2` (equal); `console.prev` `1e36de1a…efa`; no `console.next`.
+- Environ: `CARLOS_CONSOLE_ID=dev-console`, `CONSOLE_HOME_REGION=ie`, `CARLOS_HOST_CLAIM=` (empty); `CARLOS_RELEASE_KEY` present (name only).
+- `CONSOLE_HOME_REGION` is set only by `/etc/carlos/claim-console.env` (72 B, `c1ae2900…c412`); no drop-in sets it. Step 1 will create `home-region.conf`.
+
+**Serving baseline.**
+- `devcli status --layout`: leo `claimtrial.dev.carlosframework.com` (nested); sophie `helloworld.dev.oncarlos.com` (external), `wakecheck.dev.carlosframework.com` (nested); dennis lists none.
+- Leo: claimtrial via `--resolve …:18.200.150.210` 200, `host=ip-172-31-19-180` (hits=932).
+- Sophie: wakecheck via DNS 200, `host=ip-172-31-14-16` (hits=2175); console `/healthz` 200, `x-carlos-version: v0.28.16`.
+- Dennis: no hosts; edge active, listening on 443.
+
+**IAM and network.** `list-access-keys` fence-writer root: `AKIA…VINM` `Active` (2026-10-19T20:20:45Z). `get-role carlos-claim-signer`: `NoSuchEntity`. sg-054aa165db842b6ba: tcp 80 and 443 from 0.0.0.0/0.
+
+End: 2026-10-25T22:38Z. **Step 0: PASS.**