carlos / platform Public

reviews: Astra #413 round 2 (READY AFTER FIXES)

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

CI cancelled — superseded by a newer push — run details

Intent

Attributed to this commit: 44.4 g CO₂e (5,678,987 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on offline-move-pool-target-413, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.

diff --git a/docs/superpowers/reviews/CODEX-FINDINGS-OFFLINE-MOVE-POOL-TARGET-413-R2.md b/docs/superpowers/reviews/CODEX-FINDINGS-OFFLINE-MOVE-POOL-TARGET-413-R2.md
new file mode 100644
index 000000000..22c3ac004
--- /dev/null
+++ b/docs/superpowers/reviews/CODEX-FINDINGS-OFFLINE-MOVE-POOL-TARGET-413-R2.md
@@ -0,0 +1,30 @@
+Round-1 P1 — **resolved**: the target pin is removed; production record code matches the base, so older writers cannot erase required targeting state.
+
+Round-1 P2 — **resolved**: `offlineMoveEvidence` filters target reports before both door decisions and API output. Older CLIs receive the same filtered evidence; the new CLI regression test covers flip and status.
+
+1. **P2 — Pool eligibility now suppresses rollback cleanup for an existing participant.**
+
+ **Invariant:** losing eligibility for a new landing must not cancel cleanup of data already landed.
+
+ The new condition at [movesoffline.go:424](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/offline-move-pool-target-413/internal/host/movesoffline.go:424) gates every target step, including `OfflineReverting`.
+
+ **Scenario:** the target lands files, then restarts with `CARLOS_POOLS=cohort1`. The operator aborts. `offlineTargetHere` now returns false, so the worker never reaches [offlineTargetRevert](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/offline-move-pool-target-413/internal/host/movesoffline_land.go:231), which parks the files, env and config and deletes the held row and timers. Reconcile retains the participant while the move exists. Abort can subsequently finish without target acknowledgement, clearing the move while its extracted files remain unparked.
+
+ **Fix:** apply pool admission to landing, while allowing reverting participants through the existing held-row/report ownership checks. Extend the rollback test to land, change pools, restart, abort and tick through production dispatch; assert files are parked and the row and timers removed.
+
+| Census unit or envelope | Verdict | Evidence |
+|---|---|---|
+| `internal/host/movespass.go:armOffline` | **APPROVED** | Lines 367–421: the added environment value uses reconcile’s existing pool parser. Registry, release and filesystem hooks remain unchanged. |
+| `internal/host` envelope | **APPROVED** | `offlineRound` lines 416–450, `offlineTargetHere` lines 453–460, and `moveCfg.OfflinePools`: no new root read or expanded path authority. The rollback defect above is functional and still needs fixing. |
+
+Other checks:
+
+- New consoles handle old boxes’ extra reports without record changes. An old console still needs upgrading to filter reports left by older boxes.
+- Staged start rechecks current target eligibility and stored bucket coordinates. Missing target evidence prevents open; abort remains available before open.
+- Pool parsing matches reconcile. The previously reported `CARLOS_INBOUND=none` admission gap remains a P3 follow-up.
+- The host E2E models the dev named-pool hang; console and CLI tests cover legacy extra reports. None covers eligibility changing before rollback.
+- MV-O194 matches the zero-eligible-target refusal. Its copy approval remains marked **pending**.
+
+Reviewed `4c641678..79afb1d91ab289d342fd8a5d9db2785fd87c000a`; HEAD adds only the brief. `git diff --check` passed. Targeted tests could not start: the read-only sandbox rejected Go’s work-directory creation, with `GOCACHE` unset. Network restrictions blocked discussion #413; census verdicts were not posted to #280. No files changed.
+
+**READY AFTER FIXES.** No P1 remains: stop review rounds here, apply the P2 fix, and perform the required census and changed-production-storage checks within this round’s budget.
\ No newline at end of file