{"uid":"cap_fa4r4VPcSpaLw75NNZgvU","slug":"pre-trade-token-risk-consensus-decision-stress-test-4c63482f","name":"Pre-Trade Token Risk Consensus – Decision Stress Test","description":"Public static preview plus paid token controls, risk consensus, AI security, webhook reliability, developer security, schedule risk, decision analysis, API release compatibility, accounts-payable reconciliation, e-commerce return eligibility, SaaS subscription-proration, sales-commission reconciliation, parcel-charge reconciliation, SLA service-credit reconciliation, advertising spend-and-fee audit, contract-renewal audit, workforce timecard reconciliation, hotel booking-commission reconciliation, and warehouse cycle-count adjustment reconciliation products for autonomous agents.","url":"https://rooke-token-risk-pilot.rookepoole.workers.dev/v1/x402/decision-stress-test?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"options":{"type":"array","items":{"type":"object","required":["optionId","label","upfrontCostUsd","recurringCostUsd30Days","expectedRevenueUsd30Days","probabilityOfSuccess","failureLossUsd","timeToEvidenceDays","reversibility","evidenceConfidence"],"properties":{"label":{"type":"string","maxLength":200,"minLength":3},"optionId":{"type":"string","pattern":"^[A-Z][A-Z0-9_]*$","maxLength":64,"minLength":2},"reversibility":{"type":"number","maximum":1,"minimum":0},"failureLossUsd":{"type":"number","maximum":1000000000,"minimum":0},"upfrontCostUsd":{"type":"number","maximum":1000000000,"minimum":0},"evidenceConfidence":{"type":"number","maximum":1,"minimum":0},"timeToEvidenceDays":{"type":"integer","maximum":365,"minimum":0},"probabilityOfSuccess":{"type":"number","maximum":1,"minimum":0},"recurringCostUsd30Days":{"type":"number","maximum":1000000000,"minimum":0},"expectedRevenueUsd30Days":{"type":"number","maximum":1000000000,"minimum":0}},"additionalProperties":false},"maxItems":8,"minItems":2},"objective":{"type":"string","maxLength":1000,"minLength":10},"assumptions":{"type":"array","items":{"type":"object","required":["assumptionId","statement","confidence","falsifier"],"properties":{"falsifier":{"type":"string","maxLength":500,"minLength":5},"statement":{"type":"string","maxLength":500,"minLength":5},"confidence":{"type":"number","maximum":1,"minimum":0},"assumptionId":{"type":"string","pattern":"^[A-Z][A-Z0-9_]*$","maxLength":64,"minLength":2}},"additionalProperties":false},"maxItems":20,"minItems":1},"constraints":{"type":"object","required":["maximumCapitalAtRiskUsd","maximumTimeToEvidenceDays","minimumExpectedProfitUsd30Days"],"properties":{"maximumCapitalAtRiskUsd":{"type":"number","maximum":1000000000,"exclusiveMinimum":0},"maximumTimeToEvidenceDays":{"type":"integer","maximum":365,"minimum":0},"minimumExpectedProfitUsd30Days":{"type":"number","maximum":1000000000,"minimum":-1000000000}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"decision":{"verdict":"PROCEED_WITH_OPTION","optionId":"THIN_SLICE","reasonCodes":["BEST_ADMISSIBLE_RISK_ADJUSTED_OPTION"]},"reportHash":"sha256-hex","evidenceGaps":[],"claimBoundary":{"fundsMoved":false,"investmentAdvice":false,"capitalAuthorized":false,"outcomeGuaranteed":false,"executionPerformed":false,"externalFactsVerified":false,"deterministicCallerSuppliedInputsOnly":true},"schemaVersion":"AGENT_DECISION_STRESS_TEST_V1","optionAnalyses":[],"nextEvidenceAction":"Test the lowest-confidence assumption with a reversible experiment."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"9","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":"$9/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"9","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"9","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_17_CyIrvrOxRnMZzLqI_n","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"9","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a risk-adjusted stress test across 2–8 decision options, scoring each against constraints and assumptions to produce a verdict on which option to proceed with.","exampleAgentPrompt":"I need to stress-test two options: Option A is launching our SaaS product with $50k upfront, $10k/month recurring, $80k expected monthly revenue, 60% probability of success, $30k failure loss, 90 days to evidence, 0.3 reversibility, and 0.7 evidence confidence. Option B is a lean pilot with $5k upfront, $2k/month, $15k expected monthly revenue, 80% success probability, $3k failure loss, 30 days to evidence, 0.9 reversibility, and 0.5 evidence confidence. My objective is to find the highest-profit path, with a max capital at risk of $60k, max 120 days to evidence, and a minimum expected profit of $5k/month — which should I proceed with?","exampleUseCases":[{"title":"Choosing between two vendor contracts","prompt":"I'm deciding between two vendor contracts for our logistics software. Vendor A costs $200k upfront, $20k/month recurring, expected to bring $90k/month revenue, 70% success odds, $150k failure loss, 60 days to evidence, 0.2 reversibility, 0.8 confidence. Vendor B costs $30k upfront, $8k/month, $40k/month revenue, 85% success, $20k loss, 30 days to evidence, 0.7 reversibility, 0.6 confidence. My objective is maximizing 30-day profit. Constraints: max $250k capital at risk, max 90 days to evidence, minimum $10k/month profit. Which should I go with?"},{"title":"Stress-testing a new product launch strategy","prompt":"Help me stress-test three product launch options for our new analytics tool. Option FULL_LAUNCH: $500k upfront, $50k/month, $300k/month revenue, 50% success, $400k failure loss, 180 days to evidence, 0.1 reversibility, 0.6 confidence. Option PILOT: $50k upfront, $10k/month, $60k/month revenue, 75% success, $40k failure loss, 45 days to evidence, 0.8 reversibility, 0.7 confidence. Option WAIT: $0 upfront, $5k/month, $0 revenue, 100% success, $0 failure loss, 30 days, 1.0 reversibility, 1.0 confidence. Objective: maximize expected profit. Constraints: max $600k capital at risk, 200 days max, minimum $0 profit."},{"title":"Evaluating a marketing spend decision","prompt":"I need to compare two marketing spend options for Q3. Option PAID_ADS: $80k upfront, $15k/month, $70k/month expected revenue, 65% success probability, $60k failure loss, 45 days to evidence, 0.4 reversibility, 0.6 confidence. Option CONTENT_SEO: $20k upfront, $5k/month, $30k/month expected revenue, 80% success, $10k failure loss, 90 days to evidence, 0.6 reversibility, 0.5 confidence. Objective: highest risk-adjusted profit. Constraints: max capital at risk $100k, max 120 days to evidence, minimum $5k/month profit. Which option should we proceed with?"}],"resultDescription":"Returns a verdict object with the recommended option ID and reason codes, per-option risk analyses, identified evidence gaps, a suggested next evidence action, and a claim boundary disclaimer confirming no funds were moved or execution performed. Also includes a report hash for auditability and schema version.","failureModes":["Invalid option schema — optionId must match ^[A-Z][A-Z0-9_]*$ pattern","Fewer than 2 or more than 8 options submitted","Constraint values out of allowed range (e.g. maximumCapitalAtRiskUsd must be > 0)","Assumption missing required falsifier field","Payment failure — $9 USDC not successfully settled via x402","Objective string too short (< 10 characters) or too long (> 1000 characters)","timeToEvidenceDays exceeds maximum of 365"],"whenToPreferThis":"Choose this endpoint when an AI agent or human needs a structured, auditable risk-adjusted verdict across 2–8 competing decision options — especially when constraints on capital at risk, time to evidence, and minimum profit must all be enforced simultaneously. Prefer this over simple expected-value calculators when assumption tracking, reversibility scoring, and evidence gap identification are required. Best suited for pre-commitment decision checkpoints in autonomous agent workflows where a documented claim boundary (no funds moved, no execution performed) is important for accountability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:36:53.759Z","isFirstParty":false,"canonicalSlug":"pre-trade-token-risk-consensus-decision-stress-test-4c63482f"}