plans 6b ledger: task 11
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+3
−0
docs/superpowers/notes/plans-6b-ledger.md+3 −0
CI failed — run details
diff --git a/docs/superpowers/notes/plans-6b-ledger.md b/docs/superpowers/notes/plans-6b-ledger.md| index 49e38a892..529506db4 100644 |
| --- a/docs/superpowers/notes/plans-6b-ledger.md |
| +++ b/docs/superpowers/notes/plans-6b-ledger.md |
| @@ -51,3 +51,6 @@ Task 11 review Ruling: an invitee whose own seat op is still sending or unresolv |
| Task 11: process note: the implementer wrote code before tests (a usage-limit cut split the session); failing-first evidence is a build failure of the new tests against HEAD plus 12 mutations; fixes are test-first. |
| Task 10: naming: refuseOnProblemLocked(h, acct) (the problem re-check, also used by Task 11), billingCSRFRefused with refused.title / refused.csrf, sendChangeLocked, upgradeLocked takes the refreshed row. change.book refuses every upgrade target that isn't allowed (lower, missing a held pack, unpriced in the subscription's book) and a pack that book never priced; a failed renewal shows change.failed; stop and resume skip step-up (neither charges now); a pending op gets one refreshLocked before a new change; an older book shows change.no_estimate on the confirm page. Retiring, problem and operator-row refusals reuse billing.retiring, notice.problem, notice.operator_plan. |
| Task 10: complete (commits cdff6f2c..873462c6, 2cdfb74c, dd47cce5; review clean after fix round 1 of 5) |
| +Task 11 review Ruling: a seat authorisation covers a charge only on the configured book with a recorded price above 0 not exceeded by the current price; after a price-book change an old authorisation no longer covers (join_consent) and invites on an old-book subscription are refused (change.book) until an operator moves it at renewal — consent must name a verifiable ceiling (Calls 6, 11) — cost if wrong: owners on an old book re-invite after renewal. |
| +Task 11: naming: reconcileSeatsLocked returns (opOutcome, error) so Match seats shows the outcome; a join calls observeSeatsLocked (no read, never reduces); an open problem at a join that needs a restore or charge maps to admitOutstanding (seats.join_busy), a free join still goes through; the pass decides opening seats_unpaid every round and closes it at most daily; a failed seat reduction after a removal is logged and the drift notice offers Match seats. Copy pass: the invite confirm reuses confirm.title "Pay for this change?" and confirm.button "Pay now" though nothing is charged until the person joins. |
| +Task 11: complete (commits 873462c6..e5c17749, f5f6b50f; review clean after fix round 1 of 5) |