plans 6b: ledger with pre-flight rulings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+7
−0
docs/superpowers/notes/plans-6b-ledger.md+7 −0
diff --git a/docs/superpowers/notes/plans-6b-ledger.md b/docs/superpowers/notes/plans-6b-ledger.md| new file mode 100644 |
| index 000000000..8fd84cf6b |
| --- /dev/null |
| +++ b/docs/superpowers/notes/plans-6b-ledger.md |
| @@ -0,0 +1,7 @@ |
| +# Plans 6b ledger — plan: docs/superpowers/plans/2026-10-25-plans-6b-checkout-flow.md |
| + |
| +Branch plans-6b-checkout-flow, cut at 5eabf89c (origin/main 6ddb3333, 6a merged as 7f79385e, plus the plan and its reviews). One line per task with its commits, plus every ruling. 6a's merged names were checked against the tree before Task 0 and match the plan's table. |
| + |
| +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. |