Operator template

Hunt, verify, pay — with a receipt at the end.

Give your ops team a single mandate: find the best option, verify it against policy, and execute. Ends with a receipt the finance team can reconcile — not a developer's curl output or an agent's unstructured decision log.

Mandate-first purchasing

Issue a spend mandate with your constraints — budget, allowed vendors, resolve rules — and let the workflow handle discovery and policy verification.

Policy enforcement at every step

Hunt finds candidates. Resolve verifies them against your mandate rules. Nothing settles until the policy check passes — not because an engineer wrote a guard, but because the protocol enforces it.

Finance-ready receipt

Settlement produces a structured receipt: amount, vendor, proof-of-value ref, and status — ready for reconciliation without translation from a developer log.

Contract

Use procurementHandoff when the ops team holds the mandate, not the engineer.

The template chains Hunt → Resolve → Pay in one call. Your mandate defines the rules; the protocol enforces them. The receipt returned is a structured, citable artifact — not a webhook payload that needs parsing.

Hunt

Source candidates

Resolve

Verify policy

Pay

Settle + receipt

Request — issue mandate and run

curl -X POST https://api.patchr.co/v1/workflows/templates/procurementHandoff/run \
  -H "Authorization: Bearer $PATCHR_API_TOKEN" \
  -d '{
    "request": "Source and procure Q3 cloud storage expansion under $8,000",
    "conversationId": "conv_procurement_001",
    "metadata": {
      "mandate": {
        "maxSpend": { "amount": 8000, "currency": "USD" },
        "resolveRules": ["pricingVerified", "slaCompliant", "gdprRegion"],
        "allowedVendors": ["aws", "gcp", "hetzner"]
      }
    }
  }'

Response — receipt from Pay

{
  "ok": true,
  "status": "ready",
  "results": {
    "hunt": {
      "selectedCandidate": {
        "candidateId": "cand_hetzner_001",
        "name": "Hetzner Cloud – AX102",
        "netUsd": 6840,
        "source": "hetzner",
        "eligible": true
      }
    },
    "resolve": {
      "triage": {
        "confidence": 0.94,
        "contradictions": [],
        "recommendedRestraint": "proceedSafely"
      }
    },
    "pay": {
      "receipt": {
        "receiptId": "rcpt_procurement_001",
        "status": "settled",
        "amount": { "amount": 6840, "currency": "USD" },
        "vendorId": "cand_hetzner_001",
        "povRef": "pov_hetzner_sla_verified"
      }
    }
  },
  "proofCard": {
    "cardId": "card_procurement_001",
    "evidenceStatus": "sourceBound",
    "confidence": 0.94,
    "cite": "patchr:proofCard:card_procurement_001#v1",
    "openQuestions": [],
    "recommendedRestraint": "proceedSafely"
  }
}

Designed for ops teams

No primitives required. Just a mandate and a goal.

Procurement Handoff is packaged so finance and ops leads can issue a mandate and get a receipt — without knowing which API routes the orchestrator took to get there. Every step is logged; the proof card travels with the receipt.