rootfs-apps-3-release
Written by claude agent, operated by paul@keymail.dev — this branch has no commits of its own to compare against, so how current this is cannot be said
Where it stands
Group R (release process) built in five commits on main e15fe610+: R1a b9d63dc4, R1b d5a73cd3, R1c 17a55e84 + fix 6746ab1c (R1 Astra READY after 2 rounds), R2 c0075b32 (round 1 NOT READY, 2 P1, fix running), R3 4415f288 (round 1 NOT READY, 3 P1: one shared with R2's fix, two queued). Rails test passed on dev fleet r10r before the build (see #366); #451 filed (15 min dark after reboot).
Next
Land R2's fix (eligibility from the committed good build; crash recovery re-runs an interrupted release, swaps and cold wakes), then R3's two fixes (planned-wake release evidence; hold web-prep errors not build failures), then round 2 reviews, Group R gate with census, whole-branch review, merge, v0.29.1 to dev, re-run railsdemo with release: db:migrate. Then Group W (preflight and briefs written).
Blocked on
Nothing external. Overnight rulings for Paul to check are in the ledger (W1.16, R0.2, R0.10, R0.11, R1c residentFailure).
Already decided
Group R before W; one branch per group; R1 split in three passes; rulings recorded in .superpowers/sdd/2026-10-27-rootfs-apps-3-rw/progress.md.
Recently
<task-notification> <task-id>a778af18d3421c374</task-id> <tool-use-id>toolu_0159hzgvJG67DyScqDkdhMsQ</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/fc618670-579d-4b96-a3b9-686b6c074952/tasks/a778af18d3421c374.output</output-file> <status>completed</status> <summary>Agent "Group R gate implementer" 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>DONE: Group R gate steps 1 to 7 pass. The census proposal is committed and needs one cross-model approval. I approved nothing and changed no R1 to R3 behaviour. - Commits, not pushed: merge 03c67c8b (origin/main ee066183, no conflicts, main's chain line first, ours last); d9785f36 `plan3: group R landed`; 4ea4367e census proposal. - Group W is not on main, so the workers are untouched. The instancectl diff is empty. - Build, vet, gofmt and the darwin, windows and linux/arm64 builds are clean. activator, rollout, rolloutwords and status pass. The race list and the guards plus the seven R invariants pass, as do the ops test and the root copy and plan3 tests ("R" landed). - Census card: body 10, sites 6, reads 1 (startPinnedChecked), new 15 (ReleaseEnv x2, StartRelease x2, startRootfsCmd, rootfsReleaseVars, committedGood, releaseAdmitLocked, releaseAppLog, releaseBeforeSwap, releaseInWake, runRelease, releaseDue, releaseRan, spawnPlannedRelease). removed 0, other 0. 4 envelopes. `go test ./internal/provision -run Census` passes after the propose. - TestPlan9B8RecordWriteCensus passes with main's inventory: no record-write site changed or added, so no new layer. The card has two hand sections (record-write, envelope-only changes); a census-propose re-run drops them. - Files: docs/superpowers/notes/census-proposal-rootfs-apps-3-release.md, docs/superpowers/notes/census-rootfs-apps-3-release-claims.md, internal/provision/testdata/plan14-root-reads-rootfs-apps-3-release.tsv. - Skipped on x86_64, to confirm on arm64 CI: the six named harness tests, plus TestReleaseThroughTheHarnessService and TestReleaseThroughTheProductionBackend. Five other skips also skip on main. - Report: .superpowers/sdd/2026-10-27-rootfs-apps-3-rw/task-Rgate-report.md</result> <usage><subagent_tokens>148445</subagent_tokens><tool_uses>55</tool_uses><duration_ms>954159</duration_ms></usage> </task-notification>
<task-notification> <task-id>aece2f0eae5dad8de</task-id> <tool-use-id>toolu_01W8v5X3GSCWMzP1fMyCuZ54</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/fc618670-579d-4b96-a3b9-686b6c074952/tasks/aece2f0eae5dad8de.output</output-file> <status>completed</status> <summary>Agent "Implement Group R task R3" 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>Fix round 1 for findings 1 and 2 is DONE, committed as **2b551efc** on rootfs-apps-3-release (on top of R2's fix 03313767). Not pushed, and I left the lock file alone. **Finding 3 dropped, as you asked.** I had started the hold-phase work, and I took it out before committing: `swap.go`, `scheduler.go` and R2's two phase test files are exactly as in 03313767. Nothing in this commit relies on the Phase/Advance machinery, so removing it later won't touch this round. **Finding 1 (planned wake):** a release that ran now counts as B having run, whatever happens to the web: `w.bootRan = released || …`. A passed release followed by a refused web ends as GenCancelled with Executed, so a hold first wake leaves the hold-ran marker. Binary rows behave as before. **Finding 2 (hold):** a release that ran now records attempt evidence only (new `pinWebExec` field, `markPinReleaseExec`). `holdResult` and `wakeFailureEvent` treat a pinned error as the build's failure only for a `*ReleaseError`, or when the web ran or may have. So a web error before its exec abandons the hold with Executed=true: the marker is kept, no failure is recorded, and the member is not told "wake failed". A web that ran and failed is still SwapDown. **Tests:** - `TestPlannedReleaseCountsWhenTheWebIsRefused` (hold and overlap). - `TestHoldWebErrorBeforeExecIsNotABuildFailure`. - `TestAPlannedHoldReleaseThenRefusedWebKeepsTheMarker`, through the real planner, the on-disk failure book and `OnGen`: the marker is set and the next wake is refused, never booted on v1. Its control row (the old Executed=false) shows the bug, booting v1. - A new row in `TestReleaseOutcomesThroughTheScheduler` for a web refused after the release ran. All 6 mutations (F1 to F6) were caught by real test failures. F5 and F6 first failed only on an unused variable, so I re-ran both as behavioural mutations. **Checks, all passing:** - the guards, the activator families and the whole rollout package; - `-race` three times over both new test sets; - arm64 under qemu: 127 passed in the activator set with none skipped or failed, and the rollout package passed; - vet, gofmt, and the darwin and windows builds. The `internal/instancectl` diff is empty. No new test skipped locally. **One thing for the Phase removal:** the `plan.BeforeWeb` block in `spawnPlanned`, including its `w.bootRan = released` line, goes with that machinery. The finding 1 fix is on the web-start result line, outside the block, so it survives. The fix report is appended to `/home/paulca/amadan.net/carlos/platform/.claude/worktrees/rootfs-apps-3r/.superpowers/sdd/2026-10-27-rootfs-apps-3-rw/task-R3-report.md`.</result> <usage><subagent_tokens>495098</subagent_tokens><tool_uses>25</tool_uses><duration_ms>4343273</duration_ms></usage> </task-notification>
<task-notification> <task-id>b2doonwyj</task-id> <tool-use-id>toolu_01HdF92N4pzhVkPa1nMM6vZZ</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/fc618670-579d-4b96-a3b9-686b6c074952/tasks/b2doonwyj.output</output-file> <status>completed</status> <summary>Background command "Wait until the app serves again after reboot" completed (exit code 0)</summary> </task-notification>