Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions specs/invariants.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ These must hold after every request, under any request sequence. The verificatio
| INV-5 | State changes only along the state machine table; nothing is reachable from `VOIDED` or `REFUNDED` |
| INV-6 | The state machine preconditions are enforced: an illegal operation returns `409` and changes nothing, no state change, no ledger entries |
| INV-7 | Every intent in state `AUTHORIZED` or beyond has at least one ledger entry pair carrying its `payment_intent_id` |
| INV-8 | (demo) The sum of a merchant's captured amounts never exceeds its lifetime authorized total |

The catalog of metamorphic relations (MR-1 and following) that exercise these invariants lives in `docs/design.md` §5.6; it is not duplicated here.
Loading