carlos / platform Public

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

Summary

Round 3 brief: a fresh pass on Paul's two cuts and the applied copy.
claude agent, operated by paul@keymail.dev c81c3caaf1f7b87244b8ea7dcd6436b16cb53304 parent 47a8e68
1 file changed, +87 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-FREE-STORAGE-1076-R3.md +87 −0

CI cancelled — superseded by a newer push — run details

diff --git a/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-FREE-STORAGE-1076-R3.md b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-FREE-STORAGE-1076-R3.md
new file mode 100644
index 000000000..a18054a18
--- /dev/null
+++ b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-FREE-STORAGE-1076-R3.md
@@ -0,0 +1,87 @@
+# Review brief: branch free-storage-250 (#1076), round 3 of 3
+
+Repo carlos/platform, branch `free-storage-250`, commit 47a8e68f31520de52fec8be7e1de59720b52dfe1.
+Under review: the diff `3cbb517ddf20fe951686344db34ed3f0d72ceb3c..47a8e68f31520de52fec8be7e1de59720b52dfe1`
+(the changes since round 2), read against the whole branch
+`3edf8a4c33ca41ea7c230484f393314c31df6e39..47a8e68f31520de52fec8be7e1de59720b52dfe1` where you
+need context. Authorities: as in round 1's brief,
+`docs/superpowers/reviews/CODEX-REVIEW-BRIEF-FREE-STORAGE-1076.md`.
+
+You are an independent reviewer: a fresh pass on the areas round 2's
+findings named, after Paul chose how to cut them.
+
+## Fixed: do not re-argue
+
+Paul's decisions on #1086 (2026-11-15), relayed by the coordinating
+session:
+- Free figures and the 2026-11-15T00:00:00Z grandfathering cutoff approved;
+ paid plans self-serve, sponsored rows still need an operator; existing
+ stores are not scanned after the fact.
+- The hourly cap holds back at exactly 5, with no grace (the daily 2x is the
+ published grace rule; the hourly cap has none).
+- Decision 5: refuse every per-environment store provision on a plan that
+ requires scanning, repairs included.
+- Decision 6: one resume rule for plan holds, applied on every path.
+- Decision 7: round 2's P2 (the billing page and `carlos accounts plan`
+ showing 50 MB while kept storage is unsettled) is accepted. Do not raise
+ it again.
+- The 12 strings are Paul's approved copy (review
+ nsylvafbb5botywl3ptw475hrm, no edits). Check only that each is applied
+ verbatim where its key says, with its placeholders filled correctly; do
+ not review wording.
+
+## What to check
+
+1. **Decision 5** (`storeScanPreflight`, `internal/console/storeselfserve.go`):
+ is any environment-store provision on a scan-required plan still
+ possible, through this door or another (the operator grant door, the
+ instance-private door, seeds, ownership moves)? Note which are operator
+ doors, which the decision does not cover. Is the refused repair visible
+ to an operator?
+2. **Decision 6** (`planMailSpent`, `resumeStaleCapPause` in
+ `mailcounts.go`, `resumePlanMail` and `enforceAccountMail` in
+ `planmail.go`): does every path that lifts a plan or plan-hour hold go
+ through the one rule? Can a plan hold be lifted while the day's
+ allowance (at twice the daily limit) or the current hour's is spent? Can
+ the rule leave a hold that should lift stuck forever (for example a day
+ hold at the next day, or an account whose plan dropped its email
+ limits)? Does it leave cap, rate, manual and per-instance pauses alone?
+ Does `TestPlanHoldsLiftOnlyUnderTheOneResumeRule` drive every path?
+3. **Copy**: `internal/console/freestorage_copy.go` and
+ `free_storage_copy.go` against
+ `/home/paulca/.cache/tmp/free-copy/copy-review/result.json`; every key
+ used, none left as a placeholder, format verbs matched.
+4. **Census**: envelope `.` was re-pinned again (CLI copy moved into
+ `free_storage_copy.go`, `emailPerHour` into `accounts_plan.go`). Verdict
+ per envelope on `docs/superpowers/notes/census-proposal-free-storage-250.md`.
+
+## Round 3
+
+Earlier rounds: `docs/superpowers/reviews/CODEX-FINDINGS-FREE-STORAGE-1076.md`
+(round 1) and `docs/superpowers/reviews/CODEX-FINDINGS-FREE-STORAGE-1076-R2.md`
+(round 2). First give one line per P1 and P2 from round 2: resolved,
+partly, or not (P2 3 is accepted by Paul). This is the last round in the
+budget: a NOT READY also says whether its P1s share one cause, and whether
+refusing the case up front or cutting the feature would remove them.
+
+## 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; never a reason for
+ another round.
+
+A P1 states its failure scenario and the evidence (file:line). Do not
+raise a P2 to P1 to keep the review open.
+
+## Output
+
+Findings ranked P1, P2, P3. Each gives the problem, the evidence
+(file:line, verified), the failure scenario, a concrete fix and the
+invariant or trust boundary it breaks. Then the census verdict per
+envelope. End with exactly one verdict: **READY**, **READY AFTER FIXES**
+(no P1; the listed P2s are fixed without another round) 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.