Astra findings for flat-plans, round 1
NOT READY: one P1 (runbook pack quantities, fixed in the previous commit), one P2 (owner docs, held for copy review in #1057). Census: internal/plans envelope approved.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+25
−0
docs/superpowers/reviews/CODEX-FINDINGS-FLAT-PLANS.md+25 −0
CI cancelled — superseded by a newer push — run details
diff --git a/docs/superpowers/reviews/CODEX-FINDINGS-FLAT-PLANS.md b/docs/superpowers/reviews/CODEX-FINDINGS-FLAT-PLANS.md| new file mode 100644 |
| index 000000000..8501b13e4 |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/CODEX-FINDINGS-FLAT-PLANS.md |
| @@ -0,0 +1,25 @@ |
| +Reviewed `b9eaea97..9bedd59`, round 1 of 3. |
| + |
| +1. **P1 — §9, subscription migration silently reduces pack quantities.** |
| + The command at [rollout.md:132](/home/paulca/github.com/carlosframework/platform/.claude/worktrees/flat-plans/docs/superpowers/plans/2026-11-14-flat-plans-rollout.md:132) changes the pack’s price without supplying its quantity. Stripe resets quantity to 1 when changing a price unless explicitly supplied. [https://docs.stripe.com/api/subscriptions/update](https://docs.stripe.com/api/subscriptions/update) |
| + |
| + **Failure scenario:** migrating a subscription with five storage packs leaves one pack on the subscription. Renewal bills one and the console subsequently reduces its allowance, violating “packs unchanged.” |
| + **Fix:** supply `items[n][quantity]=<current quantity>` for every pack, and verify all item quantities after migration. |
| + **Fault family:** migration preserves purchased pack quantities. |
| + |
| +2. **P2 — §2, published instructions still describe removed seat billing.** |
| + [plans.md:239](/home/paulca/github.com/carlosframework/platform/.claude/worktrees/flat-plans/docs/site/plans.md:239) still promises per-member pricing, charged joins and **Match seats to members**. [plans.md:200](/home/paulca/github.com/carlosframework/platform/.claude/worktrees/flat-plans/docs/site/plans.md:200) tells operators to remove members to close `seats_unpaid`, although [billingstore.go:81](/home/paulca/github.com/carlosframework/platform/.claude/worktrees/flat-plans/internal/console/billingstore.go:81) now permits closure while live. |
| + |
| + **Failure scenario:** owners expect charges that no longer occur; operators unnecessarily remove members while following obsolete recovery instructions. |
| + **Fix:** update the owner guide for flat paid plans and Free’s cap, and document manual closure of historical seat problems. |
| + **Fault family:** published billing instructions match implemented behaviour. |
| + |
| +No P3 findings. |
| + |
| +Verification: an independent comparison of 308 catalog cases matched the previous ten-member limits, including pack additions. Pack definitions and prices are unchanged; paid-plan prices have the requested multipliers. `git diff --check` passed. Targeted Go tests could not start because the read-only sandbox prevented creation of Go’s work directory. No full suites ran and no files changed. |
| + |
| +**Census verdict — APPROVE `internal/plans` envelope at `9bedd59db1b248f3cd16df3e5f2d138bb1dfd565`.** |
| + |
| +Read the changed catalog parsing, validation, naming, ceilings and effective-limit functions ([catalog.go:142](/home/paulca/github.com/carlosframework/platform/.claude/worktrees/flat-plans/internal/plans/catalog.go:142), lines 142–184, 203–316 and 357–410), deleted team helpers, and export changes ([export.go:105](/home/paulca/github.com/carlosframework/platform/.claude/worktrees/flat-plans/internal/plans/export.go:105), lines 105–181). These introduce no new root filesystem, execution or query authority. Catalog decoding remains strict. The root-facing record schema, account validation and storage access remain unchanged ([record.go:46](/home/paulca/github.com/carlosframework/platform/.claude/worktrees/flat-plans/internal/plans/record.go:46), lines 46–92). No root trust-boundary check is weakened. |
| + |
| +**NOT READY** |
| \ No newline at end of file |