{
 "blyg": "0.3",
 "id": "5r087napremnqz2ydarkka8ffb",
 "kind": "thread",
 "origin": "https://rafael.fyi/blyg/",
 "page": "t/5r087napremnqz2ydarkka8ffb/",
 "created": "2026-11-21T18:59:59Z",
 "updated": "2026-11-21T18:59:59Z",
 "version": 1,
 "content_md": "# Stranger Contracts\n\nThe word escrow comes from Old French *escroe*, a bit of parchment, the same family as \"shred\" and \"scroll\". The parchment was the deed itself, the document that transfers ownership of a property. As a seller, you didn't give it to the counterparty right away, because handing it over was the sale: whoever got it, got the property. So, to avoid tricky situations (no money, or no clean title), you gave it to someone you both agreed to trust, sometimes a stranger, who held it until the buyer paid and the title checked out, then gave it to the buyer. Of course, the word has drifted: from the bit of parchment, to the arrangement, to the oozy thing it means today, a whole process.\n\nNot a lot has changed in the protocol primitive. There's an intermediary, two parties and an agreement. There's also judgement, evidence and some play. What's held isn't the agreement but what it moves: the deed, the money, and the instructions for when each changes hands. The commitments usually include acceptance criteria (\"evals\") and deadlines. Then there are house rules, which today often cover shared context, jurisdiction and inspection. One might say escrow, like reality, has a surprising number of details we can't ignore.\n\nThere's slack and grace: a closing that slips a week, a few days to fix a missed signature. There's room to renegotiate: the inspection finds a leaky roof, and the price drops instead of the deal dying. And there's gaming: a buyer using the inspection as a free way out, a seller painting over the damp patch. People bend escrow all the time without breaking it.\n\nBut escrow isn't a common word in e-commerce, even though holds are everywhere. Airbnb holds your payment until a day after check-in. A hotel puts a hold on your card when you arrive and lets it go when you leave. Escrow seems to be a spooky word, anti-memetic in online services. Most buyers like the protection, but not the locked-up money, the friction, the fees or the wait (what do you mean it takes three days and there's a fee?). Digital sellers don't like it either, for their own reasons (what do you mean I send the work before the payment is released? It's a file, they can copy it!). Even if we ignore the stated (not revealed) preferences, the trouble points to three tangled problems at once: atomicity, privacy and adjudication.\n\nThe seller's complaint is the one I keep circling back to, because it's the parchment problem turned inside out.\n\nA deed worked as a thing to hold because there was only one of it. Hand it to the stranger and the seller no longer has it; hand it to the buyer and now the buyer does. A photocopy of a deed doesn't give anyone a house. A file is the opposite. Sending it doesn't take it away from you, and whoever receives it has it forever, paid or not. So online, the stranger in the middle only ever holds the money. The work itself just goes, and someone hopes it was fine.\n\nNow take the people out of it. Two agents at two companies, closing a job at 2am, nobody awake on either side. Every part of escrow gets strange, and the copyable file is only the first.\n\nParchment also came with two constraints we rarely notice: human legibility and human effort. Somebody had to write it, and somebody had to be able to read it.\n\nI'll come back to those. First, the atomicity bit, which is older than the internet. A house closes in one room on one day. The money moves, the deed is signed over, and the seller slides the keys across the table. Nobody leaves holding only half of the trade. Ordinary rails mostly fake this with a middleman. Wise (TransferWise, essentially a bridge, for the crypto-native folks reading) never sends your money across the border. It takes your pounds into its account in the UK and pays euros out of its own account in Europe: two local transfers that look like one, because Wise keeps money on both sides and carries the risk in between.\n\nWhen the middleman can't carry it, you get Herstatt. In June 1974 German regulators closed [Bankhaus Herstatt](https://en.wikipedia.org/wiki/Herstatt_Bank) at half past four in the afternoon, Frankfurt time, 10:30 in the morning in New York. Its counterparties had already paid in marks; the dollars they were owed never came. It took until 2002, and a bank built for the purpose, before both legs of a currency trade could settle together.\n\nHere's the funny part. Encrypt the file and it starts behaving like parchment again. Copy the locked file all you like; without the key it's noise. The key is the thing there's only one of that matters, and whoever gets it, gets the work. Which means the money and the key could move together, the way the money, the deed and the house keys did across that one table. Herstatt, but for files. I don't think anyone set out to rebuild the deed. It just sort of turns up.\n\nThen privacy pokes at it. If the key is the deed, someone still has to look inside before the money moves, and information can't be returned once it's seen. The deal is a secret too: who a company buys from, and at what price, tells its competitors a lot, which is why contracts come with confidentiality clauses and stay out of sight. There's a stranger tool for this one. In 1985 Goldwasser, Micali and Rackoff described [proofs](https://en.wikipedia.org/wiki/Zero-knowledge_proof) that convince you a statement is true while telling you nothing else. The children's version, published in 1990, is a cave with a magic door: Peggy shows Victor she knows the password by walking out whichever side he shouts, again and again, without ever saying it. In principle, a seller could prove a dataset passed its checks without showing anyone a single row. People are now trying the same trick on models, proving that a particular model produced a particular answer. It's slow and expensive today, but it's a strange thought: a stranger in the middle who never opens the envelope.\n\nWhich brings it back to the stranger, and to the part escrow never did. Escrow itself never judged. It checked paperwork and followed instructions. The judging came from people nearby: an inspector, a buyer walking through, a court if it came to that. Those people come wrapped in rules. The escrow agent is licensed to hold other people's money. The deal names a jurisdiction, so everyone knows whose law applies and which court enforces it. Some decisions need a human by law or by habit: the AAA's AI arbitrator still has a person confirm every award, and Europe's AI Act treats AI used to settle disputes as high-risk, with human oversight built in. Fast judging among strangers is old, too. English fairs had [courts of piepowder](https://en.wikipedia.org/wiki/Court_of_Piepowder), probably named for the dusty feet of travelling merchants: short, informal trials for people who wouldn't be in town for long.\n\nAll of that leans on the two quiet constraints. The inspector, the court and the piepowder judge could read the deal, and someone had written it at a length a person could write. At 2am, nobody is nearby, and two agents may not even share a country. But 2am is the smaller problem. The bigger one is length.\n\nIf you've read the news recently, you'll know that mathematical proofs are getting stranger. Humans may have decades of work sorting through proofs created in the last month, and in the meantime they have to trust [Lean](https://lean-lang.org/) to verify them. Code is on the same path, and agent agreements will be too. They will eventually become alegal, the same way code has outgrown our ability to read and build all of it. Alegal, not illegal! Not because they fail to comply with some large corpus of law, but because they will simply be larger and more complex. Alien. So the inevitable outcome is that verification, proof and adjudication have to be done by machines, too.\n\nSome of that is already happening sideways. Labs grade their models with other models; the eval has quietly become a contract nobody signed. The worry is correlation. Judges from the same family tend to be wrong the same way, on the same day. The cotton trade's answer, long before any of this, was its own rulebook and its own arbitrators, ruling in weeks. The law is making some room. UETA has bound contracts made by electronic agents since 1999, and UNCITRAL's [model law on automated contracting](https://uncitral.un.org/sites/uncitral.un.org/files/2424674e-mlautomatedcontracting-ebook.pdf) leans on whatever procedure the parties agreed. Neither says much about a contract nobody can read.\n\nAnd then the play, which is where machines feel most stiff. A machine contract doesn't slip a week or knock a bit off for the leaky roof. Agreed terms bind, all the way down, and if nobody can read the agreement, nobody can bend it by hand either. But a lot of the play turns out to be more paper. The grace period is a second deadline. The renegotiation is a split both sides sign. The warranty is another escrow running the other way: the seller puts money down, and it comes back at the end of the period unless the buyer shows a defect. Construction already does a version of this, keeping back a slice of each payment until the work passes inspection.\n\nThe gaming doesn't go anywhere, it just changes clothes. Goodhart's law, in the version that stuck: when a measure becomes a target, it stops being a good measure. A seller tuning their work to the eval is painting over the damp patch, and sometimes the paint is a sentence hidden in the delivery, addressed to the judge. In an agreement too long for anyone to read, that sentence has a lot of places to hide.\n\nMachines game the settlement, too. On public blockchains it has a name, MEV (extractable value, \"miner\" at first, \"maximal\" now): whoever orders the transactions can slip their own in front of yours, or on both sides of it, and keep the difference. Herstatt was a gap in time nobody planned; MEV is a gap in time someone sells. The 2019 paper that named it was called [Flash Boys 2.0](https://arxiv.org/abs/1904.05234), after Michael Lewis's book about high-frequency traders racing ordinary orders to the exchange. Nobody breaks a rule. They just read the queue faster than you do. A contract that settles in public, on a schedule, is a queue someone can read.\n\nPeople have tried pieces of this. [OpenBazaar](https://en.wikipedia.org/wiki/OpenBazaar) built an open protocol for buying and selling with cryptocurrency; the company behind it switched off its servers in January 2021. Kleros draws jurors from people who stake its token. EDI let computers swap binding purchase orders for decades, but only after the humans had signed a trading partner agreement. Which, now that I think of it, is people writing down the play once, in advance, at a length they could still read, so the machines could run inside it.\n\nSomewhere in all this there's still a stranger holding a bit of parchment. It's just getting harder to say what the parchment is, who the stranger is when nobody's awake, or whether anyone could read it.\n",
 "content_html": "<h1>Stranger Contracts</h1>\n<p>The word escrow comes from Old French <em>escroe</em>, a bit of parchment, the same family as \"shred\" and \"scroll\". The parchment was the deed itself, the document that transfers ownership of a property. As a seller, you didn't give it to the counterparty right away, because handing it over was the sale: whoever got it, got the property. So, to avoid tricky situations (no money, or no clean title), you gave it to someone you both agreed to trust, sometimes a stranger, who held it until the buyer paid and the title checked out, then gave it to the buyer. Of course, the word has drifted: from the bit of parchment, to the arrangement, to the oozy thing it means today, a whole process.</p>\n<p>Not a lot has changed in the protocol primitive. There's an intermediary, two parties and an agreement. There's also judgement, evidence and some play. What's held isn't the agreement but what it moves: the deed, the money, and the instructions for when each changes hands. The commitments usually include acceptance criteria (\"evals\") and deadlines. Then there are house rules, which today often cover shared context, jurisdiction and inspection. One might say escrow, like reality, has a surprising number of details we can't ignore.</p>\n<div class=\"blyg-tk-gen\"><p>There's slack and grace: a closing that slips a week, a few days to fix a missed signature. There's room to renegotiate: the inspection finds a leaky roof, and the price drops instead of the deal dying. And there's gaming: a buyer using the inspection as a free way out, a seller painting over the damp patch. People bend escrow all the time without breaking it.</p></div>\n<p>But escrow isn't a common word in e-commerce, even though holds are everywhere. Airbnb holds your payment until a day after check-in. A hotel puts a hold on your card when you arrive and lets it go when you leave. Escrow seems to be a spooky word, anti-memetic in online services. Most buyers like the protection, but not the locked-up money, the friction, the fees or the wait (what do you mean it takes three days and there's a fee?). Digital sellers don't like it either, for their own reasons (what do you mean I send the work before the payment is released? It's a file, they can copy it!). Even if we ignore the stated (not revealed) preferences, the trouble points to three tangled problems at once: atomicity, privacy and adjudication.</p>\n<div class=\"blyg-tk-gen\"><p>The seller's complaint is the one I keep circling back to, because it's the parchment problem turned inside out.</p>\n<p>A deed worked as a thing to hold because there was only one of it. Hand it to the stranger and the seller no longer has it; hand it to the buyer and now the buyer does. A photocopy of a deed doesn't give anyone a house. A file is the opposite. Sending it doesn't take it away from you, and whoever receives it has it forever, paid or not. So online, the stranger in the middle only ever holds the money. The work itself just goes, and someone hopes it was fine.</p>\n<p>Now take the people out of it. Two agents at two companies, closing a job at 2am, nobody awake on either side. Every part of escrow gets strange, and the copyable file is only the first.</p></div>\n<p>Parchment also came with two constraints we rarely notice: human legibility and human effort. Somebody had to write it, and somebody had to be able to read it.</p>\n<div class=\"blyg-tk-gen\"><p>I'll come back to those. First, the atomicity bit, which is older than the internet. A house closes in one room on one day. The money moves, the deed is signed over, and the seller slides the keys across the table. Nobody leaves holding only half of the trade. Ordinary rails mostly fake this with a middleman. Wise (TransferWise, essentially a bridge, for the crypto-native folks reading) never sends your money across the border. It takes your pounds into its account in the UK and pays euros out of its own account in Europe: two local transfers that look like one, because Wise keeps money on both sides and carries the risk in between.</p>\n<p>When the middleman can't carry it, you get Herstatt. In June 1974 German regulators closed <a href=\"https://en.wikipedia.org/wiki/Herstatt_Bank\">Bankhaus Herstatt</a> at half past four in the afternoon, Frankfurt time, 10:30 in the morning in New York. Its counterparties had already paid in marks; the dollars they were owed never came. It took until 2002, and a bank built for the purpose, before both legs of a currency trade could settle together.</p>\n<p>Here's the funny part. Encrypt the file and it starts behaving like parchment again. Copy the locked file all you like; without the key it's noise. The key is the thing there's only one of that matters, and whoever gets it, gets the work. Which means the money and the key could move together, the way the money, the deed and the house keys did across that one table. Herstatt, but for files. I don't think anyone set out to rebuild the deed. It just sort of turns up.</p>\n<p>Then privacy pokes at it. If the key is the deed, someone still has to look inside before the money moves, and information can't be returned once it's seen. The deal is a secret too: who a company buys from, and at what price, tells its competitors a lot, which is why contracts come with confidentiality clauses and stay out of sight. There's a stranger tool for this one. In 1985 Goldwasser, Micali and Rackoff described <a href=\"https://en.wikipedia.org/wiki/Zero-knowledge_proof\">proofs</a> that convince you a statement is true while telling you nothing else. The children's version, published in 1990, is a cave with a magic door: Peggy shows Victor she knows the password by walking out whichever side he shouts, again and again, without ever saying it. In principle, a seller could prove a dataset passed its checks without showing anyone a single row. People are now trying the same trick on models, proving that a particular model produced a particular answer. It's slow and expensive today, but it's a strange thought: a stranger in the middle who never opens the envelope.</p>\n<p>Which brings it back to the stranger, and to the part escrow never did. Escrow itself never judged. It checked paperwork and followed instructions. The judging came from people nearby: an inspector, a buyer walking through, a court if it came to that. Those people come wrapped in rules. The escrow agent is licensed to hold other people's money. The deal names a jurisdiction, so everyone knows whose law applies and which court enforces it. Some decisions need a human by law or by habit: the AAA's AI arbitrator still has a person confirm every award, and Europe's AI Act treats AI used to settle disputes as high-risk, with human oversight built in. Fast judging among strangers is old, too. English fairs had <a href=\"https://en.wikipedia.org/wiki/Court_of_Piepowder\">courts of piepowder</a>, probably named for the dusty feet of travelling merchants: short, informal trials for people who wouldn't be in town for long.</p>\n<p>All of that leans on the two quiet constraints. The inspector, the court and the piepowder judge could read the deal, and someone had written it at a length a person could write. At 2am, nobody is nearby, and two agents may not even share a country. But 2am is the smaller problem. The bigger one is length.</p></div>\n<p>If you've read the news recently, you'll know that mathematical proofs are getting stranger. Humans may have decades of work sorting through proofs created in the last month, and in the meantime they have to trust <a href=\"https://lean-lang.org/\">Lean</a> to verify them. Code is on the same path, and agent agreements will be too. They will eventually become alegal, the same way code has outgrown our ability to read and build all of it. Alegal, not illegal! Not because they fail to comply with some large corpus of law, but because they will simply be larger and more complex. Alien. So the inevitable outcome is that verification, proof and adjudication have to be done by machines, too.</p>\n<div class=\"blyg-tk-gen\"><p>Some of that is already happening sideways. Labs grade their models with other models; the eval has quietly become a contract nobody signed. The worry is correlation. Judges from the same family tend to be wrong the same way, on the same day. The cotton trade's answer, long before any of this, was its own rulebook and its own arbitrators, ruling in weeks. The law is making some room. UETA has bound contracts made by electronic agents since 1999, and UNCITRAL's <a href=\"https://uncitral.un.org/sites/uncitral.un.org/files/2424674e-mlautomatedcontracting-ebook.pdf\">model law on automated contracting</a> leans on whatever procedure the parties agreed. Neither says much about a contract nobody can read.</p>\n<p>And then the play, which is where machines feel most stiff. A machine contract doesn't slip a week or knock a bit off for the leaky roof. Agreed terms bind, all the way down, and if nobody can read the agreement, nobody can bend it by hand either. But a lot of the play turns out to be more paper. The grace period is a second deadline. The renegotiation is a split both sides sign. The warranty is another escrow running the other way: the seller puts money down, and it comes back at the end of the period unless the buyer shows a defect. Construction already does a version of this, keeping back a slice of each payment until the work passes inspection.</p>\n<p>The gaming doesn't go anywhere, it just changes clothes. Goodhart's law, in the version that stuck: when a measure becomes a target, it stops being a good measure. A seller tuning their work to the eval is painting over the damp patch, and sometimes the paint is a sentence hidden in the delivery, addressed to the judge. In an agreement too long for anyone to read, that sentence has a lot of places to hide.</p>\n<p>Machines game the settlement, too. On public blockchains it has a name, MEV (extractable value, \"miner\" at first, \"maximal\" now): whoever orders the transactions can slip their own in front of yours, or on both sides of it, and keep the difference. Herstatt was a gap in time nobody planned; MEV is a gap in time someone sells. The 2019 paper that named it was called <a href=\"https://arxiv.org/abs/1904.05234\">Flash Boys 2.0</a>, after Michael Lewis's book about high-frequency traders racing ordinary orders to the exchange. Nobody breaks a rule. They just read the queue faster than you do. A contract that settles in public, on a schedule, is a queue someone can read.</p>\n<p>People have tried pieces of this. <a href=\"https://en.wikipedia.org/wiki/OpenBazaar\">OpenBazaar</a> built an open protocol for buying and selling with cryptocurrency; the company behind it switched off its servers in January 2021. Kleros draws jurors from people who stake its token. EDI let computers swap binding purchase orders for decades, but only after the humans had signed a trading partner agreement. Which, now that I think of it, is people writing down the play once, in advance, at a length they could still read, so the machines could run inside it.</p>\n<p>Somewhere in all this there's still a stranger holding a bit of parchment. It's just getting harder to say what the parchment is, who the stranger is when nobody's awake, or whether anyone could read it.</p></div>",
 "content_hash": "sha256:f6f3fd15f912d58543661e70eaa1724f5310c4a41bafbd8b161710bc4892ecb2",
 "media": [],
 "transclusions": [],
 "generated": [
  {
   "sources": [],
   "model": "claude-opus-5-5",
   "at": "2026-11-21T18:59:59Z"
  },
  {
   "sources": [],
   "model": "claude-opus-5-5",
   "at": "2026-11-21T18:59:59Z"
  },
  {
   "sources": [],
   "model": "claude-opus-5-5",
   "at": "2026-11-21T18:59:59Z"
  },
  {
   "sources": [],
   "model": "claude-opus-5-5",
   "at": "2026-11-21T18:59:59Z"
  }
 ],
 "changelog": [
  {
   "version": 1,
   "at": "2026-11-21T18:59:59Z",
   "note": "First version"
  }
 ]
}
