Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

test(okx): stop the payment gauntlet from testing the wrong side of the acceptance line

nirholas048bc3af0d7f
diff --git a/docs/okx-marketplace.md b/docs/okx-marketplace.md
index 964793aa7..9dec9fe23 100644
--- a/docs/okx-marketplace.md
+++ b/docs/okx-marketplace.md
@@ -305,8 +305,10 @@ The buyer flow is the same for all of them: unpaid `POST` → 402 → sign
Generation-grade services reply `{status:"queued", job_id, poll_url}` and polling
`GET https://three.ws/api/forge?job=<job_id>` is free; fast services (`retarget`,
`pose-seed`) reply `{status:"done", …}` inline. Settlement happens **after** the engine
-accepts the job, so invalid input, the avatar humanoid gate, or an engine failure answers
-before settlement and never charges.
+accepts the job, so invalid input, the avatar humanoid gate, or an engine failure at
+acceptance answers before settlement and never charges. The same acceptance line applies
+here as on the listed rows: a job that fails later, during generation, has been charged
+(see [Payment semantics](#payment-semantics)).
---
diff --git a/prompts/finish/_context/okx-ai-PROGRESS.md b/prompts/finish/_context/okx-ai-PROGRESS.md
index 9485d1f5d..ef4b76c2e 100644
--- a/prompts/finish/_context/okx-ai-PROGRESS.md
+++ b/prompts/finish/_context/okx-ai-PROGRESS.md
@@ -6,6 +6,94 @@ Work Order 04 session, no earlier entries existed because no earlier work order
---
+## 2026-09-09, backlog-08 re-verified with no `gcloud`: the host is unchanged, the lane chain is committed but has never shipped
+
+Independent re-measurement of the chat-bot work order a few hours after the entry below it,
+by a session that could not use `gcloud` at all: the workspace's user credential and its ADC
+both answer `Reauthentication failed. cannot prompt during non-interactive execution`, and a
+peer session recorded the same block on an unrelated read (`6e45a8b42`). So none of the
+`gcloud run services describe` reads that earlier entries lean on were available here.
+
+**That turned out not to matter, and the substitute path is worth keeping.** Everything the
+work order asks about is readable without a Google credential:
+
+| Read | Command | Value, 2026-09-09 14:48 UTC |
+|---|---|---|
+| Host identity and uptime | `SELECT meta FROM bot_heartbeat WHERE worker='okx-chat-bot'` | `cloudrun:okx-chat-bot (okx-chat-bot-00001-926)`, `hostDurable: true`, `bootAt 2026-09-05T00:33Z` |
+| Beat freshness | same row's `last_beat_at` | 17 s old |
+| Delivery | same row | `loggedIn: true`, `activeClients: 1`, `agentCount: 1`, `daemonRestarts: 0` |
+| Reply lane | same row | `providerVerdict: unauthorized`, probed 2 min earlier |
+| Platform view | `curl -s https://three.ws/api/healthz` | `okx_chat_bot` degraded, quoting the dunning 403 |
+| Alerting | `SELECT ... FROM ops_alerts WHERE title ILIKE '%OKX%'` | the worker's own alert at `x22` since 2026-09-04, plus an hourly re-escalation row from `uptime-check` |
+| Service exists | `curl https://okx-chat-bot-93741856042.us-central1.run.app/readyz` | `403` (the service is there; only the identity token was missing) |
+
+### The finding: the running revision predates the AI-lane chain
+
+`ad723e87f` (committed 14:06 today) gave the worker an ordered provider chain, and
+`heartbeat()` in that code writes `providerLane` and `providerChain` into the beat. **The live
+beat carries neither key**, and both would serialize even when empty (`null` and `[]`). So the
+revision serving today is the single-lane 2026-09-04 build: it is pinned to Vertex, and it
+cannot pick up a funded lane even if the owner funds one. The chain exists only in git.
+
+That makes the deploy the load-bearing half of the handoff, not a formality. It also gives
+future sessions a way to tell which code a Cloud Run worker is running without `gcloud`:
+**diff the heartbeat meta's key set against `heartbeat()` in the tree.**
+
+### The block is platform-wide, not OKX-specific
+
+`ops_alerts` says so in the platform's own words, no probing needed:
+
+- `LLM providers DOWN`, count **657**, last seen 14:00 today:
+ `openrouter: 402 Payment Required | openai: 429 Too Many Requests | vertex-gemini: 403 Forbidden`.
+- `agent-sniper: named LLM judges are NOT answering`, count **1105**: 144/144 verdicts served
+ by the free fallback chain.
+
+So the same hold that silences this bot has also taken out the platform's LLM reliability
+anchor, and the free-first chain in `api/_lib/llm.js` is what is keeping user-facing AI up.
+Clearing the GCP billing hold is one action that fixes both. Nothing else here is engineering.
+
+### Definition of done, line by line
+
+| Line | Verdict |
+|---|---|
+| `npm run okx:bot` exits 0, chat delivery verified end to end | **Superseded and blocked.** `okx:bot` is the codespace stopgap and must stay stopped (`pgrep` confirms nothing local is running; Cloud Run is the sole GCS state writer). Inbound delivery is proven by `activeClients: 1`; the reply half cannot pass while no lane is funded |
+| Runs on an always-on host | **DONE**, 4.6 days of continuous beats, 0 daemon restarts |
+| Workspace carries real three.ws context | **Mechanical half done.** `buildChatBriefing()` renders 10,068 bytes naming three.ws, the forge and agent #2632, and its source module is `JSON.stringify`-identical to what `GET /api/okx/3d/catalog` serves in production, so the briefing rebuilt on every boot cannot quote a stale price. Asking the bot a question needs a funded lane |
+| Health endpoint plus an alert on an offline session | **DONE**, and proven from two independent paths: the worker's own `sendOpsAlert` row (deduped to one row at `x22`) and `uptime-check`'s hourly subsystem re-escalation |
+| PROGRESS updated with host details | **DONE** (the entry below plus this one) |
+
+`tests/okx-chat-bot.test.js`: 71 pass.
+
+### Fixed here
+
+Two documents were telling the next agent to do something now unsafe or untrue.
+
+`STRUCTURE.md` line 81 still read `Built · deploy owner-gated` five days after the service went
+live, and still described Vertex as "the deploy's transport ... no secret to mint", which the
+chain commit made false. Both corrected, with the live per-lane refusals named so the next
+reader does not re-probe them.
+
+RUNBOOK section 0.5 opened by describing the bot as "a LOCAL `okx-a2a` daemon", led with
+`npm run okx:bot`, and closed by recommending it "before an OKX retest window". Following that
+today starts a **second writer** against the GCS state object and the XMTP identity that Cloud
+Run owns, which `--max-instances=1` exists to prevent. The section now opens with that warning,
+demotes the whole local path to an emergency used only when the Cloud Run host is gone, and
+carries the two `gcloud`-free reads used above. (The backlog work order carried the same
+hazardous "do this first" instruction; it was not edited because the owner retired every file in
+`prompts/finish/` the same day, so the durable homes are this log, the INDEX and the RUNBOOK.)
+
+### What is left, and who owns it
+
+1. **Owner: fund one AI lane.** Clearing the GCP billing hold is the one that also restores the
+ platform's Vertex anchor. OpenRouter credit or an OpenAI reactivation each work too.
+2. **Owner: deploy the worker**, so the chain from `ad723e87f` is actually running:
+ `gcloud builds submit --config workers/okx-chat-bot/cloudbuild.yaml --region us-central1 --project aerial-vehicle-466722-p5 --substitutions=SHORT_SHA=manual$(date +%s) .`
+ Order does not matter: whichever lands second is picked up on the next 15-minute election.
+3. **Owner or a session with a browser: `gcloud auth login`.** Every `gcloud` read in this
+ runbook is unavailable in this workspace until that is redone.
+
+---
+
## 2026-09-09, WO-07 final audit: the listing OKX stores fails OKX's own description rule, and nothing was comparing that copy
Third OKX session on this date; two peers were running WO-04 and WO-05 in this worktree at the
@@ -3510,6 +3598,94 @@ login URL, and a clean SIGTERM (daemon stopped, then exit). 29 unit tests pass
**Not committed.** The diff names a marketplace outside the `$THREE` ecosystem, so the
CLAUDE.md commit gate applies and the owner has to approve it first.
+## 2026-09-09, Work Order 04 (later session): every unfunded leg green, and case 6 was found testing the wrong side of the acceptance line
+
+Re-ran the whole no-money half of the gauntlet against production, root-caused a defect in
+the paid half BEFORE spending on it, and stopped at the one stop-and-ask gate. Nothing was
+simulated in place of a real payment; no on-chain write was attempted.
+
+### Step 0 preconditions, all verified live today
+
+| Check | Result |
+| --- | --- |
+| `onchainos --version` / `wallet status` | 4.5.2, `loggedIn: true` as `[email protected]`. **The OTP gate from the 2026-08-01 session is discharged.** |
+| `GET /api/okx/3d/health` | 200, six subsystems, `payment-rail settleable: true`, block 70196288 |
+| `GET /api/okx/3d/catalog` | 200, 7 rows, byte-identical to `catalogIndex()` |
+| 402 sweep, 4 listed paid rows, MCP headers sent | all 402, `accepts[0].network = eip155:196`, amounts byte-exact (10000 / 50000 / 250000 / 250000), `payTo` `0x4022de2D...f402` unchanged. Evidence: `96-2026-09-09-402-sweep.txt` |
+| `npx vitest run tests/api/okx-3d-services.test.js` | 36 passed |
+| `npm run okx:three-copy` | module == live == submission. The only divergence is the known stale on-chain DESCRIPTIONS, owned by work order 08, not by this one. |
+| `node scripts/okx-e2e-gauntlet.mjs --dry-run` | 4/4 unfunded cases PASS (1, 1d, 5d, 7); the other ten are the paid legs |
+| `scripts/okx-verify-glb.mjs` controls | 4/4 correct: michelle.glb 0 and 0 `--rigged`, mannequin.glb 0 and 1 `--rigged`, an error JSON named `.glb` exits 1, a 404 exits 2 |
+
+### The defect: case 6 would have spent $0.25 to prove the opposite of our promise
+
+Case 6 asserts the pay-on-acceptance promise by forcing a job to fail after payment verifies
+and checking the EIP-3009 nonce is still unredeemed. It forced that failure with an
+`image_urls` entry that 404s. **Measured against production: that input does not fail.**
+`POST /api/forge` with a 404 image URL answers `200 queued` (job `f1.eyJwIjoiZ2NwIi...`,
+creation `67c9d5ad-e14c-466b-97b9-b48d00006baa`); validation on that lane is format-only and
+never fetches the image. The job would have been accepted, settled, and failed later in
+generation, which is the CHARGED side of the line `docs/okx-marketplace.md` documents.
+
+Fixed by moving case 6 to `forge-draft` ($0.01) with a whitespace-only prompt: it clears the
+tool's JSON schema (minLength counts the spaces, so a real payable 402 is still issued,
+confirmed by Ajv against the live schema and by a 402 from production) and is then refused
+inside the handler with `invalid_input` before the lane is asked for any work. Both hops are
+now covered by a unit test in `tests/api/okx-forge.test.js` (46 passed), so the premise cannot
+rot silently. Float floor for a clean run drops from $1.32 to $1.08.
+
+### One docs defect fixed in the same pass
+
+`docs/okx-marketplace.md` stated the acceptance line precisely in "Payment semantics" and then
+contradicted it 80 lines later in the REST-rows section ("an engine failure answers before
+settlement and never charges"). A buyer reading only the second paragraph concludes a
+generation failure is refunded. Corrected to name acceptance explicitly and to cross-link the
+precise section. Code and promise now agree everywhere; no code change was needed.
+
+### Two more adversarial cases went green with NO funding
+
+`5b` and `5c` were assumed to need money by every prior session's plan; they do not. The
+`onchainos` CLI signs an EIP-3009 authorization off-chain regardless of balance, and the
+server rejects both before it ever reaches a balance or settlement check, so the pair is fully
+provable at a zero balance and was proved today (`node scripts/okx-e2e-gauntlet.mjs --yes
+--only 5b,5c`, `2/2 cases passed. Settlements: 0`, buyer balance unchanged at 0.000000):
+
+- **5b PASS**: an authorization signed for `forge-draft` (10000) replayed against `forge-hd`
+ answers 402 with a fresh challenge and `signed payment amount 10000 is below required
+ 250000`. Nonce unspent on-chain. Evidence `51-case5b-cross-service.json`.
+- **5c PASS**: an expired authorization answers 402, the message names expiry, and a full
+ fresh challenge is offered. Nonce unspent. Evidence `52-case5c-expired.json`.
+
+**Three of the four adversarial cases (5b, 5c, 5d) are therefore closed without funding.**
+Only 5a still needs it, because replaying a VALID authorization first requires a real
+settlement to replay. Case 6 was deliberately NOT attempted unfunded: at a zero balance verify
+rejects on balance before the handler is reached, so it would pass for the wrong reason and
+the evidence would be worthless. Its handler half is instead covered mechanically by the new
+unit test above.
+
+### Still blocked on exactly one owner action
+
+**5.0 USD₮0 to `0x75d00a2713565171f33216e5aa2a375e076ecf69` on X Layer (chainId 196), token
+`0x779Ded0c9e1022225f8E0630b35a9b54bE713736`.** Buyer holds 0.000000, unchanged for six
+weeks. Details, arithmetic and the optional Solana leg are in
+`prompts/okx-ai/e2e-evidence/FUNDING-REQUEST.md`, refreshed today. Note the money largely
+returns: `payTo` is our own merchant wallet, so a full run costs the platform only gas
+(~0.00002 OKB), and that wallet already holds 2.427731 USD₮0 if funding from there is easier.
+`gcloud` auth is expired in this session, so the merchant key cannot be read here either way.
+
+### GO/NO-GO for OKX-05 / the relisting
+
+**NO-GO on the settlement evidence, unchanged and for the same reason as every prior session:
+no real settlement has ever landed on this rail.** Six of the fourteen cases now pass for real
+against production with no funding (1, 1d, 5b, 5c, 5d, 7). The eight that remain (2, 2b, 3,
+3i, 3r, 4, 5a, 6) are written, wired and budget-checked, and they are unproven until they
+spend. `docs/okx-marketplace.md` still carries no "verified behavior" section, deliberately:
+writing settlement timing and replay protection from intention rather than from a tx hash is
+exactly what this work order forbids.
+
+Agent #2632 untouched. The relisting (work order 08) does not depend on this: a listing does
+not require a settled payment to be submitted.
+
## Retire this file when the campaign is done (required)
This file is shared context rather than a single order, so it outlives the
diff --git a/prompts/okx-ai/e2e-evidence/00-gauntlet-summary.json b/prompts/okx-ai/e2e-evidence/00-gauntlet-summary.json
index 2cfecc8c2..0a7bc40a6 100644
--- a/prompts/okx-ai/e2e-evidence/00-gauntlet-summary.json
+++ b/prompts/okx-ai/e2e-evidence/00-gauntlet-summary.json
@@ -1,105 +1,119 @@
{
"base": "https://three.ws",
"dryRun": true,
- "ranAt": "2026-09-09T05:48:55.353Z",
+ "ranAt": "2026-09-09T15:03:53.427Z",
"results": [
{
"id": "1",
"title": "free lane serves live data, no payment demanded",
"ok": true,
"detail": "health 200 (6 subsystems, real latencies), catalog 200 (7 rows), free tools on a paid row: forge_status 200, getting_started 200",
- "evidence": "prompts/okx-ai/e2e-evidence/30-case1-free-lane.json"
+ "evidence": "prompts/okx-ai/e2e-evidence/30-case1-free-lane.json",
+ "skipped": false
},
{
"id": "1d",
"title": "MCP discovery is free to a spec-compliant client",
"ok": true,
"detail": "forge-draft=200/200, forge-standard=200/200, forge-hd=200/200, forge-image=200/200",
- "evidence": "prompts/okx-ai/e2e-evidence/33-case1d-mcp-discovery.json"
+ "evidence": "prompts/okx-ai/e2e-evidence/33-case1d-mcp-discovery.json",
+ "skipped": false
},
{
"id": "2",
"title": "cheapest paid row delivers a real GLB",
"ok": false,
"detail": "dry run: signing skipped",
- "evidence": null
+ "evidence": null,
+ "skipped": true
},
{
"id": "2b",
"title": "mid paid row delivers a real GLB",
"ok": false,
"detail": "dry run: signing skipped",
- "evidence": null
+ "evidence": null,
+ "skipped": true
},
{
"id": "3",
"title": "flagship listed row delivers a real GLB",
"ok": false,
"detail": "dry run: signing skipped",
- "evidence": null
+ "evidence": null,
+ "skipped": true
},
{
"id": "3i",
"title": "image lane rebuilds a GLB from a reference image",
"ok": false,
"detail": "dry run: signing skipped",
- "evidence": null
+ "evidence": null,
+ "skipped": true
},
{
"id": "3r",
"title": "rigged row delivers a GLB with a skeleton and skin weights",
"ok": false,
"detail": "dry run: signing skipped",
- "evidence": null
+ "evidence": null,
+ "skipped": true
},
{
"id": "5a",
"title": "replayed authorization buys no second job",
"ok": false,
- "detail": "dry run",
- "evidence": null
+ "detail": "dry run: signing skipped",
+ "evidence": null,
+ "skipped": true
},
{
"id": "5b",
"title": "cheap authorization cannot buy a dearer service",
"ok": false,
- "detail": "dry run",
- "evidence": null
+ "detail": "dry run: signing skipped",
+ "evidence": null,
+ "skipped": true
},
{
"id": "5c",
"title": "expired authorization is rejected, fresh challenge offered",
"ok": false,
- "detail": "dry run",
- "evidence": null
+ "detail": "dry run: signing skipped",
+ "evidence": null,
+ "skipped": true
},
{
"id": "5d",
"title": "garbage payment header gets a clean 4xx, runs no tool",
"ok": true,
"detail": "notBase64=402, wrongShape=402, emptyString=402, truncatedJson=402",
- "evidence": "prompts/okx-ai/e2e-evidence/53-case5d-garbage.json"
+ "evidence": "prompts/okx-ai/e2e-evidence/53-case5d-garbage.json",
+ "skipped": false
},
{
"id": "6",
- "title": "failed job leaves the authorization unspent",
+ "title": "job rejected at acceptance leaves the authorization unspent",
"ok": false,
- "detail": "dry run",
- "evidence": null
+ "detail": "dry run: signing skipped",
+ "evidence": null,
+ "skipped": true
},
{
"id": "7",
"title": "legacy rail still answers and pays its own challenge",
"ok": true,
"detail": "accepts: eip155:196@10000, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp@10000, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp@10000000, eip155:8453@10000; paid leg: not attempted",
- "evidence": "prompts/okx-ai/e2e-evidence/70-case7-legacy-rails.json"
+ "evidence": "prompts/okx-ai/e2e-evidence/70-case7-legacy-rails.json",
+ "skipped": false
},
{
"id": "4",
"title": "settlement verified on-chain",
"ok": false,
- "detail": "no settlements to verify (paid cases did not run or did not settle)",
- "evidence": null
+ "detail": "dry run: nothing was signed, so nothing settled",
+ "evidence": null,
+ "skipped": true
}
],
"settlements": []
diff --git a/prompts/okx-ai/e2e-evidence/30-case1-free-lane.json b/prompts/okx-ai/e2e-evidence/30-case1-free-lane.json
index 9a76f798d..7d893dfed 100644
--- a/prompts/okx-ai/e2e-evidence/30-case1-free-lane.json
+++ b/prompts/okx-ai/e2e-evidence/30-case1-free-lane.json
@@ -7,14 +7,14 @@
{
"name": "generation",
"ok": true,
- "latency_ms": 23,
+ "latency_ms": 40,
"tiers": 3,
"backends": 11
},
{
"name": "submit-latency",
"ok": true,
- "latency_ms": 145,
+ "latency_ms": 61,
"window_minutes": 60,
"samples": 0,
"errors": 0,
@@ -24,31 +24,31 @@
{
"name": "render",
"ok": true,
- "latency_ms": 18,
+ "latency_ms": 35,
"poses": 28
},
{
"name": "storage",
"ok": true,
- "latency_ms": 146
+ "latency_ms": 255
},
{
"name": "retarget",
"ok": true,
- "latency_ms": 18,
+ "latency_ms": 39,
"clips": 112
},
{
"name": "payment-rail",
"ok": true,
- "latency_ms": 486,
+ "latency_ms": 915,
"settleable": true,
- "block": "70163896",
+ "block": "70197194",
"token": "USD₮0",
"facilitator_configured": false
}
],
- "checkedAt": "2026-09-09T05:48:53.066Z"
+ "checkedAt": "2026-09-09T15:03:51.516Z"
}
},
"catalog": {
diff --git a/prompts/okx-ai/e2e-evidence/51-case5b-cross-service.json b/prompts/okx-ai/e2e-evidence/51-case5b-cross-service.json
new file mode 100644
index 000000000..5635419eb
--- /dev/null
+++ b/prompts/okx-ai/e2e-evidence/51-case5b-cross-service.json
@@ -0,0 +1,381 @@
+{
+ "signedFor": {
+ "service": "forge-draft",
+ "amount": "10000"
+ },
+ "replayedAgainst": {
+ "service": "forge-hd",
+ "amount": "250000"
+ },
+ "attempt": {
+ "status": 402,
+ "structured": null,
+ "body": {
+ "x402Version": 2,
+ "error": "signed payment amount 10000 is below required 250000",
+ "resource": {
+ "url": "https://three.ws/api/okx/3d/forge-hd",
+ "description": "three.ws Forge, Forge 3D HD: A2MCP service that turns a text description into a downloadable 3D model (GLB) with a browser viewer and an augmented-reality link. $0.25 per call on X Layer via x402; job polling is free. Operated by three.ws.",
+ "mimeType": "application/json",
+ "serviceName": "three.ws Forge, Forge 3D HD",
+ "tags": [
+ "x402",
+ "mcp",
+ "3d",
+ "forge",
+ "okx"
+ ],
+ "iconUrl": "https://three.ws/favicon.ico"
+ },
+ "accepts": [
+ {
+ "scheme": "exact",
+ "network": "eip155:196",
+ "amount": "250000",
+ "payTo": "0x4022de2D36C334E73C7a108805Cea11C0564f402",
+ "maxTimeoutSeconds": 86400,
+ "asset": "0x779ded0c9e1022225f8e0630b35a9b54be713736",
+ "resource": "https://three.ws/api/okx/3d/forge-hd",
+ "extra": {
+ "symbol": "USDT",
+ "name": "USD₮0",
+ "version": "1",
+ "transferMethod": "eip3009",
+ "decimals": 6
+ }
+ },
+ {
+ "scheme": "exact",
+ "amount": "250000",
+ "maxTimeoutSeconds": 60,
+ "resource": "https://three.ws/api/okx/3d/forge-hd",
+ "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
+ "payTo": "wwwwwDxFWRn7grgr3Esrsg5C6NvDoDHSA4gaCffccrU",
+ "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
+ "extra": {
+ "name": "USDC",
+ "decimals": 6
+ }
+ },
+ {
+ "scheme": "exact",
+ "amount": "10000000",
+ "maxTimeoutSeconds": 60,
+ "resource": "https://three.ws/api/okx/3d/forge-hd",
+ "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
+ "payTo": "wwwwwDxFWRn7grgr3Esrsg5C6NvDoDHSA4gaCffccrU",
+ "asset": "FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump",
+ "extra": {
+ "name": "THREE",
+ "decimals": 6
+ }
+ },
+ {
+ "scheme": "exact",
+ "amount": "250000",
+ "maxTimeoutSeconds": 60,
+ "resource": "https://three.ws/api/okx/3d/forge-hd",
+ "network": "eip155:8453",
+ "payTo": "0x4022de2d36c334e73c7a108805cea11c0564f402",
+ "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
+ "extra": {
+ "name": "USD Coin",
+ "version": "2",
+ "decimals": 6
+ }
+ }
+ ],
+ "extensions": {
+ "bazaar": {
+ "discoverable": true,
+ "info": {
+ "input": {
+ "type": "http",
+ "method": "POST",
+ "body": {
+ "jsonrpc": "2.0",
+ "id": 1,
+ "method": "tools/call",
+ "params": {
+ "name": "forge_3d",
+ "arguments": {
+ "prompt": "a low-poly orange fox sitting down"
+ }
+ }
+ },
+ "bodyType": "json"
+ },
+ "output": {
+ "type": "json",
+ "example": {
+ "jsonrpc": "2.0",
+ "id": 1,
+ "result": {
+ "content": [
+ {
+ "type": "text",
+ "text": "Job accepted. Call forge_status with job_id f1.abc123 until status is \"done\"."
+ }
+ ],
+ "structuredContent": {
+ "ok": true,
+ "status": "pending",
+ "job": "f1.abc123",
+ "poll_tool": "forge_status",
+ "poll_endpoint": "https://three.ws/api/okx/3d/forge-status",
+ "format": "glb",
+ "etaSeconds": 45
+ }
+ }
+ }
+ }
+ },
+ "schema": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "input": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "const": "http"
+ },
+ "method": {
+ "type": "string",
+ "enum": [
+ "POST",
+ "PUT",
+ "PATCH"
+ ]
+ },
+ "bodyType": {
+ "type": "string",
+ "enum": [
+ "json",
+ "form-data",
+ "text"
+ ]
+ },
+ "body": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "required": [
+ "jsonrpc",
+ "method"
+ ],
+ "properties": {
+ "jsonrpc": {
+ "type": "string",
+ "const": "2.0"
+ },
+ "id": {
+ "type": [
+ "string",
+ "number"
+ ]
+ },
+ "method": {
+ "type": "string",
+ "enum": [
+ "initialize",
+ "tools/list",
+ "tools/call",
+ "ping"
+ ],
+ "description": "MCP JSON-RPC method."
+ },
+ "params": {
+ "type": "object",
+ "description": "For tools/call: { name, arguments }. Tool names: forge_3d (paid, $0.25), forge_status (free job polling), getting_started (free overview). See tools/list."
+ }
+ }
+ }
+ },
+ "required": [
+ "type",
+ "method",
+ "bodyType",
+ "body"
+ ],
+ "additionalProperties": false
+ },
+ "output": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "example": {
+ "type": "object",
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "properties": {
+ "jsonrpc": {
+ "type": "string",
+ "const": "2.0"
+ },
+ "id": {
+ "type": [
+ "string",
+ "number"
+ ]
+ },
+ "result": {
+ "type": "object",
+ "properties": {
+ "content": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": [
+ "type",
+ "text"
+ ],
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": [
+ "text"
+ ]
+ },
+ "text": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "error": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "required": [
+ "type"
+ ]
+ }
+ },
+ "required": [
+ "input"
+ ]
+ }
+ },
+ "offer-receipt": {
+ "includeTxHash": false,
+ "offerValiditySeconds": 60,
+ "info": {
+ "offers": [
+ {
+ "format": "jws",
+ "acceptIndex": 0,
+ "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6dGhyZWUud3Mja2V5LTEifQ.eyJhbW91bnQiOiIyNTAwMDAiLCJhc3NldCI6IjB4Nzc5ZGVkMGM5ZTEwMjIyMjVmOGUwNjMwYjM1YTliNTRiZTcxMzczNiIsIm5ldHdvcmsiOiJlaXAxNTU6MTk2IiwicGF5VG8iOiIweDQwMjJkZTJEMzZDMzM0RTczQzdhMTA4ODA1Q2VhMTFDMDU2NGY0MDIiLCJyZXNvdXJjZVVybCI6Imh0dHBzOi8vdGhyZWUud3MvYXBpL29reC8zZC9mb3JnZS1oZCIsInNjaGVtZSI6ImV4YWN0IiwidmFsaWRVbnRpbCI6MTc4ODk2NjM1NSwidmVyc2lvbiI6MX0.rA3zqQeiK6bVrh0_ByUnihs86jVJJIsIVnBZGu-vJuz5CTicalRFXq4AkM05iFuYTDsH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YzNTUsInZlcnNpb24iOjF9.Z1CdoTMzlS9nZxhMvbByo3eQFAcDJqmYdyikzysMDlh5cLqPRGAdPATL9V11pwg48cJYv9rQ5giGmLrb5bpuBA"
+ },
+ {
+ "format": "jws",
+ "acceptIndex": 3,
+ "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6dGhyZWUud3Mja2V5LTEifQ.eyJhbW91bnQiOiIyNTAwMDAiLCJhc3NldCI6IjB4ODMzNTg5ZkNENmVEYjZFMDhmNGM3QzMyRDRmNzFiNTRiZEEwMjkxMyIsIm5ldHdvcmsiOiJlaXAxNTU6ODQ1MyIsInBheVRvIjoiMHg0MDIyZGUyZDM2YzMzNGU3M2M3YTEwODgwNWNlYTExYzA1NjRmNDAyIiwicmVzb3VyY2VVcmwiOiJodHRwczovL3RocmVlLndzL2FwaS9va3gvM2QvZm9yZ2UtaGQiLCJzY2hlbWUiOiJleGFjdCIsInZhbGlkVW50aWwiOjE3ODg5NjYzNTUsInZlcnNpb24iOjF9.qDCVgZ8AwscXId3O0Sp9SKOaQbxzMc9rePMLux2ymb8fvNH1ohLgGRrRN-TPuxhS-vJHtgGj3DWvtN6TU3KhAQ"
+ }
+ ]
+ },
+ "schema": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "offers": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "format": {
+ "type": "string"
+ },
+ "acceptIndex": {
+ "type": "integer"
+ },
+ "payload": {
+ "type": "object",
+ "properties": {
+ "version": {
+ "type": "integer"
+ },
+ "resourceUrl": {
+ "type": "string"
+ },
+ "scheme": {
+ "type": "string"
+ },
+ "network": {
+ "type": "string"
+ },
+ "asset": {
+ "type": "string"
+ },
+ "payTo": {
+ "type": "string"
+ },
+ "amount": {
+ "type": "string"
+ },
+ "validUntil": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "version",
+ "resourceUrl",
+ "scheme",
+ "network",
+ "asset",
+ "payTo",
+ "amount"
+ ]
+ },
+ "signature": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "format",
+ "signature"
+ ]
+ }
+ }
+ },
+ "required": [
+ "offers"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "authorization": {
+ "from": "0x75d00a2713565171f33216e5aa2a375e076ecf69",
+ "nonce": "0xe48d08c246a4cd448cf26eadf8f0d6ace07cc53998e43030ff6d98e8d279575b",
+ "to": "0x4022de2D36C334E73C7a108805Cea11C0564f402",
+ "validAfter": "0",
+ "validBefore": "1789052454",
+ "value": "10000"
+ },
+ "authorizationSpentOnChain": false
+}
\ No newline at end of file
diff --git a/prompts/okx-ai/e2e-evidence/52-case5c-expired.json b/prompts/okx-ai/e2e-evidence/52-case5c-expired.json
new file mode 100644
index 000000000..8f9ca3999
--- /dev/null
+++ b/prompts/okx-ai/e2e-evidence/52-case5c-expired.json
@@ -0,0 +1,639 @@
+{
+ "authorization": {
+ "from": "0x75d00a2713565171f33216e5aa2a375e076ecf69",
+ "nonce": "0x2b6d7be5ed7bdbf3987770bd3e81021f6802904540aa8ec44e358196f849d852",
+ "to": "0x4022de2D36C334E73C7a108805Cea11C0564f402",
+ "validAfter": "0",
+ "validBefore": "1788966059",
+ "value": "10000"
+ },
+ "nowSeconds": 1788966063,
+ "attempt": {
+ "status": 402,
+ "body": {
+ "x402Version": 2,
+ "error": "authorization has expired (validBefore in the past)",
+ "resource": {
+ "url": "https://three.ws/api/okx/3d/forge-draft",
+ "description": "three.ws Forge, Forge 3D Draft: A2MCP service that turns a text description into a downloadable 3D model (GLB) with a browser viewer and an augmented-reality link. $0.01 per call on X Layer via x402; job polling is free. Operated by three.ws.",
+ "mimeType": "application/json",
+ "serviceName": "three.ws Forge, Forge 3D Draft",
+ "tags": [
+ "x402",
+ "mcp",
+ "3d",
+ "forge",
+ "okx"
+ ],
+ "iconUrl": "https://three.ws/favicon.ico"
+ },
+ "accepts": [
+ {
+ "scheme": "exact",
+ "network": "eip155:196",
+ "amount": "10000",
+ "payTo": "0x4022de2D36C334E73C7a108805Cea11C0564f402",
+ "maxTimeoutSeconds": 86400,
+ "asset": "0x779ded0c9e1022225f8e0630b35a9b54be713736",
+ "resource": "https://three.ws/api/okx/3d/forge-draft",
+ "extra": {
+ "symbol": "USDT",
+ "name": "USD₮0",
+ "version": "1",
+ "transferMethod": "eip3009",
+ "decimals": 6
+ }
+ },
+ {
+ "scheme": "exact",
+ "amount": "10000",
+ "maxTimeoutSeconds": 60,
+ "resource": "https://three.ws/api/okx/3d/forge-draft",
+ "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
+ "payTo": "wwwwwDxFWRn7grgr3Esrsg5C6NvDoDHSA4gaCffccrU",
+ "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
+ "extra": {
+ "name": "USDC",
+ "decimals": 6,
+ "feePayer": "WwwuGbqHrwF5RG89KhUbmRWEvjnRH9k5kVM5p7T3WwW"
+ }
+ },
+ {
+ "scheme": "exact",
+ "amount": "10000000",
+ "maxTimeoutSeconds": 60,
+ "resource": "https://three.ws/api/okx/3d/forge-draft",
+ "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
+ "payTo": "wwwwwDxFWRn7grgr3Esrsg5C6NvDoDHSA4gaCffccrU",
+ "asset": "FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump",
+ "extra": {
+ "name": "THREE",
+ "decimals": 6,
+ "feePayer": "WwwuGbqHrwF5RG89KhUbmRWEvjnRH9k5kVM5p7T3WwW"
+ }
+ },
+ {
+ "scheme": "exact",
+ "amount": "10000",
+ "maxTimeoutSeconds": 60,
+ "resource": "https://three.ws/api/okx/3d/forge-draft",
+ "network": "eip155:8453",
+ "payTo": "0x4022de2d36c334e73c7a108805cea11c0564f402",
+ "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
+ "extra": {
+ "name": "USD Coin",
+ "version": "2",
+ "decimals": 6
+ }
+ }
+ ],
+ "extensions": {
+ "bazaar": {
+ "discoverable": true,
+ "info": {
+ "input": {
+ "type": "http",
+ "method": "POST",
+ "body": {
+ "jsonrpc": "2.0",
+ "id": 1,
+ "method": "tools/call",
+ "params": {
+ "name": "forge_3d",
+ "arguments": {
+ "prompt": "a low-poly orange fox sitting down"
+ }
+ }
+ },
+ "bodyType": "json"
+ },
+ "output": {
+ "type": "json",
+ "example": {
+ "jsonrpc": "2.0",
+ "id": 1,
+ "result": {
+ "content": [
+ {
+ "type": "text",
+ "text": "Job accepted. Call forge_status with job_id f1.abc123 until status is \"done\"."
+ }
+ ],
+ "structuredContent": {
+ "ok": true,
+ "status": "pending",
+ "job": "f1.abc123",
+ "poll_tool": "forge_status",
+ "poll_endpoint": "https://three.ws/api/okx/3d/forge-status",
+ "format": "glb",
+ "etaSeconds": 45
+ }
+ }
+ }
+ }
+ },
+ "schema": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "input": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "const": "http"
+ },
+ "method": {
+ "type": "string",
+ "enum": [
+ "POST",
+ "PUT",
+ "PATCH"
+ ]
+ },
+ "bodyType": {
+ "type": "string",
+ "enum": [
+ "json",
+ "form-data",
+ "text"
+ ]
+ },
+ "body": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "required": [
+ "jsonrpc",
+ "method"
+ ],
+ "properties": {
+ "jsonrpc": {
+ "type": "string",
+ "const": "2.0"
+ },
+ "id": {
+ "type": [
+ "string",
+ "number"
+ ]
+ },
+ "method": {
+ "type": "string",
+ "enum": [
+ "initialize",
+ "tools/list",
+ "tools/call",
+ "ping"
+ ],
+ "description": "MCP JSON-RPC method."
+ },
+ "params": {
+ "type": "object",
+ "description": "For tools/call: { name, arguments }. Tool names: forge_3d (paid, $0.01), forge_status (free job polling), getting_started (free overview). See tools/list."
+ }
+ }
+ }
+ },
+ "required": [
+ "type",
+ "method",
+ "bodyType",
+ "body"
+ ],
+ "additionalProperties": false
+ },
+ "output": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "example": {
+ "type": "object",
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "properties": {
+ "jsonrpc": {
+ "type": "string",
+ "const": "2.0"
+ },
+ "id": {
+ "type": [
+ "string",
+ "number"
+ ]
+ },
+ "result": {
+ "type": "object",
+ "properties": {
+ "content": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": [
+ "type",
+ "text"
+ ],
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": [
+ "text"
+ ]
+ },
+ "text": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "error": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "required": [
+ "type"
+ ]
+ }
+ },
+ "required": [
+ "input"
+ ]
+ }
+ },
+ "offer-receipt": {
+ "includeTxHash": false,
+ "offerValiditySeconds": 60,
+ "info": {
+ "offers": [
+ {
+ "format": "jws",
+ "acceptIndex": 0,
+ "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6dGhyZWUud3Mja2V5LTEifQ.eyJhbW91bnQiOiIxMDAwMCIsImFzc2V0IjoiMHg3NzlkZWQwYzllMTAyMjIyNWY4ZTA2MzBiMzVhOWI1NGJlNzEzNzM2IiwibmV0d29yayI6ImVpcDE1NToxOTYiLCJwYXlUbyI6IjB4NDAyMmRlMkQzNkMzMzRFNzNDN2ExMDg4MDVDZWExMUMwNTY0ZjQwMiIsInJlc291cmNlVXJsIjoiaHR0cHM6Ly90aHJlZS53cy9hcGkvb2t4LzNkL2ZvcmdlLWRyYWZ0Iiwic2NoZW1lIjoiZXhhY3QiLCJ2YWxpZFVudGlsIjoxNzg4OTY2MzYzLCJ2ZXJzaW9uIjoxfQ.ukumTBwYzI0WmSMJkZH-3cptdiD6fAvJc2cL3VgqC8MrNweB91PUCme2owfpObT4myRJMPGOXa-D_WoSn2zeCQ"
+ },
+ {
+ "format": "jws",
+ "acceptIndex": 1,
+ "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6dGhyZWUud3Mja2V5LTEifQ.eyJhbW91bnQiOiIxMDAwMCIsImFzc2V0IjoiRVBqRldkZDVBdWZxU1NxZU0ycU4xeHp5YmFwQzhHNHdFR0drWnd5VER0MXYiLCJuZXR3b3JrIjoic29sYW5hOjVleWt0NFVzRnY4UDhOSmRUUkVwWTF2enFLcVpLdmRwIiwicGF5VG8iOiJ3d3d3d0R4RldSbjdncmdyM0VzcnNnNUM2TnZEb0RIU0E0Z2FDZmZjY3JVIiwicmVzb3VyY2VVcmwiOiJodHRwczovL3RocmVlLndzL2FwaS9va3gvM2QvZm9yZ2UtZHJhZnQiLCJzY2hlbWUiOiJleGFjdCIsInZhbGlkVW50aWwiOjE3ODg5NjYzNjMsInZlcnNpb24iOjF9.mVbE6w41J1JEgt8XNHOnGHZlXRc60NTZqdR0e131rQqVJjkjsdH54K70TKeYtCP5CimCmtfwcjrvFs_NDb3CAg"
+ },
+ {
+ "format": "jws",
+ "acceptIndex": 2,
+ "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6dGhyZWUud3Mja2V5LTEifQ.eyJhbW91bnQiOiIxMDAwMDAwMCIsImFzc2V0IjoiRmVNYkRvWDdSMVBzYzRHRWN2SmRzYk5iWkEzYmZ6dGN5RENhdEpWSnB1bXAiLCJuZXR3b3JrIjoic29sYW5hOjVleWt0NFVzRnY4UDhOSmRUUkVwWTF2enFLcVpLdmRwIiwicGF5VG8iOiJ3d3d3d0R4RldSbjdncmdyM0VzcnNnNUM2TnZEb0RIU0E0Z2FDZmZjY3JVIiwicmVzb3VyY2VVcmwiOiJodHRwczovL3RocmVlLndzL2FwaS9va3gvM2QvZm9yZ2UtZHJhZnQiLCJzY2hlbWUiOiJleGFjdCIsInZhbGlkVW50aWwiOjE3ODg5NjYzNjMsInZlcnNpb24iOjF9.ph0EI2TDmsASdxFKFGMK6RK2SUxSTiiK59m9BfK1z6vbLl-txVgzJ7GhDRYEKBURMJxYPRjbuG6Y7cah0CyiDg"
+ },
+ {
+ "format": "jws",
+ "acceptIndex": 3,
+ "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6dGhyZWUud3Mja2V5LTEifQ.eyJhbW91bnQiOiIxMDAwMCIsImFzc2V0IjoiMHg4MzM1ODlmQ0Q2ZURiNkUwOGY0YzdDMzJENGY3MWI1NGJkQTAyOTEzIiwibmV0d29yayI6ImVpcDE1NTo4NDUzIiwicGF5VG8iOiIweDQwMjJkZTJkMzZjMzM0ZTczYzdhMTA4ODA1Y2VhMTFjMDU2NGY0MDIiLCJyZXNvdXJjZVVybCI6Imh0dHBzOi8vdGhyZWUud3MvYXBpL29reC8zZC9mb3JnZS1kcmFmdCIsInNjaGVtZSI6ImV4YWN0IiwidmFsaWRVbnRpbCI6MTc4ODk2NjM2MywidmVyc2lvbiI6MX0.tgPQYEHRi9YVUSy2Yzp0uRPWbvejK_bxQDngBZ61LEEh9lsA2SUYqGelpMLIZTmitZiYnMajE9RFZx8EbH_SDA"
+ }
+ ]
+ },
+ "schema": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "offers": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "format": {
+ "type": "string"
+ },
+ "acceptIndex": {
+ "type": "integer"
+ },
+ "payload": {
+ "type": "object",
+ "properties": {
+ "version": {
+ "type": "integer"
+ },
+ "resourceUrl": {
+ "type": "string"
+ },
+ "scheme": {
+ "type": "string"
+ },
+ "network": {
+ "type": "string"
+ },
+ "asset": {
+ "type": "string"
+ },
+ "payTo": {
+ "type": "string"
+ },
+ "amount": {
+ "type": "string"
+ },
+ "validUntil": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "version",
+ "resourceUrl",
+ "scheme",
+ "network",
+ "asset",
+ "payTo",
+ "amount"
+ ]
+ },
+ "signature": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "format",
+ "signature"
+ ]
+ }
+ }
+ },
+ "required": [
+ "offers"
+ ]
+ }
+ }
+ }
+ },
+ "freshChallenge": {
+ "x402Version": 2,
+ "error": "authorization has expired (validBefore in the past)",
+ "resource": {
+ "url": "https://three.ws/api/okx/3d/forge-draft",
+ "description": "three.ws Forge, Forge 3D Draft: A2MCP service that turns a text description into a downloadable 3D model (GLB) with a browser viewer and an augmented-reality link. $0.01 per call on X Layer via x402; job polling is free. Operated by three.ws.",
+ "mimeType": "application/json",
+ "serviceName": "three.ws Forge, Forge 3D Draft",
+ "tags": [
+ "x402",
+ "mcp",
+ "3d",
+ "forge",
+ "okx"
+ ],
+ "iconUrl": "https://three.ws/favicon.ico"
+ },
+ "accepts": [
+ {
+ "scheme": "exact",
+ "network": "eip155:196",
+ "amount": "10000",
+ "payTo": "0x4022de2D36C334E73C7a108805Cea11C0564f402",
+ "maxTimeoutSeconds": 86400,
+ "asset": "0x779ded0c9e1022225f8e0630b35a9b54be713736",
+ "resource": "https://three.ws/api/okx/3d/forge-draft",
+ "extra": {
+ "symbol": "USDT",
+ "name": "USD₮0",
+ "version": "1",
+ "transferMethod": "eip3009",
+ "decimals": 6
+ }
+ },
+ {
+ "scheme": "exact",
+ "amount": "10000",
+ "maxTimeoutSeconds": 60,
+ "resource": "https://three.ws/api/okx/3d/forge-draft",
+ "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
+ "payTo": "wwwwwDxFWRn7grgr3Esrsg5C6NvDoDHSA4gaCffccrU",
+ "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
+ "extra": {
+ "name": "USDC",
+ "decimals": 6,
+ "feePayer": "WwwuGbqHrwF5RG89KhUbmRWEvjnRH9k5kVM5p7T3WwW"
+ }
+ },
+ {
+ "scheme": "exact",
+ "amount": "10000000",
+ "maxTimeoutSeconds": 60,
+ "resource": "https://three.ws/api/okx/3d/forge-draft",
+ "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
+ "payTo": "wwwwwDxFWRn7grgr3Esrsg5C6NvDoDHSA4gaCffccrU",
+ "asset": "FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump",
+ "extra": {
+ "name": "THREE",
+ "decimals": 6,
+ "feePayer": "WwwuGbqHrwF5RG89KhUbmRWEvjnRH9k5kVM5p7T3WwW"
+ }
+ },
+ {
+ "scheme": "exact",
+ "amount": "10000",
+ "maxTimeoutSeconds": 60,
+ "resource": "https://three.ws/api/okx/3d/forge-draft",
+ "network": "eip155:8453",
+ "payTo": "0x4022de2d36c334e73c7a108805cea11c0564f402",
+ "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
+ "extra": {
+ "name": "USD Coin",
+ "version": "2",
+ "decimals": 6
+ }
+ }
+ ],
+ "extensions": {
+ "bazaar": {
+ "discoverable": true,
+ "info": {
+ "input": {
+ "type": "http",
+ "method": "POST",
+ "body": {
+ "jsonrpc": "2.0",
+ "id": 1,
+ "method": "tools/call",
+ "params": {
+ "name": "forge_3d",
+ "arguments": {
+ "prompt": "a low-poly orange fox sitting down"
+ }
+ }
+ },
+ "bodyType": "json"
+ },
+ "output": {
+ "type": "json",
+ "example": {
+ "jsonrpc": "2.0",
+ "id": 1,
+ "result": {
+ "content": [
+ {
+ "type": "text",
+ "text": "Job accepted. Call forge_status with job_id f1.abc123 until status is \"done\"."
+ }
+ ],
+ "structuredContent": {
+ "ok": true,
+ "status": "pending",
+ "job": "f1.abc123",
+ "poll_tool": "forge_status",
+ "poll_endpoint": "https://three.ws/api/okx/3d/forge-status",
+ "format": "glb",
+ "etaSeconds": 45
+ }
+ }
+ }
+ }
+ },
+ "schema": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "input": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "const": "http"
+ },
+ "method": {
+ "type": "string",
+ "enum": [
+ "POST",
+ "PUT",
+ "PATCH"
+ ]
+ },
+ "bodyType": {
+ "type": "string",
+ "enum": [
+ "json",
+ "form-data",
+ "text"
+ ]
+ },
+ "body": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "required": [
+ "jsonrpc",
+ "method"
+ ],
+ "properties": {
+ "jsonrpc": {
+ "type": "string",
+ "const": "2.0"
+ },
+ "id": {
+ "type": [
+ "string",
+ "number"
+ ]
+ },
+ "method": {
+ "type": "string",
+ "enum": [
+ "initialize",
+ "tools/list",
+ "tools/call",
+ "ping"
+ ],
+ "description": "MCP JSON-RPC method."
+ },
+ "params": {
+ "type": "object",
+ "description": "For tools/call: { name, arguments }. Tool names: forge_3d (paid, $0.01), forge_status (free job polling), getting_started (free overview). See tools/list."
+ }
+ }
+ }
+ },
+ "required": [
+ "type",
+ "method",
+ "bodyType",
+ "body"
+ ],
+ "additionalProperties": false
+ },
+ "output": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "example": {
+ "type": "object",
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "properties": {
+ "jsonrpc": {
+ "type": "string",
+ "const": "2.0"
+ },
+ "id": {
+ "type": [
+ "string",
+ "number"
+ ]
+ },
+ "result": {
+ "type": "object",
+ "properties": {
+ "content": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": [
+ "type",
+ "text"
+ ],
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": [
+ "text"
+ ]
+ },
+ "text": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "error": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "required": [
+ "type"
+ ]
+ }
+ },
+ "required": [
+ "input"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "authorizationSpentOnChain": false
+}
\ No newline at end of file
diff --git a/prompts/okx-ai/e2e-evidence/53-case5d-garbage.json b/prompts/okx-ai/e2e-evidence/53-case5d-garbage.json
index f08206a5c..30955a4d7 100644
--- a/prompts/okx-ai/e2e-evidence/53-case5d-garbage.json
+++ b/prompts/okx-ai/e2e-evidence/53-case5d-garbage.json
@@ -269,22 +269,22 @@
{
"format": "jws",
"acceptIndex": 0,
- "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6dGhyZWUud3Mja2V5LTEifQ.eyJhbW91bnQiOiIxMDAwMCIsImFzc2V0IjoiMHg3NzlkZWQwYzllMTAyMjIyNWY4ZTA2MzBiMzVhOWI1NGJlNzEzNzM2IiwibmV0d29yayI6ImVpcDE1NToxOTYiLCJwYXlUbyI6IjB4NDAyMmRlMkQzNkMzMzRFNzNDN2ExMDg4MDVDZWExMUMwNTY0ZjQwMiIsInJlc291cmNlVXJsIjoiaHR0cHM6Ly90aHJlZS53cy9hcGkvb2t4LzNkL2ZvcmdlLWRyYWZ0Iiwic2NoZW1lIjoiZXhhY3QiLCJ2YWxpZFVudGlsIjoxNzg4OTMzMjM0LCJ2ZXJzaW9uIjoxfQ.chkmPLhPdPq1BHA96F07F2a5owaBuUEi5-dTzCtzvd6llLB2GVUEP0g5FG92sE6ZM5WYKusbCz7lSgefQzdPDQ"
+ "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6dGhyZWUud3Mja2V5LTEifQ.eyJhbW91bnQiOiIxMDAwMCIsImFzc2V0IjoiMHg3NzlkZWQwYzllMTAyMjIyNWY4ZTA2MzBiMzVhOWI1NGJlNzEzNzM2IiwibmV0d29yayI6ImVpcDE1NToxOTYiLCJwYXlUbyI6IjB4NDAyMmRlMkQzNkMzMzRFNzNDN2ExMDg4MDVDZWExMUMwNTY0ZjQwMiIsInJlc291cmNlVXJsIjoiaHR0cHM6Ly90aHJlZS53cy9hcGkvb2t4LzNkL2ZvcmdlLWRyY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vdXJjZVVybCI6Imh0dHBzOi8vdGhyZWUud3MvYXBpL29reC8zZC9mb3JnZS1kcmFmdCIsInNjaGVtZSI6ImV4YWN0IiwidmFsaWRVbnRpbCI6MTc4ODk2NjUzMywidmVyc2lvbiI6MX0.aWpg_mxp_3IR1E45UwDTMktci0-RB2sPK4cXuXEoaQmD0yPrtgmCj7z7FDptuxrDaojLaA2btiMq1UBRgSPGAg"
}
]
},
@@ -408,8 +408,7 @@
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"name": "USDC",
- "decimals": 6,
- "feePayer": "WwwuGbqHrwF5RG89KhUbmRWEvjnRH9k5kVM5p7T3WwW"
+ "decimals": 6
}
},
{
@@ -422,8 +421,7 @@
"asset": "FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump",
"extra": {
"name": "THREE",
- "decimals": 6,
- "feePayer": "WwwuGbqHrwF5RG89KhUbmRWEvjnRH9k5kVM5p7T3WwW"
+ "decimals": 6
}
},
{
@@ -634,22 +632,22 @@
{
"format": "jws",
"acceptIndex": 0,
- "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6dGhyZWUud3Mja2V5LTEifQ.eyJhbW91bnQiOiIxMDAwMCIsImFzc2V0IjoiMHg3NzlkZWQwYzllMTAyMjIyNWY4ZTA2MzBiMzVhOWI1NGJlNzEzNzM2IiwibmV0d29yayI6ImVpcDE1NToxOTYiLCJwYXlUbyI6IjB4NDAyMmRlMkQzNkMzMzRFNzNDN2ExMDg4MDVDZWExMUMwNTY0ZjQwMiIsInJlc291cmNlVXJsIjoiaHR0cHM6Ly90aHJlZS53cy9hcGkvb2t4LzNkL2ZvcmdlLWRyYWZ0Iiwic2NoZW1lIjoiZXhhY3QiLCJ2YWxpZFVudGlsIjoxNzg4OTMzMjM0LCJ2ZXJzaW9uIjoxfQ.chkmPLhPdPq1BHA96F07F2a5owaBuUEi5-dTzCtzvd6llLB2GVUEP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MX0.fcfXhUUqkwjTgP1dFKzFHW3_K6XQEEcQ3zMjQOS4xQbK4_kftLVZ88lGVBJ1nkHHh7QakoYK0fHfp7KAp4bZDA"
+ "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6dGhyZWUud3Mja2V5LTEifQ.eyJhbW91bnQiOiIxMDAwMCIsImFzc2V0IjoiMHg4MzM1ODlmQ0Q2ZURiNkUwOGY0YzdDMzJENGY3MWI1NGJkQTAyOTEzIiwibmV0d29yayI6ImVpcDE1NTo4NDUzIiwicGF5VG8iOiIweDQwMjJkZTJkMzZjMzM0ZTczYzdhMTA4ODA1Y2VhMTFjMDU2NGY0MDIiLCJyZXNvdXJjZVVybCI6Imh0dHBzOi8vdGhyZWUud3MvYXBpL29reC8zZC9mb3JnZS1kcmFmdCIsInNjaGVtZSI6ImV4YWN0IiwidmFsaWRVbnRpbCI6MTc4ODk2NjUzMywidmVyc2lvbiI6MX0.aWpg_mxp_3IR1E45UwDTMktci0-RB2sPK4cXuXEoaQmD0yPrtgmCj7z7FDptuxrDaojLaA2btiMq1UBRgSPGAg"
}
]
},
@@ -773,7 +771,8 @@
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"name": "USDC",
- "decimals": 6
+ "decimals": 6,
+ "feePayer": "WwwuGbqHrwF5RG89KhUbmRWEvjnRH9k5kVM5p7T3WwW"
}
},
{
@@ -786,7 +785,8 @@
"asset": "FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump",
"extra": {
"name": "THREE",
- "decimals": 6
+ "decimals": 6,
+ "feePayer": "WwwuGbqHrwF5RG89KhUbmRWEvjnRH9k5kVM5p7T3WwW"
}
},
{
@@ -997,22 +997,22 @@
{
"format": "jws",
"acceptIndex": 0,
- "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6dGhyZWUud3Mja2V5LTEifQ.eyJhbW91bnQiOiIxMDAwMCIsImFzc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 6
+ "decimals": 6,
+ "feePayer": "WwwuGbqHrwF5RG89KhUbmRWEvjnRH9k5kVM5p7T3WwW"
}
},
{
@@ -1149,7 +1150,8 @@
"asset": "FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump",
"extra": {
"name": "THREE",
- "decimals": 6
+ "decimals": 6,
+ "feePayer": "WwwuGbqHrwF5RG89KhUbmRWEvjnRH9k5kVM5p7T3WwW"
}
},
{
@@ -1360,22 +1362,22 @@
{
"format": "jws",
"acceptIndex": 0,
- "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6dGhyZWUud3Mja2V5LTEifQ.eyJhbW91bnQiOiIxMDAwMCIsImFzc2V0IjoiMHg3NzlkZWQwYzllMTAyMjIyNWY4ZTA2MzBiMzVhOWI1NGJlNzEzNzM2IiwibmV0d29yayI6ImVpcDE1NToxOTYiLCJwYXlUbyI6IjB4NDAyMmRlMkQzNkMzMzRFNzNDN2ExMDg4MDVDZWExMUMwNTY0ZjQwMiIsInJlc291cmNlVXJsIjoiaHR0cHM6Ly90aHJlZS53cy9hcGkvb2t4LzNkL2ZvcmdlLWRyYWZ0Iiwic2NoZW1lIjoiZXhhY3QiLCJ2YWxpZFVudGlsIjoxNzg4OTMzMjM0LCJ2ZXJzaW9uIjoxfQ.chkmPLhPdPq1BHA96F07F2a5owaBuUEi5-dTzCtzvd6llLB2GVUEP0g5FG92sE6ZM5WYKusbCz7lSgefQzdPDQ"
+ "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6dGhyZWUud3Mja2V5LTEifQ.eyJhbW91bnQiOiIxMDAwMCIsImFzc2V0IjoiMHg3NzlkZWQwYzllMTAyMjIyNWY4ZTA2MzBiMzVhOWI1NGJlNzEzNzM2IiwibmV0d29yayI6ImVpcDE1NToxOTYiLCJwYXlUbyI6IjB4NDAyMmRlMkQzNkMzMzRFNzNDN2ExMDg4MDVDZWExMUMwNTY0ZjQwMiIsInJlc291cmNl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kZTJkMzZjMzM0ZTczYzdhMTA4ODA1Y2VhMTFjMDU2NGY0MDIiLCJyZXNvdXJjZVVybCI6Imh0dHBzOi8vdGhyZWUud3MvYXBpL29reC8zZC9mb3JnZS1kcmFmdCIsInNjaGVtZSI6ImV4YWN0IiwidmFsaWRVbnRpbCI6MTc4ODk2NjUzMywidmVyc2lvbiI6MX0.aWpg_mxp_3IR1E45UwDTMktci0-RB2sPK4cXuXEoaQmD0yPrtgmCj7z7FDptuxrDaojLaA2btiMq1UBRgSPGAg"
}
]
},
diff --git a/prompts/okx-ai/e2e-evidence/96-2026-09-09-402-sweep.txt b/prompts/okx-ai/e2e-evidence/96-2026-09-09-402-sweep.txt
new file mode 100644
index 000000000..154b7a511
--- /dev/null
+++ b/prompts/okx-ai/e2e-evidence/96-2026-09-09-402-sweep.txt
@@ -0,0 +1,10 @@
+== forge-draft :: HTTP/2 402
+ x402Version=2 accepts=4 first=eip155:196 amount=10000 payTo=0x4022de2D36C334E73C7a108805Cea11C0564f402 asset=0x779ded0c9e1022225f8e0630b35a9b54be713736 scheme=exact
+== forge-standard :: HTTP/2 402
+ x402Version=2 accepts=4 first=eip155:196 amount=50000 payTo=0x4022de2D36C334E73C7a108805Cea11C0564f402 asset=0x779ded0c9e1022225f8e0630b35a9b54be713736 scheme=exact
+== forge-hd :: HTTP/2 402
+ x402Version=2 accepts=4 first=eip155:196 amount=250000 payTo=0x4022de2D36C334E73C7a108805Cea11C0564f402 asset=0x779ded0c9e1022225f8e0630b35a9b54be713736 scheme=exact
+== forge-image :: HTTP/2 402
+ x402Version=2 accepts=4 first=eip155:196 amount=250000 payTo=0x4022de2D36C334E73C7a108805Cea11C0564f402 asset=0x779ded0c9e1022225f8e0630b35a9b54be713736 scheme=exact
+== forge-status (free, GET)
+ GET forge-status http=405
diff --git a/prompts/okx-ai/e2e-evidence/FUNDING-REQUEST.md b/prompts/okx-ai/e2e-evidence/FUNDING-REQUEST.md
index 6ecc6950c..be3c57242 100644
--- a/prompts/okx-ai/e2e-evidence/FUNDING-REQUEST.md
+++ b/prompts/okx-ai/e2e-evidence/FUNDING-REQUEST.md
@@ -6,9 +6,10 @@ catalog and today's gas price, not padded.
## Re-verified 2026-09-09, and one blocker cleared itself
-- **All four unpaid gauntlet cases pass** (1, 1d, 5d, 7). `node scripts/okx-e2e-gauntlet.mjs
- --dry-run` reads `4/14 cases passed`, the other ten being the paid legs this file asks to
- unblock.
+- **Every gauntlet case that can run without funding passes.** `node
+ scripts/okx-e2e-gauntlet.mjs --dry-run` reads `4/4 cases exercised passed, 10 skipped`
+ (1, 1d, 5d, 7), and a separate real run closes two more (see the 5b/5c section below), so
+ six of the fourteen are green. The eight that remain are the paid legs this file unblocks.
- **Case 1d is GREEN in production.** The discovery paywall the 2026-09-02 version of this
file called out as "one thing funding will NOT fix" shipped since. A spec-compliant MCP
client (`Accept: text/event-stream` + `MCP-Protocol-Version`) now gets 200 on `initialize`
@@ -34,7 +35,7 @@ catalog and today's gas price, not padded.
7 A2MCP forge rows, submitted on-chain 2026-08-27 and currently
`approvalLabel: "Listing under review"`. The old ask was priced against `text-to-3d`,
`avatar` and `fbx-export`; the gauntlet now buys the rows OKX actually lists.
-- **The ask is smaller.** $1.32 covers a clean run, against $3.00 before.
+- **The ask is smaller.** $1.08 covers a clean run, against $3.00 before.
## Live balances (X Layer RPC, direct `eth_call`, block 70162898, 2026-09-09)
@@ -75,19 +76,19 @@ authorization off-chain and the relayer broadcasts.
| 5a | forge-draft | $0.01 | yes |
| 5b | forge-draft | $0.01 | no, rejected on amount before redemption |
| 5c | forge-draft | $0.01 | no, authorization expired |
-| 6 | forge-image | $0.25 | no, that is the assertion |
+| 6 | forge-draft | $0.01 | no, that is the assertion |
| 7 | forge-draft | $0.01 | no, and it pays a different rail (see below) |
One clean run settles **$1.07**. The binding constraint is not that sum but the **balance
floor**: verify refuses any authorization whose value exceeds `balanceOf(buyer)`, including
-the ones designed to be rejected, so the wallet must still hold $0.25 when case 6 signs. A
-single clean run therefore needs a starting float of **$1.32**, which the gauntlet checks
-before it signs anything and refuses to start below.
+the ones designed to be rejected, so the wallet must still hold the price of the last case
+that signs. A single clean run therefore needs a starting float of **$1.08**, which the
+gauntlet checks before it signs anything and refuses to start below.
-$1.32 covers one clean run. The rest is the fix loop: phase 3 re-runs the failed case plus
+$1.08 covers one clean run. The rest is the fix loop: phase 3 re-runs the failed case plus
cases 2 and 5a as its regression floor, and the two dearest cases are the ones most likely to
need iterating (the HD lane hold-gates, the image lane depends on an upstream painter).
-Budgeting five iterations at the worst case adds ~$2.6. **$1.32 + $2.6 = $3.9, rounded to
+Budgeting five iterations at the worst case adds ~$2.6. **$1.08 + $2.6 = $3.7, rounded to
5.0** so the run is never the thing that runs out. Anything unspent stays in the buyer wallet
for WO-05 and for retests during OKX's review.
@@ -98,6 +99,30 @@ If it is easier to fund from `payTo` (2.427731 USD₮0, enough for a clean run p
iterations) than from an exchange, that works and needs no external transfer. That key is in
Secret Manager and this session cannot read it, so it has to be you either way.
+## Two cases came off this ask entirely (2026-09-09, later session)
+
+`5b` and `5c` do not need funding and never did. The CLI signs an EIP-3009 authorization
+off-chain regardless of balance, and the server rejects both before any balance or settlement
+check, so `node scripts/okx-e2e-gauntlet.mjs --yes --only 5b,5c` reads `2/2 cases passed.
+Settlements: 0` with the buyer at 0.000000. Three of the four adversarial cases (5b, 5c, 5d)
+are now closed. Only 5a still needs money, because replaying a VALID authorization first
+requires a real settlement to replay.
+
+## Correction made 2026-09-09 (later session): case 6 was testing the wrong side of the line
+
+The earlier version of this file priced case 6 at $0.25 on `forge-image`, forcing the failure
+with an image URL that 404s. Measured against production today, that input does not fail at
+acceptance: `POST /api/forge` with a 404 `image_urls` entry answers `200 queued`, because
+validation there is format-only and never fetches the image. The job would have been accepted,
+settled, and only failed later in generation, which is the CHARGED side of the acceptance line
+we document. Case 6 would have spent $0.25 to assert the opposite of our own promise.
+
+Case 6 now signs `forge-draft` ($0.01) with a whitespace-only prompt: it clears the tool's
+JSON schema (minLength counts the spaces, so the buyer still gets a real, payable 402) and is
+then refused inside the handler with `invalid_input` before the lane is asked for any work.
+Covered by a unit test in `tests/api/okx-forge.test.js` that asserts both hops, so the premise
+cannot rot silently. This is why the float floor above dropped from $1.32 to $1.08.
+
## Optional second leg: make case 7 a real paid legacy settlement
Case 7 currently proves the pre-OKX rails are still advertised at the right price, which
diff --git a/scripts/okx-e2e-gauntlet.mjs b/scripts/okx-e2e-gauntlet.mjs
index c92be396f..455816663 100644
--- a/scripts/okx-e2e-gauntlet.mjs
+++ b/scripts/okx-e2e-gauntlet.mjs
@@ -31,7 +31,7 @@
* 5b an authorization bound to one price cannot buy a dearer service
* 5c an expired authorization is rejected and a fresh challenge offered
* 5d a garbage payment header gets a clean 4xx and runs no tool
- * 6 a job that fails after payment leaves the authorization unspent
+ * 6 a job refused at acceptance leaves the authorization unspent
* 7 a legacy (non-X-Layer) rail still answers, and pays, its own challenge
*
* Usage:
@@ -92,11 +92,19 @@ const evidence = (name, data) => {
writeFileSync(path, typeof data === 'string' ? data : JSON.stringify(data, null, 2));
return `prompts/okx-ai/e2e-evidence/${name}`;
};
-function record(id, title, ok, detail, ref) {
- results.push({ id, title, ok, detail, evidence: ref });
- log(`${ok ? 'PASS' : 'FAIL'} [${id}] ${title}${detail ? `: ${detail}` : ''}`);
+// A case that never ran is not a case that failed. A dry run used to report
+// every paid leg as FAIL and headline "4/14 cases passed", which reads as ten
+// broken cases and has been misread that way in this campaign's own notes. A
+// skipped case is recorded as SKIP, kept out of the pass ratio, and counted
+// separately, so the headline says what was actually exercised.
+function record(id, title, ok, detail, ref, { skipped = false } = {}) {
+ results.push({ id, title, ok, detail, evidence: ref, skipped });
+ log(`${skipped ? 'SKIP' : ok ? 'PASS' : 'FAIL'} [${id}] ${title}${detail ? `: ${detail}` : ''}`);
return ok;
}
+// Cases the run deliberately did not exercise: a dry run signs nothing, so
+// every leg that has to sign is skipped rather than failed.
+const skip = (id, title, detail) => record(id, title, false, detail, null, { skipped: true });
const wanted = (id) => !args.only || args.only.has(id);
// ── X Layer reads ────────────────────────────────────────────────────────────
@@ -403,7 +411,7 @@ async function buyForge({ id, serviceId, title, toolArgs }) {
return record(id, title, false, `challenge mismatch: ${accept.network} @ ${accept.amount}, want eip155:196 @ ${entry.amountAtomics}`, evidence(`31-case${id}-unpaid.json`, unpaid));
}
- if (args.dryRun) return record(id, title, false, 'dry run: signing skipped', null);
+ if (args.dryRun) return skip(id, title, 'dry run: signing skipped');
const signed = signChallenge(unpaid.challengeHeader);
const auth = authFromHeader(signed.header);
@@ -476,7 +484,7 @@ async function case3Rigged() {
if (accept.network !== 'eip155:196' || accept.amount !== entry.amountAtomics) {
return record(id, title, false, `challenge mismatch: ${accept.network} @ ${accept.amount}, want eip155:196 @ ${entry.amountAtomics}`, evidence(`31-case${id}-unpaid.json`, unpaid));
}
- if (args.dryRun) return record(id, title, false, 'dry run: signing skipped', null);
+ if (args.dryRun) return skip(id, title, 'dry run: signing skipped');
const signed = signChallenge(unpaid.challengeHeader);
const auth = authFromHeader(signed.header);
@@ -516,7 +524,14 @@ async function case3Rigged() {
}
async function case4Settlement() {
- if (!settlements.length) return record('4', 'settlement verified on-chain', false, 'no settlements to verify (paid cases did not run or did not settle)', null);
+ // In a dry run nothing signed, so there is nothing to verify and this is a
+ // skip. In a real run it is a failure: a paid case that answered 200 without
+ // producing a settlement is exactly the outcome this case exists to catch.
+ if (!settlements.length) {
+ return args.dryRun
+ ? skip('4', 'settlement verified on-chain', 'dry run: nothing was signed, so nothing settled')
+ : record('4', 'settlement verified on-chain', false, 'no settlements to verify (paid cases did not run or did not settle)', null);
+ }
const verified = [];
let allOk = true;
for (const s of settlements) {
@@ -534,7 +549,7 @@ async function case5aReplay() {
const toolArgs = { prompt: 'a small brass astrolabe' };
const unpaid = await mcpCall(entry, FORGE_TOOL, toolArgs);
if (unpaid.status !== 402) return record('5a', 'replayed authorization buys no second job', false, `setup failed, expected 402 got ${unpaid.status}`, null);
- if (args.dryRun) return record('5a', 'replayed authorization buys no second job', false, 'dry run', null);
+ if (args.dryRun) return skip('5a', 'replayed authorization buys no second job', 'dry run: signing skipped');
const signed = signChallenge(unpaid.challengeHeader);
const auth = authFromHeader(signed.header);
@@ -576,7 +591,7 @@ async function case5bCrossService() {
const dear = catalogEntry('forge-hd');
const unpaid = await mcpCall(cheap, FORGE_TOOL, { prompt: 'a tin whistle' });
if (unpaid.status !== 402) return record('5b', 'cheap authorization cannot buy a dearer service', false, `setup failed, expected 402 got ${unpaid.status}`, null);
- if (args.dryRun) return record('5b', 'cheap authorization cannot buy a dearer service', false, 'dry run', null);
+ if (args.dryRun) return skip('5b', 'cheap authorization cannot buy a dearer service', 'dry run: signing skipped');
const signed = signChallenge(unpaid.challengeHeader);
const auth = authFromHeader(signed.header);
@@ -606,7 +621,7 @@ async function case5cExpired() {
const toolArgs = { prompt: 'a paper lantern' };
const unpaid = await mcpCall(entry, FORGE_TOOL, toolArgs);
if (unpaid.status !== 402) return record('5c', 'expired authorization is rejected, fresh challenge offered', false, `setup failed, expected 402 got ${unpaid.status}`, null);
- if (args.dryRun) return record('5c', 'expired authorization is rejected, fresh challenge offered', false, 'dry run', null);
+ if (args.dryRun) return skip('5c', 'expired authorization is rejected, fresh challenge offered', 'dry run: signing skipped');
// Sign against a one-second validity window, then let it lapse. This is a
// genuinely expired real signature, not a hand-edited authorization.
@@ -663,15 +678,29 @@ async function case5dGarbage() {
}
async function case6PayOnlySuccess() {
- // A job that passes payment verification and then fails in the lane: a
- // well-formed image request pointing at a URL that does not resolve to an
- // image. If the promise holds, the authorization is still unspent on-chain
- // afterwards and no settlement receipt was emitted.
- const entry = catalogEntry('forge-image');
- const toolArgs = { image_urls: [`${args.base}/definitely-not-a-real-image-${Date.now()}.png`] };
+ // A job that passes payment verification and is then REFUSED by the lane.
+ // Acceptance is the line the catalog and docs/okx-marketplace.md draw, so
+ // that is where the promise is testable: refused at acceptance means the
+ // authorization is still unspent on-chain afterwards and no settlement
+ // receipt was emitted. A job that is ACCEPTED and then fails during
+ // generation IS charged, by design and by documentation, so forcing that
+ // would assert the opposite of what we promise.
+ //
+ // The refusal used here is a whitespace-only prompt: it clears the tool's
+ // JSON-schema minLength (three characters) and so still earns a real 402 to
+ // sign, then trims to empty inside the handler and is refused with
+ // `invalid_input` before settlement. It carries no content and no GPU cost.
+ //
+ // Do NOT "improve" this back to an unreachable image URL. Measured against
+ // production 2026-09-09: POST /api/forge with a 404 image_urls entry answers
+ // 200 `queued` (validation there is format-only, not reachability), so that
+ // input is accepted, settles, and only fails later in generation, which is
+ // the charged side of the line.
+ const entry = catalogEntry('forge-draft');
+ const toolArgs = { prompt: ' ' };
const unpaid = await mcpCall(entry, FORGE_TOOL, toolArgs);
- if (unpaid.status !== 402) return record('6', 'failed job leaves the authorization unspent', false, `setup failed, expected 402 got ${unpaid.status}`, null);
- if (args.dryRun) return record('6', 'failed job leaves the authorization unspent', false, 'dry run', null);
+ if (unpaid.status !== 402) return record('6', 'job rejected at acceptance leaves the authorization unspent', false, `setup failed, expected 402 got ${unpaid.status}`, null);
+ if (args.dryRun) return skip('6', 'job rejected at acceptance leaves the authorization unspent', 'dry run: signing skipped');
const signed = signChallenge(unpaid.challengeHeader);
const auth = authFromHeader(signed.header);
@@ -691,7 +720,7 @@ async function case6PayOnlySuccess() {
const notCharged = after === false && !attempt.receiptHeader;
return record(
'6',
- 'failed job leaves the authorization unspent (pay-only-on-success)',
+ 'job rejected at acceptance leaves the authorization unspent',
failed && notCharged,
`job ${attempt.status}${attempt.isToolError ? ' tool error' : ''} (${attempt.structured?.error || ''}), nonce redeemed on-chain: ${after}, settlement receipt emitted: ${Boolean(attempt.receiptHeader)}`,
ref,
@@ -760,7 +789,7 @@ const SPEND_PLAN = [
{ id: '5a', service: 'forge-draft', settles: true },
{ id: '5b', service: 'forge-draft', settles: false },
{ id: '5c', service: 'forge-draft', settles: false },
- { id: '6', service: 'forge-image', settles: false },
+ { id: '6', service: 'forge-draft', settles: false },
{ id: '7', service: 'forge-draft', settles: false, rail: 'solana USDC' },
];
function budget() {
@@ -835,11 +864,17 @@ async function main() {
if (wanted('4')) await case4Settlement();
const ref = evidence('00-gauntlet-summary.json', { base: args.base, dryRun: args.dryRun, ranAt: new Date().toISOString(), results, settlements });
- const passed = results.filter((r) => r.ok).length;
+ const ran = results.filter((r) => !r.skipped);
+ const passed = ran.filter((r) => r.ok).length;
+ const skippedCount = results.length - ran.length;
log('\n' + '-'.repeat(72));
- for (const r of results) log(` ${r.ok ? 'PASS' : 'FAIL'} ${r.id.padEnd(3)} ${r.title}`);
+ for (const r of results) log(` ${r.skipped ? 'SKIP' : r.ok ? 'PASS' : 'FAIL'} ${r.id.padEnd(3)} ${r.title}`);
log('-'.repeat(72));
- log(`${passed}/${results.length} cases passed. Settlements: ${settlements.length}. Summary: ${ref}`);
+ log(
+ `${passed}/${ran.length} cases exercised passed` +
+ (skippedCount ? `, ${skippedCount} skipped (not run)` : '') +
+ `. Settlements: ${settlements.length}. Summary: ${ref}`,
+ );
process.exit(passed === results.length ? 0 : 1);
}
diff --git a/tests/api/okx-forge.test.js b/tests/api/okx-forge.test.js
index 802983cd0..fd7798c6d 100644
--- a/tests/api/okx-forge.test.js
+++ b/tests/api/okx-forge.test.js
@@ -661,6 +661,18 @@ describe('each row drives its own lane', () => {
expect(submitted).toHaveLength(0);
});
+ // The gauntlet's pay-on-acceptance case (scripts/okx-e2e-gauntlet.mjs case 6)
+ // signs a real payment for exactly this input, so the refusal has to survive
+ // two hops: the tool's JSON schema must ACCEPT it (minLength 3 counts the
+ // spaces) so the buyer still gets a payable 402, and the handler must then
+ // refuse it before the lane is ever asked for work.
+ it('refuses a whitespace-only prompt at acceptance, before any generation runs', async () => {
+ const out = await callTool('forge-draft', FORGE_TOOL, { prompt: ' ' });
+ expect(out.isError).toBe(true);
+ expect(out.structuredContent.error).toBe('invalid_input');
+ expect(submitted).toHaveLength(0);
+ });
+
it('turns a saturated generator into an actionable busy error, never a 500', async () => {
lane.submit = () => jsonResponse(429, { message: 'busy', retry_after: 12 });
const out = await callTool('forge-draft', FORGE_TOOL, { prompt: 'a fox' });