carlos / platform Public

ops-plan-exempt: stopping rule 2 on the ops mail-pause clean-up Question open

On branch ops-plan-exempt

Rule 2 report (2026-10-28). Branch ops-plan-exempt makes the built-in ops account exempt from plans (Paul's requirement). CI green at 4b28c0b3.

Fault family: "ops keeps no plan-enforced email pause".

  • Round 1 (e492e431): a plan mail pause put on ops before the exemption was never lifted.
  • Round 2 (4b28c0b3): the start-up clean-up that lifts it reads senders through mail.ListSenders, which skips failed reads, so a failed read lets the clean-up mark itself done while a pause stays.

Other round 2 findings (P2, fixed without another round): webhook error paths (subscriptionMissing, unknown customer) open billing problems on ops outside the hold; the house-flag door accepts ops.

Recommended cut: drop the automatic lifting of pre-existing plan mail pauses. None can exist on ops anywhere: flagship has no plan catalog, and dev turned plans on on 2026-10-27 with ops sponsored within a minute, while a mail pause needs the grace period to run out first. The exemption already stops any new plan pause on ops. Keep the storage-deny and record clean-up (resolved in round 2). Then fix the two P2s and run round 3 of 3 as the last.

Paul chose the cut (2026-10-28): drop the automatic lifting of pre-existing plan mail pauses on ops; fix the two P2s; round 3 of 3 is the last.

Round 3 of 3 (c7d07387): NOT READY, 1 P1 in the same family as rounds 1-2 (clearing state plans left on ops): a failed manifest read during the storage-deny clean-up lets settlement mark itself done. Final-round rule: cut scope and ask Paul. Recommended cut: the start-up clean-up keeps only what can exist on ops today (the limits record, deleted, and cap rows, both simple idempotent deletes whose errors propagate) and drops the storage-deny and lapse-item steps, which no ops account can have: flagship never had a catalog, and dev ops was sponsored a minute after plans went on, days before any storage or lapse stage. The exemption already stops new ones.

Paul chose the cut (2026-10-31): settlement keeps only the limits record and cap rows; storage-deny and lapse steps dropped. No fourth round.