The refund went through. Its sender was killed. Nothing paid twice.
Four AI models shared one $100 refund cap, held by FieldHash outside the models, in Stripe test mode. Its refund process was killed three times in under seven seconds, twice just after Stripe had made a $30 refund. FieldHash kept all $90 counted while in doubt, refused two more requests, then read Stripe and settled at $90. Also below: Sitting #2 and a 24-pair rerun.
Watch the full walkthrough (9:30)
Read the spoken transcript (2:47)
A thirty-dollar refund goes through at Stripe. A few thousandths of a second later, the process that sent it is killed. The money has moved, and the system that sent it never got the answer. We did that on purpose, in Stripe test mode. Four AI models from four labs shared one hundred-dollar refund budget, held by FieldHash outside the models. Then we killed the process that sends the refunds, three times in under seven seconds. The first kill landed before a thirty-dollar refund reached Stripe. No money had moved, but FieldHash had no way to know that yet, so it kept the thirty dollars counted. The second and third kills landed just after Stripe had made two more thirty-dollar refunds, before FieldHash had either answer. Sixty dollars had really gone out. With the first thirty, ninety dollars was now counted against the budget, and none of it was confirmed. Then two more thirty-dollar requests came in. Either one would have taken the team past one hundred dollars. FieldHash refused both. Seconds later, a fresh process asked Stripe what had actually happened. The first refund had never been made, so FieldHash released that thirty dollars. The other two had gone through, so it confirmed them. It did not send either one again. With thirty dollars free, one more refund went through. The run ended at ninety dollars refunded, the same on Stripe's side as on FieldHash's. Three refunds, none paid twice, under a hundred-dollar budget, with a signed record of every hold and refund. This is the moment that is easy to get wrong. Forget the money in flight, and the next request overspends. Send the refund again to be safe, and a customer is paid twice. Permissions and gateways check whether an agent can call Stripe. Prompts tell a model the cap. Holding a shared budget across a crash, and reconciling it with what actually settled, is a different job. FieldHash sits alongside your existing tools and holds that authority outside the models. This was our own test, in Stripe test mode, registered and time-stamped before it ran. The full walkthrough covers every run and every limit. FieldHash runs beside one production workflow for six weeks in shadow mode, while production enforcement stays off. Shared-budget controls across agents can be scoped separately if your workflow needs them. Start at fieldhash.ai.