carlos / platform Public

reviews: Astra #413 fixes check (NOT READY, stopping rule 2)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev dad923b55a2d952af87eb95d7e245909d43989ba parent c71866a
1 file changed, +26 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-OFFLINE-MOVE-POOL-TARGET-413-FIXES.md +26 −0

CI passed — run details

Intent

Human

<task-notification> <task-id>bgvicz7fv</task-id> <tool-use-id>toolu_019nKg4JZa1htgNMrpYMJDHa</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/96a09f74-e398-48ed-a97f-140bd1f7e255/tasks/bgvicz7fv.output</output-file> <status>completed</status> <summary>Background command "Run Astra fixes check on #413" completed (exit code 0)</summary> </task-notification>

diff --git a/docs/superpowers/reviews/CODEX-FINDINGS-OFFLINE-MOVE-POOL-TARGET-413-FIXES.md b/docs/superpowers/reviews/CODEX-FINDINGS-OFFLINE-MOVE-POOL-TARGET-413-FIXES.md
new file mode 100644
index 000000000..b803ec571
--- /dev/null
+++ b/docs/superpowers/reviews/CODEX-FINDINGS-OFFLINE-MOVE-POOL-TARGET-413-FIXES.md
@@ -0,0 +1,26 @@
+Round 2’s P2: **resolved** for a target that landed and then changed pools. The broader rollback dispatch exposes one storage-safety defect.
+
+**P1 — A report without a held row authorizes parking on a non-participant.**
+
+**Invariant:** rollback may move only files belonging to this box’s participation in the move.
+
+The changed dispatch at [movesoffline.go:424](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/offline-move-pool-target-413/internal/host/movesoffline.go:424) now reaches every capable destination box during abort. However, [offlineTargetRevert:245](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/offline-move-pool-target-413/internal/host/movesoffline_land.go:245) accepts **any** prior target report when the row is absent.
+
+A concrete scenario:
+
+- An older named-pool box reports “no row yet” without ever holding the instance. This is the legacy behaviour explicitly modelled at [apiinstancemove_offline_test.go:1030](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/offline-move-pool-target-413/internal/console/apiinstancemove_offline_test.go:1030).
+- Upgrade that box and abort the move.
+- Its report passes validation, so rollback renames any existing `H`, `H.env` and `H.config.env` paths despite having landed nothing. A locally registered host named `H.env` passes hostname validation; its flat files directory would also be renamed. Only the row for `H` is checked.
+
+Ordinary similarly named hosts remain untouched, and row/timer deletion requires the exact host and move. Nevertheless, report-only parking violates the requested non-participant guarantee. Repeated passes leave absent paths alone, but will park paths recreated later; they are not unconditionally harmless.
+
+**Fix:** require the move’s held row before parking. Since parking already precedes row deletion, retries after deletion can complete reporting without parking again. Add coverage for a legacy no-row report, neighbouring instance files, and repeated abort passes.
+
+| Census unit or envelope | Verdict | Evidence |
+|---|---|---|
+| `movespass.go:armOffline` | **APPROVED** | Lines 367–421 retain the existing environment parser and registry hooks; no new read. |
+| `internal/host` envelope | **REFUSED** | `offlineRound` lines 424–449 broadens access to the unsafe report-only parking path at `offlineTargetRevert` lines 238–255. |
+
+Reviewed `e2e54f66` against its parent at HEAD `c71866a8`, within round 2’s existing budget. MV-O194 is marked approved. `git diff --check` passed. Targeted tests could not start because the read-only sandbox blocked Go’s work directory; `GOCACHE` was unset. No files changed.
+
+**NOT READY**
\ No newline at end of file