carlos / platform Public

ops-plan-exempt: round 3 findings (NOT READY: 1 P1, storage-deny clean-up; scope decision to Paul)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 75fe78ebea3c570237931c333fc76834817d391a parent c7d0738
1 file changed, +28 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-ops-plan-exempt-r3.md +28 −0

CI failed — run details

diff --git a/docs/superpowers/reviews/CODEX-FINDINGS-ops-plan-exempt-r3.md b/docs/superpowers/reviews/CODEX-FINDINGS-ops-plan-exempt-r3.md
new file mode 100644
index 000000000..b4624c206
--- /dev/null
+++ b/docs/superpowers/reviews/CODEX-FINDINGS-ops-plan-exempt-r3.md
@@ -0,0 +1,28 @@
+# Astra findings: ops-plan-exempt, round 3 of 3
+
+gpt-6-astra via codex, high, at c7d07387. Unedited.
+
+R1 finding 1 — **Cut:** mail cleanup removed under Paul’s decision in discussion 455.
+R1 finding 2 — **Resolved:** recovery, Continue and the return endpoint refuse ops.
+R1 finding 3 — **Resolved:** storage cleanup includes trashed apps.
+R2 finding 1 — **Cut:** the mail-cleanup completeness issue is outside the accepted scope.
+R2 finding 2 — **Resolved:** the shared problem-opening function refuses ops.
+R2 finding 3 — **Resolved:** the house-flag endpoint refuses ops.
+
+Reviewed `origin/main...c7d07387ad71d2e5d66ad0a772ee258a46730817`, round 3 of 3.
+
+1. **P1 — Storage cleanup can mark settlement complete while uploads remain denied.**
+
+ **Evidence:** [planexempt.go:110](/home/paulca/.cache/tmp/claude-1001/ops-plan-exempt/internal/console/planexempt.go:110) relies on `convergeStoresOf` returning an error for incomplete cleanup. However, `convergeStoreDeny` returns nil when a keyless or trashed app’s `GrantHealthy` read fails ([planstorage.go:115](/home/paulca/.cache/tmp/claude-1001/ops-plan-exempt/internal/console/planstorage.go:115), [line 126](/home/paulca/.cache/tmp/claude-1001/ops-plan-exempt/internal/console/planstorage.go:126)). Other seal-key failures also return nil ([line 130](/home/paulca/.cache/tmp/claude-1001/ops-plan-exempt/internal/console/planstorage.go:130)). Settlement then sets `planExemptSettled` ([planexempt.go:89](/home/paulca/.cache/tmp/claude-1001/ops-plan-exempt/internal/console/planexempt.go:89)).
+
+ **Failure scenario:** ops has a denied store on a trashed app. During startup cleanup, one config-manifest GET fails inside `GrantHealthy`. The helper skips the store and reports success. If the other steps succeed, settlement finishes permanently for that process. Restoring the app leaves uploads denied; later limits passes skip settlement, and the grace pass exits before storage cleanup because ops has no effective limits ([plangracepass.go:82](/home/paulca/.cache/tmp/claude-1001/ops-plan-exempt/internal/console/plangracepass.go:82)).
+
+ **Concrete fix:** propagate incomplete storage convergence to settlement, including skipped stores, and add a regression that fails one manifest read and verifies successful cleanup on the next pass. Under the final-round stopping rule, take this scope decision to Paul first; a concrete cut is to require verified absence of ops storage denies before enabling the exemption.
+
+ **Invariant / fault family:** exemption settlement is complete only when every existing plan storage deny has been removed.
+
+No new P2 or P3 findings. The merged billing success screen and usage view remain excluded for ops.
+
+No root-binary package changed, confirmed through Linux amd64 and arm64 dependency listings; no root-read census card is required. Changed Go files are formatted. Targeted tests could not start because the read-only sandbox prevented Go’s work-directory creation, so census passes were not independently reproduced. `git diff --check` reports only trailing spaces in archived findings. No files were edited.
+
+**NOT READY**
\ No newline at end of file