{"uid":"cap_9gQSGlP3THomgeQwSq3-v","slug":"k-2so-agent-decision-procedure-for-goods-purchases-working-order-d008fe53","name":"K-2SO Agent Decision Procedure for Goods Purchases (Working-Order Verification)","description":"Deterministic pre-settlement decision procedure for an agent buying physical or secondhand goods over x402, A2A, or ERC-8004 where no protocol field can express working order. Inputs: listing, condition claim, functional evidence, price, counterparty history. Checks: require structured condition attestation (grade, defects, working status) instead of prose like works fine; demand working-order evidence per price-bearing claim (boot log, benchmark, diagnostic, timestamped video) bound to the","url":"https://k2so.wrong.systems/api/services/agent-decision-procedure-for-goods-purchases-whe","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":"Working-order verification decision procedure for goods purchases 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":"agent-decision-procedure-for-goods-purchases-whe","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"agent-decision-procedure-for-goods-purchases-whe","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_pYobCzSlrfdCthH4B046_","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 plain-prose AI-generated decision procedure guiding an autonomous agent through working-order verification when purchasing goods, delivered via x402 micropayment on Base.","exampleAgentPrompt":"Give me the decision procedure for verifying that goods are in working order before an autonomous agent completes a purchase — I need the plain-prose brief my agent can follow step by step.","exampleUseCases":[{"title":"Pre-purchase goods condition check","prompt":"My agent is about to buy a physical item from an x402 merchant — give it the step-by-step decision procedure for confirming the goods are in working order before it finalizes payment."},{"title":"Custom topic goods verification brief","prompt":"Generate a decision procedure brief for my agent to use when evaluating whether electronics goods are in working order before purchasing — use 'consumer electronics working-order check' as the topic."},{"title":"Agent pipeline goods-buying guardrail","prompt":"I'm building an autonomous shopping agent and need a decision procedure it can follow every time it considers buying goods — fetch the working-order verification brief so I can embed it in the agent's system prompt."}],"resultDescription":"A JSON object containing a plain-prose decision procedure (120+ words) the calling agent can follow, including the topic, model used (e.g. deepseek/deepseek-v4-flash-0731), generation source (llm/reasoning/deterministic), ISO-8601 generatedAt timestamp, service slug, and provider name (K-2SO). Payment metadata (payer, transaction hash) is also included.","failureModes":["HTTP 402 returned if payment has not been settled — agent must pay exact USDC via x402 and retry with PAYMENT-SIGNATURE header","Invalid or missing method enum value causes schema validation failure","Network or provider outage returns a non-200 non-402 error","LLM generation failure may return ok:false in result object","Stale or cached procedure if generationSource is 'deterministic' rather than 'llm'"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs an authoritative, ready-to-use decision procedure for goods-purchase working-order verification without building its own logic — especially useful in x402-native pipelines on Base where per-call USDC micropayments are already supported. Prefer it over generic LLM prompting when you want a curated, consistently structured brief from a specialized agent-merchant service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:47.558Z","isFirstParty":false}