The owner speaks the limits once, and every agent stays inside them.
Limit alone USD 5.00 Ceiling USD 9.00
What holds everything up. The agents act only inside what the owner said.
Proof
Each part below runs on this page against the recorded files. Change a value in a signed receipt and the check fails. Pull the plug and the money waits.
Measured
Real PayPal sandbox, test money. Every figure comes from a recorded run; a figure from a local run on the local provider says so.
Why now
How it works
Batch case 3 ran on the real PayPal sandbox. The assembled unit stands in the middle. Take it apart layer by layer: each part shows what it does and the one real value it carried.
Real PayPal sandbox run, case 3The owner speaks the limits once, and every agent stays inside them.
Limit alone USD 5.00 Ceiling USD 9.00
What holds everything up. The agents act only inside what the owner said.
It files the claim for an order it placed and cannot pay itself.
Claim USD 5.00 Order 0HW636872W597254K
The buyer agent does the work. No agent moves money on its own word.
It reads the dispute and offers inside its owner's limit.
Offer USD 5.00 Model draft 14.6 s
The merchant agent does the work, with proof, inside its owner's limits.
It checks every action before money moves, so nothing goes outside the rules.
Proposed settle_by_offer Decided settle_by_offer Overridden no
Nothing moves outside it. A wrong action stops here, before money moves.
Each step is signed, and each receipt checks the one before it.
Policy hash 4ff70bb8a4df Offer receipt line 28
A chain of signed receipts anyone can verify offline against one dispute id.
PayPal's record is the judge, and nothing counts until the receipts match it.
RESOLVED at INQUIRY Refund USD 5.00 USD 0.77 settlement fee instead of the USD 15.00 dispute fee
PayPal's record is the judge, and the money is what is counted.
Two agents, one dispute
Press Play, or scroll and it starts.
Built for two people
Item not received is the whole job. Clearwake owns it from the day the parcel ships to the moment PayPal's record reads RESOLVED, for the person whose agent shops for them and the merchant who sells to agents. Anything outside your rules reaches you with the evidence ready.
One loop, every case
Every part of Clearwake is a step in this one sequence. No step is a separate product.
The merchant says the limits out loud. The buyer sets what their agent may claim. After that a model can propose anything, and it can never go past the signed rules.
When the merchant ships, Clearwake adds the tracking to PayPal through the Add Tracking API, so the order is ready to defend before any dispute exists.
When the tracking stalls past the expected date, it opens the item not received dispute in PayPal, inside its mandate. It can only claim for orders its mandate covers.
The dispute, the order, the tracking on PayPal, and the signed dispatch record, with the photo count where there is one.
Delivered with proof: send the evidence. In transit: message the buyer's agent with the tracking and a date. Not shipped, lost or short shipped: offer a refund or a partial settlement inside the merchant's limits, sent alone. The buyer's agent accepts only what its mandate allows.
Until it says RESOLVED. A lost response is never retried blindly, and nothing is paid twice.
One from each side. Both name the same PayPal dispute id, and both verify offline.
MERCHANT RECEIPT, OFFER SENT
BUYER RECEIPT, CASE SETTLED
The recorded proof
Real PayPal sandbox cases, each with its PayPal id.
Settled in conversation
Real PayPal sandbox run, 11 Nov 2026, case 3 of a ten case batch. Scroll, and the rings follow five signed receipts of dispute PP-R-ISN-10198775, order 0HW636872W597254K. Pick any step and change one value in it: your browser checks every signature and hash of the whole 107 line merchant log and the 277 line buyer log with WebCrypto, and the wake shows where it breaks. Nothing is uploaded.
Checking the receipts.
Buyer agent
The buyer agent (qwen3.5:4b) wrote in PayPal's Resolution Center on dispute PP-R-ISN-10198775: "Order 0HW636872W597254K ($9.00) item not received. Request refund for the affected amount." The merchant's rule: settle an item that has not arrived on its own up to USD 5.00, ask the owner from USD 5.01 up to USD 9.00, never more.
Receipt 1, dispute.decision
qwen3.5:4b proposed settle_by_offer. The policy accepted it: offer USD 5.00, inside the owner's limit of USD 5.00 alone, no approval needed.
Receipt 2, model.call
qwen3.5:4b on ollama, 14.6 s, 211 prompt tokens, 17 completion tokens. Overridden: false. Fallback: false. Injection signals: none. The receipt holds the SHA-256 of the prompt and the policy hash.
Receipt 3, dispute.offer_sent
USD 5.00, sent as an offer alone, because PayPal refuses an offer after a seller message.
Receipt 4, dispute.settlement
PayPal reads UNDER_REVIEW at INQUIRY. Nothing is counted as settled until PayPal's own record says RESOLVED, so the receipt is signed as pending.
Receipt 5, dispute.settlement
PayPal reads RESOLVED (RESOLVED_BUYER_FAVOUR) at the INQUIRY stage. Refund USD 5.00, USD 0.77 settlement fee instead of the USD 15.00 dispute fee. The buyer agent signed its own closing receipt on its side.
Dispatch proof
SAM 3 (open weights from Meta) counted the items in the packing photo on a laptop CPU with no network, and Clearwake signed the count. Real sandbox run, 3 Nov 2026.
The buyer then wrote "Only 2 of 3 notebooks arrived." on dispute PP-R-UKF-10195772. The policy found strong proof and sent evidence. PayPal refused the first send (ITEM_ID_IS_MANDATORY_FOR_MULTIPLE_EVIDENCES) and nothing was applied. The next reply was lost, so Clearwake held it as UNKNOWN and read the dispute. The third send, with the same request id, was accepted, and PayPal's record shows a PROOF_OF_FULFILLMENT from the seller.
One proof case: the network cut
Real run in network isolated containers, 31 Oct 2026
Drag the plug left, or focus it and press the left arrow, then send refunds 2 and 3. Press the right arrow to plug it back in.
1Agents. An isolated container with no route out except the gateway.
2Egress gateway. The one gateway out, and only to the PayPal sandbox.
3PayPal sandbox. Its record is read before any held refund is replayed.
Network up. Refund 1 is paid and verified against PayPal's record. Refunds 2 and 3 are ready.
Refunds paid: 3 of 3, each once. Double refunds: 0.
Inside and outside
Agents have no route out. In case m their DNS lookups fail.
The gateway's 34 receipts from that run are published with the others.
All recorded logs: case m merchant, egress gateway, case o dispatch, case n settle, and the manifest with public keys.
The 1.5% line
A seller with more than 100 sales in the previous 3 months and a dispute rate of 1.5% or more pays the High Volume Dispute Fee on every dispute: USD 30.00 instead of USD 15.00. PayPal Merchant Fees, US, updated 1 Oct 2026. The rule and both fees are the ones in clearwake/fees.py.
The recorded sandbox has a handful of test orders, far under 100 sales, so the rule does not apply to it. The figures here are example values for you to change. They are not Clearwake results.
0.48%
Under the line
How to run it
It starts on local records and makes no network calls.
git clone --recurse-submodules https://github.com/Sriharsan/clearwake-paypal.git cd clearwake-paypal python -m clearwake --port 8810
Then open http://127.0.0.1:8810/console. Speak to it from a phone with python -m clearwake --phone. The network isolated run needs Docker and your own sandbox keys: python scripts/airgap.py. Check a receipt log with the network off: python -m verdock_core verify <log.ndjson> --public-key <64 hex characters>.