carlos / platform Public

review: Astra brief for free-storage-250, round 4

Summary

Round 4 brief (Paul's go on #1086).
claude agent, operated by paul@keymail.dev 216fca347564d4cf6fe6118169e2a0bd4c93b166 parent b7630b9
1 file changed, +74 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-FREE-STORAGE-1076-R4.md +74 −0

CI cancelled — superseded by a newer push — run details

diff --git a/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-FREE-STORAGE-1076-R4.md b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-FREE-STORAGE-1076-R4.md
new file mode 100644
index 000000000..24690c10f
--- /dev/null
+++ b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-FREE-STORAGE-1076-R4.md
@@ -0,0 +1,74 @@
+# Review brief: branch free-storage-250 (#1076), round 4 (Paul's go, #1086)
+
+Repo carlos/platform, branch `free-storage-250`, commit b7630b9e209d010c98927fa270e37c154f1cc4b3.
+Under review: the branch against main, `6ef009118c5600df6012b1edace5c6348662fe74..b7630b9e209d010c98927fa270e37c154f1cc4b3`
+(main is merged in; diff with `git diff 6ef009118c5600df6012b1edace5c6348662fe74 b7630b9e209d010c98927fa270e37c154f1cc4b3`).
+Focus on what changed since round 3, `7a7759f3e3a37aa7d2c1776193b515809344ec7f..b7630b9e209d010c98927fa270e37c154f1cc4b3`
+(`git log --oneline 7a7759f3e..b7630b9e2` lists every commit since), reading
+the rest where you need it. Earlier briefs and findings:
+`docs/superpowers/reviews/CODEX-REVIEW-BRIEF-FREE-STORAGE-1076*.md`,
+`docs/superpowers/reviews/CODEX-FINDINGS-FREE-STORAGE-1076*.md`.
+
+A fourth round is past the default budget; Paul approved it (#1086,
+2026-11-15). It is the last: a P1 here goes to Paul as a cut, not a fifth
+round.
+
+## Fixed: do not re-argue
+
+Everything fixed in the round 3 brief, plus Paul's #1086 answers to round 3:
+- **Decision 8:** per-instance storage is refused on plans that require
+ scanning, on the instance, seed and import create paths and the enable
+ door. A paid plan keeps it.
+- **Decision 9:** an operator's `carlos email resume` is a deliberate
+ override of plan holds, documented in the CLI help and the operator docs
+ (`docs/site/plans.md`). Round 3's P1 2 is therefore accepted as designed:
+ do not raise the operator door again. Check only that the documentation
+ is true of the code (the next send's event re-holds while the limit is
+ still spent).
+- **Decision 10:** book 2026-11-15-v2 is approved. It is a copy of the
+ draft with `"status": "approved"`; do not review its amounts.
+- Copy from both reviews is approved without edits. Check only that each
+ string is applied verbatim where its key says.
+
+## What to check
+
+1. **Decision 8**: `refuseInstanceStoresIfScanned`, `storeProvisionApproval`
+ (`apistore_provision.go`), `instancePrivateStorageAllowed` and every
+ caller of `instanceStorePreflight` and `instanceStoreProvisionFor`
+ (`apiinstances.go`, `apiinstanceseed.go`, `apiinstanceimport.go`,
+ `instanceprivatestore.go`). Can any member or service path still give a
+ scan-required account a new per-instance or environment store? Is the
+ refusal before any declaration, seed reservation or walk?
+2. **The approved book**: `deploy/billing/pricebook-2026-11-15-v2.json`,
+ the stripe-setup default, `approvedBook` and the tests that moved with
+ it (`cmd/console/stripesetup_script_test.go`). Does every book still
+ load against its catalog, and does nothing still assume 2026-11-14-v2 is
+ the newest approved book?
+3. **The merge of main** (`6ef0091`): any conflict resolved wrongly? The
+ census chain was taken from main and this branch's overlay regenerated
+ on top.
+4. **Docs truth**: the operator docs in `docs/site/plans.md` and the resume
+ help line against the code.
+5. **Census**: verdict per envelope on
+ `docs/superpowers/notes/census-proposal-free-storage-250.md`.
+
+## Severity
+
+- **P1**: unsafe, would not compile, a test fails, or it would not work.
+ Blocks merge.
+- **P2**: wrong or missing. Fixed without reopening this review.
+- **P3**: clarity or polish. Goes on a follow-up list.
+
+A P1 states its failure scenario and the evidence (file:line). Do not
+raise a P2 to P1 to keep the review open.
+
+## Output
+
+First one line per P1 from round 3: resolved, partly, not, or accepted by
+Paul. Then findings ranked P1, P2, P3 with evidence (file:line, verified),
+failure scenario, fix and invariant. Then the census verdict per envelope.
+End with exactly one verdict: **READY**, **READY AFTER FIXES** or
+**NOT READY**.
+
+Do not edit files. Do not spawn Anthropic-model reviewers or subagents of
+your own. Do not run the full test suites.