# Pre-Trade Token Risk Consensus – Decision Stress Test

> Pre-Trade Token Risk Consensus – Decision Stress Test is a paid API for AI agents from rooke-token-risk-pilot.rookepoole.workers.dev, paid per call via x402, $9/call, status unknown (last checked 2026-10-12).

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.

## Facts

- Endpoint: POST https://rooke-token-risk-pilot.rookepoole.workers.dev/v1/x402/decision-stress-test?utm_source=zero.xyz
- Price: $9/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pre-trade-token-risk-consensus-decision-stress-test-4c63482f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fa4r4VPcSpaLw75NNZgvU

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability pre-trade-token-risk-consensus-decision-stress-test-4c63482f -d '<json body>'
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
   ]
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "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."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pre-trade-token-risk-consensus-decision-stress-test-4c63482f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rooke-token-risk-pilot.rookepoole.workers.dev](https://www.zero.xyz/host/rooke-token-risk-pilot.rookepoole.workers.dev/llms.txt)
