carlos / platform Public

plans 6b ledger: branch review round 1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 498881aa5b6a8d1eb7e28d59abbab1d873eaaca1 parent 167a213
1 file changed, +2 −0
  • docs/superpowers/notes/plans-6b-ledger.md +2 −0

CI passed — run details

diff --git a/docs/superpowers/notes/plans-6b-ledger.md b/docs/superpowers/notes/plans-6b-ledger.md
index eeeb5b0a4..0cfba37ed 100644
--- a/docs/superpowers/notes/plans-6b-ledger.md
+++ b/docs/superpowers/notes/plans-6b-ledger.md
@@ -62,3 +62,5 @@ Task 14: complete (commits 1d507f5b, 78cf589a; review clean, round 1 no P1)
Task 13: naming: syncSubscriptionReadLocked (returns the deciding read; syncSubscriptionLocked wraps it), Store.OutstandingOpsForAccount, stepUpGate (requireFreshAuth wraps it and reports whether the request was parked), retireForDeletion; a replay is marked on its context by resume. A pending update maps to delete.collecting; any list or sync failure refuses delete.unverified. New copy delete.retry ("Nothing was deleted. Try deleting the account again.") for a replay whose retirement ended; it goes to the copy review. The invite confirm now refuses while retiring.
Task 13 review Ruling: one retirement mark per account, so clearing it after a failed step-up setup also ends a co-owner's pending deletion, whose replay is then refused with delete.retry and nothing deleted — cost if wrong: a co-owner starts the deletion again.
Task 13: complete (commits 6c53c37c, 0e3ed732, e07ec5a8; review round 1 P1+P2, round 2 no P1, last P2 applied without another round per stopping rule 1)
+Whole-branch review round 1 of 3 (Astra, 5af3d04e): NOT READY, 2 P1 (seat charge quantity exceeds consent, Invariant 2 / Call 11; billing writes bypass readiness), 2 P2 (truncated 5xx loses its indeterminate class, Invariant 8; expiry recovery over budget F). Census: envelopes . and internal/plans and the record-write layer APPROVED by Astra.
+Branch review Ruling: both P1s are fixed by stating the invariant, enforcing it in one place and pinning it with a guard test (stopping rule 2's third option, applied before a second round): a join's seat charge adds at most one seat over max(cur, paid) and only when the members before it are covered, else seats_unpaid opens and nothing is charged; no provider write happens unless billing is ready, checked in the send path itself — cost if wrong: a join refused where an owner must first match seats.