plans 6b ledger: tasks 0 and 1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+4
−0
docs/superpowers/notes/plans-6b-ledger.md+4 −0
diff --git a/docs/superpowers/notes/plans-6b-ledger.md b/docs/superpowers/notes/plans-6b-ledger.md| index 8fd84cf6b..dc1d34aa9 100644 |
| --- a/docs/superpowers/notes/plans-6b-ledger.md |
| +++ b/docs/superpowers/notes/plans-6b-ledger.md |
| @@ -5,3 +5,7 @@ Branch plans-6b-checkout-flow, cut at 5eabf89c (origin/main 6ddb3333, 6a merged |
| Pre-flight Ruling R1: internal/billing/clock.go (ClockRecorder, WithClock, ObserveDate, Now with an injectable monotonic source) and Provider.ClockProbe(ctx) are built in Task 4, not Task 7 — Task 5's Client.do already calls billing.ObserveDate and Task 4's Fake models ProviderClock and AdvanceMonotonic, so the recorder must exist first; Task 7 then only consumes it (providerNow) — cost if wrong: none, the code is the same, only the commit it lands in moves. |
| Pre-flight Ruling R2: a Task 7 test that needs a handler a later task builds (customer create, Checkout create, change handlers: TestQuietCustomerRecoveryUsesProbe, TestHeaderlessTimeoutRecoveredThroughProbe, the expires_at half of TestExpiresAtAndProrationDateUseProviderTime) is written in the task that builds that handler, under the same name — cost if wrong: none; every named test still exists by the end. |
| Pre-flight Ruling R3: the problem reason constant problemSeatsUnpaid ("seats_unpaid") is declared where it is first needed (Task 8's page), and Task 11 uses it — cost if wrong: none. |
| +Task 0: complete (commits 45fe737d, dd365a07; review clean after fix round 1 of 5: non-goal, pricing page, bandwidth ceiling note, R1 in full, derived-figures note) |
| +Task 1: Ruling: Effective checks the member bound (0 to MaxTeamMembers) only on team plans; non-team plans ignore members entirely, even -1 — the brief says both "members outside 0 to MaxTeamMembers is ErrTeamMembers" and "on non-team plans, members is ignored"; ignoring is the narrower reading — cost if wrong: a one-line guard. |
| +Task 1: example fixtures that used "business" as an unknown plan now use "gold"; the example book has 24 prices, so the billingstripe readiness budget is 1 + 24 + 8; the schema-2 golden was regenerated here and Task 2 regenerates it for schema 3. |
| +Task 1: complete (commit 66f02ac1, review clean) |