Escrow is a state machine, not a feature
The word "escrow" hides how much of it is bookkeeping. Money arrives and is held. Work is submitted. The buyer accepts, or says nothing until a deadline passes, or rejects. A dispute opens and freezes the clock. A partial refund splits the held amount three ways: back to the buyer, on to the seller, and the commission you already counted as revenue. Each of those is a state, each transition has rules about who may trigger it, and every one of them has to be reachable from a test — because the first time you discover a missing transition should not be with someone else’s money inside it.
Who holds the money, and what that means legally




