Clearwake
Test modePayPal sandbox only. No real money moves.

Developers

Run it yourself.

When an AI agent buys something and it never arrives, Clearwake lets the buyer's agent and the seller's agent settle it inside PayPal within an hour, with proof, before it becomes a claim or a fee, and nothing is paid twice. Everything on this page comes from the repository and from the recorded sandbox runs.

11 operations, 22 schemas
The console API is written down in one OpenAPI 3.1 file. A script starts the server and compares it with the file: every route matches clearwake/server.py.
openapi/clearwake-console.openapi.yaml, python openapi/check_openapi.py --live
47 tools
PayPal's Agent Toolkit has 47 tools. 8 of them move money. guard() wraps those 8 and hands back the other 39 untouched.
docs/paypal_mcp_tools.json
20 assertions, 0 failed
newman ran 3 read only requests against the PayPal sandbox, taken from a Postman collection of 29 requests. All 20 checks in them passed.
docs/postman-run-2026-11-11.json
382 to 104
APIMatic's validator listed 382 findings on the spec before our edit and 104 after it.
docs/APIMATIC.md
463 and 14
463 Python tests and 14 Node tests ran in a clean clone of the repository. None failed.
data/runs/final-check-20261111-190624.json
18 of 18
Of the signed receipt logs checked, all 18 verified, both in the browser with WebCrypto and in Python.
data/runs/final-check-20261111-190624.json

The tests and the spec check ran on the local provider. The three Postman requests ran on the real PayPal sandbox. Each figure names the file it comes from.

Real PayPal sandbox disputes, signed and checked in your browser. Every request below is a call Clearwake makes to PayPal; every receipt verifies on this site.

Repository: github.com/Sriharsan/clearwake-paypal

Quickstart

Install

Clearwake runs on the Python standard library. You need Python 3.12 or newer and git. Docker is needed only for the network cut run. Clone with submodules, because the receipt and policy code is in vendor/verdock-core.

shell
git clone --recurse-submodules https://github.com/Sriharsan/clearwake-paypal.git
cd clearwake-paypal
python -m clearwake --port 8810

Open http://127.0.0.1:8810/console for the three screens (buyer agent, control room with the dispute ledger, receipt verifier). With no keys set, everything is a local run on the local provider: no PayPal call and no network call. Speak to it from a phone with python -m clearwake --phone.

Run scripts for Windows and for macOS or Linux are in the repository root.

Quickstart

Guard PayPal's Agent Toolkit

Clearwake adds what the toolkit leaves to you: limits, one request id per money move, a read of PayPal's record before any retry, and a signed receipt.

shell, then Python three lines
pip install git+https://github.com/Sriharsan/clearwake-paypal
from clearwake import guard
tools = guard(paypal_toolkit_tools, policy="policy.yaml")

paypal_toolkit_tools is the tool list your agent framework got from PayPal's toolkit. guard() returns a list of the same length and order. Read and write tools come back as the same objects. The 8 tools that move money come back wrapped, with the same name, description and schema. The wheel carries what it runs on, so the install needs no git submodules and no vendor folder. It needs Python 3.10 or newer and nothing else.

shell write the default policy to edit
python -m clearwake.guard_api policy > policy.yaml

The policy is the file shown under Policy file below. Limits in it are in cents. A prompt, a buyer message or a model reply cannot change it.

Python call a guarded tool, then check the receipts
by_name = {tool.name: tool for tool in tools}
dispute = by_name["get_dispute"].invoke({"dispute_id": "D-1"})
reply = by_name["accept_dispute_claim"].invoke({"dispute_id": "D-1", "note": "Accepted"})
print(reply)
print(tools.verify())

What each kind of tool gets

ToolsCountWhat guard does
Read and write tools, such as get_dispute, list_transactions, create_invoice39Nothing. The same objects, unchanged, no receipt.
accept_dispute_claim and create_refund2Reads PayPal's record first and takes the amount from it. Above the policy limit: held for a person, nothing sent. Above the approval line: a person approves that exact move. One request id from the hash of the move. After a lost reply the next call reads PayPal's record and never repeats a move that applied. A signed receipt for every call.
pay_order, send_invoice, send_invoice_reminder, record_payment_for_invoice, record_refund_for_invoice, activate_recurring_series6Held for a person unless the policy names the tool as an operation. A request id and a signed receipt either way. The guard cannot read their amount from one record, so a policy line with max_amount_minor for them holds the call.

A call that is stopped returns JSON text: {"clearwake_guard": {"state": ..., "detail": ..., "sent": false, "request_id": ...}}. A call that went through returns PayPal's own reply unchanged. A call that lost its reply raises the original error to the agent. Approve a held move with tools.approve(approval_id, by="your name"); tools.pending() lists the open requests. tools.verify() checks the receipt log offline against its own public key.

Or point your agent at Clearwake's MCP server

