plan: W1a results (PDF egress blocked on a not-wholly-nested box); #413 merged
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+27
−0
docs/superpowers/plans/2026-11-13-tito-nesting-and-self-serve-moves.md+27 −0
CI failed — run details
Intent
Human
<task-notification> <task-id>bf17hcf46</task-id> <tool-use-id>toolu_01KZCL3LDFv2z4kSazmYK6Ax</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/96a09f74-e398-48ed-a97f-140bd1f7e255/tasks/bf17hcf46.output</output-file> <status>completed</status> <summary>Background command "Wait for #413 CI" completed (exit code 0)</summary> </task-notification>
diff --git a/docs/superpowers/plans/2026-11-13-tito-nesting-and-self-serve-moves.md b/docs/superpowers/plans/2026-11-13-tito-nesting-and-self-serve-moves.md| index e3df9a531..9a842821f 100644 |
| --- a/docs/superpowers/plans/2026-11-13-tito-nesting-and-self-serve-moves.md |
| +++ b/docs/superpowers/plans/2026-11-13-tito-nesting-and-self-serve-moves.md |
| @@ -36,6 +36,8 @@ |
| - **W4 #413: built, stopped under stopping rule 2** on branch `offline-move-pool-target-413` (fault family: who may undo a move). Paul's choice on #413; recommended: revert e2e54f66 and document "don't change a target box's CARLOS_POOLS mid-move". |
| - **W5 #996 design: stopped under stopping rule 2** after two Astra rounds (fault family: OOM event capture). Paul's choice on #996; recommended: v1 alerts on sustained pressure only, no kill counting. Spec: `docs/superpowers/specs/2026-11-13-instance-memory-alert-design.md` rev 2. |
| - **W3 slice 1 plan: stopped under stopping rule 2** after two Astra rounds (fault family: the job and hand-run doors on the same move). Recommended cut: while a job owns a move, the hand doors refuse it. Plan: `docs/superpowers/plans/2026-11-13-self-serve-moves-slice-1-one-command.md` rev 2. Also open: whether Paul or Luna approves its copy. |
| +- **W4 #413: MERGED** as d6c6f3f with Paul's cut (runbook rule); follow-up #1010 (CARLOS_INBOUND=none target). |
| +- **W1a ran 2026-11-14 (partial, no layout change):** staging's dorothy-sailing was already nested. Pass: titogo build holds the PRO-5460 fix, router to a nested account, relay socket from inside a nested instance, own-box calls, a restart with 0 failed requests. **Fail: PDFs.** The egress allow is refused on a box that is not wholly nested (`!box not wholly nested`: the console runs as `console.service` under the agent's user on the same box). Production's console also runs on the IE box (Tito infra `antivirus.tf` `console_instance_id = module.host_ie`, README `/data/console/console.db`), so **W1b is blocked** until PDFs have another path. Not run (needs a staging titogo sign-in): paid orders, Stripe Connect webhooks, signed-in admin. Hub revert rehearsal deferred. |
| - **W6 decided:** #990 not needed before W1b; PDFs need an egress allow (W1b). |
| - **Facts read from Tito production:** Appendix B. |
| @@ -78,6 +80,31 @@ Run from `staging/` in Tito's carlos-infrastructure. `dorothy-sailing` (IE) runs |
| - [ ] Rollback rehearsed: `carlos system layout revert --force --box dorothy-sailing`, every row `flat`, time logged (five took 200 s on 10-09); then migrate again and leave staging nested. |
| - [ ] Results posted on PRO-5614 and this branch's discussion. |
| +**W1a results, 2026-11-14 06:06-06:26Z (partial; W1b stays blocked).** Run on staging as found, under a revised scope from the coordinator after Tito's infrastructure session answered on #1005. |
| + |
| +Deviations from the checklist above: |
| + |
| +- No roll: staging boxes already ran v0.35.2 (promoted 05:33Z and 05:36Z that morning; console v0.35.1, its roll held by Tito's session). Production runs v0.33.5, so **W1b must first roll production to the release rehearsed here**. |
| +- No flat baseline, migrate or revert: dorothy-sailing has been nested since 2026-10-20 (all 8 titogo rows `nested`; no recorded intent for the box, and its host.env still carries `CARLOS_LAYOUT_DEFAULT=flat`). It is also the tunnel hub for fleet classic, so layout changes and edge restarts were ruled out. **The rollback rehearsal is deferred**, and the 1-hour grace stop was not observed. |
| +- No controld account and no alias were added (no quick, reversible recipe in the runbook). |
| +- No signed-in checks: this session has no sign-in to the acme accounts (passkeys and Bill's mailbox), and acme-1's only event has booking closed, so no order could be placed. |
| + |
| +Exit list as run: |
| + |
| +- [x] titogo build `aede64e` holds 952fb18d (`merge-base --is-ancestor`, rc 0). |
| +- [x] Layout: acme-1 to acme-3 and five more rows `nested`. No alias exists to check. |
| +- [x] Router to a nested account, signed out only: `https://staging.go.tito.io/acme-1` 200, `/acme-1/admin` 303 to sign-in; router journal `no such file` count 0 over 24 h. Signed-in admin: **not run**. |
| +- [x] Relay socket from inside a nested instance: from acme-2's mount namespace, as its uid and gid, `/run/titogo/connect.go.tito.io.sock` answers `GET /healthz` 200; `/data` there shows only its own directory; no relay warning at boot. Connecting Stripe on acme-2: **not run**. |
| +- [ ] Webhooks: **not run.** The router journal holds no webhook line in 7 days, so no Connect delivery has ever been seen nested. |
| +- [ ] A webhook across a stop: **not run.** Measured instead: `carlos restart --host acme-1…` under a 150-request poll gave no failure and one request held 2.6 s (unit back 5 s after the command). |
| +- [ ] PDFs: **FAILED, and it changes W1b.** `carlos apps set titogo --account bae --egress-allow 172.31.12.115` was recorded (06:11:30Z; `apps show` prints it) but every dorothy-sailing row reports `EGRESS - !box not wholly nested`, reason "console.staging.platform.tito.io runs as console.service, which runs as the agent's user". The wholly-nested rail (`internal/host/egress_rail.go`, in releases since v0.28.20) refuses every allow on a box where a service other than the platform's own runs as `carlos`. acme-2 woke after the set with `IPAddressAllow=` empty and 172.16.0.0/12 denied. If production's console, or any legacy unit running as `carlos`, sits on betty-fossicking, W1b's egress allow will be refused the same way and nested instances lose PDFs. Also: staging titogo has no `TITO_GOTENBERG_URL`, so ticket PDFs are off there whatever the fence says. The allow was left set on staging (inert). |
| +- [x] Own-box calls, from logs only: acme-1 and acme-2 journals over 7 days hold no refused, denied, unreachable or not-permitted line. Sign in, invite, team change and agent token: **not run**. |
| +- [ ] Alias, controld account: **not run** (neither exists on staging). |
| +- [ ] Rollback: **deferred** (hub). |
| +- [x] Hub drop-in recorded and unchanged: `/etc/systemd/system/carlos-edge.service.d/replica-console.conf`, `Environment=CARLOS_REPLICA_CONSOLE_ADDR=127.0.0.1:8090`; carlos-edge MainPID 2852427, up since 05:40:45Z, NRestarts 0 before and after; tito-id answered 302 throughout. |
| + |
| +Other things seen: `carlos-instance@pentest.staging.go.tito.io` has been `failed` (SIGKILL) since 2026-11-02; `carlos restart --dry-run` calls a Running nested instance "asleep" and then restarts it; `system status` warns that `bootstrap/carlos` is not stable's build. |
| + |
| ### W1b. Production window on betty-fossicking (IE; formerly carlos-tito-ie) |
| - [ ] **Paul's go (D3):** a window in Tito's quietest hour, and the notice sent. |