{
  "id": "patch_verification",
  "title": "Patch acceptance check",
  "category": "cheap_tool",
  "scope": "One supplied unified diff checked for structure, path policy, static patterns and added-line assertions; signed acceptance receipt.",
  "input_example": {
    "patch": "--- a/src/example.js\n+++ b/src/example.js\n@@ -1 +1 @@\n-old\n+new\n",
    "path_policy": {
      "allowed_paths": [
        "src/"
      ]
    },
    "assertions": [
      {
        "type": "contains",
        "pattern": "^new$"
      }
    ]
  },
  "output_example": {
    "result": {
      "verdict": "PASS",
      "modified_files": [
        "src/example.js"
      ]
    },
    "acceptance_receipt": {
      "receipt_schema": "glee.acceptance_receipt.v0",
      "outcome": "PASS"
    }
  },
  "limitations": [
    "Request limit 1048576 bytes.",
    "Does not apply patches, run tests, resolve commits, certify security or prove correctness.",
    "FAIL and INSUFFICIENT_EVIDENCE are delivered results; payment does not guarantee PASS."
  ],
  "variable_cost": "Deterministic Worker CPU, receipt signing, storage and facilitator/chain fees; actual amounts unknown. No model call.",
  "fulfillment": "implemented",
  "availability": "live_configured",
  "purchasable": true,
  "unavailable_reason": null,
  "price": {
    "amount": 0.05,
    "amount_atomic": "50000",
    "currency": "USDC",
    "cadence": "per_call",
    "network": "eip155:8453",
    "status": "existing_terms_unchanged"
  },
  "contract_url": "/agents/services.json?offer=patch_verification",
  "purchase": {
    "endpoint": "https://platform.gleephoenix.com/api/x402/verify/patch",
    "method": "POST",
    "flow": "Request the unpaid 402 quote; compare exact terms; an authorized buyer retries the identical input with PAYMENT-SIGNATURE. No automatic purchase.",
    "receipt_keys": "/.well-known/glee-receipt-keys"
  },
  "delivery_endpoint": "https://platform.gleephoenix.com/api/x402/verify/patch",
  "example_status": "illustrative_subset_not_a_paid_receipt"
}