Astra findings r2 on the dev claim trial undo (NOT READY: 1 P1, 1 P2), unedited
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+57
−0
docs/superpowers/notes/reviews/ASTRA-FINDINGS-dev-claim-trial-undo-r2.md+57 −0
diff --git a/docs/superpowers/notes/reviews/ASTRA-FINDINGS-dev-claim-trial-undo-r2.md b/docs/superpowers/notes/reviews/ASTRA-FINDINGS-dev-claim-trial-undo-r2.md| new file mode 100644 |
| index 000000000..ac7aee32d |
| --- /dev/null |
| +++ b/docs/superpowers/notes/reviews/ASTRA-FINDINGS-dev-claim-trial-undo-r2.md |
| @@ -0,0 +1,57 @@ |
| +**NOT READY** |
| + |
| +Reviewed rev 2 at `49702d7f` against the unchanged code at `1b20eb2e`. No files changed, tests run, or AWS/box commands executed. |
| + |
| +1. **P1 — Step 4’s rollback can leave leo and sophie unable to start their edges.** |
| + |
| + The [rollback instructions](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/docs/superpowers/notes/dev-claim-trial-undo.md:472) require restoring both boxes’ guards and drop-ins **before** restoring the remote floor, authorization object first. |
| + |
| + If that first object is restored but restoring `moves-protocol.json` fails, the armed policy refuses the incomplete pair: [remote.go:58](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/internal/hostfloor/remote.go:58). `guard-exec` exits on that refusal: [guardexec.go:56](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/internal/host/guardexec.go:56). The restored edge drop-in requires guarded recovery and also starts through the guard itself: [guardarm.go:163](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/internal/host/guardarm.go:163). A reboot or edge restart in that interval therefore leaves the box unable to serve. |
| + |
| + **Fix:** Keep both boxes disarmed while restoring and verifying both remote floor objects. Restore the roster first if step 6 was undone, restore local floors with step 5’s writer exclusion, then restore guard directories, enrollments and drop-ins under the apply lock. Restore console reporting last. Keep the update freeze throughout. |
| + |
| +2. **P2 — Step 7 still requires verification evidence that a successful run need not produce.** |
| + |
| + The [reboot check](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/docs/superpowers/notes/dev-claim-trial-undo.md:589) requires the journal to show `carlos system apply --recover`. The plain unit executes that command without shell tracing: [carlos-system-recover.service:41](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/internal/host/units/carlos-system-recover.service:41). With no journal to recover, the code returns without emitting that command line: [systemapply.go:1931](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/internal/host/systemapply.go:1931), [systemapply.go:382](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/internal/host/systemapply.go:382). |
| + |
| + Also, [lines 564–569](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/docs/superpowers/notes/dev-claim-trial-undo.md:564) demand activation-floor journal evidence on all three boxes after every transition. Only the affected channel’s boxes perform that transition; unchanged boxes cannot supply fresh activation evidence. |
| + |
| + **Fix:** Require transition-specific apply logs only from affected boxes, while recording versions and health on all three. For the reboot, verify the current boot’s recovery-unit execution timestamps, successful exit, expected effective unit and inactive guard selector, followed by the edge start. Describe this as a clean-boot recovery invocation; it does not exercise restoration from `.prev`. |
| + |
| +The “Response to Astra r1” dispositions are otherwise supported: |
| + |
| +| R1 finding | Rev 2 assessment | |
| +|---|---| |
| +| **1 — stale wakecheck database** | **Safe deferral.** Keeping leo in `cohort1`, with its wakecheck route absent, removes the eligibility change that exposed the stale database. | |
| +| **2 — accidental flagship update** | **Fixed.** Explicit `--console` is authoritative: [auth.go:252](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/auth.go:252). The shipping script explicitly sets its profile and bucket: [ship-app.sh:7](/home/paulca/amadan.net/carlos/platform-infrastructure/scripts/ship-app.sh:7). | |
| +| **3 — two Irish move targets** | **Safe deferral.** `serves_shared_pool=false` excludes leo from target selection: [apiinstancemove_offline.go:330](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/internal/console/apiinstancemove_offline.go:330). | |
| +| **4 — orphan routes after pool rollback** | **Safe deferral.** There is no pool change or corresponding rollback. The scope boundary remains intact: [reconcile.go:443](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/internal/provision/reconcile.go:443). | |
| +| **5 — impossible unit and serving checks** | **Fixed.** The conditional guard branch is now expected, and serving checks match each box’s placement. | |
| +| **6 — delayed floor refresh** | **Fixed for the stated frozen procedure.** Stopping the agent and draining apply eliminates readers carrying the old floor. Subsequent remote absence preserves local absence: [movesfloor.go:224](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/internal/host/movesfloor.go:224). | |
| +| **7 — mandatory environment file removed early** | **Fixed.** Reload and successful restart now precede archival; rollback restores the environment file first. | |
| +| **8 — installer lock blocks removal** | **Fixed.** The retained lock is inventoried and explicitly removed before `rmdir`: [activation_install_linux.go:95](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/internal/host/activation_install_linux.go:95). | |
| +| **9 — inadequate verification** | **Substantially fixed, partially open.** Distinct releases, both channels, executable hashes and bidirectional move content checks are real improvements. Finding 2 above remains. | |
| + |
| +I found no additional behaviorally active trial residue omitted from the inventory **and deferred section together**. No platform code change is required to reach the narrowed legacy state: absent guard state bypasses the floor hook, both remote keys absent bypass reservation, and no console ID disables reporting. Retained census state remains authoritative, so step 0’s absence check is essential. See [guardtransaction.go:515](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/internal/host/guardtransaction.go:515), [hostactivation.go:33](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/internal/console/hostactivation.go:33), [hostreports.go:68](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/internal/console/hostreports.go:68), and [production.go:54](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/internal/rootparticipation/production.go:54). |
| + |
| +Preserving `CONSOLE_HOME_REGION=ie` and deleting the roster after stopping reports and removing the floor are correct. The scheduled KMS deletion remains unrelated to runtime fence credentials, which use installed credentials and STS: [writer.go:37](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-live-moves-ha/internal/hostfence/writer.go:37). Actual AWS state was not checked. Neither finding introduces a flagship-specific defect; the verification issue would also affect an equivalent flagship rehearsal. |
| + |
| +--- |
| + |
| +**FIRST PROMPT:** |
| +Review rev 2 against the brief and round-1 findings, accepting safe deferrals while leo keeps `cohort1`. |
| + |
| +**WHAT:** |
| +Check whether the narrowed dev claim undo is ready. |
| + |
| +**STATUS:** |
| +Review complete: one P1 rollback hazard and one P2 verification defect remain. |
| + |
| +**NEEDED:** |
| +Nothing for this review. |
| + |
| +**RECOMMENDED:** |
| +Correct the rollback order and verification assertions before execution. |
| + |
| +**SESSION:** |
| +Safe to close — workspace unchanged; nothing started remains running. |
| \ No newline at end of file |