Smart contracts execute automatically, but they cannot anticipate every situation. When something goes wrong, who decides what happens next? Here is how law and technology are approaching smart contract disputes.