{"openapi":"3.1.1","info":{"title":"Decision Integrity — evidence, warrant and action authority","version":"1.0.0","description":"Evaluate whether evidence and represented authority warrant a requested action. Detect unsupported inference, qualifier stripping, erased unknowns, broken provenance, and exceeded decision boundaries. Does this evidence warrant this conclusion? Is this action authorized? Do I have sufficient warrant to act? Are unknowns being erased? Are qualifiers being stripped? Is this inference warranted? Does provenance support this recommendation? Does the requested action exceed represented authority? Decision Integrity / Structured Record 1.0"},"servers":[{"url":"https://decision-integrity-service.wheelerhubbell.chatgpt.site"}],"externalDocs":{"url":"https://decision-integrity-service.wheelerhubbell.chatgpt.site/AGENTS.md"},"paths":{"/evaluate":{"get":{"operationId":"getPaymentRequirement","summary":"Discover the price; GET never evaluates or settles.","responses":{"402":{"description":"x402 v2 payment requirement; use POST with a structured record."}}},"post":{"operationId":"evaluateDecisionIntegrity","summary":"Audit the warrant and represented authority for one action. Exactly 1 USDC.","description":"Schema validation precedes charging. Both payment verification and settlement precede evaluation. The response signs the full preserved record and payment receipt.","parameters":[{"name":"PAYMENT-SIGNATURE","in":"header","required":false,"description":"Base64 x402 v2 PaymentPayload, generated by an authorized x402 client after the 402 challenge.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"https://decision-integrity-service.wheelerhubbell.chatgpt.site/schema.json"},"example":{"requestId":"example-1","question":"Does the represented evidence warrant this recommendation?","action":{"id":"a1","description":"Recommend the release based on the represented completed review.","actorId":"agent-1","operation":"RECOMMEND","scope":"deployment review","target":"release-7","jurisdiction":"project-alpha","claimIds":["c1"],"qualifiers":["q1"],"unknowns":[]},"evidence":[{"id":"e1","content":"The release checklist contains a completed security review.","sha256":"6a2266290b7f2f24d3cf2108f24c648448fe23decc51eef8f89ce4bdabccfe61","provenance":{"sourceId":"example:e1","uri":"urn:example:e1","attribution":"Illustrative fixture, not a real release","observedAt":"2026-09-01T00:00:00Z"},"status":"ADMITTED","scope":"deployment review","target":"release-7","jurisdiction":"project-alpha","allowedOperations":["CITE","INFORM","RECOMMEND"],"qualifiers":["q1"],"unknowns":[]},{"id":"e2","content":"The release manager permits agent-1 to recommend release-7 within deployment review.","sha256":"c6695a517fa8394293089f3bf959dca6232a2ae75940cc387d6487ecfb442ebf","provenance":{"sourceId":"example:e2","uri":"urn:example:e2","attribution":"Illustrative fixture, not a real release","observedAt":"2026-09-01T00:00:00Z"},"status":"ADMITTED","scope":"deployment review","target":"release-7","jurisdiction":"project-alpha","allowedOperations":["CITE","INFORM","RECOMMEND"],"qualifiers":["q1"],"unknowns":[]}],"claims":[{"id":"c1","text":"The release checklist contains a completed security review.","mode":"QUOTE","evidenceIds":["e1"],"warrantIds":[],"qualifiers":["q1"],"unknowns":[]}],"warrants":[],"authority":[{"id":"g1","actorId":"agent-1","issuer":"release-manager","provenanceEvidenceIds":["e2"],"operations":["RECOMMEND"],"scope":"deployment review","target":"release-7","jurisdiction":"project-alpha","effect":"ALLOW","revoked":false,"validFrom":"2026-09-01T00:00:00Z","validUntil":"2099-01-01T00:00:00Z","conditionIds":[]}],"qualifiers":[{"id":"q1","text":"Only the represented release checklist is evaluated; deployment success is not established."}],"unknowns":[],"conditions":[]}}}},"responses":{"200":{"description":"Verified and settled, attested evaluation.","headers":{"PAYMENT-RESPONSE":{"schema":{"type":"string"},"description":"Base64 x402 settlement receipt."}},"content":{"application/json":{"schema":{"$ref":"https://decision-integrity-service.wheelerhubbell.chatgpt.site/result.schema.json"}}}},"400":{"description":"Invalid request. No evaluation, no settlement."},"402":{"description":"Missing or invalid payment, verification failure, or settlement failure. No evaluation released.","headers":{"PAYMENT-REQUIRED":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["x402Version","resource","accepts"],"properties":{"x402Version":{"const":2},"resource":{"type":"object"},"accepts":{"type":"array","items":{"type":"object"}}}}}}},"503":{"description":"Service unavailable. No evaluation released."}},"x-payment":{"x402Version":2,"scheme":"exact","network":"eip155:8453","amount":"1000000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x1050eddd8282623b0c263ed6bdbd42370bbc28d3","maxTimeoutSeconds":300,"facilitator":"https://facilitator.payai.network"}}},"/schema.json":{"get":{"operationId":"getEvaluationSchema","responses":{"200":{"description":"JSON Schema 2020-12"}}}},"/agent/mcp":{"post":{"operationId":"mcp","summary":"MCP transport to the same evaluator","responses":{"200":{"description":"MCP JSON-RPC result; unpaid tool result carries the x402 requirement."},"402":{"description":"x402 payment required for HTTP-payment clients."}}}},"/a2a":{"post":{"operationId":"a2a","summary":"A2A 1.0 SendMessage to the same evaluator","responses":{"200":{"description":"A2A message containing paid attested evaluation"},"402":{"description":"x402 payment required"}}}}}}