carlos / platform Public

plan: overnight status (W4, W5, W3 slice 1, W6)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev f49b2b3bed56914ed24573296ed2c834e9a96ea2 parent 33648c3
1 file changed, +9 −0
  • docs/superpowers/plans/2026-11-13-tito-nesting-and-self-serve-moves.md +9 −0

CI passed — run details

Intent

Human

<task-notification> <task-id>a5a8684b1f0a9b866</task-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/96a09f74-e398-48ed-a97f-140bd1f7e255/tasks/a5a8684b1f0a9b866.output</output-file> <status>completed</status> <summary>Agent "Implement #339 stage refusals" finished</summary> <note>A task-notification fires each time this agent stops with no live background children of its own. The user can send it another message and resume it, so the same task-id may notify more than once.</note> <result>I've fixed items 1, 2 and 4 of #339 in four commits on `offline-move-stage-refusals-339`. Targeted tests pass, and nothing is pushed, merged or posted. **How it works.** Each box adds an `offline_move` block to its private status report. It lists the hosts it keeps a stale live link for (a link with no route row for that host), and any app directories beside an instance's files directory, each marked empty or not. The stage and start doors already read these reports, so they can refuse before anything goes offline. A box on an older release sends nothing, and the doors then let it through; the landing and seal checks are still there behind them. **Item 1 (stale live link on the target).** The box reports the link in `internal/host/movesoffline_facts.go:50`, called from the status loop at `internal/host/agent.go:5086`. The doors refuse in `internal/console/apiinstancemove_offline_facts.go:19`, called at `apiinstancemove_offline.go:575`. Start refuses even if stage passed earlier, and the move stays in staging. The landing check is unchanged. **Item 4 (app directories).** The seal's rule for what counts as a stray entry now lives in `offlineFilesAt` (`movesoffline_seal.go:692`), so the box report and the seal use the same rule. The seal still refuses as before. **Item 2 (status after an abort from staging).** The console sends no checklist items for a move that never went offline (`apiinstancemove_offline.go:1406`). The CLI prints the new line (`move.go:1504`) and ignores items an older console still sends (`move.go:1614`). **Tests.** I added new door tests and two new `TestOfflineMoveE2E` subtests. The E2E now writes each box's status report the way the status loop does. Results: - `go test ./internal/console/ -run Offline`: ok - `go test ./internal/host/ -run 'Offline|MovesOffline|EdgesFile|Status'`: ok - root package (`TestMoves|TestMoveOffline|TestMoveDocs|TestDocsite|TestParity`), `./internal/status/`, `./internal/docsite/`: ok - census tests in `./internal/provision/`: ok - gofmt, `go vet`, `go build ./...`, and darwin and windows builds: clean I didn't run `./internal/moves/` because nothing in it changed. **Mutation checks.** I disabled each new guard once and watched its test fail, then restored it. That covered both console refusals, the host's live-link and app-directory reports, the empty flag, the console item suppression, and both CLI changes. **Census.** `TestPlan14RootReadCensus` needed a proposal, so I ran `make census-propose NAME=offline-move-stage-refusals-339`. It wrote the overlay, a chain line and the card at `docs/superpowers/notes/census-proposal-offline-move-stage-refusals-339.md`, and the census tests pass. A reviewer from the other model family still has to approve it. **New strings (copy rows pending for Luna):** - MV-O200: `&lt;box&gt; still holds a live link for &lt;host&gt; from when it last ran there. the move would fail at flip, after &lt;host&gt; is offline. see the offline move runbook` - MV-O201: `&lt;host&gt; keeps &lt;dirs&gt; beside its files directory on &lt;box&gt;, and this move can carry only the files directory. see the offline move runbook` (each directory gets " (empty)" when it is empty) - MV-O202: `Nothing moved. The stage of &lt;host&gt; was abandoned, and &lt;host&gt; kept serving in &lt;from&gt;.` This is followed by the existing MV-O187 or MV-O188. - MV-O203: a new paragraph on `docs/site/cli.md` about the two refusals. The runbook changes (sections 1, 3.2, 3.3, 4 and 12) are prose, not recorded rows. **Judgement calls:** - The doors refuse any stale link, even one naming the build the instance runs, which the landing would accept. A box only reports links for hosts it has no row for, so the door's view can lag by up to one status cycle (about six minutes). - I numbered the copy rows from MV-O200 so they can't clash with any MV-O194+ rows the #413 branch adds. The `movesCopyIDs` lines will still conflict textually, but trivially. **Follow-ups:** a supported way to clear a stale link, a sweep for links with no route, carrying app directories (at least empty ones), and items 3 and 5 to 8. **Commits:** bfcc7a7c (status report field), 60204401 (refusals, host report, copy rows, census), 3a821c7d (status after a staged abort), b7aa5590 (docs). I deleted my scratch files and the darwin binary.</result> <usage><subagent_tokens>305522</subagent_tokens><tool_uses>126</tool_uses><duration_ms>2130752</duration_ms></usage> </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 bc72cde07..e3df9a531 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
@@ -30,6 +30,15 @@
---
+## Status, 2026-11-14 morning (overnight run)
+
+- **W4 #339: MERGED** as 94a6471 (items 1, 2; not released). Item 4 moved to #1003.
+- **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.
+- **W6 decided:** #990 not needed before W1b; PDFs need an egress allow (W1b).
+- **Facts read from Tito production:** Appendix B.
+
## W0. Decisions Paul owes (first, they gate W2 and W3)
- [ ] **D1. #261's open decisions** (recorded on #261, 2026-10-10): data sealed with the source's instance key; the deviations (async `--from`, import upload, abort on failed integrity, reservation order); GET-only verify vs what titogo's conversion tool sends; the rollout gates (operator way out of a held rollback, noncurrent-version expiry on data buckets, S3 permissions for console and box roles, one console per deployment). Recommendation for each: W2.