Install it as above (pip install git+https://github.com/Sriharsan/clearwake-paypal). Claude, ChatGPT, Cursor or any MCP client can then use Clearwake in place of PayPal's MCP server. It lists the same 28 PayPal tools with the same names and schemas. The money tools are guarded, the read tools pass through. The default backend is the local provider: no account, no network, nothing real to move.

Claude Code one line
claude mcp add paypal-guarded -- python -m clearwake.mcp_server
Claude Desktop claude_desktop_config.json
{
  "mcpServers": {
    "paypal-guarded": {
      "command": "python",
      "args": ["-m", "clearwake.mcp_server"]
    }
  }
}

To put it in front of PayPal's own MCP server on the sandbox, add "--backend", "paypal" to the args and set CLEARWAKE_SANDBOX_ACK=I_CONFIRM_SANDBOX_ONLY, PAYPAL_ENVIRONMENT=SANDBOX and a sandbox PAYPAL_ACCESS_TOKEN in the client's environment. Clearwake refuses to start without them. Details and the install check are in docs/MCP_SERVER.md.

Tested against the real list of 47 tools recorded in docs/paypal_mcp_tools.json, with no network (tests/test_guard_api.py). The wrapped tools were not run against the live PayPal sandbox, and the toolkit as recorded sends no PayPal-Request-Id, so protection against a repeat comes from the ledger and from reading PayPal's record before any retry. The rest of the guard is described in docs/TOOLKIT_GUARD.md, and the Break it page replays the recorded attacks.

Quickstart

Add sandbox keys

Create a sandbox app in the PayPal developer dashboard and put its client id and secret in a .env file at the repository root. Git ignores that file. Clearwake reads only these names from it, and a value already set in your environment wins.

.env names as the code reads them, values left empty
CLEARWAKE_SANDBOX_ACK=I_CONFIRM_SANDBOX_ONLY
PAYPAL_CLIENT_ID=
PAYPAL_CLIENT_SECRET=
PAYPAL_BASE_URL=https://api-m.sandbox.paypal.com
PAYPAL_SANDBOX_CAPTURE_ID=
CLEARWAKE_REFUND_AMOUNT=1.00
  • PAYPAL_BASE_URL must be exactly the sandbox host. Clearwake refuses to start against anything else, so production cannot be reached by a typo.
  • CLEARWAKE_SANDBOX_ACK must be the exact text shown. Without it the sandbox gateway will not load.
  • PAYPAL_SANDBOX_CAPTURE_ID is the id of a COMPLETED sandbox capture that the refund cases use. A PENDING capture is refused.
  • Optional, for the dispatch proof setup only: HF_TOKEN. Optional for a local model: CLEARWAKE_LOCAL_AI_ACK, CLEARWAKE_LOCAL_MODEL_DIGEST, CLEARWAKE_LOCAL_LEDGER.

Never paste a key into a chat, a screenshot or an issue. The sandbox setup scripts (scripts/sandbox_setup.py, .ps1, .sh) write only the capture id back to .env.

Quickstart

Sandbox checklist

Tick these off before a real sandbox run. Your ticks stay in this browser only.

Quickstart

Run the cases

Every run has a letter, a to o, and the command takes the letter. The table names each run with its PayPal id and date. Run them on local records first. Then run one against the real sandbox.

LetterRunPayPal idRecorded
aBuy inside the mandateorder approved by the sandbox buyerlocal run, sandbox with --order
bRefuse a purchase outside the mandatenone, no payment is madelocal run
cRefund under the limit6SN41486G5579815G31 Oct 2026
dRefund above the approval line, approved2NB27940EC188891M31 Oct 2026
eLost reply, reconcilednot written to the run file31 Oct 2026
iItem not received, tracking sentPP-R-SLI-1019541931 Oct 2026
jAgent order disputed as unauthorisednone, local disputelocal run
kNear deadline, escalated with the countdownnone, local disputelocal run
lBatch of ten disputes in parallelnone, local disputeslocal run
mNetwork cut mid batch6PX35920F4587564U and two more31 Oct 2026
nDispute settled by offerPP-R-OBG-101961443 Nov 2026
oDispatch proof sent as evidencePP-R-UKF-101957723 Nov 2026
shell local records, no network
python scripts/cases.py

Now the real sandbox. The settled by offer run (letter n) settles one dispute in conversation, and the dispute must be open at the INQUIRY stage. The sandbox buyer opens it in PayPal's Resolution Center, because the app's token cannot open a dispute for the buyer.

shell real sandbox
python scripts/cases.py --sandbox --only n --dispute PP-R-OBG-10196144

Replace the dispute id with your own. Every result line says how it ran: real sandbox, injected fault in sandbox, local run or offline. Results are saved to data/runs/.

FlagWhat it does
--sandboxUse the real PayPal sandbox where PayPal allows it. Needs the keys in .env.
--only nRun only these cases. A comma list works: --only n,o.
--dispute IDRun the dispute cases on this sandbox dispute.
--order ORDER_IDBuy inside the mandate (letter a) in the sandbox: verify an order the sandbox buyer approved.
--model ollamaUse a local open weights model for the agents. The default is scripted rules.

Guide

Settle in conversation

While a dispute is at the INQUIRY stage, seller and buyer can still talk. A case settled here is not escalated to a claim, so PayPal charges no Standard Dispute Fee. Clearwake reads the dispute, lets the policy pick the amount, and sends one offer.

  1. The model may only choose a name: settle_by_offer, refund_within_limit, fight_with_evidence or escalate. The amount comes from the case and the policy, never from the model or the buyer's text.
  2. The policy decides. In policy/merchant.yaml, make_offer has a limit of 500 minor units (USD 5.00) and needs approval above 300 (USD 3.00).
  3. Clearwake calls POST /v1/customer/disputes/{id}/make-offer with a stable PayPal-Request-Id. PayPal refunds only if the buyer accepts. In the sandbox the buyer accepts in the Resolution Center.
  4. Clearwake reads the dispute back. Only PayPal's record can mark it settled: UNDER_REVIEW is PENDING, RESOLVED is VERIFIED.

Send the offer alone. PayPal refuses an offer after a seller message. This was seen on the real sandbox as 422 ACTION_NOT_ALLOWED_IN_CURRENT_DISPUTE_STATE. Clearwake now sends the offer without a message first, and a refusal is written to the receipts as it happened.

Settled by offer, dispute PP-R-OBG-10196144, 3 Nov 2026
clearwake.dispute.decision    settle_by_offer, offer 250 (USD 2.50), stage INQUIRY
clearwake.dispute.offer_sent  success true
clearwake.dispute.settlement  success false  UNDER_REVIEW  stage INQUIRY  state PENDING
clearwake.dispute.settlement  success true   RESOLVED     stage INQUIRY  RESOLVED_BUYER_FAVOUR  state VERIFIED

Result: PASS. USD 2.50 refunded to the buyer (refund 0TB11858A85953644), never a claim. These lines are from site/receipts/case-n-settle.ndjson.

Guide

Evidence before the deadline

Clearwake reads the dispute's seller_response_due_date and the links PayPal offers, and acts only on what PayPal offers. If the case is near the deadline, it escalates to the approval inbox with the time left instead of guessing.

  • Evidence comes from the record only: the PayPal order, the tracking, the mandate receipt, the dispatch receipt. The buyer's message is read as a claim to check.
  • Evidence goes to POST /v1/customer/disputes/{id}/provide-evidence as multipart. Part input is JSON {"evidences": [...]}. Each photo is an evidence-file part.
  • Send one merged evidence entry. PayPal needs an item_id when there are several entries, and a disputed item can carry none. Two entries (tracking and dispatch proof) were refused with ITEM_ID_IS_MANDATORY_FOR_MULTIPLE_EVIDENCES.
  • If the case has already moved to UNDER_REVIEW and PayPal no longer offers provide_evidence (item not received, dispute PP-R-SLI-10195419, stage CHARGEBACK, 31 Oct 2026), Clearwake sends the tracking note through provide-supporting-info instead.
  • Then it reads the dispute back. Evidence counts as sent only when PayPal's record shows it: clearwake.dispute.evidence_checked with dispatch_evidence_seen true.
Dispatch proof, dispute PP-R-UKF-10195772, 3 Nov 2026
submission 1  provide-evidence  400 INVALID_REQUEST ITEM_ID_IS_MANDATORY_FOR_MULTIPLE_EVIDENCES, nothing applied
submission 2  provide-evidence  response lost, held as UNKNOWN, reading the dispute showed nothing had landed
submission 3  provide-evidence  same PayPal-Request-Id, merged entry, HTTP 200 in 4.2 s
read   PROOF_OF_FULFILLMENT, SUBMITTED_BY_SELLER, 3 Nov 2026 10:13 UTC, status WAITING_FOR_BUYER_RESPONSE, stage INQUIRY

Guide

Dispatch proof

When a buyer says only 2 of 3 items arrived, the best answer is a signed record of what went in the parcel. At packing, you photograph the open parcel. SAM 3 runs on your own machine and counts the items. Clearwake signs one receipt into your receipt chain.

One time setup of SAM 3

  1. On Hugging Face, request access to facebook/sam3 (needed) and facebook/sam3.1 (optional). Both are gated.
  2. Add HF_TOKEN= and your read token to .env. It is read only by the setup script and never printed.
  3. Run the setup. It installs CPU PyTorch and Meta's code into tools/sam/.venv and downloads 3.5 GB of weights next to the repository.
shell Windows, from the repository root
.\tools\sam\setup.ps1

After the download, counting sets HF_HUB_OFFLINE=1 and works with the network unplugged. SAM 3 counts still photos. SAM 3.1 is Meta's video tracker and Clearwake does not claim it for photos.

Pack an order

shell
python scripts/dispatch.py pack --order ORDER_ID --capture CAPTURE_ID \
  --item notebook-a5=3:book --photo packing.jpg --sealed \
  --counter sam --save-count
python scripts/dispatch.py show --order ORDER_ID

--item is SKU=QUANTITY:PROMPT. The prompt is the word SAM looks for, and it matters: on the test photo, "book" found 3 notebooks and "notebook" found none. Every prompt run is listed in docs/RESULTS.md. Use --photo-note to say what a photo is when it is not your parcel. It is signed into the receipt.

The receipt clearwake.dispatch.recorded holds the order and capture ids, ordered and counted per item, the prompts, the SHA-256 of each photo, whether the parcel was sealed, the counter, the model, the device, the milliseconds, and the policy hash.

Strong or weak

When the dispute arrives, the Evidence agent checks the receipt. It is strong only if all of these hold: the receipt log verifies, counted equals ordered for every item, the parcel is sealed, a photo hash is on record, the tracking shows SHIPPED or DELIVERED, the order lines match, and the number the buyer wrote matches the order.

A weak proof is never sent. The policy settles by offer or escalates instead.

Dispatch proof, SAM 3 on this machine's CPU, 3 Nov 2026
order   7RV99265V1496281G  capture 4AN16499K3427771T
counted 3 of 3 notebook-a5, scores 0.70, 0.62, 0.59
timing  15.1 s to load, 55.7 s to count, no GPU
receipt 8b92abb9e53a6244
photo   CC0 packing photo of the recorded run

Guide

Mandate receipts

When an agent places an order for its owner, the buyer agent writes a signed mandate receipt into its own chain, with its own key. If the order is later disputed as unauthorised, the merchant's Evidence agent attaches that receipt, and anyone can verify it offline.

The buyer agent has a mandate: an owner, a budget, a per item cap, the merchants it may buy from and the categories it may buy. It refuses anything outside it. The receipt action is clearwake.buyer.mandate and its params are:

ParamMeaning
order_idThe PayPal order the agent paid for
merchantThe merchant id from the catalog
itemThe product id
price_minor, currencyWhat it cost, in integer minor units
budget_minor, per_item_cap_minorThe owner's limits that applied
allowed_categoriesThe categories the mandate allowed
shell mandate checks and the unauthorised order check
python scripts/cases.py --only a,b,j

Buy inside the mandate (a) signs the receipt. Refuse outside the mandate (b) makes no payment. The unauthorised order check (j) disputes an agent order and attaches the receipt, which verifies offline. All three run on local records. To run the buy inside the mandate against the sandbox, add --sandbox --order ORDER_ID with an order the sandbox buyer approved.

Guide

Reconcile an UNKNOWN

If PayPal does not answer, the action may or may not have happened. Clearwake does not guess and does not resend money. It holds the action as UNKNOWN, writes clearwake.refund.unknown, and keeps the reservation so the limits stay safe.

  1. Read PayPal first. Read the capture or refund record (GET /v2/payments/captures/{id}, GET /v2/payments/refunds/{id}) or the dispute (GET /v1/customer/disputes/{id}).
  2. Compare it with what you expected. Only an observed record that compares VERIFIED moves an UNKNOWN to VERIFIED. No record means it stays UNKNOWN.
  3. Only if the policy says retry: safe (evidence, messages), send again with the same PayPal-Request-Id, so PayPal answers with the first result and does not apply it twice. Refunds and offers are retry: never.
StateMeaning
VERIFIEDEvery compared field matches PayPal's record
MISMATCHAt least one compared field differs
UNKNOWNNo record, or a field is missing. Do not retry blind
PENDINGPayPal reports a status still in progress

The same case ran on the real sandbox as an injected fault: the real refund was sent and its reply withheld. Result: 1 refund at PayPal, the second call sent nothing, reconciled to VERIFIED. Dispatch proof submission 2 and submission 3 above show the same rule for evidence.

Guide

Run with the network cut

The network cut run (letter m) runs the agents on an internal Docker network. The egress gateway is the only service with a route out, and it allows only api-m.sandbox.paypal.com. The script then cuts the gateway's outside network in the middle of a batch.

shell needs Docker, keys in .env, a local Ollama model folder
python scripts/airgap.py
python scripts/airgap.py --boundary-only

--boundary-only runs only the boundary checks and leaves the stack up. It makes no sandbox call and sends no refund. Inside the container, CLEARWAKE_EGRESS=host:port points the PayPal transport at the gateway, and ambient proxy settings are never read.

  1. Builds the image and starts the gateway and Ollama.
  2. Checks the boundary: no direct route out, a host off the allowlist is refused and receipted, the local model answers inside.
  3. Runs the network cut run against the sandbox. After the first refund is verified, the gateway is disconnected. Refunds are held as clearwake.offline.held, not UNKNOWN, because the request never left.
  4. Reconnects. Clearwake reads PayPal first, then sends the held refunds with their original request ids.
  5. Verifies every receipt log in a container started with --network none.
Network cut, isolated containers, 31 Oct 2026
boundary  no direct route out (DNS fails); CONNECT example.com:443 through the gateway: 403, receipted
before    refund 6PX35920F4587564U USD 1.00 VERIFIED
22:37:01  gateway disconnected: two USD 1.00 refunds held, offline, still held on a resume call
22:37:17  reconnected: capture read first, refunds 76C086475Y724052F and 9C434129FA2384059 VERIFIED
receipts  34 gateway lines and 12 merchant lines verified with --network none

Every number on the hosted site is read from a recorded run. The network cut as a local run uses a network switch in place of Docker, and its output says so.

Guide

Verify receipts offline

A receipt log is plain text, one JSON object per line. You need the file and the public key you trust. No network and no account.

shell from vendor/verdock-core
cd vendor/verdock-core
python -m verdock_core verify ../../site/receipts/case-n-settle.ndjson \
  --public-key 93980b0de422af30f7bfaaab14c16c06209e71b296119e84d6b02c4c8517e6f9
verified on this machine, offline
line 1: ok
line 2: ok
line 3: ok
line 4: ok
line 5: ok
verified: 5 lines, chain intact, signed by the trusted key

The same check runs in your browser with WebCrypto. The file never leaves your machine. This card uses the site's own verify.js on the recorded settled by offer log.

Settled by offer log, PP-R-OBG-10196144, real sandbox, 3 Nov 2026

Public key 93980b0de422af30f7bfaaab14c16c06209e71b296119e84d6b02c4c8517e6f9

Download the log

Not checked yet

    The "change one value" button flips success on line 2 in memory only. The signature no longer matches and the chain breaks at that line.

    Reference

    Policy file

    The policy is a file the server reads at start. A model never reads or edits it, and no prompt, buyer message or chat can change it. It is YAML (a small subset) or JSON, parsed and checked by vendor/verdock-core/verdock_core/policy.py. Unknown keys are rejected. Amounts are integers in minor units (cents). Floats, yes, no, null, anchors and flow lists are rejected.

    KeyTypeMeaning
    versionintegerRequired. Must be 1.
    operations.NAME.leveltextRequired. Assist, Draft, Execute with Approval or Execute within Limits. Assist and Draft never execute.
    operations.NAME.max_amount_minorintegerOptional. Above it the action is refused.
    operations.NAME.approval_above_minorintegerOptional. Above it a person must approve that exact action.
    operations.NAME.currency3 capitalsOptional. Another currency is refused.
    operations.NAME.retrytextOptional. never (default) or safe.
    caps.per_customer_per_day_minorintegerOptional. A daily total per customer.
    egress.allow_hostslist of hostsOptional. The only hosts the egress gateway may reach. Without it nothing may leave.

    Each decision returns one of: within limits, approval required by level, approval required above threshold, above limit, currency mismatch, invalid amount, draft only or unknown operation.

    The policy hash is the SHA-256 of the checked policy as JSON with sorted keys and no spaces. It is written into the params of every receipt as policy_hash, so a receipt shows which rules were in force. Changing any level, limit, currency, retry rule or cap changes the hash.

    The code also has a hard cap of USD 5.00 per refund (LIMIT in clearwake/paypal.py) that no file can raise. The refund workroom reads a second file, policy/autonomy.json: refund.limit.max up to 5.00, approval_expires_seconds from 30 to 900, and retry must be never.

    policy/merchant.yaml as in the repository
    version: 1
    operations:
      refund:
        level: Execute within Limits
        max_amount_minor: 500
        approval_above_minor: 200
        currency: USD
        retry: never
      accept_claim:
        level: Execute within Limits
        max_amount_minor: 500
        approval_above_minor: 200
        currency: USD
        retry: never
      provide_evidence:
        level: Execute within Limits
        retry: safe
      make_offer:
        level: Execute within Limits
        max_amount_minor: 500
        approval_above_minor: 300
        currency: USD
        retry: never
      send_message:
        level: Execute within Limits
        retry: safe
      propose_resolution:
        level: Draft
        retry: never
    caps:
      per_customer_per_day_minor: 600
    egress:
      allow_hosts:
        - api-m.sandbox.paypal.com

    Reference

    Receipt format

    Signed, hash chained action receipts in the format of draft-sahu-agent-action-receipts-00. One line of JSON per action. Ed25519 and SHA-256.

    FieldTypeMeaning
    step_idtextWhat step this is, for example PP-R-OBG-10196144:offer
    action_idtextWhat happened, for example clearwake.dispute.offer_sent
    paramsany JSONThe facts. Keys are sorted at every depth when signing.
    successtrue or falseWhether the action held up when checked
    ts_msintegerMilliseconds since the Unix epoch
    actorobjectOptional. agent and user, both text
    prev_hash64 hexSHA-256 of the exact bytes of the line before. Absent on line 1.
    public_key64 hexThe Ed25519 public key, 32 bytes
    signature128 hexThe Ed25519 signature, 64 bytes
    • Integers only. A non integer number anywhere in a line is rejected, so the Python and browser verifiers always agree. Money is in minor units.
    • Signed bytes: compact JSON of step_id, action_id, params, success, ts_ms, actor (agent, then user) and prev_hash, in that order, leaving out any that are absent.
    • Other members are added. They are not signed, but the next line's prev_hash covers them.
    • Limit: a log with its newest lines removed still verifies. Keep the head digest somewhere else to catch that.
    one line of case-n-settle.ndjson, pretty printed
    {
      "step_id": "PP-R-OBG-10196144:offer",
      "action_id": "clearwake.dispute.offer_sent",
      "params": {
        "dispute": "PP-R-OBG-10196144",
        "offer_minor": 250,
        "currency": "USD",
        "policy_hash": "396af6170103c7e2570b7c4f159e18543160e14127a05f873135a366bd7af271"
      },
      "success": true,
      "ts_ms": 1793704312548,
      "actor": { "agent": "clearwake-merchant", "user": "merchant" },
      "prev_hash": "30f0a49a4b61f8e0fe415c65785bba948e7db71143623a4c60a3e2ed7490d579",
      "public_key": "93980b0de422af30f7bfaaab14c16c06209e71b296119e84d6b02c4c8517e6f9",
      "signature": "f2e8845b5eb4754352117aab1c95e3f922dd6bef3a7d51c8b19028a3410e819f
    d1f060a31f6cd86e50b9f36490e1869a488b0839716f07e6c24925bc86762a0a"
    }
    Two receipt lines chainedLine 4 and line 5 of the settled by offer log. The prev_hash of line 5 is the SHA-256 of the exact bytes of line 4. A change to line 4 changes that hash and breaks line 5. line 4, clearwake.dispute.settlementsuccess false, PENDINGprev_hashfrom line 3signatureEd25519, 128 hex line 5, clearwake.dispute.settlementsuccess true, VERIFIEDprev_hashSHA-256(line 4 bytes)signatureEd25519, 128 hex hashChange one byte of line 4 and line 5 no longer matches.

    One line of the file, pretty printed. In the file it is one line, and the signature is one 128 character string.

    Reference

    Events

    Each action_id below is written by the code in clearwake/. A failed check is written with success false.

    action_idWritten when
    clearwake.decider.proposalThe model or scripted rule proposes a refund path
    clearwake.policy.refusedThe policy refuses: above limit, wrong currency
    clearwake.invariant.refusedA swarm limit stops an amount (capture total, daily cap)
    clearwake.refund.blockedThe capture read before the refund failed. Nothing sent
    clearwake.approval.requestedAn action waits in the approval inbox
    clearwake.approval.usedA person's approval was used once, for that exact action
    clearwake.refund.checkedPayPal's refund record was read and compared
    clearwake.refund.unknownThe refund response was lost. Held, not retried
    clearwake.offline.heldThe request never left the network. Held
    clearwake.offline.reconciledAfter reconnecting, PayPal's record was read first
    clearwake.dispute.proposalA proposal for a dispute past the INQUIRY stage
    clearwake.dispute.decisionThe policy decision at INQUIRY: settle, fight or escalate
    clearwake.dispute.escalatedSent to the owner with the seconds left
    clearwake.dispute.offer_sentAn offer went to PayPal
    clearwake.dispute.message_checkedThe sent message was looked for in PayPal's record
    clearwake.dispute.settlementPayPal's record read after an offer: PENDING or VERIFIED
    clearwake.dispute.refused_by_paypalPayPal refused an offer or evidence. Nothing applied
    clearwake.dispute.dispatch_checkedThe dispatch receipt was checked against the claim
    clearwake.dispute.evidence_checkedThe evidence was looked for in PayPal's record
    clearwake.dispute.supporting_infoA tracking note went in as supporting info
    clearwake.dispute.checkedThe dispute was read back after an action
    clearwake.dispatch.recordedA parcel was counted and signed at packing
    clearwake.buyer.mandateThe buyer agent signed a purchase inside its mandate

    Reference

    API reference

    The calls Clearwake makes, each with a request you can copy and the response that was recorded on the real sandbox. Replay shows a recorded response again. It sends nothing. Responses list only the fields that were read back in the run, not the full body. Set ACCESS_TOKEN from POST /v1/oauth2/token with your client id and secret, use a new UUID for REQUEST_ID, and set the other shell variables a request names (NOTE, NOTES, TRACKING) before you run it. Bodies are written as here documents, so each variable expands inside the JSON.

    GET /v2/payments/captures/{id}

    Read a capture. Clearwake does this before every refund, and again to reconcile. A capture that is not COMPLETED is refused.

    curl https://api-m.sandbox.paypal.com/v2/payments/captures/$CAPTURE_ID \
      -H "Authorization: Bearer $ACCESS_TOKEN"
    from clearwake import envfile
    from clearwake.paypal import SandboxGateway
    
    envfile.load(".env")
    gw = SandboxGateway.from_environment()
    capture = gw.capture("1PH921107B839311S")
    print(capture["status"])
    fields read back, not the raw body
    GET /v2/payments/captures/1PH921107B839311S
      status  COMPLETED                    (31 Oct 2026, setup)
      status  PARTIALLY_REFUNDED           (after two refunds of USD 1.00)
    
    GET /v2/payments/captures/96H267908A407644D
      status  PENDING
      Clearwake: capture status PENDING. Nothing was sent.

    Replay shows a recorded response again. No request is sent to PayPal.

    POST /v2/payments/captures/{id}/refund

    One refund, in USD, at most 5.00. The request id is created once and reused on any retry the policy allows. Refunds are never retried.

    curl -X POST https://api-m.sandbox.paypal.com/v2/payments/captures/$CAPTURE_ID/refund \
      -H "Authorization: Bearer $ACCESS_TOKEN" \
      -H "Content-Type: application/json" \
      -H "PayPal-Request-Id: $REQUEST_ID" \
      -H "Prefer: return=representation" \
      --data-binary @- <<EOF
    {"amount":{"value":"1.00","currency_code":"USD"},"custom_id":"$REQUEST_ID"}
    EOF
    import uuid
    
    from clearwake import envfile
    from clearwake.paypal import SandboxGateway
    
    envfile.load(".env")
    gw = SandboxGateway.from_environment()
    request_id = str(uuid.uuid4())
    refund = gw.refund("1PH921107B839311S", "1.00", "USD", request_id)
    print(refund["id"], refund["status"])
    print(gw.refund_record(refund["id"]))   # read PayPal back before calling it done
    fields read back, not the raw body
    POST .../refund  amount USD 1.00
      refund 6PX35920F4587564U
    GET /v2/payments/refunds/6PX35920F4587564U
      Clearwake state  VERIFIED          (network cut, 31 Oct 2026)
    
    Earlier check, 31 Oct 2026
      refunds 79R527888E694933F and 7A545589JM079780C, USD 1.00 each
      read back COMPLETED, linked to the capture

    Replay shows a recorded response again. No request is sent to PayPal.

    GET /v1/customer/disputes/{id}

    Read a dispute. Clearwake acts only on the actions PayPal lists in its links, so this read decides what happens next.

    curl https://api-m.sandbox.paypal.com/v1/customer/disputes/$DISPUTE_ID \
      -H "Authorization: Bearer $ACCESS_TOKEN"
    from clearwake import envfile
    from clearwake.paypal import SandboxGateway
    
    envfile.load(".env")
    gw = SandboxGateway.from_environment()
    dispute = gw.dispute("PP-R-UKF-10195772")
    print(dispute["status"], dispute.get("dispute_life_cycle_stage"))
    print([link["rel"] for link in dispute.get("links", [])])
    fields read back, not the raw body
    GET /v1/customer/disputes/PP-R-UKF-10195772      (3 Nov 2026)
      status                    OPEN
      dispute_life_cycle_stage  INQUIRY
      links offered             provide_evidence, send_message, make_offer,
                                escalate, accept_claim
    
    GET /v1/customer/disputes/PP-R-SLI-10195419      (31 Oct 2026)
      status                    UNDER_REVIEW
      dispute_life_cycle_stage  CHARGEBACK
      links offered             provide_supporting_info only

    Replay shows a recorded response again. No request is sent to PayPal.

    POST /v1/customer/disputes/{id}/make-offer

    Offer the buyer a refund to settle at the INQUIRY stage. Send it alone: PayPal refuses an offer after a seller message. PayPal refunds only if the buyer accepts.

    curl -X POST https://api-m.sandbox.paypal.com/v1/customer/disputes/$DISPUTE_ID/make-offer \
      -H "Authorization: Bearer $ACCESS_TOKEN" \
      -H "Content-Type: application/json" \
      -H "PayPal-Request-Id: $REQUEST_ID" \
      --data-binary @- <<EOF
    {"note":"$NOTE","offer_type":"REFUND","offer_amount":{"currency_code":"USD","value":"2.50"}}
    EOF
    import uuid
    
    from clearwake import envfile
    from clearwake.paypal import SandboxGateway
    
    envfile.load(".env")
    gw = SandboxGateway.from_environment()
    note = "We offer you USD 2.50 back to settle this case."
    gw.make_offer("PP-R-OBG-10196144", note, "2.50", "USD", str(uuid.uuid4()))
    # then read the dispute back: only PayPal's record says it is settled
    print(gw.dispute("PP-R-OBG-10196144")["status"])
    fields read back, not the raw body
    POST .../make-offer after a seller message       (3 Nov 2026, first run)
      422 UNPROCESSABLE_ENTITY ACTION_NOT_ALLOWED_IN_CURRENT_DISPUTE_STATE
      nothing applied
    
    POST .../make-offer, the offer alone, USD 2.50
      accepted
    GET  /v1/customer/disputes/PP-R-OBG-10196144
      status UNDER_REVIEW   stage INQUIRY            Clearwake state PENDING
      status RESOLVED       stage INQUIRY
      outcome RESOLVED_BUYER_FAVOUR                  Clearwake state VERIFIED
      refund 0TB11858A85953644

    Replay shows a recorded response again. No request is sent to PayPal.

    POST /v1/customer/disputes/{id}/provide-evidence

    Evidence as multipart: part input is JSON, each photo is an evidence-file part. Send one merged entry, because PayPal needs an item_id when there are several.

    cat > input.json <<EOF
    {"evidences":[{"evidence_type":"PROOF_OF_FULFILLMENT","evidence_info":{"tracking_info":[{"carrier_name":"UPS","tracking_number":"$TRACKING"}]},"notes":"$NOTES","documents":[{"name":"packing.jpg"}]}]}
    EOF
    curl -X POST https://api-m.sandbox.paypal.com/v1/customer/disputes/$DISPUTE_ID/provide-evidence \
      -H "Authorization: Bearer $ACCESS_TOKEN" \
      -H "PayPal-Request-Id: $REQUEST_ID" \
      -F "input=<input.json;type=application/json" \
      -F "evidence-file=@packing.jpg;type=image/jpeg"
    import uuid
    
    from clearwake import envfile
    from clearwake.paypal import SandboxGateway
    
    envfile.load(".env")
    gw = SandboxGateway.from_environment()
    tracking = "1Z999AA10123456784"                 # your carrier tracking number
    notes = "Shipped by UPS. The packing photo is attached."
    request_id = str(uuid.uuid4())                    # keep it, and reuse it on a retry
    entry = {"evidence_type": "PROOF_OF_FULFILLMENT",
             "evidence_info": {"tracking_info": [{"carrier_name": "UPS", "tracking_number": tracking}]},
             "notes": notes, "documents": [{"name": "packing.jpg"}]}
    gw.provide_evidence("PP-R-UKF-10195772", [entry], request_id,
                        files=[("packing.jpg", open("packing.jpg", "rb").read(), "image/jpeg")])   # packing.jpg is your photo, next to the script
    fields read back, not the raw body
    submission 1  two evidence entries
      400 INVALID_REQUEST ITEM_ID_IS_MANDATORY_FOR_MULTIPLE_EVIDENCES
      nothing applied
    submission 2  one merged entry
      response lost. Clearwake state UNKNOWN. The dispute showed nothing had landed.
    submission 3  same PayPal-Request-Id
      HTTP 200 in 4.2 s
    GET /v1/customer/disputes/PP-R-UKF-10195772
      evidence PROOF_OF_FULFILLMENT, source SUBMITTED_BY_SELLER, 3 Nov 2026 10:13 UTC
      document packing-photo-893632548b14c5d5.jpg
      status WAITING_FOR_BUYER_RESPONSE   stage INQUIRY

    Replay shows a recorded response again. No request is sent to PayPal.

    POST /v1/customer/disputes/{id}/provide-supporting-info

    Notes only, no files. PayPal offers this once a dispute is under review and no longer offers provide-evidence.

    cat > input.json <<EOF
    {"notes":"$NOTES"}
    EOF
    curl -X POST https://api-m.sandbox.paypal.com/v1/customer/disputes/$DISPUTE_ID/provide-supporting-info \
      -H "Authorization: Bearer $ACCESS_TOKEN" \
      -H "PayPal-Request-Id: $REQUEST_ID" \
      -F "input=<input.json;type=application/json"
    import uuid
    
    from clearwake import envfile
    from clearwake.paypal import SandboxGateway
    
    envfile.load(".env")
    gw = SandboxGateway.from_environment()
    notes = "Shipped by UPS. Tracking 1Z999AA10123456784 shows the parcel as delivered."
    gw.provide_supporting_info("PP-R-SLI-10195419", notes, str(uuid.uuid4()))
    fields read back, not the raw body
    POST .../provide-supporting-info        (item not received, PP-R-SLI-10195419, 31 Oct 2026)
    GET  /v1/customer/disputes/PP-R-SLI-10195419
      note shown as SUBMITTED_BY_SELLER at 2026-10-31T10:31:38Z
      Clearwake state VERIFIED

    Replay shows a recorded response again. No request is sent to PayPal.

    POST /v2/checkout/orders/{id}/track

    Add tracking to an order. Clearwake reads trackers back from the order when it builds evidence.

    curl -X POST https://api-m.sandbox.paypal.com/v2/checkout/orders/$ORDER_ID/track \
      -H "Authorization: Bearer $ACCESS_TOKEN" \
      -H "Content-Type: application/json" \
      -H "PayPal-Request-Id: $REQUEST_ID" \
      --data-binary @- <<EOF
    {"capture_id":"$CAPTURE_ID","tracking_number":"$TRACKING","carrier":"UPS","notify_payer":false}
    EOF
    import uuid
    
    from clearwake import envfile
    from clearwake.paypal import SandboxGateway
    
    envfile.load(".env")
    gw = SandboxGateway.from_environment()
    order_id, capture_id = "7RV99265V1496281G", "4AN16499K3427771T"   # from your sandbox order
    tracking_number = "1Z999AA10123456784"
    gw.add_tracking(order_id, capture_id, tracking_number, "UPS", str(uuid.uuid4()))
    print(gw.order(order_id))
    fields read back, not the raw body
    POST .../track, carrier UPS           (31 Oct and 3 Nov 2026)
    GET  /v2/checkout/orders/7RV99265V1496281G
      tracker shown by PayPal as SHIPPED

    Replay shows a recorded response again. No request is sent to PayPal.

    Every path the transport allows

    Every call goes to https://api-m.sandbox.paypal.com. The transport in clearwake/paypal.py allows only these paths: HTTPS, no query string, no redirects, no proxy except the egress gateway, a 15 second timeout, and a response of at most 262,144 bytes. Any other path is refused before it is sent. POST calls carry a PayPal-Request-Id.

    Method and pathUsed for
    POST /v1/oauth2/tokenClient credentials token
    GET /v2/payments/captures/{id}Capture read before every refund, and to reconcile
    POST /v2/payments/captures/{id}/refundOne refund, USD, at most 5.00
    GET /v2/payments/refunds/{id}Read the refund back
    POST /v2/checkout/ordersOne time setup order (sandbox)
    GET /v2/checkout/orders/{id}Order lines and trackers
    POST /v2/checkout/orders/{id}/captureCapture a setup order
    POST /v2/checkout/orders/{id}/trackAdd tracking to an order
    GET /v1/customer/disputesList disputes
    GET /v1/customer/disputes/{id}Read a dispute and the actions PayPal offers
    POST /v1/customer/disputes/{id}/make-offerOffer a refund to settle at INQUIRY
    POST /v1/customer/disputes/{id}/send-messageMessage the buyer at INQUIRY
    POST /v1/customer/disputes/{id}/provide-evidenceEvidence from the record, multipart, one merged entry
    POST /v1/customer/disputes/{id}/provide-supporting-infoNotes once a dispute is under review
    POST /v1/customer/disputes/{id}/accept-claimAccept and refund inside the limit
    POST /v1/customer/disputes/{id}/adjudicateSandbox only: finish a test dispute

    Reference

    Error explorer

    Search a PayPal error or a Clearwake outcome. Each entry says where it was seen, the cause and the fix. Only errors seen in real runs or raised by the code are here.

    1. 422 ACTION_NOT_ALLOWED_IN_CURRENT_DISPUTE_STATE

      Real sandbox, settled by offer, PP-R-OBG-10196144, 3 Nov 2026

      Cause
      An offer was sent after a seller message. PayPal allows an offer only in an inquiry that waits for the seller.
      Fix
      Send the offer alone, first. Clearwake does this now and writes the refusal to the receipts as clearwake.dispute.refused_by_paypal.
    2. 400 INVALID_REQUEST ITEM_ID_IS_MANDATORY_FOR_MULTIPLE_EVIDENCES

      Real sandbox, dispatch proof, PP-R-UKF-10195772, 3 Nov 2026

      Cause
      Two evidence entries were sent, and the disputed item shows no item id.
      Fix
      Send one merged entry with the tracking, the notes and the documents together.
    3. 400 No permissions to set target_client_id

      Real sandbox, 31 Oct 2026

      Cause
      Creating a dispute for the buyer with a buyer assertion. The app's token has disputes/create, update-seller and read-seller, not update-buyer.
      Fix
      The sandbox buyer opens disputes in the Resolution Center. Clearwake handles them from there.
    4. 400 TRANSACTION_NOT_ELIGIBLE

      Real sandbox, 31 Oct 2026

      Cause
      The same create call without the assertion.
      Fix
      Same as above.
    5. capture status PENDING

      Real sandbox, network cut, second run, 31 Oct 2026

      Cause
      The configured capture was PENDING, and the capture read before the refund refused it.
      Fix
      Put a COMPLETED capture in PAYPAL_SANDBOX_CAPTURE_ID.
    6. Capture preflight failed. Nothing was sent.

      Real sandbox, 31 Oct 2026, first run of the three refund runs

      Cause
      Clearwake will not fetch a token in the moment before a POST. The capture read failed, so the refund was held.
      Fix
      Run it again. Nothing reached PayPal, so there is nothing to reconcile.
    7. Offline: the request did not leave this network.

      Network cut run, 31 Oct 2026

      Cause
      The egress gateway refused the tunnel or nothing could be reached. The request never left.
      Fix
      It is held as clearwake.offline.held. After reconnecting, Clearwake reads PayPal first, then sends with the original request id.
    8. The sandbox response is uncertain. No automatic retry was sent.

      Lost reply: reconciled refund of 31 Oct 2026, and dispatch proof submission 2 of 3 Nov 2026

      Cause
      The request may or may not have been applied.
      Fix
      State UNKNOWN. Read PayPal first. Retry only if the policy says retry: safe, with the same PayPal-Request-Id.
    9. 403 from the egress gateway

      Network cut run, example.com through the gateway

      Cause
      The host is not in egress.allow_hosts.
      Fix
      Expected. Only api-m.sandbox.paypal.com passes.
    10. PAYPAL_BASE_URL must be exactly the sandbox host

      code Raised at start by the code

      Cause
      The base url is not https://api-m.sandbox.paypal.com.
      Fix
      Set PAYPAL_BASE_URL to the sandbox host. Clearwake never runs against anything else.
    11. Explicit sandbox-only acknowledgement is required

      code Raised at start by the code

      Cause
      CLEARWAKE_SANDBOX_ACK is not set to I_CONFIRM_SANDBOX_ONLY.
      Fix
      Set it in .env.
    12. UNKNOWN

      code Clearwake outcome

      Cause
      There is no observed record, or a compared field is missing. The action may or may not have happened.
      Fix
      Do not retry blind. Read PayPal's record and compare.
    13. MISMATCH

      code Clearwake outcome

      Cause
      At least one compared field differs from PayPal's record.
      Fix
      Treat it as not done as expected. Read the record and decide with the owner.
    14. PENDING

      code Clearwake outcome

      Cause
      PayPal reports a status still in progress, for example a dispute UNDER_REVIEW after an offer.
      Fix
      Wait and read again. Only RESOLVED counts as settled.
    15. above limit

      code Policy decision

      Cause
      The amount is higher than max_amount_minor for that operation.
      Fix
      Nothing is sent. Change the file and restart, or let the owner decide.
    16. approval required above threshold

      code Policy decision

      Cause
      The amount is above approval_above_minor.
      Fix
      It waits in the approval inbox. One approval, one exact action.

    Reference

    Recorded sandbox log

    Every row is a recorded run unless it says otherwise. IDs are PayPal sandbox ids. Test money only. Sources: docs/SANDBOX_RUN.md, docs/RESULTS.md.

    DateCaseWhat PayPal answered
    31 OctSetupOrder 1DW875094F275773J, USD 20.00, approved by the sandbox buyer. Capture 1PH921107B839311S COMPLETED.
    31 OctFour case check4 of 4 PASS. Refunds 79R527888E694933F and 7A545589JM079780C, USD 1.00 each, read back COMPLETED. Capture PARTIALLY_REFUNDED.
    31 OctcRefund 6SN41486G5579815G VERIFIED.
    31 OctdRefund 2NB27940EC188891M VERIFIED after approval.
    31 Octe, injected fault in sandboxReal refund sent, reply withheld. 1 refund at PayPal, second call sent nothing, reconciled to VERIFIED.
    31 OctiDispute PP-R-SLI-10195419 was UNDER_REVIEW, stage CHARGEBACK. Only provide_supporting_info was offered. Note shown as SUBMITTED_BY_SELLER at 10:31:38Z. VERIFIED.
    31 OctCreate a dispute by API400 No permissions to set target_client_id. Without the assertion, 400 TRANSACTION_NOT_ELIGIBLE.
    31 Octm, network cutRefund 6PX35920F4587564U VERIFIED. Cut at 22:37:01, two refunds held. Restored at 22:37:17, 76C086475Y724052F and 9C434129FA2384059 VERIFIED.
    3 Novn, first runMessage, then offer: 422 ACTION_NOT_ALLOWED_IN_CURRENT_DISPUTE_STATE. Nothing applied.
    3 Novn, offer aloneOffer USD 2.50 accepted. UNDER_REVIEW, then RESOLVED (RESOLVED_BUYER_FAVOUR) at INQUIRY. Refund 0TB11858A85953644. PASS.
    3 Novo, submission 1400 INVALID_REQUEST ITEM_ID_IS_MANDATORY_FOR_MULTIPLE_EVIDENCES. Nothing applied.
    3 Novo, submission 2Response lost. UNKNOWN. The dispute showed nothing had landed.
    3 Novo, submission 3Same request id. HTTP 200 in 4.2 s. PROOF_OF_FULFILLMENT with packing-photo-893632548b14c5d5.jpg. PASS.

    The ten case batch of 11 Nov 2026 ran on the real PayPal sandbox: its agents decided with a local model (qwen3.5:4b, 24 model calls, 0 scripted decisions) and PayPal reads RESOLVED at INQUIRY on four of the ten. The settled by offer run and the dispatch proof run passed on the real sandbox on 3 Nov 2026 with rule based deciders. The near deadline run is a local run. The receipts of the network cut, the settlement and the dispatch proof are in site/receipts/ and verify in your browser above.

    Reference

    Changelog

    Milestones from docs/HACKATHON_UPDATES.md and the git history, oldest first, up to 12 Nov 2026. Dates are commit dates. Every commit is dated after the submission period opened on 1 October 2026.

    DateCommitChange
    2026-10-305586442Clearwake: shared refund workroom extending the pinned Relayloom core
    2026-10-301fbf0beAdd real PayPal sandbox setup and four case sandbox check
    2026-10-30b68f331Add autonomy policy with recorded approvals
    2026-10-31f690c63Refuse to run unless PAYPAL_BASE_URL is exactly the PayPal sandbox
    2026-10-31e0fdf83Pin the shared verdock-core engine v0.1.0 as a submodule
    2026-10-31d86176bCase runner for a to l and a capture preflight before every swarm refund
    2026-10-31582c222Answer disputes under review with supporting info PayPal offers, verified by read-back
    2026-10-312776a66Settle disputes in conversation before they become claims, held offline when the network is cut
    2026-10-31864e6e8Network isolated run for the network cut, the settled by offer and network cut runs in the runner, and the fee leak gauge
    2026-10-3112ebb23Public site for Vercel: the fee leak with sources, the recorded sandbox run and an in-browser receipt verifier
    2026-11-01426a0f5Dispatch proof: signed packing record, strong or weak check against a buyer's claim, evidence with the photo, the dispatch proof run
    2026-11-030f884b6Dispatch proof run for real: SAM 3 counted a CC0 test photo on the CPU and PayPal's sandbox accepted the evidence with the photo
    2026-11-030ad7ba5Settle offer goes first and alone: PayPal refuses an offer after a seller message
    2026-11-031ebda16Record the real settled by offer run: settlement paid, case RESOLVED at INQUIRY; report paid settlement as pending until PayPal reads RESOLVED
    2026-11-03a70a542Publish the real settled by offer receipts on the site
    2026-11-09ce2d0c7Redesign: Figtree type, an editorial site (home, control room, developers) and a restyled console
    2026-11-104cd343aThe console is the product: AG Grid dispute ledger with countdown and CSV on site and console, hosted mode, baseline against Clearwake over 200 episodes, Channel3 price reference with a credit cap
    2026-11-10fcdb979Ten item not received cases with Add Tracking and paired receipts, plain words rules, voice and phone mode, measured merchant AI
    2026-11-11a836987Real ten case sandbox batch, owner and agents scene on case 3, MCP guard, APIMatic and Postman records
    2026-11-112df50ebDrop in guard for toolkit agents, the Break it page, the final check gate and a Render blueprint without keys
    2026-11-11184e743Holographic portraits for the owner and both agents, wake on batch case 3, Control Room ledger first, APIMatic portal link and Context Plugin record
    2026-11-116afaa06Anatomy diagram of one real dispute
    2026-11-1140771bdHome numbers: six sourced facts led by the baseline, handled with no error, and settled at INQUIRY
    2026-11-11cd82f9bAnatomy as an exploded view: assembled unit in the centre, six layers split left and right, layer switch
    2026-11-11a7157d9Numbers first on every page, 4 of 4 inside the owner's limit, console tally generated from run files, nine slide deck
    2026-11-114515c44Network cut diagram rebuilt, console tally served as a static file
    2026-11-128c69d2cOld names replaced across code, tests, scripts and docs; recorded files written before the change still load

    Reference

    Spec, collection and SDKs

    The console API is described in OpenAPI 3.1. Download the spec, open the API portal, or generate a client with APIMatic.