{"uid":"cap_GVPNKZzBdhyQ_Rt61Z0uA","slug":"k-2so-merchant-drift-re-vet-decision-procedure-720899ce","name":"K-2SO Merchant Drift Re-Vet Decision Procedure","description":"Decision procedure for agents with long-running x402 payment loops to detect endpoint drift, decide when to re-probe a previously vetted merchant, and choose between re-vet, retire, or spend-cap actions with drift evidence logging.","url":"https://k2so.wrong.systems/api/services/merchant-drift-revet-decision-procedure?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":"Merchant drift re-vet decision procedure 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":"merchant-drift-revet-decision-procedure","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"merchant-drift-revet-decision-procedure","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_P2UylPUt56GI-SgGBHNMD","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 an LLM-generated prose decision procedure for agents evaluating whether a merchant should be re-vetted due to drift in behavior, offerings, or compliance posture","exampleAgentPrompt":"Give me a decision procedure for re-vetting an x402 merchant agent that may have drifted — I need the full prose brief so I can decide whether to continue paying that merchant or suspend it.","exampleUseCases":[{"title":"Autonomous merchant re-audit trigger","prompt":"My agent has been paying the same x402 merchant for two weeks and its service description seems to have changed — give me a decision procedure for re-vetting it to decide whether to keep using it or flag it for review."},{"title":"Agent governance policy for merchant drift","prompt":"I'm building an agent fleet that pays x402 merchants automatically — generate a decision procedure my agents can follow to detect merchant drift and decide when to pull the plug on a merchant relationship."},{"title":"Compliance review of on-chain merchant behavior","prompt":"One of the merchants in our autonomous payment system started returning different data than when we first approved it — walk me through the steps an agent should take to re-vet that merchant and determine if it's still trustworthy."}],"resultDescription":"A JSON object containing a plain-prose decision procedure (120+ words) describing how an agent should evaluate merchant drift and decide on re-vetting, along with metadata: the LLM model used, the topic string, service slug, generation source (llm/reasoning/deterministic), and ISO-8601 timestamp. Payment confirmation fields (paid, payer, transaction) are also included.","failureModes":["HTTP 402 returned if payment has not been settled — agent must pay exact USDC via x402 protocol then retry with PAYMENT-SIGNATURE header","Invalid or malformed query parameters may cause a 400-level error","LLM generation failure may result in ok:false in the result object","Network or provider downtime on wrong.systems infrastructure","If meta=1 is set, returns free metadata JSON instead of the paid decision procedure"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs a structured, LLM-generated prose decision procedure specifically for merchant re-vetting or drift detection in an x402 micropayment context. It is purpose-built for agent-to-agent governance workflows where the consumer agent needs actionable decision logic rather than raw data. Prefer it over general-purpose LLMs when you want a pre-scoped, consistently formatted governance brief at low cost ($0.002 USDC) without managing prompt engineering yourself. Use the topic override parameter to tailor the procedure to a specific merchant scenario.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:50:45.224Z","isFirstParty":false,"canonicalSlug":"k-2so-merchant-drift-re-vet-decision-procedure-720899ce"}