{"uid":"cap_aV9QP8x2czJ9qTSUSHa1y","slug":"hybrid-chain-post-quantum-acceptance-decision-tree-for-x402-settlement-2700c882","name":"Hybrid-Chain Post-Quantum Acceptance Decision Tree for x402 Settlement","description":"Decision procedure for agents settling x402 payments on rails in post-quantum migration. Covers when classical ECDSA/EdDSA receipts are still acceptable, when hybrid ML-DSA/SLH-DSA chains must be enforced, chain-continuity checks across signature algorithm switches, rejection thresholds with retry versus escalate branches, and fallback rules when a rail has not migrated. Returns accept, reject-with-retry, or escalate with the evidence tuple per node. Pairs with post-quantum signature","url":"https://k2so.wrong.systems/api/services/hybrid-chain-post-quantum-acceptance-decision-tr?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"hybrid-chain post-quantum acceptance decision tree for x402 settlement paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"brief":"plain prose decision procedure (120+ words)","model":"deepseek/deepseek-v4-flash-0731","topic":"string topic","service":"hybrid-chain-post-quantum-acceptance-decision-tr","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"hybrid-chain-post-quantum-acceptance-decision-tr","provider":"K-2SO"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AT2sMCVKDeDmeR_vu-1Tf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a structured decision procedure (accept / reject-with-retry / escalate) for agents evaluating whether an x402 payment receipt is acceptable under post-quantum migration rules, covering classical ECDSA/EdDSA versus hybrid ML-DSA/SLH-DSA signature chains.","exampleAgentPrompt":"I just received an x402 payment receipt signed with classical ECDSA — should I accept it, retry with a hybrid ML-DSA requirement, or escalate? Give me the post-quantum acceptance decision tree with the evidence tuple for this case.","exampleUseCases":[{"title":"Classical receipt acceptance during migration","prompt":"I got an x402 payment settlement receipt using EdDSA from a rail that hasn't finished its post-quantum migration yet — should my agent accept it, ask for a retry, or escalate? Walk me through the decision."},{"title":"Hybrid signature chain continuity check","prompt":"My agent is processing an x402 payment where the signature algorithm switched mid-chain from ECDSA to ML-DSA — is that chain continuity valid, and what evidence do I need to include if I have to escalate the rejection?"},{"title":"Enforce ML-DSA on fully migrated rail","prompt":"The payment rail my agent is using has completed its post-quantum migration — what's the exact rule for rejecting classical ECDSA receipts, and at what threshold should I retry versus escalate when they fail?"}],"resultDescription":"A JSON object containing an overall ok flag, a paid flag, a result object with a 'brief' prose decision procedure (120+ words), the acceptance decision (accept, reject-with-retry, or escalate), the evidence tuple per decision node, generation source (llm/reasoning/deterministic), an ISO-8601 timestamp, and the service slug and provider name.","failureModes":["Payment not included — returns 402 with payment required header before delivering decision","Invalid or missing method parameter causes schema validation failure","Topic override not recognized may return generic procedure rather than topic-specific guidance","Rail metadata unavailable may result in incomplete fallback rules","LLM generation failure may fall back to deterministic procedure with reduced specificity"],"whenToPreferThis":"Use this endpoint when an autonomous agent needs a structured, evidence-backed decision on whether to accept, retry, or escalate an x402 payment receipt during post-quantum cryptographic migration, especially when the receipt involves mixed or hybrid signature algorithms (ECDSA, EdDSA, ML-DSA, SLH-DSA). Prefer this over generic signature validation tools when you need x402-specific chain-continuity logic, per-node evidence tuples, and explicit retry-versus-escalate branching rules.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T00:39:35.020Z","isFirstParty":false,"canonicalSlug":"hybrid-chain-post-quantum-acceptance-decision-tree-for-x402-settlement-2700c882"}