plans 6a: round-2 findings and the round-3 brief
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+34
−0
docs/superpowers/specs/CODEX-REVIEW-BRIEF-PLANS-6A-CODE-R3.md+34 −0
CI passed — run details
diff --git a/docs/superpowers/specs/CODEX-REVIEW-BRIEF-PLANS-6A-CODE-R3.md b/docs/superpowers/specs/CODEX-REVIEW-BRIEF-PLANS-6A-CODE-R3.md| new file mode 100644 |
| index 000000000..3be72c13b |
| --- /dev/null |
| +++ b/docs/superpowers/specs/CODEX-REVIEW-BRIEF-PLANS-6A-CODE-R3.md |
| @@ -0,0 +1,34 @@ |
| +# Code review brief, round 3: Plans 6a (Checkout core) |
| + |
| +Round 2 reviewed 05b28473; its findings are |
| +docs/superpowers/specs/CODEX-FINDINGS-PLANS-6A-CODE-R2.md (three |
| +Important). The fix pass is `git diff 05b28473..HEAD`. Requirements, |
| +read-only rules and scope are as in rounds 1 and 2 |
| +(CODEX-REVIEW-BRIEF-PLANS-6A-CODE.md, -R2.md). You may run targeted |
| +`go test` with GOFLAGS=-buildvcs=false and -run. No network calls. |
| + |
| +Report: |
| +1. A disposition table for round 2's three findings and the deadlock-test |
| + note: fixed, partly fixed or not fixed, with evidence (file:line, test). |
| + Check each against its concrete scenario, not only its new test: |
| + - discover_retry: set on any candidate failure, cleared only when all |
| + succeed; can it starve, loop forever on a permanently failing |
| + candidate, or blow the request budget? |
| + - pending replacement: the default plan and lapse mark commit |
| + atomically with adoption; A's late cancellation is a no-op; B's |
| + later payment restores entitlement through the shared transition. |
| + - missing-subscription close: decisive read and problem recheck under |
| + the billing lock; lock order billing -> lapse -> store intact. |
| +2. Only NEW findings in the fix pass, graded Critical / Important / Minor |
| + with a concrete failure scenario. |
| +3. Census: verdicts for the four changed units (DiscoverableBillingAccounts, |
| + migrateBillingAccounts, new ResolveBillingProblem, new |
| + SetBillingDiscoveryRetry) in the plans-6a-units overlay (22 units) and |
| + any re-pinned envelope; check seals. |
| +4. A verdict: accept, accept with fixes, or changes required. |
| + |
| +CI note: instancectl TestAStartWhoseRequestEndsWhileWaitingForTheLockLaysNothingOut |
| +also fails on main (96564cf3); edge TestAwakeThrottleClosesAndRefusesUpgrades |
| +is believed flaky. Say if either could be caused by this branch. |
| + |
| +Do not review the wording. |