carlos / platform Public

plans 6b: whole-branch review round 2 findings (Astra, READY AFTER FIXES: 1 P2; census approved)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 31ce0d836953aafcf3b0477a04598a6338e2b488 parent 0dfc812
1 file changed, +36 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-plans-6b-branch-R2.md +36 −0
diff --git a/docs/superpowers/reviews/CODEX-FINDINGS-plans-6b-branch-R2.md b/docs/superpowers/reviews/CODEX-FINDINGS-plans-6b-branch-R2.md
new file mode 100644
index 000000000..76882e2b5
--- /dev/null
+++ b/docs/superpowers/reviews/CODEX-FINDINGS-plans-6b-branch-R2.md
@@ -0,0 +1,36 @@
+# Astra findings: branch plans-6b-checkout-flow, whole-branch round 2 of 3
+
+Model gpt-6-astra via codex, reasoning high, brief CODEX-REVIEW-BRIEF-plans-6b-branch-R2.md at 0dfc812f. Unedited.
+
+Reviewed `0dfc812f1d00949fce3871d75a4bb7c0912cfd9f`, whole-branch round 2.
+
+- **R1 P1, seat charges exceeding consent — resolved.** `seatJoinTarget` refuses existing uncovered membership before calculating a charge.
+- **R1 P1, billing-readiness bypass — resolved.** Provider sends share the readiness guard; paid-seat authorisations also require readiness.
+- **R1 P2, truncated 5xx classification — resolved.** A known 5xx remains indeterminate after a body-read failure.
+- **R1 P2, expiry recovery budget — resolved.** Recovery disables the three additional handler retries.
+
+**P2 — Task 9: customer-create recovery still exceeds budget F.**
+
+`ensureCustomerLocked` detects a stored customer attempt but passes `handlerRetries` even when recovering: [billingcheckout.go:450](/home/paulca/.cache/tmp/claude-1001/plans-6b-checkout-flow/internal/console/billingcheckout.go:450). `sendCustomerLocked` consequently permits four sends: [billingcheckout.go:531](/home/paulca/.cache/tmp/claude-1001/plans-6b-checkout-flow/internal/console/billingcheckout.go:531).
+
+**Failure scenario:** a first Checkout POST exhausts its customer-create attempts without a response. Another Checkout POST within the recovery window encounters continued retryable failures. It resends the stored request four times, rather than the recovery budget’s at most one resend plus a possible clock probe. Confirm now correctly passes zero retries; the Checkout path does not.
+
+**Fix:** cap retries at zero inside `sendCustomerLocked` whenever `recovering` is true. Preserve three retries for a newly prepared attempt. Add a call-count test using two successive Checkout POSTs with continued customer-create failures.
+
+**Fault family:** bounded recovery requests; Global Constraints’ budget `F`, explicitly defined for customer creates at [plan:301](/home/paulca/.cache/tmp/claude-1001/plans-6b-checkout-flow/docs/superpowers/plans/2026-10-25-plans-6b-checkout-flow.md:301).
+
+No outstanding P1 or new P3 findings.
+
+**Census verdicts**
+
+The round-one approvals stand: the fix commits change no root package or record-write census body.
+
+- **`.` envelope — APPROVE.** No new root-controlled read path or weakened check.
+- **`internal/plans` envelope — APPROVE.** Catalog, scaling and export changes add no filesystem, execution or query path.
+- **Record-write layer — APPROVE both replacements.** `Server.registerCLIRoutes` and `NewServer` retain their `key-site` classifications; their additions register routes without adding record writes.
+
+No loss of main’s fields or closed-door entries was found in the merge-conflict files.
+
+Validation was by source inspection. Targeted tests could not start because Go could not create its work directory in the read-only sandbox. No files were changed. Apply the P2 fix without reopening the review, subject to the repository’s required checks.
+
+**READY AFTER FIXES**
\ No newline at end of file