{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "mcp.alphaassay.com",
    "site": "alphaassay.com",
    "addresses": [
      {
        "address": "144.91.126.250",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "144.91.126.250"
        ],
        "first_seen": "2026-11-22T07:47:03.265Z",
        "last_seen": "2026-11-23T07:49:01.213Z",
        "checks": 2
      }
    ],
    "hosting": [],
    "software": [],
    "server_info": {
      "name": "alphaassay",
      "version": "1.28.1",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "strict-transport-security": "max-age=31536000; includeSubDomains"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.alphaassay",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "6634",
    "server_name": "com.alphaassay/mcp",
    "url": "https://mcp.alphaassay.com/mcp",
    "host": "mcp.alphaassay.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T07:49:01.213Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "f17f6ffd3817da121d3cb6885c8cbe3d6ef28f21c656ebb8b157b98ee70f07a6",
    "first_listed_at": "2026-11-21T07:05:01.505Z",
    "created_at": "2026-11-21T05:15:09.121Z",
    "resolved_addresses": [
      "144.91.126.250"
    ]
  },
  "server": {
    "name": "com.alphaassay/mcp",
    "title": null,
    "description": "Fail-closed backtest/signal validation: overfitting, leakage, deflated Sharpe. NOT financial advice.",
    "version": "0.6.1",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://alphaassay.com",
    "published_at": "2026-07-22T15:36:51.193Z",
    "updated_at": "2026-07-22T15:36:51.193Z",
    "first_seen": "2026-11-21T05:15:08.513Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "x402"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:02:07.296Z"
  },
  "operator": {
    "key": "alphaassay.com",
    "name": "alphaassay.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 2687,
    "first_check_in_window": "2026-11-21T07:05:01.505Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "f17f6ffd3817da121d3cb6885c8cbe3d6ef28f21c656ebb8b157b98ee70f07a6",
    "tools": 21,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T07:05:04.176Z",
    "tool_names": [
      "assay_demo",
      "assay_signal",
      "assay_reproduce",
      "assay_tradelog",
      "assay_forensics",
      "assay_backtest",
      "assay_gauntlet",
      "assay_falsify",
      "assay_pbo",
      "assay_var_es",
      "assay_conformal",
      "assay_survivors",
      "assay_cpcv",
      "assay_batch",
      "assay_register",
      "assay_verdict",
      "assay_graveyard",
      "assay_calibration",
      "assay_certificate_verify",
      "assay_provider_protocol",
      "assay_preflight"
    ],
    "declared": {
      "tools": [
        {
          "name": "assay_demo",
          "title": "Inspect a sample AlphaAssay verdict",
          "description": "Use this when you want to see AlphaAssay's exact verdict envelope --\nschema, findings, leakage taxonomy -- on a built-in example before\nspending a check. A methodology audit; no buy/sell advice.\nFree demo verdict -- see AlphaAssay's full output shape in one call.\n\nRuns the real fail-closed validator over a built-in 40-trade example and\nreturns the complete verdict envelope (verdict, qualitative findings,\nleakage taxonomy, provenance hashes) plus the machine-readable\nremediation explanation -- and a free synthetic-null preview: three\nseeded no-edge worlds (Heston stochastic volatility, Merton jump\ndiffusion, volatility bursts) showing the process-placebo\nmachinery the paid falsify battery attacks your strategy with. No\nauth, no payment, no input needed. Use this first to understand the\nschema before submitting your own strategy with assay_signal.\nPrice: free.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "truncated": true,
            "chars": 39296
          },
          "annotations": {
            "title": "Inspect a sample AlphaAssay verdict",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "assay_signal",
          "title": "Validate a trading signal or track record",
          "description": "Use this when you have a backtest result or live track record (a\ntrades log, equity curve or QuantConnect export) and need to know\nwhether the edge is real or just overfitting, survivorship or luck.\nValidate a trading strategy export: fail-closed statistical verdict.\n\nReality-check for backtest results, trade lists and equity curves\n(overfitting detection, deflated Sharpe, multiple-testing deflation via\nn_trials, cost stress, look-ahead signature, sample-size floor).\nAccepts CSV text (trade list with pnl / return %, equity curve, signal\nseries) or a QuantConnect/LEAN backtest JSON -- crypto, stocks, futures,\nFX alike. Returns pass / conditional / fail / insufficient_evidence with\nqualitative findings and canonical provenance hashes; code-computed, no\nLLM scoring. Declare n_trials honestly (omitting it earns a named TRIALS_UNDISCLOSED finding): it is the count of variants you\nsearched to find this one (best-of-N selection from a parameter sweep);\nthe verdict then answers whether the winner is real or an artifact of\nthe search. Optional pit_evidence attaches an\nalready-computed point-in-time / look-ahead guard report (e.g. a\nsame-session vs prior-settle rank-consistency check): an explicit\ncomputed material_look_ahead verdict hard-fails the submission\n(pit_lookahead); missing or inconclusive evidence changes nothing --\nthe field can demote, never bless. Optional source_rights attaches attested data-rights evidence: an explicit negative (source_rights_clean=false or a missing_source_rights status) withholds any positive outcome as insufficient_evidence with agent_action=owner_data_decision_required (a verdict on data you may not use is a liability, not evidence); fail stays fail, unclear evidence changes nothing. NOT a buy/sell signal. Price: per check; see https://api.alphaassay.com/v1/meta/pricing. Debited from your prepaid account (api_key required --\ncreate one at https://api.alphaassay.com/account; the current allowance\nis published by runtime pricing).",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "JsonValue": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "integer",
                    "maximum": 1000000000000000,
                    "minimum": -1000000000000000,
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number",
                    "maximum": 1000000000000000,
                    "minimum": -1000000000000000
                  },
                  {
                    "type": "string",
                    "maxLength": 262144,
                    "x-maxUtf8Bytes": 262144
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/JsonValue"
                    },
                    "maxItems": 10000
                  },
                  {
                    "type": "object",
                    "maxProperties": 256,
                    "propertyNames": {
                      "maxLength": 256,
                      "x-maxUtf8Bytes": 256
                    },
                    "additionalProperties": {
                      "$ref": "#/$defs/JsonValue"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "x-maxDepth": 16,
                "x-maxNodes": 10000
              },
              "PitEvidence": {
                "type": "object",
                "properties": {
                  "top_k": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "detail": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "status": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "verdict": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "top_flip": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "min_tickers": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "power_alpha": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "spearman_rho": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": -1,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": -1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pit_rank_top_k": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pit_rank_reason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pit_rank_top_pit": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pit_rank_top_flip": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "ticker_flip_count": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "matched_null_min_p": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pit_rank_n_tickers": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pit_rank_min_tickers": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pit_rank_power_alpha": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pit_rank_spearman_rho": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": -1,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": -1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pit_rank_underpowered": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pit_rank_rho_threshold": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": -1,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": -1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pit_rank_top_same_session": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pit_rank_ticker_flip_count": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pit_rank_consistency_status": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pit_rank_matched_null_floor": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pit_rank_matched_null_min_p": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pit_rank_consistency_verdict": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pit_oi_rank_consistency_verdict": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "x-relations": [
                  "pit_rank_top_k <= pit_rank_n_tickers",
                  "pit_rank_ticker_flip_count <= pit_rank_top_k",
                  "ticker_flip_count <= top_k"
                ],
                "additionalProperties": false
              },
              "SourceRightsEvidence": {
                "type": "object",
                "properties": {
                  "detail": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "status": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "verdict": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "source_rights_clean": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              }
            },
            "properties": {
              "label": {
                "type": "string",
                "default": "user_strategy",
                "maxLength": 256,
                "description": "Optional human label for the run (echoed back, not scored)."
              },
              "api_key": {
                "type": "string",
                "default": "",
                "maxLength": 512,
                "description": "API key for a paid MCP check. Hosted Streamable HTTP clients should send it in the Authorization: Bearer transport header so the model never sees the secret; local stdio callers may supply the raw key in this tool argument without a Bearer prefix. Create an account at https://api.alphaassay.com/account; the current free allowance and prices are published at https://api.alphaassay.com/v1/meta/pricing. Paid MCP calls use API-key credits; x402 buys only the separate REST POST /x402/v1/gauntlet and is not MCP billing."
              },
              "n_trials": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 1000000,
                    "minimum": 1,
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "How many strategy variants you tried before this one (grid size / optimisation attempts). Drives the deflated-Sharpe multiple-testing correction -- under-reporting it inflates your own verdict."
              },
              "equity_csv": {
                "type": "string",
                "default": "",
                "maxLength": 5242880,
                "description": "Equity-curve CSV (timestamp,equity) as an alternative to trades_csv; per-period returns are derived from it."
              },
              "request_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 256
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional idempotency key for this paid execution. Retry the same request_id with the same payload to replay one stored result without another charge; reuse with a different payload returns idempotency_conflict."
              },
              "trades_csv": {
                "type": "string",
                "default": "",
                "maxLength": 5242880,
                "description": "Your realised trade log as CSV (pnl and/or return_pct per closed trade) -- the track record to put on trial for overfitting and luck."
              },
              "signals_csv": {
                "type": "string",
                "default": "",
                "maxLength": 5242880,
                "description": "Signal/position CSV if you have entries rather than realised pnl; converted to returns before grading."
              },
              "pit_evidence": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/PitEvidence"
                  },
                  {
                    "type": "string",
                    "maxLength": 2000
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional point-in-time / look-ahead attestation object; can only demote (flag pit_lookahead), never improve the verdict."
              },
              "out_of_sample": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "string",
                    "maxLength": 2000
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "True if the track record is genuine out-of-sample / walk-forward, not the in-sample fit."
              },
              "source_rights": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/SourceRightsEvidence"
                  },
                  {
                    "type": "string",
                    "maxLength": 2000
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional data-rights / provenance disclosure for the track record (licensing, vendor)."
              },
              "fee_bps_per_side": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 1000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number",
                    "maximum": 1000,
                    "minimum": 0
                  }
                ],
                "default": 10,
                "description": "Round-trip cost assumption in basis points per side (slippage + commission) for the net-of-cost reality check."
              },
              "quantconnect_json": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 5242880
                  },
                  {
                    "type": "object",
                    "maxProperties": 256,
                    "propertyNames": {
                      "maxLength": 256,
                      "x-maxUtf8Bytes": 256
                    },
                    "additionalProperties": {
                      "$ref": "#/$defs/JsonValue"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional QuantConnect backtest export; parsed into trades/returns automatically."
              }
            },
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "Explanation": {
                "type": "object",
                "required": [
                  "schema_version",
                  "research_only",
                  "tool",
                  "tool_version",
                  "verdict",
                  "agent_action",
                  "summary",
                  "provenance_attestation",
                  "leakage_taxonomy",
                  "blocking_findings",
                  "explanations",
                  "next_actions"
                ],
                "properties": {
                  "tool": {
                    "type": "string",
                    "const": "explain_backtest_failure"
                  },
                  "summary": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "verdict": {
                    "enum": [
                      "pass",
                      "conditional",
                      "fail",
                      "insufficient_evidence"
                    ],
                    "type": "string"
                  },
                  "agent_action": {
                    "enum": [
                      "continue_due_diligence",
                      "require_additional_validation",
                      "gather_more_evidence",
                      "reject_current_evidence",
                      "owner_data_decision_required"
                    ],
                    "type": "string"
                  },
                  "explanations": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/ExplanationFinding"
                    },
                    "maxItems": 10000
                  },
                  "next_actions": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "tool_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "research_only": {
                    "type": "boolean",
                    "const": true
                  },
                  "schema_version": {
                    "type": "string",
                    "const": "0"
                  },
                  "leakage_taxonomy": {
                    "$ref": "#/$defs/LeakageTaxonomy"
                  },
                  "blocking_findings": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "data_rights",
                        "pit_lookahead",
                        "survivorship",
                        "selection_multiple_testing",
                        "effective_n",
                        "oos_walk_forward",
                        "cpcv",
                        "costs_slippage_capacity",
                        "pbo_dsr_overfit",
                        "null_placebo",
                        "regime",
                        "execution",
                        "reproducibility",
                        "benchmark_overlap"
                      ],
                      "type": "string"
                    },
                    "maxItems": 10000
                  },
                  "provenance_attestation": {
                    "$ref": "#/$defs/ExplanationProvenance"
                  }
                },
                "additionalProperties": false
              },
              "VerdictFinding": {
                "type": "object",
                "required": [
                  "failure_class",
                  "severity",
                  "detail"
                ],
                "properties": {
                  "detail": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "severity": {
                    "enum": [
                      "hard_fail",
                      "cap_verdict",
                      "major_penalty",
                      "minor_penalty",
                      "trust_gate"
                    ],
                    "type": "string"
                  },
                  "failure_class": {
                    "enum": [
                      "data_rights",
                      "pit_lookahead",
                      "survivorship",
                      "selection_multiple_testing",
                      "effective_n",
                      "oos_walk_forward",
                      "cpcv",
                      "costs_slippage_capacity",
                      "pbo_dsr_overfit",
                      "null_placebo",
                      "regime",
                      "execution",
                      "reproducibility",
                      "benchmark_overlap"
                    ],
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "LeakageTaxonomy": {
                "type": "object",
                "required": [
                  "classes",
                  "label",
                  "detail"
                ],
                "properties": {
                  "label": {
                    "enum": [
                      "clean",
                      "class_I",
                      "class_II",
                      "class_III",
                      "multiple_leakage_classes"
                    ],
                    "type": "string"
                  },
                  "detail": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "classes": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "I",
                        "II",
                        "III"
                      ],
                      "type": "string"
                    },
                    "maxItems": 3
                  }
                },
                "additionalProperties": false
              },
              "VerdictEnvelope": {
                "type": "object",
                "required": [
                  "schema_version",
                  "verdict",
                  "agent_action",
                  "findings",
                  "reproducible",
                  "leakage_taxonomy",
                  "provenance"
                ],
                "properties": {
                  "verdict": {
                    "enum": [
                      "pass",
                      "conditional",
                      "fail",
                      "insufficient_evidence"
                    ],
                    "type": "string"
                  },
                  "findings": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/VerdictFinding"
                    },
                    "maxItems": 10000
                  },
                  "provenance": {
                    "$ref": "#/$defs/VerdictProvenance"
                  },
                  "agent_action": {
                    "enum": [
                      "continue_due_diligence",
                      "require_additional_validation",
                      "gather_more_evidence",
                      "reject_current_evidence",
                      "owner_data_decision_required"
                    ],
                    "type": "string"
                  },
                  "reproducible": {
                    "type": "boolean"
                  },
                  "schema_version": {
                    "type": "string",
                    "const": "0"
                  },
                  "leakage_taxonomy": {
                    "$ref": "#/$defs/LeakageTaxonomy"
                  },
                  "benchmark_overlap": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/BenchmarkUnavailable"
                      },
                      {
                        "$ref": "#/$defs/BenchmarkComputed"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "leakage_attribution": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/LeakageAttribution"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "reproducibility_readiness": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ReproducibilityReadiness"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "BenchmarkComputed": {
                "type": "object",
                "required": [
                  "status",
                  "n_observations",
                  "beta",
                  "alpha_per_obs",
                  "alpha_tstat",
                  "alpha_pvalue",
                  "alpha_significant",
                  "correlation",
                  "tracking_error_per_obs",
                  "failure_codes"
                ],
                "properties": {
                  "beta": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "status": {
                    "type": "string",
                    "const": "computed"
                  },
                  "alpha_tstat": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "correlation": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": -1,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": -1
                      }
                    ]
                  },
                  "alpha_pvalue": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "alpha_per_obs": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "failure_codes": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "n_observations": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "alpha_significant": {
                    "type": "boolean"
                  },
                  "tracking_error_per_obs": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "VerdictProvenance": {
                "type": "object",
                "required": [
                  "tool",
                  "tool_version",
                  "schema_ref",
                  "schema_version",
                  "inputs_hash",
                  "generated_at",
                  "evidence_refs",
                  "check_refs"
                ],
                "properties": {
                  "tool": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "check_refs": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "schema_ref": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "inputs_hash": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "generated_at": {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1
                  },
                  "request_hash": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\S+$",
                        "maxLength": 256,
                        "minLength": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "tool_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "evidence_refs": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "schema_version": {
                    "type": "string",
                    "const": "0"
                  }
                },
                "additionalProperties": false
              },
              "ExplanationFinding": {
                "type": "object",
                "required": [
                  "failure_class",
                  "severity",
                  "detail",
                  "what_it_means",
                  "evidence_to_lift"
                ],
                "properties": {
                  "detail": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "severity": {
                    "enum": [
                      "hard_fail",
                      "cap_verdict",
                      "major_penalty",
                      "minor_penalty",
                      "trust_gate"
                    ],
                    "type": "string"
                  },
                  "failure_class": {
                    "enum": [
                      "data_rights",
                      "pit_lookahead",
                      "survivorship",
                      "selection_multiple_testing",
                      "effective_n",
                      "oos_walk_forward",
                      "cpcv",
                      "costs_slippage_capacity",
                      "pbo_dsr_overfit",
                      "null_placebo",
                      "regime",
                      "execution",
                      "reproducibility",
                      "benchmark_overlap"
                    ],
                    "type": "string"
                  },
                  "what_it_means": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "evidence_to_lift": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "LeakageAttribution": {
                "type": "object",
                "required": [
                  "label",
                  "attributions",
                  "detail"
                ],
                "properties": {
                  "label": {
                    "enum": [
                      "clean",
                      "attributed"
                    ],
                    "type": "string"
                  },
                  "detail": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "attributions": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/LeakageAttributionEntry"
                    },
                    "maxItems": 10000
                  }
                },
                "additionalProperties": false
              },
              "BenchmarkUnavailable": {
                "type": "object",
                "required": [
                  "status",
                  "note",
                  "failure_codes"
                ],
                "properties": {
                  "note": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "status": {
                    "enum": [
                      "benchmark_not_supplied",
                      "invalid_benchmark"
                    ],
                    "type": "string"
                  },
                  "failure_codes": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  }
                },
                "additionalProperties": false
              },
              "ExplanationProvenance": {
                "type": "object",
                "required": [
                  "source_tool",
                  "source_tool_version",
                  "schema_ref",
                  "schema_version",
                  "inputs_hash",
                  "request_hash",
                  "generated_at",
                  "evidence_refs",
                  "check_refs"
                ],
                "properties": {
                  "check_refs": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "schema_ref": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "inputs_hash": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_tool": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "generated_at": {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1
                  },
                  "request_hash": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "evidence_refs": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "schema_version": {
                    "type": "string",
                    "const": "0"
                  },
                  "source_tool_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  }
                },
                "additionalProperties": false
              },
              "LeakageAttributionEntry": {
                "type": "object",
                "required": [
                  "leakage_class",
                  "failure_class",
                  "severity",
                  "source"
                ],
                "properties": {
                  "source": {
                    "enum": [
                      "finding",
                      "execution_attestation"
                    ],
                    "type": "string"
                  },
                  "severity": {
                    "enum": [
                      "hard_fail",
                      "cap_verdict",
                      "major_penalty",
                      "minor_penalty",
                      "trust_gate"
                    ],
                    "type": "string"
                  },
                  "failure_class": {
                    "enum": [
                      "data_rights",
                      "pit_lookahead",
                      "survivorship",
                      "selection_multiple_testing",
                      "effective_n",
                      "oos_walk_forward",
                      "cpcv",
                      "costs_slippage_capacity",
                      "pbo_dsr_overfit",
                      "null_placebo",
                      "regime",
                      "execution",
                      "reproducibility",
                      "benchmark_overlap"
                    ],
                    "type": "string"
                  },
                  "leakage_class": {
                    "enum": [
                      "I",
                      "II",
                      "III"
                    ],
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "ReproducibilityReadiness": {
                "type": "object",
                "required": [
                  "tier",
                  "label",
                  "severity",
                  "present",
                  "missing",
                  "cap_reason",
                  "detail"
                ],
                "properties": {
                  "tier": {
                    "enum": [
                      "R0",
                      "R1",
                      "R2",
                      "R3"
                    ],
                    "type": "string"
                  },
                  "label": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "detail": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "missing": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "present": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "severity": {
                    "type": "string",
                    "const": "trust_gate"
                  },
                  "cap_reason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "required": [
                  "_meta",
                  "verdict",
                  "explanation"
                ],
                "properties": {
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "verdict": {
                    "$ref": "#/$defs/VerdictEnvelope"
                  },
                  "explanation": {
                    "$ref": "#/$defs/Explanation"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Validate a trading signal or track record",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "assay_reproduce",
          "title": "Reproduce a claimed track record",
          "description": "Use this when someone hands you a claimed track record and you want\nto recompute it yourself from the fills and candles -- an arithmetic\naudit of the numbers, not buy/sell advice.\nIndependently recompute a claimed track record -- audit the\narithmetic, not the story.\n\nNew audit object: not the signal, the CALLER'S CALCULATION. Send the\ntrades (entry/exit time, price, side), the candles they were filled\non, and the claimed headline metrics (total_return_pct, win_rate,\nmax_drawdown_pct, n_trades, sharpe_annualized); the engine rebuilds\nthe equity book independently and grades the claim against disclosed\nper-metric tolerances (published cross-engine divergence reaches\n3.71%, so the band is explicit output, never a hidden judgment).\nChecks every fill against its bar's [low, high] (a fill outside the\nrange was never physically available: FILL_OUTSIDE_BAR_RANGE), prices\nformally undecidable stop/limit exits worst-case -- both bracket\nlevels inside one OHLC bar cannot be ordered (Maier-Paape/Platen) --\nand reports that fill-ambiguity haircut (FILL_AMBIGUITY_MATERIAL when\nworst-case pricing flips the book's sign). Also returns an\nimplementation-uncertainty interval: every fill pushed to the best and\nworst end of its bar, the spread a legitimate re-implementation could\nproduce; a claim outside EVERY convention earns\nRESULT_NOT_REPRODUCED. Demote-only: 'reproduced' means the numbers\nfollow from the fills -- it is NOT evidence of an edge and never\nendorses a strategy. Code-computed; no ledger write (auditing\narithmetic is not a new trial). Timestamps must carry explicit\ntimezones; structurally invalid input is refunded. NOT financial\nadvice. Price: per check; see https://api.alphaassay.com/v1/meta/pricing\n(api_key required -- account setup at\nhttps://api.alphaassay.com/account).",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "ExitOrder": {
                "type": "object",
                "required": [
                  "stop_price",
                  "limit_price"
                ],
                "properties": {
                  "stop_price": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "exclusiveMinimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "exclusiveMinimum": 0
                      }
                    ]
                  },
                  "limit_price": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "exclusiveMinimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "exclusiveMinimum": 0
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "OHLCVSeries": {
                "type": "object",
                "required": [
                  "close"
                ],
                "properties": {
                  "low": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "high": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "time": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 64,
                          "minLength": 1
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "close": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "maximum": 1000000000000000,
                          "exclusiveMinimum": 0,
                          "x-strictJsonInteger": true
                        },
                        {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "exclusiveMinimum": 0
                        }
                      ]
                    },
                    "maxItems": 5000,
                    "minItems": 1
                  },
                  "volume": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "minimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "minimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "x-relations": [
                  "len(time|open|high|low|volume) == len(close) when present"
                ],
                "additionalProperties": false
              },
              "ClaimedMetrics": {
                "type": "object",
                "anyOf": [
                  {
                    "required": [
                      "total_return_pct"
                    ],
                    "properties": {
                      "total_return_pct": {
                        "not": {
                          "type": "null"
                        }
                      }
                    }
                  },
                  {
                    "required": [
                      "max_drawdown_pct"
                    ],
                    "properties": {
                      "max_drawdown_pct": {
                        "not": {
                          "type": "null"
                        }
                      }
                    }
                  },
                  {
                    "required": [
                      "win_rate"
                    ],
                    "properties": {
                      "win_rate": {
                        "not": {
                          "type": "null"
                        }
                      }
                    }
                  },
                  {
                    "required": [
                      "n_trades"
                    ],
                    "properties": {
                      "n_trades": {
                        "not": {
                          "type": "null"
                        }
                      }
                    }
                  },
                  {
                    "required": [
                      "sharpe_annualized"
                    ],
                    "properties": {
                      "sharpe_annualized": {
                        "not": {
                          "type": "null"
                        }
                      }
                    }
                  }
                ],
                "properties": {
                  "n_trades": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 10000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "win_rate": {
                    "anyOf": [
                      {
                        "ge": 0,
                        "le": 1,
                        "anyOf": [
                          {
                            "type": "integer",
                            "x-strictJsonInteger": true
                          },
                          {
                            "type": "number"
                          }
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "max_drawdown_pct": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "total_return_pct": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "sharpe_annualized": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "ReproduceTrade": {
                "type": "object",
                "required": [
                  "symbol",
                  "side",
                  "entry_time",
                  "exit_time",
                  "entry_price",
                  "exit_price"
                ],
                "properties": {
                  "side": {
                    "enum": [
                      "long",
                      "short"
                    ],
                    "type": "string"
                  },
                  "symbol": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 64,
                    "minLength": 1
                  },
                  "exit_time": {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1
                  },
                  "entry_time": {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1
                  },
                  "exit_order": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ExitOrder"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "exit_price": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "exclusiveMinimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "exclusiveMinimum": 0
                      }
                    ]
                  },
                  "entry_price": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "exclusiveMinimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "exclusiveMinimum": 0
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            },
            "allOf": [
              {
                "required": [
                  "trades",
                  "ohlcv_by_symbol",
                  "claimed"
                ],
                "properties": {
                  "trades": {
                    "not": {
                      "type": "null"
                    }
                  },
                  "claimed": {
                    "not": {
                      "type": "null"
                    }
                  },
                  "ohlcv_by_symbol": {
                    "not": {
                      "type": "null"
                    }
                  }
                }
              }
            ],
            "properties": {
              "trades": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/ReproduceTrade"
                    },
                    "maxItems": 10000,
                    "minItems": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "The claimed fills to audit: entry/exit time, price and side per trade -- checked arithmetically against the bars."
              },
              "api_key": {
                "type": "string",
                "default": "",
                "maxLength": 512,
                "description": "API key for a paid MCP check. Hosted Streamable HTTP clients should send it in the Authorization: Bearer transport header so the model never sees the secret; local stdio callers may supply the raw key in this tool argument without a Bearer prefix. Create an account at https://api.alphaassay.com/account; the current free allowance and prices are published at https://api.alphaassay.com/v1/meta/pricing. Paid MCP calls use API-key credits; x402 buys only the separate REST POST /x402/v1/gauntlet and is not MCP billing."
              },
              "claimed": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ClaimedMetrics"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "The performance the seller claims (e.g. total return / Sharpe) so the audit can confirm or refute it."
              },
              "request_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 256
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional idempotency key for this paid execution. Retry the same request_id with the same payload to replay one stored result without another charge; reuse with a different payload returns idempotency_conflict."
              },
              "ohlcv_by_symbol": {
                "anyOf": [
                  {
                    "type": "object",
                    "maxProperties": 50,
                    "propertyNames": {
                      "maxLength": 64,
                      "minLength": 1
                    },
                    "patternProperties": {
                      "^\\S+$": {
                        "$ref": "#/$defs/OHLCVSeries"
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Candles per symbol {symbol: {time,open,high,low,close,volume}} the trades were supposedly filled on -- used to catch fills outside the bar range."
              },
              "fee_bps_per_side": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 1000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number",
                    "maximum": 1000,
                    "minimum": 0
                  }
                ],
                "default": 10,
                "description": "Round-trip cost in bps/side for the recomputation."
              }
            },
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "AuditFinding": {
                "type": "object",
                "required": [
                  "code",
                  "severity",
                  "detail"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "detail": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "severity": {
                    "enum": [
                      "hard_fail",
                      "warn",
                      "info"
                    ],
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "FillAmbiguity": {
                "type": "object",
                "required": [
                  "ambiguous_trades",
                  "haircut_pp",
                  "worst_case_total_return_pct",
                  "flips_sign"
                ],
                "properties": {
                  "flips_sign": {
                    "type": "boolean"
                  },
                  "haircut_pp": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "ambiguous_trades": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "worst_case_total_return_pct": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "MetricTolerance": {
                "type": "object",
                "required": [
                  "abs_pp",
                  "rel"
                ],
                "properties": {
                  "rel": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  },
                  "abs_pp": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "MetricDivergence": {
                "type": "object",
                "required": [
                  "claimed",
                  "reproduced",
                  "within_tolerance"
                ],
                "properties": {
                  "note": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "claimed": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "abs_diff": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "reproduced": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "within_tolerance": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "ReproducedMetrics": {
                "type": "object",
                "required": [
                  "total_return_pct",
                  "max_drawdown_pct",
                  "win_rate",
                  "n_trades",
                  "sharpe_annualized"
                ],
                "properties": {
                  "n_trades": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "win_rate": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "max_drawdown_pct": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  },
                  "total_return_pct": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "sharpe_annualized": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "ReproduceDivergence": {
                "type": "object",
                "properties": {
                  "n_trades": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/MetricDivergence"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "win_rate": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/MetricDivergence"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "max_drawdown_pct": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/MetricDivergence"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "total_return_pct": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/MetricDivergence"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "sharpe_annualized": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/MetricDivergence"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "ReproduceTolerances": {
                "type": "object",
                "required": [
                  "total_return_pct",
                  "max_drawdown_pct",
                  "win_rate",
                  "n_trades",
                  "sharpe_annualized"
                ],
                "properties": {
                  "n_trades": {
                    "$ref": "#/$defs/MetricTolerance"
                  },
                  "win_rate": {
                    "$ref": "#/$defs/MetricTolerance"
                  },
                  "max_drawdown_pct": {
                    "$ref": "#/$defs/MetricTolerance"
                  },
                  "total_return_pct": {
                    "$ref": "#/$defs/MetricTolerance"
                  },
                  "sharpe_annualized": {
                    "$ref": "#/$defs/MetricTolerance"
                  }
                },
                "additionalProperties": false
              },
              "ReproduceClaimedMetrics": {
                "type": "object",
                "properties": {
                  "n_trades": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "win_rate": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "max_drawdown_pct": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "total_return_pct": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "sharpe_annualized": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "ImplementationUncertainty": {
                "type": "object",
                "required": [
                  "worst_case_total_return_pct",
                  "best_case_total_return_pct",
                  "engine_spread_pp",
                  "claimed_within_any_convention"
                ],
                "properties": {
                  "engine_spread_pp": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  },
                  "best_case_total_return_pct": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "worst_case_total_return_pct": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "claimed_within_any_convention": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "required": [
                  "_meta",
                  "schema",
                  "verdict",
                  "reproduced",
                  "claimed",
                  "divergence",
                  "tolerances",
                  "findings",
                  "failure_codes",
                  "fill_ambiguity",
                  "implementation_uncertainty",
                  "n_trades",
                  "fee_bps_per_side",
                  "disclaimer"
                ],
                "properties": {
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "schema": {
                    "type": "string",
                    "const": "reproduce.v1"
                  },
                  "claimed": {
                    "$ref": "#/$defs/ReproduceClaimedMetrics"
                  },
                  "verdict": {
                    "enum": [
                      "reproduced",
                      "not_reproduced",
                      "insufficient_evidence"
                    ],
                    "type": "string"
                  },
                  "findings": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/AuditFinding"
                    },
                    "maxItems": 10000
                  },
                  "n_trades": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "divergence": {
                    "$ref": "#/$defs/ReproduceDivergence"
                  },
                  "reproduced": {
                    "$ref": "#/$defs/ReproducedMetrics"
                  },
                  "tolerances": {
                    "$ref": "#/$defs/ReproduceTolerances"
                  },
                  "failure_codes": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "fill_ambiguity": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/FillAmbiguity"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fee_bps_per_side": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  },
                  "implementation_uncertainty": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ImplementationUncertainty"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Reproduce a claimed track record",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "assay_tradelog",
          "title": "Audit a trade log for contradictions",
          "description": "Use this when you have a raw fill or trade log and want it scanned\nfor internal contradictions -- look-ahead timestamps, pnl that\ndisagrees with the row's own prices, duplicate or out-of-order fills.\nInterrogate a raw fill log for internal contradictions -- no\ncandles needed.\n\nassay_preflight lints shape, assay_reproduce audits arithmetic\nagainst candles; this tool needs nothing but the log itself and asks\nwhether it is internally consistent: exact duplicate fills (double\ncounting inflates every headline number: tradelog_duplicate_fills),\ntime travel (exits before entries, decisions stamped AFTER the entry\nthey supposedly caused: tradelog_time_travel -- the anatomy of a\nlook-ahead), PnL or return_pct contradicting the row's own prices\n(tradelog_pnl_inconsistent), naive/unparseable/future timestamps\n(tradelog_timestamps_invalid -- ambiguous clocks are the top source\nof fake edges), and fills booked outside the declared calendar\n(tradelog_outside_calendar, e.g. weekend fills under\ntrading_calendar='weekdays'). Checks run only where fields exist and\nthe report SAYS which ran (checks_run) -- an absent field is\nuntestable, never innocent. Demote-only: a defect-free log earns\n'conditional', because internal consistency is NOT evidence of an\nedge. Code-computed; no ledger write; structurally invalid input is\nrefunded. NOT financial advice. Price: per check; see\nhttps://api.alphaassay.com/v1/meta/pricing (api_key required -- account\nsetup at https://api.alphaassay.com/account).",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "JsonValue": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "integer",
                    "maximum": 1000000000000000,
                    "minimum": -1000000000000000,
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number",
                    "maximum": 1000000000000000,
                    "minimum": -1000000000000000
                  },
                  {
                    "type": "string",
                    "maxLength": 262144,
                    "x-maxUtf8Bytes": 262144
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/JsonValue"
                    },
                    "maxItems": 10000
                  },
                  {
                    "type": "object",
                    "maxProperties": 256,
                    "propertyNames": {
                      "maxLength": 256,
                      "x-maxUtf8Bytes": 256
                    },
                    "additionalProperties": {
                      "$ref": "#/$defs/JsonValue"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "x-maxDepth": 16,
                "x-maxNodes": 10000
              },
              "TradeLogRow": {
                "type": "object",
                "properties": {
                  "pnl": {
                    "$ref": "#/$defs/JsonValue",
                    "default": null
                  },
                  "side": {
                    "anyOf": [
                      {
                        "enum": [
                          "long",
                          "short"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "symbol": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\S+$",
                        "maxLength": 64,
                        "minLength": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "exit_time": {
                    "$ref": "#/$defs/JsonValue",
                    "default": null
                  },
                  "entry_time": {
                    "$ref": "#/$defs/JsonValue",
                    "default": null
                  },
                  "exit_price": {
                    "$ref": "#/$defs/JsonValue",
                    "default": null
                  },
                  "return_pct": {
                    "$ref": "#/$defs/JsonValue",
                    "default": null
                  },
                  "entry_price": {
                    "$ref": "#/$defs/JsonValue",
                    "default": null
                  },
                  "decision_time": {
                    "$ref": "#/$defs/JsonValue",
                    "default": null
                  }
                },
                "additionalProperties": false
              }
            },
            "allOf": [
              {
                "required": [
                  "trades"
                ],
                "properties": {
                  "trades": {
                    "not": {
                      "type": "null"
                    }
                  }
                }
              }
            ],
            "properties": {
              "trades": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/TradeLogRow"
                    },
                    "maxItems": 10000,
                    "minItems": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Raw trade/fill rows to scan for defects: look-ahead timestamps, pnl or return contradicting the row's own prices, duplicate or out-of-order fills."
              },
              "api_key": {
                "type": "string",
                "default": "",
                "maxLength": 512,
                "description": "API key for a paid MCP check. Hosted Streamable HTTP clients should send it in the Authorization: Bearer transport header so the model never sees the secret; local stdio callers may supply the raw key in this tool argument without a Bearer prefix. Create an account at https://api.alphaassay.com/account; the current free allowance and prices are published at https://api.alphaassay.com/v1/meta/pricing. Paid MCP calls use API-key credits; x402 buys only the separate REST POST /x402/v1/gauntlet and is not MCP billing."
              },
              "request_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 256
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional idempotency key for this paid execution. Retry the same request_id with the same payload to replay one stored result without another charge; reuse with a different payload returns idempotency_conflict."
              },
              "trading_calendar": {
                "enum": [
                  "24/7",
                  "weekdays"
                ],
                "type": "string",
                "default": "24/7",
                "description": "Supported market-calendar literal: '24/7' for continuous markets or 'weekdays' for a Monday-Friday calendar."
              }
            },
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "TradelogDefect": {
                "type": "object",
                "required": [
                  "code",
                  "severity",
                  "rows",
                  "n_rows",
                  "detail"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "tradelog_duplicate_fills",
                      "tradelog_time_travel",
                      "tradelog_pnl_inconsistent",
                      "tradelog_timestamps_invalid",
                      "tradelog_outside_calendar"
                    ],
                    "type": "string"
                  },
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "integer",
                      "maximum": 9223372036854776000,
                      "minimum": 0,
                      "x-strictJsonInteger": true
                    },
                    "maxItems": 10000
                  },
                  "detail": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "n_rows": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "severity": {
                    "type": "string",
                    "const": "hard_fail"
                  }
                },
                "additionalProperties": false
              },
              "TradelogChecksRun": {
                "type": "object",
                "required": [
                  "timestamps",
                  "time_travel",
                  "duplicates",
                  "pnl_consistency",
                  "calendar"
                ],
                "properties": {
                  "calendar": {
                    "type": "boolean"
                  },
                  "duplicates": {
                    "type": "boolean"
                  },
                  "timestamps": {
                    "type": "boolean"
                  },
                  "time_travel": {
                    "type": "boolean"
                  },
                  "pnl_consistency": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "required": [
                  "_meta",
                  "schema",
                  "verdict",
                  "checks_run",
                  "defects",
                  "failure_codes",
                  "framing",
                  "n_trades",
                  "trading_calendar",
                  "disclaimer",
                  "died_at",
                  "died_at_plain"
                ],
                "properties": {
                  "note": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "schema": {
                    "type": "string",
                    "const": "tradelog.v1"
                  },
                  "defects": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/TradelogDefect"
                    },
                    "maxItems": 10000
                  },
                  "died_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "framing": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "verdict": {
                    "enum": [
                      "conditional",
                      "fail",
                      "insufficient_evidence"
                    ],
                    "type": "string"
                  },
                  "n_trades": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "checks_run": {
                    "$ref": "#/$defs/TradelogChecksRun"
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "died_at_plain": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "failure_codes": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "trading_calendar": {
                    "enum": [
                      "24/7",
                      "weekdays"
                    ],
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit a trade log for contradictions",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "assay_forensics",
          "title": "Diagnose signal timing leakage",
          "description": "Use this when a signal looks good but you suspect leakage or\nlook-ahead and want to know WHY it fails, not just that it fails --\na diagnostic audit, it does not give buy/sell advice.\nLeakage forensics: WHY your signal fails, not just that it fails.\n\nUpload your own decision timestamps (symbol, decision_time with explicit\ntimezone, long/short) plus OHLCV candles and get a forensic diagnosis:\ndoes the edge collapse with a realistic one-bar execution delay\n(look-ahead leak)? Does the move happen BEFORE your decision\n(front-loading / anticipation)? Does it beat matched random timing? Do\nyour trades collapse onto few independent events? Code-computed,\ndemote-only, plain-language explanations per finding. Naive timestamps\nare rejected -- timezone ambiguity is the top source of fake edges.\nPrice: per check; see https://api.alphaassay.com/v1/meta/pricing\n(api_key required -- account setup at\nhttps://api.alphaassay.com/account).",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "OHLCVSeries": {
                "type": "object",
                "required": [
                  "close"
                ],
                "properties": {
                  "low": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "high": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "time": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 64,
                          "minLength": 1
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "close": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "maximum": 1000000000000000,
                          "exclusiveMinimum": 0,
                          "x-strictJsonInteger": true
                        },
                        {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "exclusiveMinimum": 0
                        }
                      ]
                    },
                    "maxItems": 5000,
                    "minItems": 1
                  },
                  "volume": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "minimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "minimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "x-relations": [
                  "len(time|open|high|low|volume) == len(close) when present"
                ],
                "additionalProperties": false
              },
              "SignalEvent": {
                "type": "object",
                "required": [
                  "decision_time",
                  "symbol",
                  "direction"
                ],
                "properties": {
                  "symbol": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 64,
                    "minLength": 1
                  },
                  "direction": {
                    "enum": [
                      "long",
                      "short"
                    ],
                    "type": "string"
                  },
                  "confidence": {
                    "anyOf": [
                      {
                        "ge": 0,
                        "le": 1,
                        "anyOf": [
                          {
                            "type": "integer",
                            "x-strictJsonInteger": true
                          },
                          {
                            "type": "number"
                          }
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "decision_time": {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "signal_events",
              "ohlcv_by_symbol"
            ],
            "properties": {
              "api_key": {
                "type": "string",
                "default": "",
                "maxLength": 512,
                "description": "API key for a paid MCP check. Hosted Streamable HTTP clients should send it in the Authorization: Bearer transport header so the model never sees the secret; local stdio callers may supply the raw key in this tool argument without a Bearer prefix. Create an account at https://api.alphaassay.com/account; the current free allowance and prices are published at https://api.alphaassay.com/v1/meta/pricing. Paid MCP calls use API-key credits; x402 buys only the separate REST POST /x402/v1/gauntlet and is not MCP billing."
              },
              "request_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 256
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional idempotency key for this paid execution. Retry the same request_id with the same payload to replay one stored result without another charge; reuse with a different payload returns idempotency_conflict."
              },
              "signal_events": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/SignalEvent"
                },
                "maxItems": 10000,
                "minItems": 1,
                "description": "Signal decisions with the schema-accepted fields {decision_time, symbol, direction, confidence?} to test for timing leakage."
              },
              "ohlcv_by_symbol": {
                "type": "object",
                "description": "Candles per symbol the events are scored against for the look-ahead / front-loading forensics.",
                "maxProperties": 50,
                "propertyNames": {
                  "maxLength": 64,
                  "minLength": 1
                },
                "patternProperties": {
                  "^\\S+$": {
                    "$ref": "#/$defs/OHLCVSeries"
                  }
                },
                "additionalProperties": false
              },
              "primary_horizon": {
                "type": "integer",
                "default": 3,
                "maximum": 5000,
                "minimum": 1,
                "description": "Forward horizon in bars the signal claims to predict, for the leakage attribution.",
                "x-strictJsonInteger": true
              }
            },
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "NumberMap": {
                "type": "object",
                "description": "Bounded runtime-keyed map of finite numbers.",
                "maxProperties": 256,
                "propertyNames": {
                  "maxLength": 128,
                  "minLength": 1
                },
                "patternProperties": {
                  "^\\S+$": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "IntegerMap": {
                "type": "object",
                "description": "Bounded runtime-keyed map of integer counts.",
                "maxProperties": 256,
                "propertyNames": {
                  "maxLength": 128,
                  "minLength": 1
                },
                "patternProperties": {
                  "^\\S+$": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "EntryLagEvidence": {
                "type": "object",
                "properties": {
                  "events_per_lag": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/IntegerMap"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "events_with_window": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/IntegerMap"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "lag_curve_mean_pct": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/NumberMap"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "EntryLagDiagnosis": {
                "type": "object",
                "required": [
                  "id",
                  "finding",
                  "severity",
                  "evidence",
                  "plain_language_explanation"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "const": "entry_lag_sweep"
                  },
                  "finding": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "evidence": {
                    "$ref": "#/$defs/EntryLagEvidence"
                  },
                  "severity": {
                    "enum": [
                      "critical",
                      "ok",
                      "insufficient_power"
                    ],
                    "type": "string"
                  },
                  "plain_language_explanation": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "RejectedSignalEvent": {
                "type": "object",
                "properties": {
                  "symbol": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\S+$",
                        "maxLength": 256,
                        "minLength": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "direction": {
                    "anyOf": [
                      {
                        "enum": [
                          "long",
                          "short"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "confidence": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "decision_time": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "FrontLoadingEvidence": {
                "type": "object",
                "required": [
                  "clusters"
                ],
                "properties": {
                  "clusters": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "pooled_pre_pct": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pooled_post_pct": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "front_loading_share": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "front_loading_share_max": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "RandomTimingEvidence": {
                "type": "object",
                "properties": {
                  "seed": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 18446744073709552000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "percentile": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 100,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 100,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "n_null_windows": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "empirical_p_value": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "observed_mean_pct": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "null_window_candidates": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "ForensicsInputSummary": {
                "type": "object",
                "required": [
                  "events_submitted",
                  "events_valid",
                  "events_rejected",
                  "rejected",
                  "distinct_clusters",
                  "primary_horizon_bars"
                ],
                "properties": {
                  "rejected": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/ForensicsRejectedEvent"
                    },
                    "maxItems": 10
                  },
                  "events_valid": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "events_rejected": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "events_submitted": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "distinct_clusters": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "primary_horizon_bars": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "FrontLoadingDiagnosis": {
                "type": "object",
                "required": [
                  "id",
                  "finding",
                  "severity",
                  "evidence",
                  "plain_language_explanation"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "const": "front_loading"
                  },
                  "finding": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "evidence": {
                    "$ref": "#/$defs/FrontLoadingEvidence"
                  },
                  "severity": {
                    "enum": [
                      "high",
                      "ok",
                      "insufficient_power"
                    ],
                    "type": "string"
                  },
                  "plain_language_explanation": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "RandomTimingDiagnosis": {
                "type": "object",
                "required": [
                  "id",
                  "finding",
                  "severity",
                  "evidence",
                  "plain_language_explanation"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "const": "same_symbol_random_timing_placebo"
                  },
                  "finding": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "evidence": {
                    "$ref": "#/$defs/RandomTimingEvidence"
                  },
                  "severity": {
                    "enum": [
                      "high",
                      "ok",
                      "insufficient_power"
                    ],
                    "type": "string"
                  },
                  "plain_language_explanation": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "ForensicsRejectedEvent": {
                "type": "object",
                "required": [
                  "index",
                  "reason",
                  "event"
                ],
                "properties": {
                  "event": {
                    "$ref": "#/$defs/RejectedSignalEvent"
                  },
                  "index": {
                    "type": "integer",
                    "minimum": 0,
                    "exclusiveMaximum": 10000,
                    "x-strictJsonInteger": true
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "ClusterCollapseEvidence": {
                "type": "object",
                "required": [
                  "reported_trades",
                  "independent_clusters"
                ],
                "properties": {
                  "cluster_key": {
                    "anyOf": [
                      {
                        "type": "string",
                        "const": "utc_calendar_day"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "reported_trades": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "independent_clusters": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "ClusterCollapseDiagnosis": {
                "type": "object",
                "required": [
                  "id",
                  "finding",
                  "severity",
                  "evidence",
                  "plain_language_explanation"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "const": "cluster_collapse"
                  },
                  "finding": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "evidence": {
                    "$ref": "#/$defs/ClusterCollapseEvidence"
                  },
                  "severity": {
                    "enum": [
                      "high",
                      "medium",
                      "ok",
                      "insufficient_power"
                    ],
                    "type": "string"
                  },
                  "plain_language_explanation": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "SignRandomizationEvidence": {
                "type": "object",
                "required": [
                  "n_clusters"
                ],
                "properties": {
                  "survives": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "n_clusters": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "empirical_p_value": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "observed_cluster_mean_pct": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "BurstConcentrationEvidence": {
                "type": "object",
                "properties": {
                  "bars": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "min_bars": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "calm_events": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "burst_events": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "n_burst_bars": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "burst_mean_pct": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "non_burst_mean_pct": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "SignRandomizationDiagnosis": {
                "type": "object",
                "required": [
                  "id",
                  "finding",
                  "severity",
                  "evidence",
                  "plain_language_explanation"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "const": "sign_randomization"
                  },
                  "finding": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "evidence": {
                    "$ref": "#/$defs/SignRandomizationEvidence"
                  },
                  "severity": {
                    "enum": [
                      "medium",
                      "ok",
                      "insufficient_power"
                    ],
                    "type": "string"
                  },
                  "plain_language_explanation": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "BurstConcentrationDiagnosis": {
                "type": "object",
                "required": [
                  "id",
                  "finding",
                  "severity",
                  "evidence",
                  "plain_language_explanation"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "const": "burst_concentration"
                  },
                  "finding": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "evidence": {
                    "$ref": "#/$defs/BurstConcentrationEvidence"
                  },
                  "severity": {
                    "enum": [
                      "high",
                      "ok",
                      "insufficient_power"
                    ],
                    "type": "string"
                  },
                  "plain_language_explanation": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "required": [
                  "_meta",
                  "schema",
                  "verdict",
                  "diagnoses",
                  "headline",
                  "input_summary",
                  "disclaimer"
                ],
                "properties": {
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "schema": {
                    "type": "string",
                    "const": "signal_forensics.v1"
                  },
                  "verdict": {
                    "enum": [
                      "leakage_suspected",
                      "weak_evidence",
                      "insufficient_evidence",
                      "no_leakage_detected"
                    ],
                    "type": "string"
                  },
                  "headline": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "diagnoses": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "$ref": "#/$defs/EntryLagDiagnosis"
                        },
                        {
                          "$ref": "#/$defs/FrontLoadingDiagnosis"
                        },
                        {
                          "$ref": "#/$defs/RandomTimingDiagnosis"
                        },
                        {
                          "$ref": "#/$defs/SignRandomizationDiagnosis"
                        },
                        {
                          "$ref": "#/$defs/ClusterCollapseDiagnosis"
                        },
                        {
                          "$ref": "#/$defs/BurstConcentrationDiagnosis"
                        }
                      ],
                      "discriminator": {
                        "mapping": {
                          "front_loading": "#/$defs/FrontLoadingDiagnosis",
                          "entry_lag_sweep": "#/$defs/EntryLagDiagnosis",
                          "cluster_collapse": "#/$defs/ClusterCollapseDiagnosis",
                          "sign_randomization": "#/$defs/SignRandomizationDiagnosis",
                          "burst_concentration": "#/$defs/BurstConcentrationDiagnosis",
                          "same_symbol_random_timing_placebo": "#/$defs/RandomTimingDiagnosis"
                        },
                        "propertyName": "id"
                      }
                    },
                    "maxItems": 6
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "input_summary": {
                    "$ref": "#/$defs/ForensicsInputSummary"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Diagnose signal timing leakage",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "assay_backtest",
          "title": "Run a family-deflated backtest assay",
          "description": "Use this when you want a code-computed DSL backtest whose deflated-\nSharpe verdict still means something after repeated searching -- every\nrun is priced into your family's trial ledger. A research audit, not\nbuy/sell advice.\nLedger-aware DSL backtest with honest family-level trial accounting.\n\nDefine the strategy as an executable JSON DSL (indicators: sma, ema, rsi,\natr, roc, zscore, price; ops: cross_above, cross_below, gt, lt, and, or,\nnot), supply your own candles, and get net-of-cost per-bar returns plus a\ndeflated-Sharpe family verdict. Every call is recorded in your family's\ntrial ledger, so repeated searching deflates future verdicts -- that is\nthe feature, not a bug: the verdict stays meaningful. The ledger is\nkeyed to your authenticated account, never to a caller-supplied name.\nData minimisation on request: sketch_opt_out=true skips persisting the\n32-bucket return sketch -- the honest price is that without provable\nproximity this trial counts IN FULL toward the family budget (no\nevidence, no discount; the response discloses sketch_retained). Included\nin the flat price. The response is code-computed and ledger-dependent: a\nnew call can change the family budget. Byte-identical output is promised\nonly by stored replay of the same non-empty request_id with the same\ncanonical request. Price: per check; see\nhttps://api.alphaassay.com/v1/meta/pricing (api_key required -- account\nsetup at https://api.alphaassay.com/account).",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "ConstNode": {
                "type": "object",
                "required": [
                  "const"
                ],
                "properties": {
                  "const": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "SignalNode": {
                "type": "object",
                "oneOf": [
                  {
                    "required": [
                      "op",
                      "left",
                      "right"
                    ],
                    "properties": {
                      "op": {
                        "enum": [
                          "cross_above",
                          "cross_below",
                          "gt",
                          "lt"
                        ]
                      },
                      "left": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/ConstNode"
                          },
                          {
                            "$ref": "#/$defs/IndicatorNode"
                          }
                        ]
                      },
                      "right": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/ConstNode"
                          },
                          {
                            "$ref": "#/$defs/IndicatorNode"
                          }
                        ]
                      }
                    }
                  },
                  {
                    "required": [
                      "op",
                      "left",
                      "right"
                    ],
                    "properties": {
                      "op": {
                        "enum": [
                          "and",
                          "or"
                        ]
                      },
                      "left": {
                        "$ref": "#/$defs/SignalNode"
                      },
                      "right": {
                        "$ref": "#/$defs/SignalNode"
                      }
                    }
                  },
                  {
                    "required": [
                      "op",
                      "left"
                    ],
                    "properties": {
                      "op": {
                        "const": "not"
                      },
                      "left": {
                        "$ref": "#/$defs/SignalNode"
                      },
                      "right": {
                        "type": "null"
                      }
                    }
                  }
                ],
                "required": [
                  "op",
                  "left"
                ],
                "properties": {
                  "op": {
                    "enum": [
                      "cross_above",
                      "cross_below",
                      "gt",
                      "lt",
                      "and",
                      "or",
                      "not"
                    ],
                    "type": "string"
                  },
                  "left": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ConstNode"
                      },
                      {
                        "$ref": "#/$defs/IndicatorNode"
                      },
                      {
                        "$ref": "#/$defs/SignalNode"
                      }
                    ]
                  },
                  "right": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ConstNode"
                      },
                      {
                        "$ref": "#/$defs/IndicatorNode"
                      },
                      {
                        "$ref": "#/$defs/SignalNode"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "OHLCVSeries": {
                "type": "object",
                "required": [
                  "close"
                ],
                "properties": {
                  "low": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "high": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "time": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 64,
                          "minLength": 1
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "close": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "maximum": 1000000000000000,
                          "exclusiveMinimum": 0,
                          "x-strictJsonInteger": true
                        },
                        {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "exclusiveMinimum": 0
                        }
                      ]
                    },
                    "maxItems": 5000,
                    "minItems": 1
                  },
                  "volume": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "minimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "minimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "x-relations": [
                  "len(time|open|high|low|volume) == len(close) when present"
                ],
                "additionalProperties": false
              },
              "StrategySpec": {
                "type": "object",
                "required": [
                  "dsl_version",
                  "asset_universe",
                  "bar_interval",
                  "target",
                  "signal"
                ],
                "properties": {
                  "signal": {
                    "$ref": "#/$defs/SignalNode",
                    "x-maxDepth": 16
                  },
                  "target": {
                    "$ref": "#/$defs/StrategyTarget"
                  },
                  "position": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/StrategyPosition"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "dsl_version": {
                    "type": "string",
                    "const": "1"
                  },
                  "bar_interval": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "asset_universe": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\S+$",
                      "maxLength": 64,
                      "minLength": 1
                    },
                    "maxItems": 50,
                    "minItems": 1,
                    "uniqueItems": true
                  },
                  "entry_lag_bars": {
                    "type": "integer",
                    "default": 1,
                    "maximum": 5000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "IndicatorNode": {
                "type": "object",
                "oneOf": [
                  {
                    "required": [
                      "indicator"
                    ],
                    "properties": {
                      "window": {
                        "type": "null"
                      },
                      "indicator": {
                        "const": "price"
                      }
                    }
                  },
                  {
                    "required": [
                      "indicator",
                      "window"
                    ],
                    "properties": {
                      "source": {
                        "type": "null"
                      },
                      "window": {
                        "type": "integer",
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      "indicator": {
                        "const": "atr"
                      }
                    }
                  },
                  {
                    "required": [
                      "indicator",
                      "window"
                    ],
                    "properties": {
                      "window": {
                        "type": "integer",
                        "minimum": 2,
                        "x-strictJsonInteger": true
                      },
                      "indicator": {
                        "const": "zscore"
                      }
                    }
                  },
                  {
                    "required": [
                      "indicator",
                      "window"
                    ],
                    "properties": {
                      "window": {
                        "type": "integer",
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      "indicator": {
                        "enum": [
                          "sma",
                          "ema",
                          "rsi",
                          "roc"
                        ]
                      }
                    }
                  }
                ],
                "required": [
                  "indicator"
                ],
                "properties": {
                  "source": {
                    "anyOf": [
                      {
                        "enum": [
                          "open",
                          "high",
                          "low",
                          "close",
                          "volume"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "window": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 5000,
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "indicator": {
                    "enum": [
                      "sma",
                      "ema",
                      "rsi",
                      "atr",
                      "roc",
                      "zscore",
                      "price"
                    ],
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "StrategyTarget": {
                "type": "object",
                "required": [
                  "kind",
                  "horizon_bars"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "forward_return"
                  },
                  "horizon_bars": {
                    "type": "integer",
                    "maximum": 5000,
                    "minimum": 1,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "StrategyPosition": {
                "type": "object",
                "required": [
                  "on_signal",
                  "else"
                ],
                "properties": {
                  "else": {
                    "type": "string",
                    "const": "flat"
                  },
                  "on_signal": {
                    "type": "string",
                    "const": "long"
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "spec",
              "ohlcv_by_symbol"
            ],
            "properties": {
              "spec": {
                "$ref": "#/$defs/StrategySpec",
                "description": "Executable JSON DSL strategy (indicators sma/ema/rsi/atr/roc/zscore/price; ops cross_above/cross_below/gt/lt/and/or/not) -- the rule to backtest and record in your family ledger."
              },
              "api_key": {
                "type": "string",
                "default": "",
                "maxLength": 512,
                "description": "API key for a paid MCP check. Hosted Streamable HTTP clients should send it in the Authorization: Bearer transport header so the model never sees the secret; local stdio callers may supply the raw key in this tool argument without a Bearer prefix. Create an account at https://api.alphaassay.com/account; the current free allowance and prices are published at https://api.alphaassay.com/v1/meta/pricing. Paid MCP calls use API-key credits; x402 buys only the separate REST POST /x402/v1/gauntlet and is not MCP billing."
              },
              "request_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 256
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional idempotency key for this paid execution. Retry the same request_id with the same payload to replay one stored result without another charge; reuse with a different payload returns idempotency_conflict."
              },
              "sketch_opt_out": {
                "type": "boolean",
                "default": false,
                "description": "True to skip persisting the 32-bucket return sketch (data minimisation); the trial then counts in full toward the family budget."
              },
              "ohlcv_by_symbol": {
                "type": "object",
                "description": "Your candles per symbol to run the DSL rule on.",
                "maxProperties": 50,
                "propertyNames": {
                  "maxLength": 64,
                  "minLength": 1
                },
                "patternProperties": {
                  "^\\S+$": {
                    "$ref": "#/$defs/OHLCVSeries"
                  }
                },
                "additionalProperties": false
              },
              "fee_bps_per_side": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 1000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number",
                    "maximum": 1000,
                    "minimum": 0
                  }
                ],
                "default": 10,
                "description": "Round-trip cost in bps/side for net returns."
              },
              "variants_in_call": {
                "type": "integer",
                "default": 1,
                "maximum": 25,
                "minimum": 1,
                "description": "How many sibling variants this call represents, for honest family-level trial accounting.",
                "x-strictJsonInteger": true
              }
            },
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "EbComputed": {
                "type": "object",
                "required": [
                  "status",
                  "family_t_stats_n",
                  "sigma_signal_sq",
                  "shrink_factor",
                  "t_observed",
                  "t_shrunk",
                  "sharpe_shrunk_per_obs",
                  "method",
                  "note"
                ],
                "properties": {
                  "note": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "method": {
                    "type": "string",
                    "const": "efron_morris_prior_zero"
                  },
                  "status": {
                    "type": "string",
                    "const": "computed"
                  },
                  "t_shrunk": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "t_observed": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "shrink_factor": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  },
                  "sigma_signal_sq": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  },
                  "family_t_stats_n": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "sharpe_shrunk_per_obs": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "EbInsufficient": {
                "type": "object",
                "required": [
                  "status",
                  "family_t_stats_n",
                  "method",
                  "note"
                ],
                "properties": {
                  "note": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "method": {
                    "type": "string",
                    "const": "efron_morris_prior_zero"
                  },
                  "status": {
                    "type": "string",
                    "const": "insufficient_family_history"
                  },
                  "family_t_stats_n": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "FamilyComputed": {
                "type": "object",
                "required": [
                  "status",
                  "sharpe_per_obs",
                  "n_observations",
                  "skew",
                  "kurtosis",
                  "n_trials",
                  "variance_of_sharpe",
                  "expected_max_sharpe_null",
                  "psr_vs_zero",
                  "dsr",
                  "cumulative_n",
                  "global_family_n",
                  "variants_in_call",
                  "n_trials_effective",
                  "n_hat_ledger",
                  "effective_n_method",
                  "mean_correlation",
                  "overlap_warning",
                  "thresholds",
                  "killed_by",
                  "family_verdict",
                  "sketch_retained",
                  "eb_shrinkage",
                  "break_even_n",
                  "dsr_attribution",
                  "note"
                ],
                "properties": {
                  "dsr": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "note": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "skew": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "status": {
                    "type": "string",
                    "const": "computed"
                  },
                  "kurtosis": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "n_trials": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "killed_by": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "evt_dsr",
                        "harvey_liu_bh"
                      ],
                      "type": "string"
                    },
                    "maxItems": 2
                  },
                  "thresholds": {
                    "$ref": "#/$defs/FamilyThresholds"
                  },
                  "psr_vs_zero": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "sketch_note": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "break_even_n": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "cumulative_n": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "eb_shrinkage": {
                    "oneOf": [
                      {
                        "$ref": "#/$defs/EbInsufficient"
                      },
                      {
                        "$ref": "#/$defs/EbComputed"
                      }
                    ],
                    "discriminator": {
                      "mapping": {
                        "computed": "#/$defs/EbComputed",
                        "insufficient_family_history": "#/$defs/EbInsufficient"
                      },
                      "propertyName": "status"
                    }
                  },
                  "n_hat_ledger": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  },
                  "family_verdict": {
                    "enum": [
                      "survives",
                      "deflated_out"
                    ],
                    "type": "string"
                  },
                  "n_observations": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "sharpe_per_obs": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "dsr_attribution": {
                    "oneOf": [
                      {
                        "$ref": "#/$defs/DsrAttributionUnavailable"
                      },
                      {
                        "$ref": "#/$defs/DsrAttributionComputed"
                      }
                    ],
                    "discriminator": {
                      "mapping": {
                        "computed": "#/$defs/DsrAttributionComputed",
                        "not_computed": "#/$defs/DsrAttributionUnavailable"
                      },
                      "propertyName": "status"
                    }
                  },
                  "global_family_n": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "overlap_warning": {
                    "type": "boolean"
                  },
                  "sketch_retained": {
                    "type": "boolean"
                  },
                  "mean_correlation": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": -1,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": -1
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "variants_in_call": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "effective_n_method": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "n_trials_effective": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "variance_of_sharpe": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  },
                  "expected_max_sharpe_null": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "EvtDsrThreshold": {
                "type": "object",
                "required": [
                  "dsr",
                  "min",
                  "survives"
                ],
                "properties": {
                  "dsr": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "min": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "survives": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "FamilyThresholds": {
                "type": "object",
                "required": [
                  "evt_dsr",
                  "harvey_liu_bh"
                ],
                "properties": {
                  "evt_dsr": {
                    "$ref": "#/$defs/EvtDsrThreshold"
                  },
                  "harvey_liu_bh": {
                    "$ref": "#/$defs/HarveyLiuThreshold"
                  }
                },
                "additionalProperties": false
              },
              "FamilyNotComputed": {
                "type": "object",
                "required": [
                  "status",
                  "reason"
                ],
                "properties": {
                  "reason": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "status": {
                    "type": "string",
                    "const": "not_computed"
                  }
                },
                "additionalProperties": false
              },
              "TrialLedgerRecord": {
                "type": "object",
                "required": [
                  "recorded",
                  "spec_hash",
                  "family_id",
                  "cumulative_n",
                  "disclaimer"
                ],
                "properties": {
                  "recorded": {
                    "type": "boolean"
                  },
                  "family_id": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "spec_hash": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "cumulative_n": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "HarveyLiuThreshold": {
                "type": "object",
                "required": [
                  "p_single",
                  "p_adjusted",
                  "alpha",
                  "survives"
                ],
                "properties": {
                  "alpha": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "p_single": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "survives": {
                    "type": "boolean"
                  },
                  "p_adjusted": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "DsrAttributionComputed": {
                "type": "object",
                "required": [
                  "status",
                  "base_psr_normal_no_selection",
                  "dsr",
                  "dsr_normal_tails",
                  "total_haircut",
                  "selection_haircut",
                  "non_normality_haircut",
                  "interaction",
                  "tipping_point_n_trials",
                  "verdict_would_flip_under_normal_tails",
                  "interpretation"
                ],
                "properties": {
                  "dsr": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "status": {
                    "type": "string",
                    "const": "computed"
                  },
                  "interaction": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "total_haircut": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "interpretation": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "dsr_normal_tails": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "selection_haircut": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "non_normality_haircut": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "tipping_point_n_trials": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "base_psr_normal_no_selection": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "verdict_would_flip_under_normal_tails": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "DsrAttributionUnavailable": {
                "type": "object",
                "required": [
                  "status",
                  "reason",
                  "dsr"
                ],
                "properties": {
                  "dsr": {
                    "type": "null"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "status": {
                    "type": "string",
                    "const": "not_computed"
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "required": [
                  "_meta",
                  "bars",
                  "net_return_total",
                  "ledger",
                  "family_deflated_verdict",
                  "family_id",
                  "spec_hash",
                  "disclaimer"
                ],
                "properties": {
                  "bars": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "ledger": {
                    "$ref": "#/$defs/TrialLedgerRecord"
                  },
                  "family_id": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "spec_hash": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "net_return_total": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "family_deflated_verdict": {
                    "oneOf": [
                      {
                        "$ref": "#/$defs/FamilyNotComputed"
                      },
                      {
                        "$ref": "#/$defs/FamilyComputed"
                      }
                    ],
                    "discriminator": {
                      "mapping": {
                        "computed": "#/$defs/FamilyComputed",
                        "not_computed": "#/$defs/FamilyNotComputed"
                      },
                      "propertyName": "status"
                    }
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Run a family-deflated backtest assay",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "assay_gauntlet",
          "title": "Run the adversarial signal gauntlet",
          "description": "Use this when you want the whole reality-check battery on a strategy\nin one call -- overfitting, leakage, costs, regimes and a matched-random\nplacebo -- as a demote-only dossier, never buy/sell advice.\nThe full reality-check battery in ONE call -- validator, family\ndeflation, matched-random placebo, capacity ceiling and graveyard prior\nchained into a single consolidated dossier. Instead of pass/fail you get\nWHICH gate killed the signal first (machine-readable failure_codes), the\nplacebo percentile, the tradable capacity ceiling, how often the family\nwas already buried, and the family's remaining search budget. Built for\niterating agents: it is training feedback with budget economics, not a\nbare verdict. Supply the strategy as an executable DSL spec plus your own\ncandles; optional per-symbol ADV in USD unlocks the capacity gate, and\noptional per-symbol daily volatility (sigma_by_symbol_pct, percent) sharpens\nits impact model for volatile assets. Trading perpetuals? Supply\nfunding_by_symbol ({symbol: [{ts, rate}, ...]}, decimal per-settlement\nrates, positive = longs pay) and the funding_edge stage charges the\nfunding leg against every holding period: it kills what only looked\nprofitable because funding was ignored (funding_erases_edge) and what\nis carry income masquerading as timing skill (edge_is_funding_carry);\na series that fails its own audit keeps the funding question open\ninstead of acquitting. Data minimisation on request: sketch_opt_out=true\nskips persisting the 32-bucket return sketch, and the trial counts IN\nFULL toward the family budget (no evidence, no discount -- disclosed in\nthe budget block). The response is code-computed and ledger-dependent: a\nnew call can change the family budget. Byte-identical output is promised\nonly by stored replay of the same non-empty request_id with the same\ncanonical request. Demote-only.\nPrice: per check; see https://api.alphaassay.com/v1/meta/pricing\n(api_key required -- account setup at\nhttps://api.alphaassay.com/account).",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "ConstNode": {
                "type": "object",
                "required": [
                  "const"
                ],
                "properties": {
                  "const": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "SignalNode": {
                "type": "object",
                "oneOf": [
                  {
                    "required": [
                      "op",
                      "left",
                      "right"
                    ],
                    "properties": {
                      "op": {
                        "enum": [
                          "cross_above",
                          "cross_below",
                          "gt",
                          "lt"
                        ]
                      },
                      "left": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/ConstNode"
                          },
                          {
                            "$ref": "#/$defs/IndicatorNode"
                          }
                        ]
                      },
                      "right": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/ConstNode"
                          },
                          {
                            "$ref": "#/$defs/IndicatorNode"
                          }
                        ]
                      }
                    }
                  },
                  {
                    "required": [
                      "op",
                      "left",
                      "right"
                    ],
                    "properties": {
                      "op": {
                        "enum": [
                          "and",
                          "or"
                        ]
                      },
                      "left": {
                        "$ref": "#/$defs/SignalNode"
                      },
                      "right": {
                        "$ref": "#/$defs/SignalNode"
                      }
                    }
                  },
                  {
                    "required": [
                      "op",
                      "left"
                    ],
                    "properties": {
                      "op": {
                        "const": "not"
                      },
                      "left": {
                        "$ref": "#/$defs/SignalNode"
                      },
                      "right": {
                        "type": "null"
                      }
                    }
                  }
                ],
                "required": [
                  "op",
                  "left"
                ],
                "properties": {
                  "op": {
                    "enum": [
                      "cross_above",
                      "cross_below",
                      "gt",
                      "lt",
                      "and",
                      "or",
                      "not"
                    ],
                    "type": "string"
                  },
                  "left": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ConstNode"
                      },
                      {
                        "$ref": "#/$defs/IndicatorNode"
                      },
                      {
                        "$ref": "#/$defs/SignalNode"
                      }
                    ]
                  },
                  "right": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ConstNode"
                      },
                      {
                        "$ref": "#/$defs/IndicatorNode"
                      },
                      {
                        "$ref": "#/$defs/SignalNode"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "OHLCVSeries": {
                "type": "object",
                "required": [
                  "close"
                ],
                "properties": {
                  "low": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "high": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "time": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 64,
                          "minLength": 1
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "close": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "maximum": 1000000000000000,
                          "exclusiveMinimum": 0,
                          "x-strictJsonInteger": true
                        },
                        {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "exclusiveMinimum": 0
                        }
                      ]
                    },
                    "maxItems": 5000,
                    "minItems": 1
                  },
                  "volume": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "minimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "minimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "x-relations": [
                  "len(time|open|high|low|volume) == len(close) when present"
                ],
                "additionalProperties": false
              },
              "FundingPoint": {
                "type": "object",
                "required": [
                  "ts",
                  "rate"
                ],
                "properties": {
                  "ts": {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1
                  },
                  "rate": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "StrategySpec": {
                "type": "object",
                "required": [
                  "dsl_version",
                  "asset_universe",
                  "bar_interval",
                  "target",
                  "signal"
                ],
                "properties": {
                  "signal": {
                    "$ref": "#/$defs/SignalNode",
                    "x-maxDepth": 16
                  },
                  "target": {
                    "$ref": "#/$defs/StrategyTarget"
                  },
                  "position": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/StrategyPosition"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "dsl_version": {
                    "type": "string",
                    "const": "1"
                  },
                  "bar_interval": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "asset_universe": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\S+$",
                      "maxLength": 64,
                      "minLength": 1
                    },
                    "maxItems": 50,
                    "minItems": 1,
                    "uniqueItems": true
                  },
                  "entry_lag_bars": {
                    "type": "integer",
                    "default": 1,
                    "maximum": 5000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "IndicatorNode": {
                "type": "object",
                "oneOf": [
                  {
                    "required": [
                      "indicator"
                    ],
                    "properties": {
                      "window": {
                        "type": "null"
                      },
                      "indicator": {
                        "const": "price"
                      }
                    }
                  },
                  {
                    "required": [
                      "indicator",
                      "window"
                    ],
                    "properties": {
                      "source": {
                        "type": "null"
                      },
                      "window": {
                        "type": "integer",
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      "indicator": {
                        "const": "atr"
                      }
                    }
                  },
                  {
                    "required": [
                      "indicator",
                      "window"
                    ],
                    "properties": {
                      "window": {
                        "type": "integer",
                        "minimum": 2,
                        "x-strictJsonInteger": true
                      },
                      "indicator": {
                        "const": "zscore"
                      }
                    }
                  },
                  {
                    "required": [
                      "indicator",
                      "window"
                    ],
                    "properties": {
                      "window": {
                        "type": "integer",
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      "indicator": {
                        "enum": [
                          "sma",
                          "ema",
                          "rsi",
                          "roc"
                        ]
                      }
                    }
                  }
                ],
                "required": [
                  "indicator"
                ],
                "properties": {
                  "source": {
                    "anyOf": [
                      {
                        "enum": [
                          "open",
                          "high",
                          "low",
                          "close",
                          "volume"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "window": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 5000,
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "indicator": {
                    "enum": [
                      "sma",
                      "ema",
                      "rsi",
                      "atr",
                      "roc",
                      "zscore",
                      "price"
                    ],
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "StrategyTarget": {
                "type": "object",
                "required": [
                  "kind",
                  "horizon_bars"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "forward_return"
                  },
                  "horizon_bars": {
                    "type": "integer",
                    "maximum": 5000,
                    "minimum": 1,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "StrategyPosition": {
                "type": "object",
                "required": [
                  "on_signal",
                  "else"
                ],
                "properties": {
                  "else": {
                    "type": "string",
                    "const": "flat"
                  },
                  "on_signal": {
                    "type": "string",
                    "const": "long"
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "spec",
              "ohlcv_by_symbol"
            ],
            "properties": {
              "spec": {
                "$ref": "#/$defs/StrategySpec",
                "description": "Executable JSON DSL strategy to run the full battery on."
              },
              "api_key": {
                "type": "string",
                "default": "",
                "maxLength": 512,
                "description": "API key for a paid MCP check. Hosted Streamable HTTP clients should send it in the Authorization: Bearer transport header so the model never sees the secret; local stdio callers may supply the raw key in this tool argument without a Bearer prefix. Create an account at https://api.alphaassay.com/account; the current free allowance and prices are published at https://api.alphaassay.com/v1/meta/pricing. Paid MCP calls use API-key credits; x402 buys only the separate REST POST /x402/v1/gauntlet and is not MCP billing."
              },
              "request_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 256
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional idempotency key for this paid execution. Retry the same request_id with the same payload to replay one stored result without another charge; reuse with a different payload returns idempotency_conflict."
              },
              "sketch_opt_out": {
                "type": "boolean",
                "default": false,
                "description": "True to skip the return sketch (data minimisation)."
              },
              "ohlcv_by_symbol": {
                "type": "object",
                "description": "Your candles per symbol for the gauntlet.",
                "maxProperties": 50,
                "propertyNames": {
                  "maxLength": 64,
                  "minLength": 1
                },
                "patternProperties": {
                  "^\\S+$": {
                    "$ref": "#/$defs/OHLCVSeries"
                  }
                },
                "additionalProperties": false
              },
              "fee_bps_per_side": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 1000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number",
                    "maximum": 1000,
                    "minimum": 0
                  }
                ],
                "default": 10,
                "description": "Round-trip cost in bps/side."
              },
              "variants_in_call": {
                "type": "integer",
                "default": 1,
                "maximum": 25,
                "minimum": 1,
                "description": "Sibling-variant count for family trial accounting.",
                "x-strictJsonInteger": true
              },
              "adv_by_symbol_usd": {
                "anyOf": [
                  {
                    "type": "object",
                    "maxProperties": 50,
                    "propertyNames": {
                      "maxLength": 64,
                      "minLength": 1
                    },
                    "patternProperties": {
                      "^\\S+$": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "maximum": 1000000000000000,
                            "minimum": 0,
                            "x-strictJsonInteger": true
                          },
                          {
                            "type": "number",
                            "maximum": 1000000000000000,
                            "minimum": 0
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Average daily dollar volume per symbol, for the capacity / market-impact stress."
              },
              "funding_by_symbol": {
                "anyOf": [
                  {
                    "type": "object",
                    "maxProperties": 50,
                    "propertyNames": {
                      "maxLength": 64,
                      "minLength": 1
                    },
                    "patternProperties": {
                      "^\\S+$": {
                        "type": "array",
                        "items": {
                          "$ref": "#/$defs/FundingPoint"
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Per-symbol funding-rate series so the funding-edge stage can net carry out of the edge."
              },
              "sigma_by_symbol_pct": {
                "anyOf": [
                  {
                    "type": "object",
                    "maxProperties": 50,
                    "propertyNames": {
                      "maxLength": 64,
                      "minLength": 1
                    },
                    "patternProperties": {
                      "^\\S+$": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "maximum": 1000000000000000,
                            "minimum": 0,
                            "x-strictJsonInteger": true
                          },
                          {
                            "type": "number",
                            "maximum": 1000000000000000,
                            "minimum": 0
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Per-symbol volatility (%) input for the risk/capacity cells when you have it."
              }
            },
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "truncated": true,
            "chars": 26058
          },
          "annotations": {
            "title": "Run the adversarial signal gauntlet",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "assay_falsify",
          "title": "Falsify a strategy against synthetic nulls",
          "description": "Use this when you want your strategy actively attacked -- execution\nlag, cost stress, regime split, parameter neighbourhood, drift-burst --\nto see what kills it first. Demote-only; it does not give buy/sell advice.\nWe do not check your signal -- we actively try to KILL it. An adversary\nruns a battery of stress attacks against your strategy (execution-lag push,\ncost stress, time jackknife, regime split, parameter-neighbourhood\nperturbation, combinatorial purged CPCV partitions, synthetic no-edge\nworlds, drift-burst window stripping -- does the PnL survive without\nits flash-crash bars?) and returns a survival map: which attack kills\nit first,\nwhich it withstands and up to what limit, plus a weakest-link headline.\nThe graveyard sharpens the attack order -- families that mostly died of\ncost get cost-stressed first. Surviving every attack is the strongest\nevidence of robustness this platform can give (still not a profit promise).\nSupply an executable DSL spec + your own candles. Code-computed,\ndemote-only. Price: per check; see\nhttps://api.alphaassay.com/v1/meta/pricing (api_key required -- account\nsetup at https://api.alphaassay.com/account).",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "ConstNode": {
                "type": "object",
                "required": [
                  "const"
                ],
                "properties": {
                  "const": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "SignalNode": {
                "type": "object",
                "oneOf": [
                  {
                    "required": [
                      "op",
                      "left",
                      "right"
                    ],
                    "properties": {
                      "op": {
                        "enum": [
                          "cross_above",
                          "cross_below",
                          "gt",
                          "lt"
                        ]
                      },
                      "left": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/ConstNode"
                          },
                          {
                            "$ref": "#/$defs/IndicatorNode"
                          }
                        ]
                      },
                      "right": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/ConstNode"
                          },
                          {
                            "$ref": "#/$defs/IndicatorNode"
                          }
                        ]
                      }
                    }
                  },
                  {
                    "required": [
                      "op",
                      "left",
                      "right"
                    ],
                    "properties": {
                      "op": {
                        "enum": [
                          "and",
                          "or"
                        ]
                      },
                      "left": {
                        "$ref": "#/$defs/SignalNode"
                      },
                      "right": {
                        "$ref": "#/$defs/SignalNode"
                      }
                    }
                  },
                  {
                    "required": [
                      "op",
                      "left"
                    ],
                    "properties": {
                      "op": {
                        "const": "not"
                      },
                      "left": {
                        "$ref": "#/$defs/SignalNode"
                      },
                      "right": {
                        "type": "null"
                      }
                    }
                  }
                ],
                "required": [
                  "op",
                  "left"
                ],
                "properties": {
                  "op": {
                    "enum": [
                      "cross_above",
                      "cross_below",
                      "gt",
                      "lt",
                      "and",
                      "or",
                      "not"
                    ],
                    "type": "string"
                  },
                  "left": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ConstNode"
                      },
                      {
                        "$ref": "#/$defs/IndicatorNode"
                      },
                      {
                        "$ref": "#/$defs/SignalNode"
                      }
                    ]
                  },
                  "right": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ConstNode"
                      },
                      {
                        "$ref": "#/$defs/IndicatorNode"
                      },
                      {
                        "$ref": "#/$defs/SignalNode"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "OHLCVSeries": {
                "type": "object",
                "required": [
                  "close"
                ],
                "properties": {
                  "low": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "high": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "time": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 64,
                          "minLength": 1
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "close": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "maximum": 1000000000000000,
                          "exclusiveMinimum": 0,
                          "x-strictJsonInteger": true
                        },
                        {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "exclusiveMinimum": 0
                        }
                      ]
                    },
                    "maxItems": 5000,
                    "minItems": 1
                  },
                  "volume": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "minimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "minimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "x-relations": [
                  "len(time|open|high|low|volume) == len(close) when present"
                ],
                "additionalProperties": false
              },
              "StrategySpec": {
                "type": "object",
                "required": [
                  "dsl_version",
                  "asset_universe",
                  "bar_interval",
                  "target",
                  "signal"
                ],
                "properties": {
                  "signal": {
                    "$ref": "#/$defs/SignalNode",
                    "x-maxDepth": 16
                  },
                  "target": {
                    "$ref": "#/$defs/StrategyTarget"
                  },
                  "position": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/StrategyPosition"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "dsl_version": {
                    "type": "string",
                    "const": "1"
                  },
                  "bar_interval": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "asset_universe": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\S+$",
                      "maxLength": 64,
                      "minLength": 1
                    },
                    "maxItems": 50,
                    "minItems": 1,
                    "uniqueItems": true
                  },
                  "entry_lag_bars": {
                    "type": "integer",
                    "default": 1,
                    "maximum": 5000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "IndicatorNode": {
                "type": "object",
                "oneOf": [
                  {
                    "required": [
                      "indicator"
                    ],
                    "properties": {
                      "window": {
                        "type": "null"
                      },
                      "indicator": {
                        "const": "price"
                      }
                    }
                  },
                  {
                    "required": [
                      "indicator",
                      "window"
                    ],
                    "properties": {
                      "source": {
                        "type": "null"
                      },
                      "window": {
                        "type": "integer",
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      "indicator": {
                        "const": "atr"
                      }
                    }
                  },
                  {
                    "required": [
                      "indicator",
                      "window"
                    ],
                    "properties": {
                      "window": {
                        "type": "integer",
                        "minimum": 2,
                        "x-strictJsonInteger": true
                      },
                      "indicator": {
                        "const": "zscore"
                      }
                    }
                  },
                  {
                    "required": [
                      "indicator",
                      "window"
                    ],
                    "properties": {
                      "window": {
                        "type": "integer",
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      "indicator": {
                        "enum": [
                          "sma",
                          "ema",
                          "rsi",
                          "roc"
                        ]
                      }
                    }
                  }
                ],
                "required": [
                  "indicator"
                ],
                "properties": {
                  "source": {
                    "anyOf": [
                      {
                        "enum": [
                          "open",
                          "high",
                          "low",
                          "close",
                          "volume"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "window": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 5000,
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "indicator": {
                    "enum": [
                      "sma",
                      "ema",
                      "rsi",
                      "atr",
                      "roc",
                      "zscore",
                      "price"
                    ],
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "StrategyTarget": {
                "type": "object",
                "required": [
                  "kind",
                  "horizon_bars"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "forward_return"
                  },
                  "horizon_bars": {
                    "type": "integer",
                    "maximum": 5000,
                    "minimum": 1,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "StrategyPosition": {
                "type": "object",
                "required": [
                  "on_signal",
                  "else"
                ],
                "properties": {
                  "else": {
                    "type": "string",
                    "const": "flat"
                  },
                  "on_signal": {
                    "type": "string",
                    "const": "long"
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "spec",
              "ohlcv_by_symbol"
            ],
            "properties": {
              "spec": {
                "$ref": "#/$defs/StrategySpec",
                "description": "Executable JSON DSL strategy to attack with the survival map."
              },
              "api_key": {
                "type": "string",
                "default": "",
                "maxLength": 512,
                "description": "API key for a paid MCP check. Hosted Streamable HTTP clients should send it in the Authorization: Bearer transport header so the model never sees the secret; local stdio callers may supply the raw key in this tool argument without a Bearer prefix. Create an account at https://api.alphaassay.com/account; the current free allowance and prices are published at https://api.alphaassay.com/v1/meta/pricing. Paid MCP calls use API-key credits; x402 buys only the separate REST POST /x402/v1/gauntlet and is not MCP billing."
              },
              "request_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 256
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional idempotency key for this paid execution. Retry the same request_id with the same payload to replay one stored result without another charge; reuse with a different payload returns idempotency_conflict."
              },
              "ohlcv_by_symbol": {
                "type": "object",
                "description": "Your candles per symbol for the attack battery.",
                "maxProperties": 50,
                "propertyNames": {
                  "maxLength": 64,
                  "minLength": 1
                },
                "patternProperties": {
                  "^\\S+$": {
                    "$ref": "#/$defs/OHLCVSeries"
                  }
                },
                "additionalProperties": false
              },
              "fee_bps_per_side": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 1000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number",
                    "maximum": 1000,
                    "minimum": 0
                  }
                ],
                "default": 10,
                "description": "Round-trip cost in bps/side for the cost stress."
              }
            },
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "NumberMap": {
                "type": "object",
                "description": "Bounded runtime-keyed map of finite numbers.",
                "maxProperties": 256,
                "propertyNames": {
                  "maxLength": 128,
                  "minLength": 1
                },
                "patternProperties": {
                  "^\\S+$": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "CostStressAttack": {
                "type": "object",
                "required": [
                  "attack",
                  "dimension",
                  "survives",
                  "kill_point",
                  "evidence",
                  "plain_language"
                ],
                "properties": {
                  "attack": {
                    "type": "string",
                    "const": "cost_stress"
                  },
                  "evidence": {
                    "$ref": "#/$defs/CostStressAttackEvidence"
                  },
                  "survives": {
                    "type": "boolean"
                  },
                  "dimension": {
                    "type": "string",
                    "const": "costs"
                  },
                  "kill_point": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "plain_language": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "DriftBurstAttack": {
                "type": "object",
                "required": [
                  "attack",
                  "dimension",
                  "survives",
                  "kill_point",
                  "evidence",
                  "plain_language"
                ],
                "properties": {
                  "attack": {
                    "type": "string",
                    "const": "drift_burst"
                  },
                  "evidence": {
                    "$ref": "#/$defs/DriftBurstAttackEvidence"
                  },
                  "survives": {
                    "type": "boolean"
                  },
                  "dimension": {
                    "type": "string",
                    "const": "burst_concentration"
                  },
                  "kill_point": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "plain_language": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "RegimeSplitAttack": {
                "type": "object",
                "required": [
                  "attack",
                  "dimension",
                  "survives",
                  "kill_point",
                  "evidence",
                  "plain_language"
                ],
                "properties": {
                  "attack": {
                    "type": "string",
                    "const": "regime_split"
                  },
                  "evidence": {
                    "$ref": "#/$defs/RegimeSplitAttackEvidence"
                  },
                  "survives": {
                    "type": "boolean"
                  },
                  "dimension": {
                    "type": "string",
                    "const": "regime_dependence"
                  },
                  "kill_point": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "plain_language": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "CpcvAttackEvidence": {
                "type": "object",
                "required": [
                  "status",
                  "share_positive",
                  "min_share_positive",
                  "median_combination_sharpe_annualized",
                  "worst_combination_sharpe_annualized",
                  "n_combinations",
                  "purge"
                ],
                "properties": {
                  "purge": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "status": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "n_combinations": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "share_positive": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "min_share_positive": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "worst_combination_sharpe_annualized": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "median_combination_sharpe_annualized": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "ExecutionLagAttack": {
                "type": "object",
                "required": [
                  "attack",
                  "dimension",
                  "survives",
                  "kill_point",
                  "evidence",
                  "plain_language"
                ],
                "properties": {
                  "attack": {
                    "type": "string",
                    "const": "execution_lag"
                  },
                  "evidence": {
                    "$ref": "#/$defs/ExecutionLagAttackEvidence"
                  },
                  "survives": {
                    "type": "boolean"
                  },
                  "dimension": {
                    "type": "string",
                    "const": "look_ahead"
                  },
                  "kill_point": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "plain_language": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "CpcvPartitionAttack": {
                "type": "object",
                "required": [
                  "attack",
                  "dimension",
                  "survives",
                  "kill_point",
                  "evidence",
                  "plain_language"
                ],
                "properties": {
                  "attack": {
                    "type": "string",
                    "const": "cpcv_partition"
                  },
                  "evidence": {
                    "$ref": "#/$defs/CpcvAttackEvidence"
                  },
                  "survives": {
                    "type": "boolean"
                  },
                  "dimension": {
                    "type": "string",
                    "const": "path_dependence"
                  },
                  "kill_point": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "plain_language": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "SyntheticNullAttack": {
                "type": "object",
                "required": [
                  "attack",
                  "dimension",
                  "survives",
                  "kill_point",
                  "evidence",
                  "plain_language"
                ],
                "properties": {
                  "attack": {
                    "type": "string",
                    "const": "synthetic_null"
                  },
                  "evidence": {
                    "$ref": "#/$defs/SyntheticNullAttackEvidence"
                  },
                  "survives": {
                    "type": "boolean"
                  },
                  "dimension": {
                    "type": "string",
                    "const": "process_placebo"
                  },
                  "kill_point": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "plain_language": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "TimeJackknifeAttack": {
                "type": "object",
                "required": [
                  "attack",
                  "dimension",
                  "survives",
                  "kill_point",
                  "evidence",
                  "plain_language"
                ],
                "properties": {
                  "attack": {
                    "type": "string",
                    "const": "time_jackknife"
                  },
                  "evidence": {
                    "$ref": "#/$defs/TimeJackknifeAttackEvidence"
                  },
                  "survives": {
                    "type": "boolean"
                  },
                  "dimension": {
                    "type": "string",
                    "const": "period_dependence"
                  },
                  "kill_point": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "plain_language": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "FalsifyGraveyardContext": {
                "type": "object",
                "required": [
                  "attack_reordered_for_cost",
                  "family_prior_kill_rate"
                ],
                "properties": {
                  "family_prior_kill_rate": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "attack_reordered_for_cost": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "CostStressAttackEvidence": {
                "type": "object",
                "required": [
                  "sharpe_by_cost_multiple"
                ],
                "properties": {
                  "sharpe_by_cost_multiple": {
                    "$ref": "#/$defs/NumberMap"
                  }
                },
                "additionalProperties": false
              },
              "DriftBurstAttackEvidence": {
                "type": "object",
                "required": [
                  "n_burst_bars",
                  "burst_pnl_share",
                  "stripped_sharpe_annualized",
                  "vol_window",
                  "sigma_multiple"
                ],
                "properties": {
                  "vol_window": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "n_burst_bars": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "sigma_multiple": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "burst_pnl_share": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "stripped_sharpe_annualized": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "RegimeSplitAttackEvidence": {
                "type": "object",
                "required": [
                  "first_half_sharpe",
                  "second_half_sharpe"
                ],
                "properties": {
                  "first_half_sharpe": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "second_half_sharpe": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "ExecutionLagAttackEvidence": {
                "type": "object",
                "required": [
                  "sharpe_by_lag",
                  "verdict_lag"
                ],
                "properties": {
                  "verdict_lag": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "sharpe_by_lag": {
                    "$ref": "#/$defs/NumberMap"
                  }
                },
                "additionalProperties": false
              },
              "SyntheticNullAttackEvidence": {
                "type": "object",
                "required": [
                  "n_paths",
                  "n_usable_paths",
                  "families",
                  "survive_threshold_percentile",
                  "status",
                  "null_sharpe_percentile"
                ],
                "properties": {
                  "status": {
                    "enum": [
                      "computed",
                      "insufficient_paths"
                    ],
                    "type": "string"
                  },
                  "n_paths": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "families": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "n_usable_paths": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "null_sharpe_max": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "null_sharpe_median": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "null_sharpe_percentile": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 100,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 100,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "survive_threshold_percentile": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 100,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 100,
                        "minimum": 0
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "TimeJackknifeAttackEvidence": {
                "type": "object",
                "required": [
                  "sharpe_by_dropped_period"
                ],
                "properties": {
                  "sharpe_by_dropped_period": {
                    "$ref": "#/$defs/NumberMap"
                  }
                },
                "additionalProperties": false
              },
              "ParameterNeighbourhoodAttack": {
                "type": "object",
                "required": [
                  "attack",
                  "dimension",
                  "survives",
                  "kill_point",
                  "evidence",
                  "plain_language"
                ],
                "properties": {
                  "attack": {
                    "type": "string",
                    "const": "parameter_neighbourhood"
                  },
                  "evidence": {
                    "$ref": "#/$defs/ParameterNeighbourhoodEvidence"
                  },
                  "survives": {
                    "type": "boolean"
                  },
                  "dimension": {
                    "type": "string",
                    "const": "overfit"
                  },
                  "kill_point": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "plain_language": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "ParameterNeighbourhoodEvidence": {
                "type": "object",
                "required": [
                  "base_sharpe",
                  "neighbour_sharpe",
                  "stability_surface",
                  "neighbour_survival_share",
                  "worst_to_base_ratio"
                ],
                "properties": {
                  "base_sharpe": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "neighbour_sharpe": {
                    "$ref": "#/$defs/NumberMap"
                  },
                  "stability_surface": {
                    "$ref": "#/$defs/NumberMap"
                  },
                  "worst_to_base_ratio": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "neighbour_survival_share": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "verdict"
                      ],
                      "properties": {
                        "verdict": {
                          "const": "no_edge_to_attack"
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "detail"
                      ],
                      "properties": {
                        "detail": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "headline": {
                          "type": "null"
                        },
                        "family_id": {
                          "type": "null"
                        },
                        "killed_by": {
                          "type": "null"
                        },
                        "spec_hash": {
                          "type": "null"
                        },
                        "survival_map": {
                          "type": "null"
                        },
                        "graveyard_informed": {
                          "type": "null"
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "verdict"
                      ],
                      "properties": {
                        "verdict": {
                          "const": "SURVIVOR"
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "killed_by",
                        "survival_map",
                        "family_id",
                        "spec_hash",
                        "graveyard_informed",
                        "headline"
                      ],
                      "properties": {
                        "detail": {
                          "type": "null"
                        },
                        "headline": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "family_id": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "killed_by": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "spec_hash": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "survival_map": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "graveyard_informed": {
                          "not": {
                            "type": "null"
                          }
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "verdict"
                      ],
                      "properties": {
                        "verdict": {
                          "const": "KILLED"
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "killed_by",
                        "survival_map",
                        "family_id",
                        "spec_hash",
                        "graveyard_informed",
                        "headline"
                      ],
                      "properties": {
                        "detail": {
                          "type": "null"
                        },
                        "headline": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "family_id": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "killed_by": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "spec_hash": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "survival_map": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "graveyard_informed": {
                          "not": {
                            "type": "null"
                          }
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "_meta",
                  "schema",
                  "verdict",
                  "base_sharpe_annualized",
                  "disclaimer"
                ],
                "properties": {
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "detail": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "schema": {
                    "type": "string",
                    "const": "falsify.v1"
                  },
                  "verdict": {
                    "enum": [
                      "no_edge_to_attack",
                      "SURVIVOR",
                      "KILLED"
                    ],
                    "type": "string"
                  },
                  "headline": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "family_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\S+$",
                        "maxLength": 256,
                        "minLength": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "killed_by": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "enum": [
                            "execution_lag",
                            "cost_stress",
                            "time_jackknife",
                            "regime_split",
                            "parameter_neighbourhood",
                            "cpcv_partition",
                            "synthetic_null",
                            "drift_burst"
                          ],
                          "type": "string"
                        },
                        "maxItems": 8
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "spec_hash": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\S+$",
                        "maxLength": 256,
                        "minLength": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "survival_map": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "oneOf": [
                            {
                              "$ref": "#/$defs/ExecutionLagAttack"
                            },
                            {
                              "$ref": "#/$defs/CostStressAttack"
                            },
                            {
                              "$ref": "#/$defs/TimeJackknifeAttack"
                            },
                            {
                              "$ref": "#/$defs/RegimeSplitAttack"
                            },
                            {
                              "$ref": "#/$defs/ParameterNeighbourhoodAttack"
                            },
                            {
                              "$ref": "#/$defs/CpcvPartitionAttack"
                            },
                            {
                              "$ref": "#/$defs/SyntheticNullAttack"
                            },
                            {
                              "$ref": "#/$defs/DriftBurstAttack"
                            }
                          ],
                          "discriminator": {
                            "mapping": {
                              "cost_stress": "#/$defs/CostStressAttack",
                              "drift_burst": "#/$defs/DriftBurstAttack",
                              "regime_split": "#/$defs/RegimeSplitAttack",
                              "execution_lag": "#/$defs/ExecutionLagAttack",
                              "cpcv_partition": "#/$defs/CpcvPartitionAttack",
                              "synthetic_null": "#/$defs/SyntheticNullAttack",
                              "time_jackknife": "#/$defs/TimeJackknifeAttack",
                              "parameter_neighbourhood": "#/$defs/ParameterNeighbourhoodAttack"
                            },
                            "propertyName": "attack"
                          }
                        },
                        "maxItems": 8,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "weakest_link": {
                    "anyOf": [
                      {
                        "enum": [
                          "execution_lag",
                          "cost_stress",
                          "time_jackknife",
                          "regime_split",
                          "parameter_neighbourhood",
                          "cpcv_partition",
                          "synthetic_null",
                          "drift_burst"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "graveyard_informed": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/FalsifyGraveyardContext"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "base_sharpe_annualized": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Falsify a strategy against synthetic nulls",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "assay_pbo",
          "title": "Measure probability of backtest overfitting",
          "description": "Use this when you have the T x N returns of a grid search and want\nthe probability of backtest overfitting (PBO, CSCV) -- did the sweep\nfind an edge or manufacture one? A demote-only audit, not buy/sell advice.\nDid your parameter sweep FIND an edge -- or manufacture one? PBO over\nthe whole trial matrix.\n\nSubmit the full T x N payoff matrix of every configuration you tried\n(rows = time-ordered per-period returns, columns = the candidates from\nyour grid search / parameter sweep / optimisation run) and get the\nProbability of Backtest Overfitting via combinatorial symmetric\ncross-validation (CSCV, Bailey/Borwein/Lopez de Prado/Zhu 2017) with\npurge and embargo against overlapping-label leakage: the fraction of\ntrain/test splits in which your in-sample winner ranks at or below the\nout-of-sample median. The dossier adds the performance-degradation slope\n(does out-of-sample decay as in-sample shines?), the probability of\nout-of-sample loss, and first-order stochastic dominance of your\nselected picks versus the whole pool. Complements the trial ledger: the\nledger counts how many tries your family burned, PBO grades whether the\nSELECTION PROCESS itself is overfit -- PBO >= 0.5 earns the named demote\nPBO_HIGH. Exhaustive enumeration with nothing to seed,\nfail-closed on undersized, oversized or non-numeric input. Demote-only:\nit can kill a selection, never bless one. NOT a buy/sell signal.\nPrice: per check; see https://api.alphaassay.com/v1/meta/pricing\n(api_key required -- account setup at\nhttps://api.alphaassay.com/account).",
          "inputSchema": {
            "type": "object",
            "required": [
              "returns_matrix"
            ],
            "properties": {
              "purge": {
                "type": "integer",
                "default": 0,
                "maximum": 5000,
                "minimum": 0,
                "description": "Bars purged around each split to break serial-correlation leak.",
                "x-strictJsonInteger": true
              },
              "api_key": {
                "type": "string",
                "default": "",
                "maxLength": 512,
                "description": "API key for a paid MCP check. Hosted Streamable HTTP clients should send it in the Authorization: Bearer transport header so the model never sees the secret; local stdio callers may supply the raw key in this tool argument without a Bearer prefix. Create an account at https://api.alphaassay.com/account; the current free allowance and prices are published at https://api.alphaassay.com/v1/meta/pricing. Paid MCP calls use API-key credits; x402 buys only the separate REST POST /x402/v1/gauntlet and is not MCP billing."
              },
              "embargo": {
                "type": "integer",
                "default": 0,
                "maximum": 5000,
                "minimum": 0,
                "description": "Extra embargo bars after each test block.",
                "x-strictJsonInteger": true
              },
              "n_groups": {
                "type": "integer",
                "default": 8,
                "maximum": 16,
                "minimum": 2,
                "multipleOf": 2,
                "description": "Number of CSCV partitions (even; combinatorial in/out-of-sample splits).",
                "x-strictJsonInteger": true
              },
              "request_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 256
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional idempotency key for this paid execution. Retry the same request_id with the same payload to replay one stored result without another charge; reuse with a different payload returns idempotency_conflict."
              },
              "returns_matrix": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "maxItems": 64,
                  "minItems": 2
                },
                "maxItems": 5000,
                "minItems": 2,
                "description": "T x N matrix: per-period returns for each of your N grid/sweep configurations -- the raw material for probability-of-backtest-overfitting (CSCV)."
              },
              "periods_per_year": {
                "gt": 0,
                "le": 1000000,
                "anyOf": [
                  {
                    "type": "integer",
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number"
                  }
                ],
                "default": 365,
                "description": "Annualisation factor for the reported Sharpes."
              }
            },
            "x-relations": [
              "all returns_matrix rows have equal length"
            ],
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "PboDegradation": {
                "type": "object",
                "required": [
                  "slope",
                  "intercept",
                  "prob_oos_loss",
                  "n_pairs",
                  "interpretation"
                ],
                "properties": {
                  "slope": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "n_pairs": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "intercept": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "prob_oos_loss": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "interpretation": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "PboStochasticDominance": {
                "type": "object",
                "required": [
                  "first_order",
                  "max_cdf_gap_pool_over_selected",
                  "max_cdf_gap_selected_over_pool",
                  "n_selected",
                  "n_pool",
                  "interpretation"
                ],
                "properties": {
                  "n_pool": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "n_selected": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "first_order": {
                    "enum": [
                      "selected_dominates",
                      "pool_dominates",
                      "none"
                    ],
                    "type": "string"
                  },
                  "interpretation": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "max_cdf_gap_pool_over_selected": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "max_cdf_gap_selected_over_pool": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "status": {
                          "const": "computed"
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "overfit_flag",
                        "mean_logit",
                        "n_rows",
                        "n_configs",
                        "n_splits",
                        "n_evaluated_splits",
                        "n_blocked_splits",
                        "interpretation",
                        "degradation",
                        "stochastic_dominance"
                      ],
                      "properties": {
                        "n_rows": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "reason": {
                          "type": "null"
                        },
                        "n_splits": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "n_configs": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "mean_logit": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "degradation": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "overfit_flag": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "interpretation": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "n_blocked_splits": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "n_evaluated_splits": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "stochastic_dominance": {
                          "not": {
                            "type": "null"
                          }
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "status": {
                          "const": "blocked"
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "reason"
                      ],
                      "properties": {
                        "pbo": {
                          "type": "null"
                        },
                        "reason": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "mean_logit": {
                          "type": "null"
                        },
                        "degradation": {
                          "type": "null"
                        },
                        "overfit_flag": {
                          "type": "null"
                        },
                        "interpretation": {
                          "type": "null"
                        },
                        "n_evaluated_splits": {
                          "type": "null"
                        },
                        "stochastic_dominance": {
                          "type": "null"
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "_meta",
                  "method",
                  "status",
                  "verdict",
                  "pbo",
                  "pbo_high_threshold",
                  "n_groups",
                  "purge",
                  "embargo",
                  "periods_per_year",
                  "died_at",
                  "died_at_plain",
                  "failure_codes",
                  "degradation",
                  "stochastic_dominance"
                ],
                "properties": {
                  "pbo": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "purge": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "method": {
                    "type": "string",
                    "const": "CSCV_combinatorial_pbo_purged_embargoed"
                  },
                  "n_rows": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "status": {
                    "enum": [
                      "blocked",
                      "computed"
                    ],
                    "type": "string"
                  },
                  "died_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "embargo": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "verdict": {
                    "enum": [
                      "pass",
                      "fail",
                      "insufficient_evidence"
                    ],
                    "type": "string"
                  },
                  "n_groups": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "n_splits": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "n_configs": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "mean_logit": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "degradation": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/PboDegradation"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "overfit_flag": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "died_at_plain": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "failure_codes": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "interpretation": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "n_blocked_splits": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "periods_per_year": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "n_evaluated_splits": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "pbo_high_threshold": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "stochastic_dominance": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/PboStochasticDominance"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "x-relations": [
                  "n_evaluated_splits + n_blocked_splits == n_splits when status == computed"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Measure probability of backtest overfitting",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "assay_var_es",
          "title": "Backtest VaR and expected shortfall forecasts",
          "description": "Use this when you have VaR or Expected-Shortfall forecasts and need\nto know whether reality breached them more often or deeper than your\nclaimed tail level allows -- a risk-forecast audit, not buy/sell advice.\nDoes your risk model's VaR/ES forecast survive contact with reality?\nExceedance backtest over YOUR forecasts -- a new claim type: risk\nnumbers, not return claims.\n\nSubmit realised per-period returns plus the VaR forecasts your model\nproduced ex ante (positive loss thresholds at tail level alpha, e.g.\n0.05 for a 95% VaR), optionally the matching expected-shortfall\nforecasts. The breach count is graded on the EXACT binomial Basel\ntraffic-light zones (Basel Committee 1996: green below cumulative\nprobability 0.95, yellow to 0.9999, red above) -- published boundaries,\nno house thresholds; red earns the named demote VAR_BREACH_RATE_EXCESS.\nKupiec's proportion-of-failures LR (1995) and Christoffersen's\nindependence LR (1998) ride along -- clustered breaches flag the\nadvisory var_breaches_clustered (a model blind to volatility\nclustering). If ES forecasts are supplied, a joint (VaR, ES) mixture\ne-process (e-backtesting, Wang & Ziegel) grades breach DEPTH: crossing\nVille's anytime-valid 1% line earns ES_TAIL_UNDERSTATED. Supply\nbenchmark_var_forecasts (and optionally benchmark_es_forecasts, e.g. a\nrolling historical quantile) and the assay also tests EQUAL PREDICTIVE\nABILITY: Diebold-Mariano (1995) on a strictly consistent loss (quantile\ntick, or the joint FZ0 loss of Fissler & Ziegel 2016 when both sides\ncarry ES) -- a naive benchmark that beats your model past the one-sided\n5% line earns RISK_FORECAST_DOMINATED_BY_BENCHMARK; the attention zone\nto 10% is the advisory risk_forecast_lags_benchmark. Demote-only:\ntoo many breaches can kill, too few is the mis-calibration advisory\nvar_breach_rate_sparse -- conservative models pass with a flag, never\na blessing. Code-computed end to end, fail-closed on malformed or\nundersized input (a series too short to reach the red zone answers\ninsufficient_evidence instead of a hollow pass). Works for any asset\nclass. NOT financial advice; no order path.\nPrice: per check; see https://api.alphaassay.com/v1/meta/pricing\n(api_key required -- account setup at\nhttps://api.alphaassay.com/account).",
          "inputSchema": {
            "type": "object",
            "allOf": [
              {
                "if": {
                  "required": [
                    "benchmark_es_forecasts"
                  ],
                  "properties": {
                    "benchmark_es_forecasts": {
                      "not": {
                        "type": "null"
                      }
                    }
                  }
                },
                "then": {
                  "required": [
                    "es_forecasts",
                    "benchmark_var_forecasts"
                  ],
                  "properties": {
                    "es_forecasts": {
                      "not": {
                        "type": "null"
                      }
                    },
                    "benchmark_var_forecasts": {
                      "not": {
                        "type": "null"
                      }
                    }
                  }
                }
              }
            ],
            "required": [
              "returns",
              "var_forecasts"
            ],
            "properties": {
              "alpha": {
                "ge": 0.001,
                "le": 0.25,
                "anyOf": [
                  {
                    "type": "integer",
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number"
                  }
                ],
                "default": 0.05,
                "description": "Tail level, e.g. 0.05 for a 95% VaR (0.001-0.25). Sets the Basel traffic-light expectation."
              },
              "api_key": {
                "type": "string",
                "default": "",
                "maxLength": 512,
                "description": "API key for a paid MCP check. Hosted Streamable HTTP clients should send it in the Authorization: Bearer transport header so the model never sees the secret; local stdio callers may supply the raw key in this tool argument without a Bearer prefix. Create an account at https://api.alphaassay.com/account; the current free allowance and prices are published at https://api.alphaassay.com/v1/meta/pricing. Paid MCP calls use API-key credits; x402 buys only the separate REST POST /x402/v1/gauntlet and is not MCP billing."
              },
              "returns": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "maximum": 1000000000000000,
                      "minimum": -1000000000000000,
                      "x-strictJsonInteger": true
                    },
                    {
                      "type": "number",
                      "maximum": 1000000000000000,
                      "minimum": -1000000000000000
                    }
                  ]
                },
                "maxItems": 100000,
                "minItems": 1,
                "description": "Realised per-period returns (the outcomes your risk model was forecasting for)."
              },
              "request_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 256
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional idempotency key for this paid execution. Retry the same request_id with the same payload to replay one stored result without another charge; reuse with a different payload returns idempotency_conflict."
              },
              "es_forecasts": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "maximum": 1000000000000000,
                          "minimum": -1000000000000000,
                          "x-strictJsonInteger": true
                        },
                        {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "minimum": -1000000000000000
                        }
                      ]
                    },
                    "maxItems": 100000,
                    "minItems": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional matching expected-shortfall forecasts; enables the joint (VaR, ES) e-process tail test."
              },
              "var_forecasts": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "maximum": 1000000000000000,
                      "minimum": -1000000000000000,
                      "exclusiveMinimum": 0,
                      "x-strictJsonInteger": true
                    },
                    {
                      "type": "number",
                      "maximum": 1000000000000000,
                      "minimum": -1000000000000000,
                      "exclusiveMinimum": 0
                    }
                  ]
                },
                "maxItems": 100000,
                "minItems": 1,
                "description": "Your model's ex-ante VaR forecasts (positive loss thresholds at level alpha) to backtest for breaches."
              },
              "benchmark_es_forecasts": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "maximum": 1000000000000000,
                          "minimum": -1000000000000000,
                          "x-strictJsonInteger": true
                        },
                        {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "minimum": -1000000000000000
                        }
                      ]
                    },
                    "maxItems": 100000,
                    "minItems": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional benchmark ES forecasts; switches the EPA test to the joint FZ0 loss."
              },
              "benchmark_var_forecasts": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "maximum": 1000000000000000,
                          "minimum": -1000000000000000,
                          "exclusiveMinimum": 0,
                          "x-strictJsonInteger": true
                        },
                        {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "minimum": -1000000000000000,
                          "exclusiveMinimum": 0
                        }
                      ]
                    },
                    "maxItems": 100000,
                    "minItems": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional naive/benchmark VaR forecasts (e.g. a rolling historical quantile) for the Diebold-Mariano equal-predictive-ability test -- lose to it and the claim is demoted."
              }
            },
            "x-relations": [
              "len(var_forecasts) == len(returns)",
              "len(es_forecasts) == len(returns) when present",
              "len(benchmark_var_forecasts) == len(returns) when present",
              "len(benchmark_es_forecasts) == len(returns) when present",
              "es_forecasts[i] > var_forecasts[i] when present",
              "benchmark_es_forecasts[i] > benchmark_var_forecasts[i] when present"
            ],
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "BreachCounts": {
                "type": "object",
                "required": [
                  "observed",
                  "expected",
                  "rate_observed"
                ],
                "properties": {
                  "expected": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "observed": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "rate_observed": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "KupiecResult": {
                "type": "object",
                "required": [
                  "lr",
                  "p"
                ],
                "properties": {
                  "p": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "lr": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "ZoneThresholds": {
                "type": "object",
                "required": [
                  "yellow_at_cumulative_prob",
                  "red_at_cumulative_prob"
                ],
                "properties": {
                  "red_at_cumulative_prob": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "yellow_at_cumulative_prob": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "EsBacktestResult": {
                "type": "object",
                "required": [
                  "supplied",
                  "lambda_grid",
                  "e_value",
                  "log10_e_value",
                  "e_kill_threshold",
                  "e_advisory_threshold"
                ],
                "properties": {
                  "e_value": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "supplied": {
                    "type": "boolean"
                  },
                  "lambda_grid": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "maximum": 1000000000000000,
                          "minimum": -1000000000000000,
                          "x-strictJsonInteger": true
                        },
                        {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "minimum": -1000000000000000
                        }
                      ]
                    },
                    "maxItems": 10000
                  },
                  "log10_e_value": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "e_kill_threshold": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "e_advisory_threshold": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "TrafficLightZone": {
                "type": "object",
                "required": [
                  "zone",
                  "cumulative_prob",
                  "zone_thresholds"
                ],
                "properties": {
                  "zone": {
                    "enum": [
                      "green",
                      "yellow",
                      "red"
                    ],
                    "type": "string"
                  },
                  "cumulative_prob": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "zone_thresholds": {
                    "$ref": "#/$defs/ZoneThresholds"
                  }
                },
                "additionalProperties": false
              },
              "IndependenceResult": {
                "type": "object",
                "required": [
                  "n00",
                  "n01",
                  "n10",
                  "n11",
                  "lr",
                  "p",
                  "max_run",
                  "advisory_p_threshold"
                ],
                "properties": {
                  "p": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "lr": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "n00": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "n01": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "n10": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "n11": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "max_run": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "advisory_p_threshold": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "EqualPredictiveAbility": {
                "type": "object",
                "required": [
                  "supplied",
                  "loss",
                  "mean_loss_candidate",
                  "mean_loss_benchmark",
                  "dm_stat",
                  "p_dominated",
                  "hac_lags",
                  "kill_p_threshold",
                  "advisory_p_threshold"
                ],
                "properties": {
                  "loss": {
                    "anyOf": [
                      {
                        "enum": [
                          "fz0",
                          "quantile_tick"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "dm_stat": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "hac_lags": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "supplied": {
                    "type": "boolean"
                  },
                  "p_dominated": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "kill_p_threshold": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "mean_loss_benchmark": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "mean_loss_candidate": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "advisory_p_threshold": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "status": {
                          "const": "computed"
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "n",
                        "breaches",
                        "kupiec",
                        "independence",
                        "es",
                        "basel",
                        "epa",
                        "interpretation"
                      ],
                      "properties": {
                        "n": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "es": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "epa": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "basel": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "kupiec": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "reason": {
                          "type": "null"
                        },
                        "breaches": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "independence": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "interpretation": {
                          "not": {
                            "type": "null"
                          }
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "status": {
                          "const": "blocked"
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "reason"
                      ],
                      "properties": {
                        "es": {
                          "type": "null"
                        },
                        "epa": {
                          "type": "null"
                        },
                        "basel": {
                          "type": "null"
                        },
                        "kupiec": {
                          "type": "null"
                        },
                        "reason": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "breaches": {
                          "type": "null"
                        },
                        "independence": {
                          "type": "null"
                        },
                        "interpretation": {
                          "type": "null"
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "status": {
                          "const": "computed"
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "n": {
                          "minimum": 1
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "_meta",
                  "schema",
                  "method",
                  "status",
                  "verdict",
                  "n",
                  "alpha",
                  "died_at",
                  "died_at_plain",
                  "failure_codes",
                  "advisories"
                ],
                "properties": {
                  "n": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "es": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/EsBacktestResult"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "epa": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/EqualPredictiveAbility"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "alpha": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "basel": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/TrafficLightZone"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "kupiec": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/KupiecResult"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "method": {
                    "type": "string",
                    "const": "var_es_exceedance_backtest"
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "schema": {
                    "type": "string",
                    "const": "var_es.v1"
                  },
                  "status": {
                    "enum": [
                      "blocked",
                      "computed"
                    ],
                    "type": "string"
                  },
                  "died_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "verdict": {
                    "enum": [
                      "pass",
                      "fail",
                      "insufficient_evidence"
                    ],
                    "type": "string"
                  },
                  "breaches": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/BreachCounts"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "advisories": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "independence": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/IndependenceResult"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "died_at_plain": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "failure_codes": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "interpretation": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "x-relations": [
                  "breaches.observed <= n when status == computed",
                  "breaches.rate_observed ~= breaches.observed / n when status == computed",
                  "independence.n00 + independence.n01 + independence.n10 + independence.n11 == n - 1 when status == computed"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Backtest VaR and expected shortfall forecasts",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "assay_conformal",
          "title": "Audit conformal interval coverage",
          "description": "Use this when your model emits prediction intervals or confidence\nbands and you want to audit whether realised outcomes actually fall\ninside them at the claimed coverage -- a calibration audit, not advice.\nDoes your model's confidence label survive contact with outcomes?\nCoverage audit over prediction intervals -- confidence claims are the\nthird claim type after return claims and risk forecasts.\n\nSubmit the prediction intervals your ML model produced (lower and upper\nbounds, one pair per point), the realised outcomes, and the coverage\nthe model claims (e.g. 0.9). The miss count is graded against the EXACT\ndistribution that claim implies: binomial for a pointwise claim, or --\nwhen you disclose the split-conformal calibration_size -- the\nbeta-binomial the split-conformal guarantee actually promises (Vovk\n2012: realised coverage is Beta-distributed around the claim), so a\nCORRECT procedure with a small calibration set is never punished for\nits honest variance. Zones reuse the same traffic-light boundaries as\nthe VaR cell (green below cumulative probability 0.95, yellow to\n0.9999, red above); red earns the named demote\nCONFORMAL_COVERAGE_SHORTFALL. Efficiency is disclosed, never assumed:\nintervals wider than the whole observed outcome range flag the advisory\nconformal_intervals_uninformative (coverage bought by construction),\nover-conservative intervals flag conformal_overcovered -- advisories,\nnever kills, demote-only throughout. Code-computed end to end,\nfail-closed on malformed, inverted, undersized or oversized input.\nReferences: Vovk/Gammerman/Shafer 2005; Lei et al., JASA 2018. NOT\nfinancial advice; no order path.\nPrice: per check; see https://api.alphaassay.com/v1/meta/pricing\n(api_key required -- account setup at\nhttps://api.alphaassay.com/account).",
          "inputSchema": {
            "type": "object",
            "required": [
              "intervals_lower",
              "intervals_upper",
              "outcomes"
            ],
            "properties": {
              "api_key": {
                "type": "string",
                "default": "",
                "maxLength": 512,
                "description": "API key for a paid MCP check. Hosted Streamable HTTP clients should send it in the Authorization: Bearer transport header so the model never sees the secret; local stdio callers may supply the raw key in this tool argument without a Bearer prefix. Create an account at https://api.alphaassay.com/account; the current free allowance and prices are published at https://api.alphaassay.com/v1/meta/pricing. Paid MCP calls use API-key credits; x402 buys only the separate REST POST /x402/v1/gauntlet and is not MCP billing."
              },
              "outcomes": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "maximum": 1000000000000000,
                      "minimum": -1000000000000000,
                      "x-strictJsonInteger": true
                    },
                    {
                      "type": "number",
                      "maximum": 1000000000000000,
                      "minimum": -1000000000000000
                    }
                  ]
                },
                "maxItems": 100000,
                "minItems": 1,
                "description": "Realised outcomes each interval was meant to cover."
              },
              "request_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 256
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional idempotency key for this paid execution. Retry the same request_id with the same payload to replay one stored result without another charge; reuse with a different payload returns idempotency_conflict."
              },
              "intervals_lower": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "maximum": 1000000000000000,
                      "minimum": -1000000000000000,
                      "x-strictJsonInteger": true
                    },
                    {
                      "type": "number",
                      "maximum": 1000000000000000,
                      "minimum": -1000000000000000
                    }
                  ]
                },
                "maxItems": 100000,
                "minItems": 1,
                "description": "Lower bounds of your prediction intervals, per point."
              },
              "intervals_upper": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "maximum": 1000000000000000,
                      "minimum": -1000000000000000,
                      "x-strictJsonInteger": true
                    },
                    {
                      "type": "number",
                      "maximum": 1000000000000000,
                      "minimum": -1000000000000000
                    }
                  ]
                },
                "maxItems": 100000,
                "minItems": 1,
                "description": "Upper bounds of your prediction intervals, per point."
              },
              "calibration_size": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 100000,
                    "minimum": 1,
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional size of the calibration set used to build the intervals; enables the exact beta-binomial (small-sample-fair) grading."
              },
              "claimed_coverage": {
                "ge": 0.5,
                "le": 0.999,
                "anyOf": [
                  {
                    "type": "integer",
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number"
                  }
                ],
                "default": 0.9,
                "description": "The coverage level you claim, e.g. 0.9 for 90% prediction intervals."
              }
            },
            "x-relations": [
              "len(intervals_lower) == len(intervals_upper) == len(outcomes)",
              "intervals_lower[i] <= intervals_upper[i]",
              "ceil((calibration_size + 1) * claimed_coverage) <= calibration_size when present"
            ],
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "ZoneThresholds": {
                "type": "object",
                "required": [
                  "yellow_at_cumulative_prob",
                  "red_at_cumulative_prob"
                ],
                "properties": {
                  "red_at_cumulative_prob": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "yellow_at_cumulative_prob": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "ConformalHalves": {
                "type": "object",
                "required": [
                  "coverage_first_half",
                  "coverage_second_half"
                ],
                "properties": {
                  "coverage_first_half": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "coverage_second_half": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "TrafficLightZone": {
                "type": "object",
                "required": [
                  "zone",
                  "cumulative_prob",
                  "zone_thresholds"
                ],
                "properties": {
                  "zone": {
                    "enum": [
                      "green",
                      "yellow",
                      "red"
                    ],
                    "type": "string"
                  },
                  "cumulative_prob": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "zone_thresholds": {
                    "$ref": "#/$defs/ZoneThresholds"
                  }
                },
                "additionalProperties": false
              },
              "ConformalEfficiency": {
                "type": "object",
                "required": [
                  "mean_width",
                  "median_width",
                  "degenerate_share",
                  "outcome_range",
                  "width_to_range_ratio",
                  "uninformative_at_ratio"
                ],
                "properties": {
                  "mean_width": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "median_width": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "outcome_range": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "degenerate_share": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "width_to_range_ratio": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "uninformative_at_ratio": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "status": {
                          "const": "computed"
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "n",
                        "hits",
                        "misses",
                        "empirical_coverage",
                        "distribution",
                        "zone",
                        "efficiency",
                        "halves",
                        "interpretation"
                      ],
                      "properties": {
                        "n": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "hits": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "zone": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "halves": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "misses": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "reason": {
                          "type": "null"
                        },
                        "efficiency": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "distribution": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "interpretation": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "empirical_coverage": {
                          "not": {
                            "type": "null"
                          }
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "status": {
                          "const": "blocked"
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "reason"
                      ],
                      "properties": {
                        "hits": {
                          "type": "null"
                        },
                        "zone": {
                          "type": "null"
                        },
                        "halves": {
                          "type": "null"
                        },
                        "misses": {
                          "type": "null"
                        },
                        "reason": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "efficiency": {
                          "type": "null"
                        },
                        "distribution": {
                          "type": "null"
                        },
                        "interpretation": {
                          "type": "null"
                        },
                        "empirical_coverage": {
                          "type": "null"
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "status": {
                          "const": "computed"
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "n": {
                          "minimum": 1
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "_meta",
                  "schema",
                  "method",
                  "status",
                  "verdict",
                  "n",
                  "claimed_coverage",
                  "died_at",
                  "died_at_plain",
                  "failure_codes",
                  "advisories"
                ],
                "properties": {
                  "n": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "hits": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "zone": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/TrafficLightZone"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "halves": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ConformalHalves"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "method": {
                    "type": "string",
                    "const": "split_conformal_coverage_audit"
                  },
                  "misses": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "schema": {
                    "type": "string",
                    "const": "conformal.v1"
                  },
                  "status": {
                    "enum": [
                      "blocked",
                      "computed"
                    ],
                    "type": "string"
                  },
                  "died_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "verdict": {
                    "enum": [
                      "pass",
                      "fail",
                      "insufficient_evidence"
                    ],
                    "type": "string"
                  },
                  "advisories": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "efficiency": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ConformalEfficiency"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "distribution": {
                    "anyOf": [
                      {
                        "enum": [
                          "binomial",
                          "beta_binomial"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "died_at_plain": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "failure_codes": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "interpretation": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "calibration_size": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "claimed_coverage": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "k_order_statistic": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "empirical_coverage": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "x-relations": [
                  "hits + misses == n when status == computed",
                  "empirical_coverage ~= hits / n when status == computed",
                  "k_order_statistic <= calibration_size when both are present"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit conformal interval coverage",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "assay_survivors",
          "title": "Run a stepwise survivor reality check",
          "description": "Use this when you ran a grid or parameter sweep and want to know\nWHICH variants survive family-wise error control (FWER) rather than\nsurfacing by chance -- an error-budget disclosure, not buy/sell advice.\nWHICH variants of your sweep survive family-wise error control --\nan error-budget disclosure, never a ranking.\n\nSend the same T x N trial matrix assay_pbo grades (rows =\ntime-ordered periods, columns = every configuration you tried) and\nget Romano-Wolf stepwise multiple testing over it: studentized\nper-config statistics, circular block bootstrap over the time rows\n(serial dependence respected), stepdown max-statistic critical values\n(Romano/Wolf 2005, Econometrica; Hansen SPA 2005). Answer, per\nvariant IN INPUT ORDER: could this family's evidence kill it at\nfamily-wise error rate alpha, and in which stepdown round? Survival-\nmap framing by construction: the verdict vocabulary is fail (nothing\nsurvives: NO_SURVIVORS_AT_FWER), conditional (survivors disclosed --\nexplicitly NOT a pass) or insufficient_evidence (blocked with a named\nreason); this tool structurally cannot bless, rank or recommend.\nNatural partner of assay_pbo -- one matrix, two questions: is the\nSELECTION overfit (pbo), and which variants does the error budget\nleave standing (survivors). The bootstrap is seeded from the input\ndigest; fail-closed on size, budget and numerics; no ledger\nwrite. NOT financial advice. Price: per check; see\nhttps://api.alphaassay.com/v1/meta/pricing (api_key required -- account\nsetup at https://api.alphaassay.com/account).",
          "inputSchema": {
            "type": "object",
            "properties": {
              "alpha": {
                "gt": 0,
                "lt": 1,
                "anyOf": [
                  {
                    "type": "integer",
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number"
                  }
                ],
                "default": 0.05,
                "description": "Family-wise error rate to control (e.g. 0.05)."
              },
              "api_key": {
                "type": "string",
                "default": "",
                "maxLength": 512,
                "description": "API key for a paid MCP check. Hosted Streamable HTTP clients should send it in the Authorization: Bearer transport header so the model never sees the secret; local stdio callers may supply the raw key in this tool argument without a Bearer prefix. Create an account at https://api.alphaassay.com/account; the current free allowance and prices are published at https://api.alphaassay.com/v1/meta/pricing. Paid MCP calls use API-key credits; x402 buys only the separate REST POST /x402/v1/gauntlet and is not MCP billing."
              },
              "request_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 256
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional idempotency key for this paid execution. Retry the same request_id with the same payload to replay one stored result without another charge; reuse with a different payload returns idempotency_conflict."
              },
              "n_bootstrap": {
                "type": "integer",
                "default": 500,
                "maximum": 2000,
                "minimum": 200,
                "description": "Bootstrap resamples for the stepwise multiple test.",
                "x-strictJsonInteger": true
              },
              "block_length": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 5000,
                    "minimum": 1,
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Stationary-bootstrap block length (bars) to preserve serial correlation."
              },
              "returns_matrix": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "maximum": 1000000000000000,
                            "minimum": -1000000000000000,
                            "x-strictJsonInteger": true
                          },
                          {
                            "type": "number",
                            "maximum": 1000000000000000,
                            "minimum": -1000000000000000
                          }
                        ]
                      },
                      "maxItems": 64,
                      "minItems": 2
                    },
                    "maxItems": 5000,
                    "minItems": 2
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "The same T x N trial matrix assay_pbo grades (rows = periods, columns = strategies) -- here for FWER survivor analysis: which survive multiple-testing."
              },
              "periods_per_year": {
                "gt": 0,
                "le": 1000000,
                "anyOf": [
                  {
                    "type": "integer",
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number"
                  }
                ],
                "default": 365,
                "description": "Annualisation factor for reporting."
              }
            },
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "KilledCount": {
                "type": "object",
                "required": [
                  "count"
                ],
                "properties": {
                  "count": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "SurvivorSet": {
                "type": "object",
                "required": [
                  "count",
                  "indices"
                ],
                "properties": {
                  "count": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "indices": {
                    "type": "array",
                    "items": {
                      "type": "integer",
                      "maximum": 9223372036854776000,
                      "minimum": 0,
                      "x-strictJsonInteger": true
                    },
                    "maxItems": 10000
                  }
                },
                "additionalProperties": false
              },
              "SurvivorConfig": {
                "type": "object",
                "required": [
                  "index",
                  "assessable",
                  "mean_per_period",
                  "t_stat",
                  "survived_fwer",
                  "rejected_in_round"
                ],
                "properties": {
                  "index": {
                    "type": "integer",
                    "minimum": 0,
                    "exclusiveMaximum": 10000,
                    "x-strictJsonInteger": true
                  },
                  "t_stat": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "assessable": {
                    "type": "boolean"
                  },
                  "survived_fwer": {
                    "type": "boolean"
                  },
                  "mean_per_period": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "rejected_in_round": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "status": {
                          "const": "computed"
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "per_config",
                        "survivors",
                        "killed",
                        "critical_values_by_round",
                        "n_rows",
                        "n_configs"
                      ],
                      "properties": {
                        "killed": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "n_rows": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "reason": {
                          "type": "null"
                        },
                        "n_configs": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "survivors": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "per_config": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "critical_values_by_round": {
                          "not": {
                            "type": "null"
                          }
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "status": {
                          "const": "blocked"
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "reason"
                      ],
                      "properties": {
                        "killed": {
                          "type": "null"
                        },
                        "n_rows": {
                          "type": "null"
                        },
                        "reason": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "n_configs": {
                          "type": "null"
                        },
                        "survivors": {
                          "type": "null"
                        },
                        "per_config": {
                          "type": "null"
                        },
                        "critical_values_by_round": {
                          "type": "null"
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "_meta",
                  "method",
                  "status",
                  "verdict",
                  "alpha",
                  "n_bootstrap",
                  "block_length",
                  "periods_per_year",
                  "reason",
                  "per_config",
                  "survivors",
                  "killed",
                  "critical_values_by_round",
                  "framing",
                  "disclaimer",
                  "died_at",
                  "died_at_plain",
                  "failure_codes"
                ],
                "properties": {
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "alpha": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "killed": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/KilledCount"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "method": {
                    "type": "string",
                    "const": "romano_wolf_stepm_circular_block_bootstrap_studentized"
                  },
                  "n_rows": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "status": {
                    "enum": [
                      "blocked",
                      "computed"
                    ],
                    "type": "string"
                  },
                  "died_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "framing": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "verdict": {
                    "enum": [
                      "conditional",
                      "fail",
                      "insufficient_evidence"
                    ],
                    "type": "string"
                  },
                  "n_configs": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "survivors": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/SurvivorSet"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "per_config": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "$ref": "#/$defs/SurvivorConfig"
                        },
                        "maxItems": 10000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "n_bootstrap": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "block_length": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "died_at_plain": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "failure_codes": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "periods_per_year": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "critical_values_by_round": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "minimum": -1000000000000000,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "minimum": -1000000000000000
                            }
                          ]
                        },
                        "maxItems": 10000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "x-relations": [
                  "len(per_config) == n_configs when status == computed",
                  "per_config indices are unique and equal range(n_configs) when status == computed",
                  "survivors.count == len(survivors.indices) when status == computed",
                  "survivors.indices are unique and a subset of per_config indices when status == computed",
                  "survivors.count + killed.count == n_configs when status == computed"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Run a stepwise survivor reality check",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "assay_cpcv",
          "title": "Run combinatorial purged cross-validation",
          "description": "Use this when you have a return history and want the full\ncombinatorial purged cross-validation (CPCV) distribution -- not one\nwalk-forward number -- to see how path-dependent the edge really is.\nThe FULL combinatorial purged CV distribution over your return\nhistory -- not one number, the whole picture.\n\nThe gauntlet's cpcv stage answers a single question; this tool hands\nover everything behind it: the annualized Sharpe of EVERY purged\ncombinatorial half-partition of your history as quantiles (worst,\np05..p95, best) and a histogram, the number of recoverable full\nbacktest paths (phi = C(N, N/2) * (N/2) / N, Bailey/Lopez de Prado),\npurge/embargo accounting, and the documented demote line: fewer than\n60% of partitions with a positive Sharpe = cpcv_unstable\n(Arian/Norouzi/Seco, Knowledge-Based Systems 305, 2024 --\ncombinatorial purged CV dominates walk-forward at false-discovery\nprevention). Send a net-return series directly, OR a DSL spec +\ncandles (the series is computed with the same primitives the\ngauntlet uses). Exhaustive enumeration with no RNG and nothing to seed;\nfail-closed on every structural shortfall. Demote-only: a pass\nmeans this one attack did not bite, never an endorsement. No ledger\nwrite. NOT financial advice. Price: per check; see\nhttps://api.alphaassay.com/v1/meta/pricing (api_key required -- account\nsetup at https://api.alphaassay.com/account).",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "ConstNode": {
                "type": "object",
                "required": [
                  "const"
                ],
                "properties": {
                  "const": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "SignalNode": {
                "type": "object",
                "oneOf": [
                  {
                    "required": [
                      "op",
                      "left",
                      "right"
                    ],
                    "properties": {
                      "op": {
                        "enum": [
                          "cross_above",
                          "cross_below",
                          "gt",
                          "lt"
                        ]
                      },
                      "left": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/ConstNode"
                          },
                          {
                            "$ref": "#/$defs/IndicatorNode"
                          }
                        ]
                      },
                      "right": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/ConstNode"
                          },
                          {
                            "$ref": "#/$defs/IndicatorNode"
                          }
                        ]
                      }
                    }
                  },
                  {
                    "required": [
                      "op",
                      "left",
                      "right"
                    ],
                    "properties": {
                      "op": {
                        "enum": [
                          "and",
                          "or"
                        ]
                      },
                      "left": {
                        "$ref": "#/$defs/SignalNode"
                      },
                      "right": {
                        "$ref": "#/$defs/SignalNode"
                      }
                    }
                  },
                  {
                    "required": [
                      "op",
                      "left"
                    ],
                    "properties": {
                      "op": {
                        "const": "not"
                      },
                      "left": {
                        "$ref": "#/$defs/SignalNode"
                      },
                      "right": {
                        "type": "null"
                      }
                    }
                  }
                ],
                "required": [
                  "op",
                  "left"
                ],
                "properties": {
                  "op": {
                    "enum": [
                      "cross_above",
                      "cross_below",
                      "gt",
                      "lt",
                      "and",
                      "or",
                      "not"
                    ],
                    "type": "string"
                  },
                  "left": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ConstNode"
                      },
                      {
                        "$ref": "#/$defs/IndicatorNode"
                      },
                      {
                        "$ref": "#/$defs/SignalNode"
                      }
                    ]
                  },
                  "right": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ConstNode"
                      },
                      {
                        "$ref": "#/$defs/IndicatorNode"
                      },
                      {
                        "$ref": "#/$defs/SignalNode"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "OHLCVSeries": {
                "type": "object",
                "required": [
                  "close"
                ],
                "properties": {
                  "low": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "high": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "time": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 64,
                          "minLength": 1
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "close": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "maximum": 1000000000000000,
                          "exclusiveMinimum": 0,
                          "x-strictJsonInteger": true
                        },
                        {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "exclusiveMinimum": 0
                        }
                      ]
                    },
                    "maxItems": 5000,
                    "minItems": 1
                  },
                  "volume": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "minimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "minimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "x-relations": [
                  "len(time|open|high|low|volume) == len(close) when present"
                ],
                "additionalProperties": false
              },
              "StrategySpec": {
                "type": "object",
                "required": [
                  "dsl_version",
                  "asset_universe",
                  "bar_interval",
                  "target",
                  "signal"
                ],
                "properties": {
                  "signal": {
                    "$ref": "#/$defs/SignalNode",
                    "x-maxDepth": 16
                  },
                  "target": {
                    "$ref": "#/$defs/StrategyTarget"
                  },
                  "position": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/StrategyPosition"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "dsl_version": {
                    "type": "string",
                    "const": "1"
                  },
                  "bar_interval": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "asset_universe": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\S+$",
                      "maxLength": 64,
                      "minLength": 1
                    },
                    "maxItems": 50,
                    "minItems": 1,
                    "uniqueItems": true
                  },
                  "entry_lag_bars": {
                    "type": "integer",
                    "default": 1,
                    "maximum": 5000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "IndicatorNode": {
                "type": "object",
                "oneOf": [
                  {
                    "required": [
                      "indicator"
                    ],
                    "properties": {
                      "window": {
                        "type": "null"
                      },
                      "indicator": {
                        "const": "price"
                      }
                    }
                  },
                  {
                    "required": [
                      "indicator",
                      "window"
                    ],
                    "properties": {
                      "source": {
                        "type": "null"
                      },
                      "window": {
                        "type": "integer",
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      "indicator": {
                        "const": "atr"
                      }
                    }
                  },
                  {
                    "required": [
                      "indicator",
                      "window"
                    ],
                    "properties": {
                      "window": {
                        "type": "integer",
                        "minimum": 2,
                        "x-strictJsonInteger": true
                      },
                      "indicator": {
                        "const": "zscore"
                      }
                    }
                  },
                  {
                    "required": [
                      "indicator",
                      "window"
                    ],
                    "properties": {
                      "window": {
                        "type": "integer",
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      "indicator": {
                        "enum": [
                          "sma",
                          "ema",
                          "rsi",
                          "roc"
                        ]
                      }
                    }
                  }
                ],
                "required": [
                  "indicator"
                ],
                "properties": {
                  "source": {
                    "anyOf": [
                      {
                        "enum": [
                          "open",
                          "high",
                          "low",
                          "close",
                          "volume"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "window": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 5000,
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "indicator": {
                    "enum": [
                      "sma",
                      "ema",
                      "rsi",
                      "atr",
                      "roc",
                      "zscore",
                      "price"
                    ],
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "StrategyTarget": {
                "type": "object",
                "required": [
                  "kind",
                  "horizon_bars"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "forward_return"
                  },
                  "horizon_bars": {
                    "type": "integer",
                    "maximum": 5000,
                    "minimum": 1,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "StrategyPosition": {
                "type": "object",
                "required": [
                  "on_signal",
                  "else"
                ],
                "properties": {
                  "else": {
                    "type": "string",
                    "const": "flat"
                  },
                  "on_signal": {
                    "type": "string",
                    "const": "long"
                  }
                },
                "additionalProperties": false
              }
            },
            "properties": {
              "spec": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/StrategySpec"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional DSL spec if you want CPCV to recompute from rules."
              },
              "purge": {
                "type": "integer",
                "default": 1,
                "maximum": 100000,
                "minimum": 0,
                "description": "Bars purged around each test block to stop leakage.",
                "x-strictJsonInteger": true
              },
              "api_key": {
                "type": "string",
                "default": "",
                "maxLength": 512,
                "description": "API key for a paid MCP check. Hosted Streamable HTTP clients should send it in the Authorization: Bearer transport header so the model never sees the secret; local stdio callers may supply the raw key in this tool argument without a Bearer prefix. Create an account at https://api.alphaassay.com/account; the current free allowance and prices are published at https://api.alphaassay.com/v1/meta/pricing. Paid MCP calls use API-key credits; x402 buys only the separate REST POST /x402/v1/gauntlet and is not MCP billing."
              },
              "embargo": {
                "type": "integer",
                "default": 0,
                "maximum": 100000,
                "minimum": 0,
                "description": "Embargo bars after each test block.",
                "x-strictJsonInteger": true
              },
              "returns": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "maximum": 1000000000000000,
                          "minimum": -1000000000000000,
                          "x-strictJsonInteger": true
                        },
                        {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "minimum": -1000000000000000
                        }
                      ]
                    },
                    "maxItems": 100000,
                    "minItems": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Per-period returns of the strategy to cross-validate."
              },
              "n_groups": {
                "type": "integer",
                "default": 8,
                "maximum": 16,
                "minimum": 2,
                "multipleOf": 2,
                "description": "Number of combinatorial purged CV groups (even).",
                "x-strictJsonInteger": true
              },
              "request_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 256
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional idempotency key for this paid execution. Retry the same request_id with the same payload to replay one stored result without another charge; reuse with a different payload returns idempotency_conflict."
              },
              "ohlcv_by_symbol": {
                "anyOf": [
                  {
                    "type": "object",
                    "maxProperties": 50,
                    "propertyNames": {
                      "maxLength": 64,
                      "minLength": 1
                    },
                    "patternProperties": {
                      "^\\S+$": {
                        "$ref": "#/$defs/OHLCVSeries"
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Candles per symbol when a spec is supplied."
              },
              "fee_bps_per_side": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 1000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number",
                    "maximum": 1000,
                    "minimum": 0
                  }
                ],
                "default": 10,
                "description": "Round-trip cost in bps/side."
              },
              "periods_per_year": {
                "anyOf": [
                  {
                    "gt": 0,
                    "le": 1000000,
                    "anyOf": [
                      {
                        "type": "integer",
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number"
                      }
                    ]
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Annualisation factor for the reported Sharpes."
              }
            },
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "CpcvDistribution": {
                "type": "object",
                "required": [
                  "worst",
                  "p05",
                  "p25",
                  "p50",
                  "p75",
                  "p95",
                  "best"
                ],
                "properties": {
                  "p05": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "p25": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "p50": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "p75": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "p95": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "best": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "worst": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "CpcvHistogramBin": {
                "type": "object",
                "required": [
                  "from",
                  "to",
                  "count"
                ],
                "properties": {
                  "to": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "from": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "count": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "status": {
                          "const": "computed"
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "periods_per_year",
                        "n_bars",
                        "n_combinations",
                        "n_blocked_combinations",
                        "n_backtest_paths",
                        "purged_bars_total",
                        "distribution",
                        "histogram",
                        "interpretation"
                      ],
                      "properties": {
                        "n_bars": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "reason": {
                          "type": "null"
                        },
                        "histogram": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "distribution": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "interpretation": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "n_combinations": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "n_backtest_paths": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "periods_per_year": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "purged_bars_total": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "n_blocked_combinations": {
                          "not": {
                            "type": "null"
                          }
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "status": {
                          "const": "insufficient"
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "reason"
                      ],
                      "properties": {
                        "reason": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "histogram": {
                          "type": "null"
                        },
                        "distribution": {
                          "type": "null"
                        },
                        "interpretation": {
                          "type": "null"
                        },
                        "share_positive": {
                          "type": "null"
                        },
                        "n_backtest_paths": {
                          "type": "null"
                        },
                        "purged_bars_total": {
                          "type": "null"
                        },
                        "n_blocked_combinations": {
                          "type": "null"
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "_meta",
                  "schema",
                  "status",
                  "verdict",
                  "input_mode",
                  "n_groups",
                  "purge",
                  "embargo",
                  "min_share_positive",
                  "share_positive",
                  "distribution",
                  "histogram",
                  "disclaimer",
                  "died_at",
                  "died_at_plain",
                  "failure_codes"
                ],
                "properties": {
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "purge": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "n_bars": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "schema": {
                    "type": "string",
                    "const": "cpcv.v1"
                  },
                  "status": {
                    "enum": [
                      "insufficient",
                      "computed"
                    ],
                    "type": "string"
                  },
                  "died_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "embargo": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "verdict": {
                    "enum": [
                      "pass",
                      "fail",
                      "insufficient_evidence"
                    ],
                    "type": "string"
                  },
                  "n_groups": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "histogram": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "$ref": "#/$defs/CpcvHistogramBin"
                        },
                        "maxItems": 10000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "input_mode": {
                    "anyOf": [
                      {
                        "enum": [
                          "returns_series",
                          "spec_and_candles"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "distribution": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/CpcvDistribution"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "died_at_plain": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "failure_codes": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "interpretation": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "n_combinations": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "share_positive": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "n_backtest_paths": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "periods_per_year": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "purged_bars_total": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "min_share_positive": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "n_blocked_combinations": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "x-relations": [
                  "n_blocked_combinations <= n_combinations when status == computed",
                  "sum(histogram[*].count) == n_combinations when status == computed"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Run combinatorial purged cross-validation",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "assay_batch",
          "title": "Assay a parameter sweep as one batch",
          "description": "Use this when you optimised over a grid and want to submit the WHOLE\nsweep honestly -- every variant a ledger trial the family budget prices,\nso selection bias cannot hide. A research audit, not buy/sell advice.\nSubmit your WHOLE parameter sweep honestly -- one call, every variant\na ledger trial.\n\nYou searched N variants; showing only the winner is exactly the\nselection bias the family budget prices. This tool makes the honest\npath the cheap path: send up to 25 DSL spec variants (as a specs list,\nOR base_spec + grid of dot-paths like {\"signal.left.window\": [2,3,4]}\n-- the built-in sweep adapter expands it in canonical order), plus your\ncandles. Every variant is recorded in your family's trial ledger and\nverdicted with the CUMULATIVE deflation its siblings created -- later\nvariants see the budget the earlier ones burned. The report is\ndemote-only by construction: survives/deflated_out counts and\nper-variant verdicts, never a ranking, never a best pick. Metering is\nper valid processed variant (journaled individually,\nsettle-before-run); if credit runs out mid-batch you get exactly what\nwas paid for and an explicit declined count -- no silent truncation.\nData minimisation on request: sketch_opt_out=true applies to every\nvariant -- no return sketches persisted, every variant counts IN FULL\ntoward the family budget (no evidence, no discount; disclosed per\nvariant). The response is code-computed and ledger-dependent: a new call\ncan change the family budget. Byte-identical output is promised only by\nstored replay of the same non-empty request_id with the same canonical\nrequest. NOT a buy/sell signal. Price: per valid variant; see\nhttps://api.alphaassay.com/v1/meta/pricing (api_key required -- account\nsetup at https://api.alphaassay.com/account).",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "ConstNode": {
                "type": "object",
                "required": [
                  "const"
                ],
                "properties": {
                  "const": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "JsonValue": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "integer",
                    "maximum": 1000000000000000,
                    "minimum": -1000000000000000,
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number",
                    "maximum": 1000000000000000,
                    "minimum": -1000000000000000
                  },
                  {
                    "type": "string",
                    "maxLength": 262144,
                    "x-maxUtf8Bytes": 262144
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/JsonValue"
                    },
                    "maxItems": 10000
                  },
                  {
                    "type": "object",
                    "maxProperties": 256,
                    "propertyNames": {
                      "maxLength": 256,
                      "x-maxUtf8Bytes": 256
                    },
                    "additionalProperties": {
                      "$ref": "#/$defs/JsonValue"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "x-maxDepth": 16,
                "x-maxNodes": 10000
              },
              "SignalNode": {
                "type": "object",
                "oneOf": [
                  {
                    "required": [
                      "op",
                      "left",
                      "right"
                    ],
                    "properties": {
                      "op": {
                        "enum": [
                          "cross_above",
                          "cross_below",
                          "gt",
                          "lt"
                        ]
                      },
                      "left": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/ConstNode"
                          },
                          {
                            "$ref": "#/$defs/IndicatorNode"
                          }
                        ]
                      },
                      "right": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/ConstNode"
                          },
                          {
                            "$ref": "#/$defs/IndicatorNode"
                          }
                        ]
                      }
                    }
                  },
                  {
                    "required": [
                      "op",
                      "left",
                      "right"
                    ],
                    "properties": {
                      "op": {
                        "enum": [
                          "and",
                          "or"
                        ]
                      },
                      "left": {
                        "$ref": "#/$defs/SignalNode"
                      },
                      "right": {
                        "$ref": "#/$defs/SignalNode"
                      }
                    }
                  },
                  {
                    "required": [
                      "op",
                      "left"
                    ],
                    "properties": {
                      "op": {
                        "const": "not"
                      },
                      "left": {
                        "$ref": "#/$defs/SignalNode"
                      },
                      "right": {
                        "type": "null"
                      }
                    }
                  }
                ],
                "required": [
                  "op",
                  "left"
                ],
                "properties": {
                  "op": {
                    "enum": [
                      "cross_above",
                      "cross_below",
                      "gt",
                      "lt",
                      "and",
                      "or",
                      "not"
                    ],
                    "type": "string"
                  },
                  "left": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ConstNode"
                      },
                      {
                        "$ref": "#/$defs/IndicatorNode"
                      },
                      {
                        "$ref": "#/$defs/SignalNode"
                      }
                    ]
                  },
                  "right": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ConstNode"
                      },
                      {
                        "$ref": "#/$defs/IndicatorNode"
                      },
                      {
                        "$ref": "#/$defs/SignalNode"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "OHLCVSeries": {
                "type": "object",
                "required": [
                  "close"
                ],
                "properties": {
                  "low": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "high": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "time": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 64,
                          "minLength": 1
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "close": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "maximum": 1000000000000000,
                          "exclusiveMinimum": 0,
                          "x-strictJsonInteger": true
                        },
                        {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "exclusiveMinimum": 0
                        }
                      ]
                    },
                    "maxItems": 5000,
                    "minItems": 1
                  },
                  "volume": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "minimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "minimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "x-relations": [
                  "len(time|open|high|low|volume) == len(close) when present"
                ],
                "additionalProperties": false
              },
              "StrategySpec": {
                "type": "object",
                "required": [
                  "dsl_version",
                  "asset_universe",
                  "bar_interval",
                  "target",
                  "signal"
                ],
                "properties": {
                  "signal": {
                    "$ref": "#/$defs/SignalNode",
                    "x-maxDepth": 16
                  },
                  "target": {
                    "$ref": "#/$defs/StrategyTarget"
                  },
                  "position": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/StrategyPosition"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "dsl_version": {
                    "type": "string",
                    "const": "1"
                  },
                  "bar_interval": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "asset_universe": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\S+$",
                      "maxLength": 64,
                      "minLength": 1
                    },
                    "maxItems": 50,
                    "minItems": 1,
                    "uniqueItems": true
                  },
                  "entry_lag_bars": {
                    "type": "integer",
                    "default": 1,
                    "maximum": 5000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "IndicatorNode": {
                "type": "object",
                "oneOf": [
                  {
                    "required": [
                      "indicator"
                    ],
                    "properties": {
                      "window": {
                        "type": "null"
                      },
                      "indicator": {
                        "const": "price"
                      }
                    }
                  },
                  {
                    "required": [
                      "indicator",
                      "window"
                    ],
                    "properties": {
                      "source": {
                        "type": "null"
                      },
                      "window": {
                        "type": "integer",
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      "indicator": {
                        "const": "atr"
                      }
                    }
                  },
                  {
                    "required": [
                      "indicator",
                      "window"
                    ],
                    "properties": {
                      "window": {
                        "type": "integer",
                        "minimum": 2,
                        "x-strictJsonInteger": true
                      },
                      "indicator": {
                        "const": "zscore"
                      }
                    }
                  },
                  {
                    "required": [
                      "indicator",
                      "window"
                    ],
                    "properties": {
                      "window": {
                        "type": "integer",
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      "indicator": {
                        "enum": [
                          "sma",
                          "ema",
                          "rsi",
                          "roc"
                        ]
                      }
                    }
                  }
                ],
                "required": [
                  "indicator"
                ],
                "properties": {
                  "source": {
                    "anyOf": [
                      {
                        "enum": [
                          "open",
                          "high",
                          "low",
                          "close",
                          "volume"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "window": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 5000,
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "indicator": {
                    "enum": [
                      "sma",
                      "ema",
                      "rsi",
                      "atr",
                      "roc",
                      "zscore",
                      "price"
                    ],
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "StrategyTarget": {
                "type": "object",
                "required": [
                  "kind",
                  "horizon_bars"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "forward_return"
                  },
                  "horizon_bars": {
                    "type": "integer",
                    "maximum": 5000,
                    "minimum": 1,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "StrategyPosition": {
                "type": "object",
                "required": [
                  "on_signal",
                  "else"
                ],
                "properties": {
                  "else": {
                    "type": "string",
                    "const": "flat"
                  },
                  "on_signal": {
                    "type": "string",
                    "const": "long"
                  }
                },
                "additionalProperties": false
              }
            },
            "oneOf": [
              {
                "required": [
                  "specs"
                ],
                "properties": {
                  "grid": {
                    "type": "null"
                  },
                  "specs": {
                    "not": {
                      "type": "null"
                    }
                  },
                  "base_spec": {
                    "type": "null"
                  }
                }
              },
              {
                "required": [
                  "base_spec",
                  "grid"
                ],
                "properties": {
                  "grid": {
                    "not": {
                      "type": "null"
                    }
                  },
                  "specs": {
                    "type": "null"
                  },
                  "base_spec": {
                    "not": {
                      "type": "null"
                    }
                  }
                }
              }
            ],
            "properties": {
              "grid": {
                "anyOf": [
                  {
                    "type": "object",
                    "maxProperties": 16,
                    "minProperties": 1,
                    "propertyNames": {
                      "maxLength": 256,
                      "minLength": 1
                    },
                    "patternProperties": {
                      "^\\S+$": {
                        "type": "array",
                        "items": {
                          "$ref": "#/$defs/JsonValue"
                        },
                        "maxItems": 25,
                        "minItems": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Parameter grid {param: [values]} expanded against base_spec into the full variant set."
              },
              "specs": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/StrategySpec"
                    },
                    "maxItems": 25,
                    "minItems": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Explicit list of DSL strategy variants to submit as one honest sweep -- every variant a ledger trial the family budget prices."
              },
              "api_key": {
                "type": "string",
                "default": "",
                "maxLength": 512,
                "description": "API key for a paid MCP check. Hosted Streamable HTTP clients should send it in the Authorization: Bearer transport header so the model never sees the secret; local stdio callers may supply the raw key in this tool argument without a Bearer prefix. Create an account at https://api.alphaassay.com/account; the current free allowance and prices are published at https://api.alphaassay.com/v1/meta/pricing. Paid MCP calls use API-key credits; x402 buys only the separate REST POST /x402/v1/gauntlet and is not MCP billing."
              },
              "base_spec": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/StrategySpec"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Base DSL spec to expand with grid instead of listing specs explicitly."
              },
              "request_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 256
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional idempotency key for this paid execution. Retry the same request_id with the same payload to replay one stored result without another charge; reuse with a different payload returns idempotency_conflict."
              },
              "sketch_opt_out": {
                "type": "boolean",
                "default": false,
                "description": "True to skip return sketches for every variant."
              },
              "ohlcv_by_symbol": {
                "anyOf": [
                  {
                    "type": "object",
                    "maxProperties": 50,
                    "propertyNames": {
                      "maxLength": 64,
                      "minLength": 1
                    },
                    "patternProperties": {
                      "^\\S+$": {
                        "$ref": "#/$defs/OHLCVSeries"
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Your candles per symbol for every variant."
              },
              "fee_bps_per_side": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 1000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number",
                    "maximum": 1000,
                    "minimum": 0
                  }
                ],
                "default": 10,
                "description": "Round-trip cost in bps/side."
              }
            },
            "x-relations": [
              "product(len(grid[*])) <= 25 when grid is present"
            ],
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "EbComputed": {
                "type": "object",
                "required": [
                  "status",
                  "family_t_stats_n",
                  "sigma_signal_sq",
                  "shrink_factor",
                  "t_observed",
                  "t_shrunk",
                  "sharpe_shrunk_per_obs",
                  "method",
                  "note"
                ],
                "properties": {
                  "note": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "method": {
                    "type": "string",
                    "const": "efron_morris_prior_zero"
                  },
                  "status": {
                    "type": "string",
                    "const": "computed"
                  },
                  "t_shrunk": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "t_observed": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "shrink_factor": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  },
                  "sigma_signal_sq": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  },
                  "family_t_stats_n": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "sharpe_shrunk_per_obs": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "BatchSummary": {
                "type": "object",
                "required": [
                  "survives",
                  "deflated_out",
                  "not_computed",
                  "invalid"
                ],
                "properties": {
                  "invalid": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "survives": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "deflated_out": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "not_computed": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "EbInsufficient": {
                "type": "object",
                "required": [
                  "status",
                  "family_t_stats_n",
                  "method",
                  "note"
                ],
                "properties": {
                  "note": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "method": {
                    "type": "string",
                    "const": "efron_morris_prior_zero"
                  },
                  "status": {
                    "type": "string",
                    "const": "insufficient_family_history"
                  },
                  "family_t_stats_n": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "FamilyComputed": {
                "type": "object",
                "required": [
                  "status",
                  "sharpe_per_obs",
                  "n_observations",
                  "skew",
                  "kurtosis",
                  "n_trials",
                  "variance_of_sharpe",
                  "expected_max_sharpe_null",
                  "psr_vs_zero",
                  "dsr",
                  "cumulative_n",
                  "global_family_n",
                  "variants_in_call",
                  "n_trials_effective",
                  "n_hat_ledger",
                  "effective_n_method",
                  "mean_correlation",
                  "overlap_warning",
                  "thresholds",
                  "killed_by",
                  "family_verdict",
                  "sketch_retained",
                  "eb_shrinkage",
                  "break_even_n",
                  "dsr_attribution",
                  "note"
                ],
                "properties": {
                  "dsr": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "note": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "skew": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "status": {
                    "type": "string",
                    "const": "computed"
                  },
                  "kurtosis": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "n_trials": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "killed_by": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "evt_dsr",
                        "harvey_liu_bh"
                      ],
                      "type": "string"
                    },
                    "maxItems": 2
                  },
                  "thresholds": {
                    "$ref": "#/$defs/FamilyThresholds"
                  },
                  "psr_vs_zero": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "sketch_note": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "break_even_n": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "cumulative_n": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "eb_shrinkage": {
                    "oneOf": [
                      {
                        "$ref": "#/$defs/EbInsufficient"
                      },
                      {
                        "$ref": "#/$defs/EbComputed"
                      }
                    ],
                    "discriminator": {
                      "mapping": {
                        "computed": "#/$defs/EbComputed",
                        "insufficient_family_history": "#/$defs/EbInsufficient"
                      },
                      "propertyName": "status"
                    }
                  },
                  "n_hat_ledger": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  },
                  "family_verdict": {
                    "enum": [
                      "survives",
                      "deflated_out"
                    ],
                    "type": "string"
                  },
                  "n_observations": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "sharpe_per_obs": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "dsr_attribution": {
                    "oneOf": [
                      {
                        "$ref": "#/$defs/DsrAttributionUnavailable"
                      },
                      {
                        "$ref": "#/$defs/DsrAttributionComputed"
                      }
                    ],
                    "discriminator": {
                      "mapping": {
                        "computed": "#/$defs/DsrAttributionComputed",
                        "not_computed": "#/$defs/DsrAttributionUnavailable"
                      },
                      "propertyName": "status"
                    }
                  },
                  "global_family_n": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "overlap_warning": {
                    "type": "boolean"
                  },
                  "sketch_retained": {
                    "type": "boolean"
                  },
                  "mean_correlation": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": -1,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": -1
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "variants_in_call": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "effective_n_method": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "n_trials_effective": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "variance_of_sharpe": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  },
                  "expected_max_sharpe_null": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "EvtDsrThreshold": {
                "type": "object",
                "required": [
                  "dsr",
                  "min",
                  "survives"
                ],
                "properties": {
                  "dsr": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "min": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "survives": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "FamilyThresholds": {
                "type": "object",
                "required": [
                  "evt_dsr",
                  "harvey_liu_bh"
                ],
                "properties": {
                  "evt_dsr": {
                    "$ref": "#/$defs/EvtDsrThreshold"
                  },
                  "harvey_liu_bh": {
                    "$ref": "#/$defs/HarveyLiuThreshold"
                  }
                },
                "additionalProperties": false
              },
              "FamilyNotComputed": {
                "type": "object",
                "required": [
                  "status",
                  "reason"
                ],
                "properties": {
                  "reason": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "status": {
                    "type": "string",
                    "const": "not_computed"
                  }
                },
                "additionalProperties": false
              },
              "TrialLedgerRecord": {
                "type": "object",
                "required": [
                  "recorded",
                  "spec_hash",
                  "family_id",
                  "cumulative_n",
                  "disclaimer"
                ],
                "properties": {
                  "recorded": {
                    "type": "boolean"
                  },
                  "family_id": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "spec_hash": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "cumulative_n": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "HarveyLiuThreshold": {
                "type": "object",
                "required": [
                  "p_single",
                  "p_adjusted",
                  "alpha",
                  "survives"
                ],
                "properties": {
                  "alpha": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "p_single": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "survives": {
                    "type": "boolean"
                  },
                  "p_adjusted": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "BatchInvalidVariant": {
                "type": "object",
                "required": [
                  "index",
                  "error"
                ],
                "properties": {
                  "error": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "index": {
                    "type": "integer",
                    "minimum": 0,
                    "exclusiveMaximum": 10000,
                    "x-strictJsonInteger": true
                  },
                  "ledger": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/TrialLedgerRecord"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "BatchSuccessVariant": {
                "type": "object",
                "required": [
                  "index",
                  "bars",
                  "net_return_total",
                  "ledger",
                  "family_id",
                  "spec_hash",
                  "family_deflated_verdict"
                ],
                "properties": {
                  "bars": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "index": {
                    "type": "integer",
                    "minimum": 0,
                    "exclusiveMaximum": 10000,
                    "x-strictJsonInteger": true
                  },
                  "ledger": {
                    "$ref": "#/$defs/TrialLedgerRecord"
                  },
                  "family_id": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "spec_hash": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "net_return_total": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "family_deflated_verdict": {
                    "oneOf": [
                      {
                        "$ref": "#/$defs/FamilyNotComputed"
                      },
                      {
                        "$ref": "#/$defs/FamilyComputed"
                      }
                    ],
                    "discriminator": {
                      "mapping": {
                        "computed": "#/$defs/FamilyComputed",
                        "not_computed": "#/$defs/FamilyNotComputed"
                      },
                      "propertyName": "status"
                    }
                  }
                },
                "additionalProperties": false
              },
              "BatchDeclinedVariant": {
                "type": "object",
                "required": [
                  "index",
                  "error",
                  "declined",
                  "charged"
                ],
                "properties": {
                  "error": {
                    "type": "string",
                    "const": "payment_required"
                  },
                  "index": {
                    "type": "integer",
                    "minimum": 0,
                    "exclusiveMaximum": 10000,
                    "x-strictJsonInteger": true
                  },
                  "charged": {
                    "type": "boolean",
                    "const": false
                  },
                  "declined": {
                    "type": "boolean",
                    "const": true
                  }
                },
                "additionalProperties": false
              },
              "BatchRefundedVariant": {
                "type": "object",
                "required": [
                  "index",
                  "error",
                  "refunded"
                ],
                "properties": {
                  "error": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "index": {
                    "type": "integer",
                    "minimum": 0,
                    "exclusiveMaximum": 10000,
                    "x-strictJsonInteger": true
                  },
                  "detail": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "refunded": {
                    "type": "boolean",
                    "const": true
                  }
                },
                "additionalProperties": false
              },
              "DsrAttributionComputed": {
                "type": "object",
                "required": [
                  "status",
                  "base_psr_normal_no_selection",
                  "dsr",
                  "dsr_normal_tails",
                  "total_haircut",
                  "selection_haircut",
                  "non_normality_haircut",
                  "interaction",
                  "tipping_point_n_trials",
                  "verdict_would_flip_under_normal_tails",
                  "interpretation"
                ],
                "properties": {
                  "dsr": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "status": {
                    "type": "string",
                    "const": "computed"
                  },
                  "interaction": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "total_haircut": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "interpretation": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "dsr_normal_tails": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "selection_haircut": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "non_normality_haircut": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "tipping_point_n_trials": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "base_psr_normal_no_selection": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "verdict_would_flip_under_normal_tails": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "DsrAttributionUnavailable": {
                "type": "object",
                "required": [
                  "status",
                  "reason",
                  "dsr"
                ],
                "properties": {
                  "dsr": {
                    "type": "null"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "status": {
                    "type": "string",
                    "const": "not_computed"
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "required": [
                  "_meta",
                  "schema",
                  "n_variants",
                  "charged_variants",
                  "declined_variants",
                  "variants",
                  "summary",
                  "note",
                  "disclaimer"
                ],
                "properties": {
                  "note": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "schema": {
                    "type": "string",
                    "const": "batch.v1"
                  },
                  "summary": {
                    "$ref": "#/$defs/BatchSummary"
                  },
                  "variants": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/BatchSuccessVariant"
                        },
                        {
                          "$ref": "#/$defs/BatchRefundedVariant"
                        },
                        {
                          "$ref": "#/$defs/BatchDeclinedVariant"
                        },
                        {
                          "$ref": "#/$defs/BatchInvalidVariant"
                        }
                      ]
                    },
                    "maxItems": 10000
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "n_variants": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "charged_variants": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "declined_variants": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "x-relations": [
                  "n_variants == len(variants)",
                  "variants[*].index values are unique and equal range(n_variants)",
                  "charged_variants == count(success variants)",
                  "declined_variants == count(declined variants)",
                  "summary.invalid == count(invalid or refunded variants)",
                  "summary category counts match variant outcomes"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Assay a parameter sweep as one batch",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "assay_register",
          "title": "Pre-register a sealed strategy hypothesis",
          "description": "Use this when you want to seal a strategy and its success criteria\nNOW, before the forward data exists, so that registration cannot be\nadapted or backfilled against those later bars -- a commitment audit,\nnot buy/sell advice. Pre-register a signal NOW; freeze its terms before\nthe forward evidence exists.\n\nSignal commitment: your strategy spec (executable JSON DSL) is canonically\nhashed and committed in tenant state now, then queued for later daily\noperator-published Merkle inclusion. The register response is not an\ninclusion proof, and the built-in chain is not independent time evidence;\nthat requires a separately present and pinned external anchor. The\nlater verdict (assay_verdict) uses exclusively data from AFTER\nregistration. That prevents adapting this registration to those forward\nbars, but does not prove the strategy or family was not selected through\nearlier research or repeated trials; the family ledger and deflation\ndisclose and penalise those trials. v2: optionally seal a machine-writable HYPOTHESIS tuple\nalongside the spec -- declared_pass_sharpe_annualized (your\npre-committed success bar), max_evaluation_bars (ex-ante window cap:\nwaiting longer than promised cannot improve the verdict),\nfee_bps_per_side and trading_calendar (the sealed evaluation terms),\nplus an optional rationale. The tuple is canonically hashed and bound\ninto the same queued commitment as the spec, and assay_verdict ENFORCES\nit: deviating terms are recomputed under the seal and flagged\ngoalpost_moved -- success criteria chosen after seeing the data are\nnot criteria. Registrations are idempotent, withdrawals still count\ntoward your family's trial budget (anti-gaming). Registrations are\nkeyed to your authenticated account. Price: per check; see\nhttps://api.alphaassay.com/v1/meta/pricing (api_key with the register\nscope required -- account setup at\nhttps://api.alphaassay.com/account).",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "ConstNode": {
                "type": "object",
                "required": [
                  "const"
                ],
                "properties": {
                  "const": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "Hypothesis": {
                "type": "object",
                "required": [
                  "declared_pass_sharpe_annualized",
                  "max_evaluation_bars"
                ],
                "properties": {
                  "rationale": {
                    "type": "string",
                    "default": "",
                    "maxLength": 2000
                  },
                  "fee_bps_per_side": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000,
                        "minimum": 0
                      }
                    ],
                    "default": 10
                  },
                  "trading_calendar": {
                    "enum": [
                      "24/7",
                      "weekdays"
                    ],
                    "type": "string",
                    "default": "24/7"
                  },
                  "max_evaluation_bars": {
                    "type": "integer",
                    "maximum": 10000,
                    "minimum": 1,
                    "x-strictJsonInteger": true
                  },
                  "declared_pass_sharpe_annualized": {
                    "gt": 0,
                    "le": 20,
                    "anyOf": [
                      {
                        "type": "integer",
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "SignalNode": {
                "type": "object",
                "oneOf": [
                  {
                    "required": [
                      "op",
                      "left",
                      "right"
                    ],
                    "properties": {
                      "op": {
                        "enum": [
                          "cross_above",
                          "cross_below",
                          "gt",
                          "lt"
                        ]
                      },
                      "left": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/ConstNode"
                          },
                          {
                            "$ref": "#/$defs/IndicatorNode"
                          }
                        ]
                      },
                      "right": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/ConstNode"
                          },
                          {
                            "$ref": "#/$defs/IndicatorNode"
                          }
                        ]
                      }
                    }
                  },
                  {
                    "required": [
                      "op",
                      "left",
                      "right"
                    ],
                    "properties": {
                      "op": {
                        "enum": [
                          "and",
                          "or"
                        ]
                      },
                      "left": {
                        "$ref": "#/$defs/SignalNode"
                      },
                      "right": {
                        "$ref": "#/$defs/SignalNode"
                      }
                    }
                  },
                  {
                    "required": [
                      "op",
                      "left"
                    ],
                    "properties": {
                      "op": {
                        "const": "not"
                      },
                      "left": {
                        "$ref": "#/$defs/SignalNode"
                      },
                      "right": {
                        "type": "null"
                      }
                    }
                  }
                ],
                "required": [
                  "op",
                  "left"
                ],
                "properties": {
                  "op": {
                    "enum": [
                      "cross_above",
                      "cross_below",
                      "gt",
                      "lt",
                      "and",
                      "or",
                      "not"
                    ],
                    "type": "string"
                  },
                  "left": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ConstNode"
                      },
                      {
                        "$ref": "#/$defs/IndicatorNode"
                      },
                      {
                        "$ref": "#/$defs/SignalNode"
                      }
                    ]
                  },
                  "right": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ConstNode"
                      },
                      {
                        "$ref": "#/$defs/IndicatorNode"
                      },
                      {
                        "$ref": "#/$defs/SignalNode"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "StrategySpec": {
                "type": "object",
                "required": [
                  "dsl_version",
                  "asset_universe",
                  "bar_interval",
                  "target",
                  "signal"
                ],
                "properties": {
                  "signal": {
                    "$ref": "#/$defs/SignalNode",
                    "x-maxDepth": 16
                  },
                  "target": {
                    "$ref": "#/$defs/StrategyTarget"
                  },
                  "position": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/StrategyPosition"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "dsl_version": {
                    "type": "string",
                    "const": "1"
                  },
                  "bar_interval": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "asset_universe": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\S+$",
                      "maxLength": 64,
                      "minLength": 1
                    },
                    "maxItems": 50,
                    "minItems": 1,
                    "uniqueItems": true
                  },
                  "entry_lag_bars": {
                    "type": "integer",
                    "default": 1,
                    "maximum": 5000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "IndicatorNode": {
                "type": "object",
                "oneOf": [
                  {
                    "required": [
                      "indicator"
                    ],
                    "properties": {
                      "window": {
                        "type": "null"
                      },
                      "indicator": {
                        "const": "price"
                      }
                    }
                  },
                  {
                    "required": [
                      "indicator",
                      "window"
                    ],
                    "properties": {
                      "source": {
                        "type": "null"
                      },
                      "window": {
                        "type": "integer",
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      "indicator": {
                        "const": "atr"
                      }
                    }
                  },
                  {
                    "required": [
                      "indicator",
                      "window"
                    ],
                    "properties": {
                      "window": {
                        "type": "integer",
                        "minimum": 2,
                        "x-strictJsonInteger": true
                      },
                      "indicator": {
                        "const": "zscore"
                      }
                    }
                  },
                  {
                    "required": [
                      "indicator",
                      "window"
                    ],
                    "properties": {
                      "window": {
                        "type": "integer",
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      "indicator": {
                        "enum": [
                          "sma",
                          "ema",
                          "rsi",
                          "roc"
                        ]
                      }
                    }
                  }
                ],
                "required": [
                  "indicator"
                ],
                "properties": {
                  "source": {
                    "anyOf": [
                      {
                        "enum": [
                          "open",
                          "high",
                          "low",
                          "close",
                          "volume"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "window": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 5000,
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "indicator": {
                    "enum": [
                      "sma",
                      "ema",
                      "rsi",
                      "atr",
                      "roc",
                      "zscore",
                      "price"
                    ],
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "StrategyTarget": {
                "type": "object",
                "required": [
                  "kind",
                  "horizon_bars"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "forward_return"
                  },
                  "horizon_bars": {
                    "type": "integer",
                    "maximum": 5000,
                    "minimum": 1,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "StrategyPosition": {
                "type": "object",
                "required": [
                  "on_signal",
                  "else"
                ],
                "properties": {
                  "else": {
                    "type": "string",
                    "const": "flat"
                  },
                  "on_signal": {
                    "type": "string",
                    "const": "long"
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "spec"
            ],
            "properties": {
              "spec": {
                "$ref": "#/$defs/StrategySpec",
                "description": "DSL strategy whose canonical hash and terms are committed to tenant state now, before forward data, and queued for later daily operator-published Merkle inclusion. The return is not an inclusion proof or independent timestamp; that requires a separately pinned external anchor."
              },
              "api_key": {
                "type": "string",
                "default": "",
                "maxLength": 512,
                "description": "API key for a paid MCP check. Hosted Streamable HTTP clients should send it in the Authorization: Bearer transport header so the model never sees the secret; local stdio callers may supply the raw key in this tool argument without a Bearer prefix. Create an account at https://api.alphaassay.com/account; the current free allowance and prices are published at https://api.alphaassay.com/v1/meta/pricing. Paid MCP calls use API-key credits; x402 buys only the separate REST POST /x402/v1/gauntlet and is not MCP billing."
              },
              "hypothesis": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Hypothesis"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Your sealed success criteria (target metric, threshold, costs) so the later verdict cannot move the goalposts."
              },
              "request_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 256
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional idempotency key for this paid execution. Retry the same request_id with the same payload to replay one stored result without another charge; reuse with a different payload returns idempotency_conflict."
              },
              "embargo_bars": {
                "type": "integer",
                "default": 3,
                "maximum": 10000,
                "minimum": 0,
                "description": "Bars after registration to embargo before evaluation.",
                "x-strictJsonInteger": true
              },
              "maturity_bars": {
                "type": "integer",
                "default": 30,
                "maximum": 10000,
                "minimum": 1,
                "description": "Bars of forward data required before assay_verdict may evaluate it (the maturity window).",
                "x-strictJsonInteger": true
              }
            },
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "SealedHypothesis": {
                "type": "object",
                "required": [
                  "declared_pass_sharpe_annualized",
                  "max_evaluation_bars",
                  "fee_bps_per_side",
                  "trading_calendar",
                  "rationale"
                ],
                "properties": {
                  "rationale": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "fee_bps_per_side": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000,
                        "minimum": 0
                      }
                    ]
                  },
                  "trading_calendar": {
                    "enum": [
                      "24/7",
                      "weekdays"
                    ],
                    "type": "string"
                  },
                  "max_evaluation_bars": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "declared_pass_sharpe_annualized": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "required": [
                  "_meta",
                  "prereg_id",
                  "family_id",
                  "spec_hash",
                  "anchor_hash",
                  "registered_at",
                  "evaluation_start_at",
                  "maturity_bars",
                  "engine_version",
                  "ledger_cumulative_n",
                  "created",
                  "disclaimer"
                ],
                "properties": {
                  "note": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "status": {
                    "anyOf": [
                      {
                        "enum": [
                          "registered",
                          "maturing",
                          "evaluated",
                          "withdrawn"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "family_id": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "prereg_id": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "spec_hash": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "hypothesis": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/SealedHypothesis"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "anchor_hash": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "maturity_bars": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "registered_at": {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "hypothesis_hash": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\S+$",
                        "maxLength": 256,
                        "minLength": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "evaluation_start_at": {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1
                  },
                  "ledger_cumulative_n": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Pre-register a sealed strategy hypothesis",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "assay_verdict",
          "title": "Evaluate a matured pre-registration",
          "description": "Use this when a signal was pre-registered with assay_register and the\nmaturity window has passed -- get the post-cutoff verdict computed only\nfrom data after registration. A sealed audit, it gives no buy/sell advice.\nPost-cutoff verdict under the registration's sealed terms.\n\nEvaluates a registration strictly on bars AFTER the registration cutoff,\nwith maturity floor and fail-closed data-gap handling (use\ntrading_calendar='weekdays' for equity daily bars so weekends do not\ncount as gaps; omit fee/calendar to use the registration's sealed\nterms). The verdict embeds the family-deflated Sharpe: even an\nanchored signal is deflated by how much its family was searched. For\nv2 registrations with a sealed hypothesis, the verdict additionally\nreports oos_sharpe_annualized against the pre-committed bar\n(threshold_met -- a descriptive fact, never an endorsement) and flags\ngoalpost_moved when the requested terms deviate from the sealed ones\n(the seal always wins). Price: per check; see\nhttps://api.alphaassay.com/v1/meta/pricing (api_key required -- account\nsetup at https://api.alphaassay.com/account).",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "OHLCVSeries": {
                "type": "object",
                "required": [
                  "close"
                ],
                "properties": {
                  "low": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "high": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "exclusiveMinimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "time": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 64,
                          "minLength": 1
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "close": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "maximum": 1000000000000000,
                          "exclusiveMinimum": 0,
                          "x-strictJsonInteger": true
                        },
                        {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "exclusiveMinimum": 0
                        }
                      ]
                    },
                    "maxItems": 5000,
                    "minItems": 1
                  },
                  "volume": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "maximum": 1000000000000000,
                              "minimum": 0,
                              "x-strictJsonInteger": true
                            },
                            {
                              "type": "number",
                              "maximum": 1000000000000000,
                              "minimum": 0
                            }
                          ]
                        },
                        "maxItems": 5000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "x-relations": [
                  "len(time|open|high|low|volume) == len(close) when present"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "prereg_id",
              "ohlcv_by_symbol"
            ],
            "properties": {
              "api_key": {
                "type": "string",
                "default": "",
                "maxLength": 512,
                "description": "API key for a paid MCP check. Hosted Streamable HTTP clients should send it in the Authorization: Bearer transport header so the model never sees the secret; local stdio callers may supply the raw key in this tool argument without a Bearer prefix. Create an account at https://api.alphaassay.com/account; the current free allowance and prices are published at https://api.alphaassay.com/v1/meta/pricing. Paid MCP calls use API-key credits; x402 buys only the separate REST POST /x402/v1/gauntlet and is not MCP billing."
              },
              "prereg_id": {
                "type": "string",
                "pattern": "^\\S+$",
                "maxLength": 256,
                "minLength": 1,
                "description": "Id returned by assay_register; the verdict uses ONLY data from after that registration."
              },
              "request_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 256
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional idempotency key for this paid execution. Retry the same request_id with the same payload to replay one stored result without another charge; reuse with a different payload returns idempotency_conflict."
              },
              "ohlcv_by_symbol": {
                "type": "object",
                "description": "Post-registration candles per symbol to evaluate the sealed strategy on.",
                "maxProperties": 50,
                "propertyNames": {
                  "maxLength": 64,
                  "minLength": 1
                },
                "patternProperties": {
                  "^\\S+$": {
                    "$ref": "#/$defs/OHLCVSeries"
                  }
                },
                "additionalProperties": false
              },
              "fee_bps_per_side": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 1000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number",
                    "maximum": 1000,
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Round-trip cost in bps/side."
              },
              "trading_calendar": {
                "anyOf": [
                  {
                    "enum": [
                      "24/7",
                      "weekdays"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Market calendar for the instrument."
              }
            },
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "EbComputed": {
                "type": "object",
                "required": [
                  "status",
                  "family_t_stats_n",
                  "sigma_signal_sq",
                  "shrink_factor",
                  "t_observed",
                  "t_shrunk",
                  "sharpe_shrunk_per_obs",
                  "method",
                  "note"
                ],
                "properties": {
                  "note": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "method": {
                    "type": "string",
                    "const": "efron_morris_prior_zero"
                  },
                  "status": {
                    "type": "string",
                    "const": "computed"
                  },
                  "t_shrunk": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "t_observed": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "shrink_factor": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  },
                  "sigma_signal_sq": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  },
                  "family_t_stats_n": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "sharpe_shrunk_per_obs": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "IntegerMap": {
                "type": "object",
                "description": "Bounded runtime-keyed map of integer counts.",
                "maxProperties": 256,
                "propertyNames": {
                  "maxLength": 128,
                  "minLength": 1
                },
                "patternProperties": {
                  "^\\S+$": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "EbInsufficient": {
                "type": "object",
                "required": [
                  "status",
                  "family_t_stats_n",
                  "method",
                  "note"
                ],
                "properties": {
                  "note": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "method": {
                    "type": "string",
                    "const": "efron_morris_prior_zero"
                  },
                  "status": {
                    "type": "string",
                    "const": "insufficient_family_history"
                  },
                  "family_t_stats_n": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "additionalProperties": false
              },
              "FamilyComputed": {
                "type": "object",
                "required": [
                  "status",
                  "sharpe_per_obs",
                  "n_observations",
                  "skew",
                  "kurtosis",
                  "n_trials",
                  "variance_of_sharpe",
                  "expected_max_sharpe_null",
                  "psr_vs_zero",
                  "dsr",
                  "cumulative_n",
                  "global_family_n",
                  "variants_in_call",
                  "n_trials_effective",
                  "n_hat_ledger",
                  "effective_n_method",
                  "mean_correlation",
                  "overlap_warning",
                  "thresholds",
                  "killed_by",
                  "family_verdict",
                  "sketch_retained",
                  "eb_shrinkage",
                  "break_even_n",
                  "dsr_attribution",
                  "note"
                ],
                "properties": {
                  "dsr": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "note": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "skew": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "status": {
                    "type": "string",
                    "const": "computed"
                  },
                  "kurtosis": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "n_trials": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "killed_by": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "evt_dsr",
                        "harvey_liu_bh"
                      ],
                      "type": "string"
                    },
                    "maxItems": 2
                  },
                  "thresholds": {
                    "$ref": "#/$defs/FamilyThresholds"
                  },
                  "psr_vs_zero": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "sketch_note": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "break_even_n": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "cumulative_n": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "eb_shrinkage": {
                    "oneOf": [
                      {
                        "$ref": "#/$defs/EbInsufficient"
                      },
                      {
                        "$ref": "#/$defs/EbComputed"
                      }
                    ],
                    "discriminator": {
                      "mapping": {
                        "computed": "#/$defs/EbComputed",
                        "insufficient_family_history": "#/$defs/EbInsufficient"
                      },
                      "propertyName": "status"
                    }
                  },
                  "n_hat_ledger": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  },
                  "family_verdict": {
                    "enum": [
                      "survives",
                      "deflated_out"
                    ],
                    "type": "string"
                  },
                  "n_observations": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "sharpe_per_obs": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "dsr_attribution": {
                    "oneOf": [
                      {
                        "$ref": "#/$defs/DsrAttributionUnavailable"
                      },
                      {
                        "$ref": "#/$defs/DsrAttributionComputed"
                      }
                    ],
                    "discriminator": {
                      "mapping": {
                        "computed": "#/$defs/DsrAttributionComputed",
                        "not_computed": "#/$defs/DsrAttributionUnavailable"
                      },
                      "propertyName": "status"
                    }
                  },
                  "global_family_n": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "overlap_warning": {
                    "type": "boolean"
                  },
                  "sketch_retained": {
                    "type": "boolean"
                  },
                  "mean_correlation": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": -1,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": -1
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "variants_in_call": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "effective_n_method": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "n_trials_effective": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "variance_of_sharpe": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  },
                  "expected_max_sharpe_null": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "EvtDsrThreshold": {
                "type": "object",
                "required": [
                  "dsr",
                  "min",
                  "survives"
                ],
                "properties": {
                  "dsr": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "min": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "survives": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "EvaluatedVerdict": {
                "type": "object",
                "required": [
                  "verdict",
                  "engine_version",
                  "evaluation_start_at",
                  "window",
                  "fee_bps_per_side",
                  "family_deflated_verdict",
                  "disclaimer"
                ],
                "properties": {
                  "window": {
                    "$ref": "#/$defs/EvaluationWindow"
                  },
                  "verdict": {
                    "type": "string",
                    "const": "evaluated"
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "hypothesis": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/EvaluatedHypothesis"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "threshold_met": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "goalpost_moved": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "fee_bps_per_side": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000,
                        "minimum": 0
                      }
                    ]
                  },
                  "evaluation_start_at": {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1
                  },
                  "goalpost_moved_plain": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "oos_sharpe_annualized": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "goalpost_moved_reasons": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 2000
                        },
                        "maxItems": 10000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "family_deflated_verdict": {
                    "oneOf": [
                      {
                        "$ref": "#/$defs/FamilyNotComputed"
                      },
                      {
                        "$ref": "#/$defs/FamilyComputed"
                      }
                    ],
                    "discriminator": {
                      "mapping": {
                        "computed": "#/$defs/FamilyComputed",
                        "not_computed": "#/$defs/FamilyNotComputed"
                      },
                      "propertyName": "status"
                    }
                  },
                  "window_capped_at_sealed_maximum": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "EvaluationWindow": {
                "type": "object",
                "required": [
                  "start",
                  "end",
                  "bars"
                ],
                "properties": {
                  "end": {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1
                  },
                  "bars": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "start": {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1
                  }
                },
                "additionalProperties": false
              },
              "FamilyThresholds": {
                "type": "object",
                "required": [
                  "evt_dsr",
                  "harvey_liu_bh"
                ],
                "properties": {
                  "evt_dsr": {
                    "$ref": "#/$defs/EvtDsrThreshold"
                  },
                  "harvey_liu_bh": {
                    "$ref": "#/$defs/HarveyLiuThreshold"
                  }
                },
                "additionalProperties": false
              },
              "FamilyNotComputed": {
                "type": "object",
                "required": [
                  "status",
                  "reason"
                ],
                "properties": {
                  "reason": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "status": {
                    "type": "string",
                    "const": "not_computed"
                  }
                },
                "additionalProperties": false
              },
              "HarveyLiuThreshold": {
                "type": "object",
                "required": [
                  "p_single",
                  "p_adjusted",
                  "alpha",
                  "survives"
                ],
                "properties": {
                  "alpha": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "p_single": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "survives": {
                    "type": "boolean"
                  },
                  "p_adjusted": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "EvaluatedHypothesis": {
                "type": "object",
                "required": [
                  "declared_pass_sharpe_annualized",
                  "max_evaluation_bars",
                  "fee_bps_per_side",
                  "trading_calendar",
                  "rationale",
                  "hypothesis_hash"
                ],
                "properties": {
                  "rationale": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "hypothesis_hash": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "fee_bps_per_side": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000,
                        "minimum": 0
                      }
                    ]
                  },
                  "trading_calendar": {
                    "enum": [
                      "24/7",
                      "weekdays"
                    ],
                    "type": "string"
                  },
                  "max_evaluation_bars": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "declared_pass_sharpe_annualized": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "DsrAttributionComputed": {
                "type": "object",
                "required": [
                  "status",
                  "base_psr_normal_no_selection",
                  "dsr",
                  "dsr_normal_tails",
                  "total_haircut",
                  "selection_haircut",
                  "non_normality_haircut",
                  "interaction",
                  "tipping_point_n_trials",
                  "verdict_would_flip_under_normal_tails",
                  "interpretation"
                ],
                "properties": {
                  "dsr": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "status": {
                    "type": "string",
                    "const": "computed"
                  },
                  "interaction": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "total_haircut": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "interpretation": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "dsr_normal_tails": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "selection_haircut": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "non_normality_haircut": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      }
                    ]
                  },
                  "tipping_point_n_trials": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "base_psr_normal_no_selection": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      }
                    ]
                  },
                  "verdict_would_flip_under_normal_tails": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "DsrAttributionUnavailable": {
                "type": "object",
                "required": [
                  "status",
                  "reason",
                  "dsr"
                ],
                "properties": {
                  "dsr": {
                    "type": "null"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "status": {
                    "type": "string",
                    "const": "not_computed"
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "oneOf": [
                  {
                    "not": {
                      "anyOf": [
                        {
                          "required": [
                            "detail"
                          ]
                        },
                        {
                          "required": [
                            "covered_bars"
                          ]
                        },
                        {
                          "required": [
                            "maturity_bars"
                          ]
                        },
                        {
                          "required": [
                            "gap_bars"
                          ]
                        },
                        {
                          "required": [
                            "gap_tolerance_bars"
                          ]
                        },
                        {
                          "required": [
                            "expected_bars"
                          ]
                        }
                      ]
                    },
                    "required": [
                      "status",
                      "verdict"
                    ],
                    "properties": {
                      "status": {
                        "const": "evaluated"
                      },
                      "verdict": {
                        "$ref": "#/$defs/EvaluatedVerdict"
                      }
                    }
                  },
                  {
                    "not": {
                      "anyOf": [
                        {
                          "required": [
                            "verdict"
                          ]
                        },
                        {
                          "required": [
                            "detail"
                          ]
                        },
                        {
                          "required": [
                            "gap_bars"
                          ]
                        },
                        {
                          "required": [
                            "gap_tolerance_bars"
                          ]
                        },
                        {
                          "required": [
                            "expected_bars"
                          ]
                        }
                      ]
                    },
                    "required": [
                      "status",
                      "covered_bars",
                      "maturity_bars"
                    ],
                    "properties": {
                      "status": {
                        "const": "maturing"
                      },
                      "covered_bars": {
                        "type": "integer",
                        "x-strictJsonInteger": true
                      },
                      "maturity_bars": {
                        "not": {
                          "type": "null"
                        }
                      }
                    }
                  },
                  {
                    "not": {
                      "anyOf": [
                        {
                          "required": [
                            "gap_bars"
                          ]
                        },
                        {
                          "required": [
                            "gap_tolerance_bars"
                          ]
                        },
                        {
                          "required": [
                            "covered_bars"
                          ]
                        },
                        {
                          "required": [
                            "expected_bars"
                          ]
                        },
                        {
                          "required": [
                            "maturity_bars"
                          ]
                        }
                      ]
                    },
                    "required": [
                      "status",
                      "verdict",
                      "detail"
                    ],
                    "properties": {
                      "detail": {
                        "not": {
                          "type": "null"
                        }
                      },
                      "status": {
                        "enum": [
                          "registered",
                          "maturing"
                        ]
                      },
                      "verdict": {
                        "const": "inconclusive_data_gap"
                      }
                    }
                  },
                  {
                    "not": {
                      "anyOf": [
                        {
                          "required": [
                            "detail"
                          ]
                        },
                        {
                          "required": [
                            "maturity_bars"
                          ]
                        }
                      ]
                    },
                    "required": [
                      "status",
                      "verdict",
                      "gap_bars",
                      "gap_tolerance_bars",
                      "covered_bars",
                      "expected_bars"
                    ],
                    "properties": {
                      "status": {
                        "enum": [
                          "registered",
                          "maturing"
                        ]
                      },
                      "verdict": {
                        "const": "inconclusive_data_gap"
                      },
                      "gap_bars": {
                        "not": {
                          "type": "null"
                        }
                      },
                      "covered_bars": {
                        "$ref": "#/$defs/IntegerMap"
                      },
                      "expected_bars": {
                        "not": {
                          "type": "null"
                        }
                      },
                      "gap_tolerance_bars": {
                        "not": {
                          "type": "null"
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "_meta",
                  "prereg_id",
                  "status"
                ],
                "properties": {
                  "note": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "detail": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "status": {
                    "enum": [
                      "registered",
                      "maturing",
                      "evaluated"
                    ],
                    "type": "string"
                  },
                  "verdict": {
                    "anyOf": [
                      {
                        "type": "string",
                        "const": "inconclusive_data_gap"
                      },
                      {
                        "$ref": "#/$defs/EvaluatedVerdict"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "gap_bars": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "prereg_id": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "covered_bars": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "$ref": "#/$defs/IntegerMap"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "expected_bars": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/IntegerMap"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "maturity_bars": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "gap_tolerance_bars": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Evaluate a matured pre-registration",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "assay_graveyard",
          "title": "Inspect anonymised strategy-family mortality",
          "description": "Use this when you want to check, for free, how often a signal family\n(e.g. sma_cross) has already been falsified and what usually kills it,\nbefore spending a check. Anonymised stats only -- no buy/sell advice.\nFree lookup: how often has this signal family already died?\n\nAnonymised falsification statistics per structural signal family --\ntested / killed / survived counts, top kill reasons, and the crowd prior\nyour submission would be deflated by. Check BEFORE you spend weeks on an\nidea whether the crowd already buried it. k-anonymous: families with\nfewer than 5 distinct submitters fall back to coarser taxonomy stats.\nPrice: free.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "JsonValue": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "integer",
                    "maximum": 1000000000000000,
                    "minimum": -1000000000000000,
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number",
                    "maximum": 1000000000000000,
                    "minimum": -1000000000000000
                  },
                  {
                    "type": "string",
                    "maxLength": 262144,
                    "x-maxUtf8Bytes": 262144
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/JsonValue"
                    },
                    "maxItems": 10000
                  },
                  {
                    "type": "object",
                    "maxProperties": 256,
                    "propertyNames": {
                      "maxLength": 256,
                      "x-maxUtf8Bytes": 256
                    },
                    "additionalProperties": {
                      "$ref": "#/$defs/JsonValue"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "x-maxDepth": 16,
                "x-maxNodes": 10000
              }
            },
            "properties": {
              "variant": {
                "$ref": "#/$defs/JsonValue",
                "default": null,
                "description": "Optional variant params to narrow the family lookup."
              },
              "strategy": {
                "type": "string",
                "default": "",
                "maxLength": 256,
                "description": "Strategy family name to look up in the anonymised graveyard, e.g. 'sma_cross' -- what usually kills it."
              },
              "timeframe": {
                "type": "string",
                "default": "",
                "maxLength": 64,
                "description": "Optional bar interval to filter the family stats."
              },
              "fingerprint": {
                "type": "string",
                "default": "",
                "maxLength": 256,
                "description": "Optional precomputed family fingerprint if you have it (skips the name lookup)."
              }
            },
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "GraveyardKillReason": {
                "type": "object",
                "required": [
                  "reason",
                  "count"
                ],
                "properties": {
                  "count": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "GraveyardFamilyStats": {
                "type": "object",
                "required": [
                  "tested",
                  "killed",
                  "survived",
                  "distinct_submitters",
                  "best_surviving_dsr"
                ],
                "properties": {
                  "killed": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "tested": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "survived": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "best_surviving_dsr": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "distinct_submitters": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  }
                },
                "x-relations": [
                  "tested == killed + survived"
                ],
                "additionalProperties": false
              },
              "GraveyardFallbackLevel": {
                "type": "object",
                "required": [
                  "signal_type",
                  "asset_class",
                  "timeframe"
                ],
                "properties": {
                  "timeframe": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "asset_class": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "signal_type": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  }
                },
                "additionalProperties": false
              },
              "GraveyardFallbackStats": {
                "type": "object",
                "required": [
                  "tested",
                  "killed",
                  "survived",
                  "families",
                  "kill_rate"
                ],
                "properties": {
                  "killed": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "tested": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "families": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "survived": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "kill_rate": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "x-relations": [
                  "tested == killed + survived"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "oneOf": [
                  {
                    "not": {
                      "anyOf": [
                        {
                          "required": [
                            "fallback_level"
                          ]
                        },
                        {
                          "required": [
                            "fallback_stats"
                          ]
                        },
                        {
                          "required": [
                            "reason"
                          ]
                        },
                        {
                          "required": [
                            "note"
                          ]
                        }
                      ]
                    },
                    "required": [
                      "family_stats",
                      "prior_kill_rate",
                      "crowd_prior_n_trials",
                      "top_kill_reasons",
                      "plain_language",
                      "collision_warning"
                    ],
                    "properties": {
                      "family_stats": {
                        "not": {
                          "type": "null"
                        }
                      },
                      "plain_language": {
                        "not": {
                          "type": "null"
                        }
                      },
                      "prior_kill_rate": {
                        "not": {
                          "type": "null"
                        }
                      },
                      "family_published": {
                        "const": true
                      },
                      "top_kill_reasons": {
                        "not": {
                          "type": "null"
                        }
                      },
                      "collision_warning": {
                        "not": {
                          "type": "null"
                        }
                      },
                      "crowd_prior_n_trials": {
                        "not": {
                          "type": "null"
                        }
                      }
                    }
                  },
                  {
                    "not": {
                      "anyOf": [
                        {
                          "required": [
                            "fallback_level"
                          ]
                        },
                        {
                          "required": [
                            "fallback_stats"
                          ]
                        },
                        {
                          "required": [
                            "reason"
                          ]
                        },
                        {
                          "required": [
                            "family_stats"
                          ]
                        },
                        {
                          "required": [
                            "prior_kill_rate"
                          ]
                        },
                        {
                          "required": [
                            "crowd_prior_n_trials"
                          ]
                        },
                        {
                          "required": [
                            "top_kill_reasons"
                          ]
                        },
                        {
                          "required": [
                            "plain_language"
                          ]
                        },
                        {
                          "required": [
                            "collision_warning"
                          ]
                        }
                      ]
                    },
                    "required": [
                      "note"
                    ],
                    "properties": {
                      "note": {
                        "not": {
                          "type": "null"
                        }
                      },
                      "family_published": {
                        "const": false
                      }
                    }
                  },
                  {
                    "not": {
                      "anyOf": [
                        {
                          "required": [
                            "note"
                          ]
                        },
                        {
                          "required": [
                            "family_stats"
                          ]
                        },
                        {
                          "required": [
                            "prior_kill_rate"
                          ]
                        },
                        {
                          "required": [
                            "crowd_prior_n_trials"
                          ]
                        },
                        {
                          "required": [
                            "top_kill_reasons"
                          ]
                        },
                        {
                          "required": [
                            "plain_language"
                          ]
                        }
                      ]
                    },
                    "required": [
                      "fallback_level",
                      "fallback_stats",
                      "reason",
                      "collision_warning"
                    ],
                    "properties": {
                      "reason": {
                        "not": {
                          "type": "null"
                        }
                      },
                      "fallback_level": {
                        "not": {
                          "type": "null"
                        }
                      },
                      "fallback_stats": {
                        "not": {
                          "type": "null"
                        }
                      },
                      "family_published": {
                        "const": false
                      },
                      "collision_warning": {
                        "not": {
                          "type": "null"
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "_meta",
                  "fingerprint",
                  "family_published",
                  "disclaimer"
                ],
                "properties": {
                  "note": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "fingerprint": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "family_stats": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/GraveyardFamilyStats"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "fallback_level": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/GraveyardFallbackLevel"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "fallback_stats": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/GraveyardFallbackStats"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "plain_language": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "prior_kill_rate": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "family_published": {
                    "type": "boolean"
                  },
                  "top_kill_reasons": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "$ref": "#/$defs/GraveyardKillReason"
                        },
                        "maxItems": 5
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "collision_warning": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "crowd_prior_n_trials": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Inspect anonymised strategy-family mortality",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "assay_calibration",
          "title": "Read the validator calibration snapshot",
          "description": "Use this when you want to inspect AlphaAssay's current public\ncalibration state for free rather than trust marketing. Calibration v0 is\na population/status disclosure, not an outcome score or track record.\n\nSelf-calibration of the validator's mature pre-registration population:\nthe published contract exposes a bucketed evaluated-registration counter,\nan explicit forward-outcomes status of accumulating, and\nhonesty=insufficient_history until a separate mature-outcome metric exists.\nIt does not score historical audit, shape, or forensics results as forward\npredictions. A fresh verified\nsnapshot is signed with the platform key; missing, expired or invalid\nevidence fails closed as signed=false and stale=true with a reason code.\nIt is population and status evidence only, not a performance claim.\nNOT financial advice. Price: free.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "EmptyObject": {
                "type": "object",
                "properties": {},
                "description": "An explicitly empty, closed object.",
                "additionalProperties": false
              },
              "CalibrationScope": {
                "type": "object",
                "required": [
                  "measures",
                  "not_measured",
                  "separate_from",
                  "maturity"
                ],
                "properties": {
                  "maturity": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "measures": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "not_measured": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "separate_from": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "PublicCalibration": {
                "type": "object",
                "required": [
                  "registrations",
                  "forward_outcomes",
                  "honesty",
                  "scope",
                  "disclaimer",
                  "counts_disclosure"
                ],
                "properties": {
                  "scope": {
                    "$ref": "#/$defs/CalibrationScope"
                  },
                  "honesty": {
                    "type": "string",
                    "const": "insufficient_history"
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "registrations": {
                    "$ref": "#/$defs/CalibrationRegistrations"
                  },
                  "forward_outcomes": {
                    "$ref": "#/$defs/CalibrationForwardOutcomes"
                  },
                  "counts_disclosure": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              },
              "CalibrationRegistrations": {
                "type": "object",
                "required": [
                  "disclosure",
                  "evaluated"
                ],
                "properties": {
                  "evaluated": {
                    "enum": [
                      "<25",
                      "25-99",
                      "100-499",
                      "500+"
                    ],
                    "type": "string"
                  },
                  "disclosure": {
                    "type": "string",
                    "const": "bucketed"
                  }
                },
                "additionalProperties": false
              },
              "CalibrationForwardOutcomes": {
                "type": "object",
                "required": [
                  "status",
                  "note"
                ],
                "properties": {
                  "note": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "status": {
                    "type": "string",
                    "const": "accumulating"
                  }
                },
                "additionalProperties": false
              },
              "CalibrationSnapshotPayload": {
                "type": "object",
                "required": [
                  "artifact_type",
                  "schema_version",
                  "canonicalization",
                  "key_purpose",
                  "key_id",
                  "spki_sha256",
                  "generated_at",
                  "expires_at",
                  "engine_version",
                  "engine_digest",
                  "runtime_schema_digest",
                  "calibration_data_digest",
                  "public_calibration",
                  "disclaimer"
                ],
                "properties": {
                  "key_id": {
                    "type": "string",
                    "pattern": "^key_[a-f0-9]{16}$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "expires_at": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "key_purpose": {
                    "type": "string",
                    "const": "calibration_snapshot"
                  },
                  "spki_sha256": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$",
                    "maxLength": 64,
                    "minLength": 64
                  },
                  "generated_at": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "artifact_type": {
                    "type": "string",
                    "const": "alphaassay.calibration_snapshot"
                  },
                  "engine_digest": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$",
                    "maxLength": 64,
                    "minLength": 64
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "schema_version": {
                    "type": "string",
                    "const": "cal1"
                  },
                  "canonicalization": {
                    "type": "string",
                    "const": "json-sort-keys-ascii-nospace-nfc-float12"
                  },
                  "public_calibration": {
                    "$ref": "#/$defs/PublicCalibration"
                  },
                  "runtime_schema_digest": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$",
                    "maxLength": 64,
                    "minLength": 64
                  },
                  "calibration_data_digest": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$",
                    "maxLength": 64,
                    "minLength": 64
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "signed"
                      ],
                      "properties": {
                        "signed": {
                          "const": true
                        }
                      }
                    },
                    "then": {
                      "not": {
                        "anyOf": [
                          {
                            "required": [
                              "trust_reason_code"
                            ]
                          }
                        ]
                      },
                      "required": [
                        "signature_b64",
                        "public_key_id",
                        "public_key_fingerprint",
                        "signature_alg",
                        "canonicalization"
                      ],
                      "properties": {
                        "stale": {
                          "const": false
                        },
                        "reason": {
                          "const": "valid"
                        },
                        "reason_code": {
                          "const": "valid"
                        },
                        "public_key_id": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "signature_alg": {
                          "const": "Ed25519"
                        },
                        "signature_b64": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "canonicalization": {
                          "const": "json-sort-keys-ascii-nospace-nfc-float12"
                        },
                        "public_key_fingerprint": {
                          "not": {
                            "type": "null"
                          }
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "signed"
                      ],
                      "properties": {
                        "signed": {
                          "const": false
                        }
                      }
                    },
                    "then": {
                      "not": {
                        "anyOf": [
                          {
                            "required": [
                              "signature_b64"
                            ]
                          },
                          {
                            "required": [
                              "public_key_id"
                            ]
                          },
                          {
                            "required": [
                              "public_key_fingerprint"
                            ]
                          },
                          {
                            "required": [
                              "signature_alg"
                            ]
                          },
                          {
                            "required": [
                              "canonicalization"
                            ]
                          }
                        ]
                      },
                      "properties": {
                        "stale": {
                          "const": true
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "signed"
                      ],
                      "properties": {
                        "signed": {
                          "const": true
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "calibration": {
                          "$ref": "#/$defs/CalibrationSnapshotPayload"
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "signed"
                      ],
                      "properties": {
                        "signed": {
                          "const": false
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "calibration": {
                          "$ref": "#/$defs/EmptyObject"
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "_meta",
                  "calibration",
                  "signed",
                  "stale",
                  "reason",
                  "reason_code"
                ],
                "properties": {
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "stale": {
                    "type": "boolean"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "signed": {
                    "type": "boolean"
                  },
                  "calibration": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/EmptyObject"
                      },
                      {
                        "$ref": "#/$defs/CalibrationSnapshotPayload"
                      }
                    ]
                  },
                  "reason_code": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "public_key_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^key_[a-f0-9]{16}$",
                        "maxLength": 20,
                        "minLength": 20
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "signature_alg": {
                    "anyOf": [
                      {
                        "type": "string",
                        "const": "Ed25519"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "signature_b64": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[A-Za-z0-9+/]{85}[AQgw]==$",
                        "maxLength": 88,
                        "minLength": 88
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "canonicalization": {
                    "anyOf": [
                      {
                        "type": "string",
                        "const": "json-sort-keys-ascii-nospace-nfc-float12"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "trust_reason_code": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\S+$",
                        "maxLength": 256,
                        "minLength": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "public_key_fingerprint": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$",
                        "maxLength": 64,
                        "minLength": 64
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "x-relations": [
                  "calibration.key_id == public_key_id when signed is true",
                  "calibration.spki_sha256 == public_key_fingerprint when signed is true",
                  "generated_at and expires_at are real UTC RFC3339 seconds and 0 < expires_at - generated_at <= 168 hours when signed is true"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Read the validator calibration snapshot",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "assay_certificate_verify",
          "title": "Verify an AlphaAssay certificate against platform trust",
          "description": "Use this when someone hands you a signed AlphaAssay certificate and\nyou want to verify both its Ed25519 signature and current platform trust.\nA verification tool, not buy/sell advice.\nVerify a signed AlphaAssay certificate against externally rooted public trust.\n\nThis hosted verifier evaluates full platform trust. The caller PEM is key\nevidence, never a trust root. A full valid result additionally requires\nthe service's externally pinned signed keyring, complete revocation-head\nhistory, retained certificate-purpose key and no matching revocation.\nalphaassay-verify signature-only checks raw cryptographic evidence offline;\nfull offline trust also requires the signed trust bundle and independent\nroot/checkpoint pins. Price: free.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "JsonValue": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "integer",
                    "maximum": 1000000000000000,
                    "minimum": -1000000000000000,
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number",
                    "maximum": 1000000000000000,
                    "minimum": -1000000000000000
                  },
                  {
                    "type": "string",
                    "maxLength": 262144,
                    "x-maxUtf8Bytes": 262144
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/JsonValue"
                    },
                    "maxItems": 10000
                  },
                  {
                    "type": "object",
                    "maxProperties": 256,
                    "propertyNames": {
                      "maxLength": 256,
                      "x-maxUtf8Bytes": 256
                    },
                    "additionalProperties": {
                      "$ref": "#/$defs/JsonValue"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "x-maxDepth": 16,
                "x-maxNodes": 10000
              }
            },
            "required": [
              "certificate",
              "signature_b64",
              "public_key_pem"
            ],
            "properties": {
              "certificate": {
                "type": "object",
                "description": "The separately issued signed certificate/document object to verify against current platform trust.",
                "maxProperties": 256,
                "propertyNames": {
                  "maxLength": 256,
                  "x-maxUtf8Bytes": 256
                },
                "additionalProperties": {
                  "$ref": "#/$defs/JsonValue"
                }
              },
              "signature_b64": {
                "type": "string",
                "maxLength": 512,
                "description": "Its base64 Ed25519 signature."
              },
              "public_key_pem": {
                "type": "string",
                "maxLength": 16384,
                "description": "Caller-supplied signer-key evidence in PEM form; it is not a platform trust root."
              }
            },
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "JsonValue": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "integer",
                    "maximum": 1000000000000000,
                    "minimum": -1000000000000000,
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number",
                    "maximum": 1000000000000000,
                    "minimum": -1000000000000000
                  },
                  {
                    "type": "string",
                    "maxLength": 262144,
                    "x-maxUtf8Bytes": 262144
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/JsonValue"
                    },
                    "maxItems": 10000
                  },
                  {
                    "type": "object",
                    "maxProperties": 256,
                    "propertyNames": {
                      "maxLength": 256,
                      "x-maxUtf8Bytes": 256
                    },
                    "additionalProperties": {
                      "$ref": "#/$defs/JsonValue"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "x-maxDepth": 16,
                "x-maxNodes": 10000
              },
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "CertificateRevocation": {
                "type": "object",
                "required": [
                  "sequence",
                  "scope",
                  "match_value",
                  "reason",
                  "revoked_at",
                  "predecessor_entry_hash",
                  "legacy_line_hash",
                  "entry_hash"
                ],
                "properties": {
                  "scope": {
                    "enum": [
                      "certificate_id",
                      "engine_version",
                      "key_id"
                    ],
                    "type": "string"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "sequence": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 1,
                    "x-strictJsonInteger": true
                  },
                  "entry_hash": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "revoked_at": {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1
                  },
                  "match_value": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "legacy_line_hash": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "predecessor_entry_hash": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "status": {
                          "const": "valid"
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "public_key_id",
                        "public_key_fingerprint",
                        "trust_head_hash",
                        "trust_head_sequence"
                      ],
                      "properties": {
                        "valid": {
                          "const": true
                        },
                        "reason": {
                          "const": "valid"
                        },
                        "revoked": {
                          "const": false
                        },
                        "chain_valid": {
                          "const": true
                        },
                        "reason_code": {
                          "const": "valid"
                        },
                        "revocations": {
                          "type": "null"
                        },
                        "public_key_id": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "signature_valid": {
                          "const": true
                        },
                        "trust_head_hash": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "trust_head_sequence": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "public_key_fingerprint": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "revocation_chain_valid": {
                          "const": true
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "status": {
                          "const": "valid_but_revoked"
                        }
                      }
                    },
                    "then": {
                      "required": [
                        "public_key_id",
                        "public_key_fingerprint",
                        "trust_head_hash",
                        "trust_head_sequence",
                        "revocations"
                      ],
                      "properties": {
                        "valid": {
                          "const": false
                        },
                        "reason": {
                          "const": "signature is valid but certificate is revoked"
                        },
                        "revoked": {
                          "const": true
                        },
                        "chain_valid": {
                          "const": true
                        },
                        "reason_code": {
                          "const": "certificate_revoked"
                        },
                        "revocations": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "public_key_id": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "signature_valid": {
                          "const": true
                        },
                        "trust_head_hash": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "trust_head_sequence": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "public_key_fingerprint": {
                          "not": {
                            "type": "null"
                          }
                        },
                        "revocation_chain_valid": {
                          "const": true
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "status": {
                          "const": "invalid"
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "valid": {
                          "const": false
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "_meta",
                  "valid",
                  "signature_valid",
                  "chain_valid",
                  "revocation_chain_valid",
                  "revoked",
                  "status",
                  "reason",
                  "reason_code"
                ],
                "properties": {
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "valid": {
                    "type": "boolean"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "status": {
                    "enum": [
                      "invalid",
                      "valid",
                      "valid_but_revoked"
                    ],
                    "type": "string"
                  },
                  "revoked": {
                    "type": "boolean"
                  },
                  "chain_valid": {
                    "type": "boolean"
                  },
                  "reason_code": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "revocations": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "$ref": "#/$defs/CertificateRevocation"
                        },
                        "maxItems": 10000,
                        "minItems": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "public_key_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^key_[a-f0-9]{16}$",
                        "maxLength": 20,
                        "minLength": 20
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "certificate_id": {
                    "$ref": "#/$defs/JsonValue",
                    "default": null
                  },
                  "signature_valid": {
                    "type": "boolean"
                  },
                  "trust_head_hash": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$",
                        "maxLength": 64,
                        "minLength": 64
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "trust_head_sequence": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9223372036854776000,
                        "minimum": 1,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "public_key_fingerprint": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$",
                        "maxLength": 64,
                        "minLength": 64
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "revocation_chain_valid": {
                    "type": "boolean"
                  }
                },
                "x-relations": [
                  "revocations[*].sequence values are strictly increasing and unique",
                  "max(revocations[*].sequence) <= trust_head_sequence when trust_head_sequence is present"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Verify an AlphaAssay certificate against platform trust",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "assay_provider_protocol",
          "title": "Read the signal-provider falsification protocol",
          "description": "Use this when you want to judge ANY signal seller -- including us --\nwith a machine-readable seven-test falsification protocol you can run\nin an afternoon. It scores methodology, not markets: no buy/sell advice.\nTest ANY signal provider in an afternoon -- the falsification\nprotocol as machine-readable rules.\n\nSeven falsifiable tests that separate edge from selection, runnable\nagainst any signal seller (paid channel, platform, bot) without their\ncooperation: provenance (tamper-proof timestamps or it did not happen),\nsurvivorship (the full issue history incl. losers), pre-registration\n(ten sealed forward calls), placebo (does random timing do as well?),\ncosts (profitable AFTER fees/spread/slippage?), trial accounting (one\nwinner out of how many quiet attempts?), and the examiner test (apply\nit all to whoever grades the signals -- including AlphaAssay: golden\nspecimens, hosted full-trust certificate verification with separate raw\nsignature-only and full offline trust paths, current persisted calibration\nsnapshot).\nEach\ntest carries a machine-checkable failure_condition, and tests 3-6 name\nthe AlphaAssay endpoint that automates them. Static and code-computed:\nthis tool hands you the checklist, it does not rate, score or rank any\nprovider and it never fetches external data. NOT financial advice.\nPrice: free.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "ProviderTest": {
                "type": "object",
                "required": [
                  "id",
                  "n",
                  "question",
                  "how_to_run",
                  "failure_condition",
                  "applies_to_alphaassay",
                  "automated_by"
                ],
                "properties": {
                  "n": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "id": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "question": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "how_to_run": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "automated_by": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ProviderAutomation"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "failure_condition": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "applies_to_alphaassay": {
                    "type": "boolean"
                  },
                  "run_against_alphaassay": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ProviderRunAgainst"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "ProviderAutomation": {
                "type": "object",
                "required": [
                  "mcp",
                  "rest"
                ],
                "properties": {
                  "mcp": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "rest": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  },
                  "failure_code": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\S+$",
                        "maxLength": 256,
                        "minLength": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "ProviderRunAgainst": {
                "type": "object",
                "required": [
                  "golden_specimens",
                  "offline_verify",
                  "calibration"
                ],
                "properties": {
                  "calibration": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "offline_verify": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "golden_specimens": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "required": [
                  "_meta",
                  "schema",
                  "title",
                  "source_url",
                  "principle",
                  "tests",
                  "agent_rules",
                  "applies_to_alphaassay",
                  "note",
                  "price_usd"
                ],
                "properties": {
                  "note": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "tests": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/ProviderTest"
                    },
                    "maxItems": 10000
                  },
                  "title": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "schema": {
                    "type": "string",
                    "const": "provider_protocol.v1"
                  },
                  "price_usd": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  },
                  "principle": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "source_url": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "agent_rules": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "applies_to_alphaassay": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Read the signal-provider falsification protocol",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "assay_preflight",
          "title": "Lint an assay payload before spending credit",
          "description": "Use this when you want to lint the SHAPE of a submission (DSL spec,\ncandles or trades) for free before spending a check, so a typo never\ncosts you one. A format check only -- it gives no buy/sell advice.\nFree payload lint -- fix your submission BEFORE spending a check.\n\nValidates the SHAPE of what you are about to submit, with the same\nmachine-readable failure vocabulary the paid tools use: DSL schema\nvalidity, OHLCV sanity (finite positive prices, aligned series,\nstrictly increasing timestamps), per-symbol data presence, trade-row\ntypes, and an honest size warning when the sample is below the paid\ngates' evidential floor. Send the same spec/ohlcv_by_symbol/trades you\nwould send to assay_gauntlet or assay_signal; get back ok plus named\nfindings (dsl_invalid, timestamps_not_monotonic,\nohlcv_non_finite_or_non_positive, ohlcv_series_misaligned,\nsymbol_data_missing, trades_rows_invalid, sample_below_engine_floor)\nwith plain-language details. Shape lint only -- a clean preflight is\nNOT evidence of an edge and never blesses a signal; it just means your\npaid check will not bounce on format. Code-computed, no ledger write,\nno account needed. NOT financial advice. Price: free.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "JsonValue": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "integer",
                    "maximum": 1000000000000000,
                    "minimum": -1000000000000000,
                    "x-strictJsonInteger": true
                  },
                  {
                    "type": "number",
                    "maximum": 1000000000000000,
                    "minimum": -1000000000000000
                  },
                  {
                    "type": "string",
                    "maxLength": 262144,
                    "x-maxUtf8Bytes": 262144
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/JsonValue"
                    },
                    "maxItems": 10000
                  },
                  {
                    "type": "object",
                    "maxProperties": 256,
                    "propertyNames": {
                      "maxLength": 256,
                      "x-maxUtf8Bytes": 256
                    },
                    "additionalProperties": {
                      "$ref": "#/$defs/JsonValue"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "x-maxDepth": 16,
                "x-maxNodes": 10000
              }
            },
            "properties": {
              "spec": {
                "$ref": "#/$defs/JsonValue",
                "default": null,
                "description": "DSL strategy to lint for shape/DSL errors before you spend a check."
              },
              "trades": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/JsonValue"
                    },
                    "maxItems": 10000
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Trade list to lint instead of a spec."
              },
              "ohlcv_by_symbol": {
                "anyOf": [
                  {
                    "type": "object",
                    "maxProperties": 50,
                    "propertyNames": {
                      "maxLength": 64,
                      "minLength": 1
                    },
                    "patternProperties": {
                      "^\\S+$": {
                        "$ref": "#/$defs/JsonValue"
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Candles per symbol to sanity-check (aligned, finite, positive)."
              }
            },
            "x-maxBodyBytes": 5242880,
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "PublicMeta": {
                "type": "object",
                "required": [
                  "engine_version",
                  "api_version",
                  "as_of",
                  "input_digest",
                  "request_digest",
                  "tenant_scope",
                  "tenant_scope_version",
                  "request_id",
                  "source_identity_digest",
                  "operation",
                  "statefulness",
                  "not_financial_advice",
                  "disclaimer"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
                    "maxLength": 20,
                    "minLength": 20
                  },
                  "operation": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "disclaimer": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "request_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 256
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "api_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "input_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "statefulness": {
                    "enum": [
                      "pure",
                      "public_read",
                      "tenant_read",
                      "tenant_write"
                    ],
                    "type": "string"
                  },
                  "tenant_scope": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "engine_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "request_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "not_financial_advice": {
                    "type": "boolean",
                    "const": true
                  },
                  "tenant_scope_version": {
                    "type": "string",
                    "pattern": "^\\S+$",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "source_identity_digest": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  }
                },
                "x-relations": [
                  "as_of is a real UTC RFC3339 second"
                ],
                "additionalProperties": false
              },
              "PreflightChecked": {
                "type": "object",
                "required": [
                  "spec",
                  "ohlcv_symbols",
                  "trades_rows"
                ],
                "properties": {
                  "spec": {
                    "type": "boolean"
                  },
                  "trades_rows": {
                    "type": "integer",
                    "maximum": 9223372036854776000,
                    "minimum": 0,
                    "x-strictJsonInteger": true
                  },
                  "ohlcv_symbols": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000
                    },
                    "maxItems": 10000
                  }
                },
                "additionalProperties": false
              },
              "PreflightFinding": {
                "type": "object",
                "required": [
                  "code",
                  "level",
                  "detail"
                ],
                "properties": {
                  "code": {
                    "enum": [
                      "dsl_invalid",
                      "timestamps_not_monotonic",
                      "ohlcv_non_finite_or_non_positive",
                      "ohlcv_series_misaligned",
                      "symbol_data_missing",
                      "trades_rows_invalid",
                      "sample_below_engine_floor"
                    ],
                    "type": "string"
                  },
                  "level": {
                    "enum": [
                      "error",
                      "warn"
                    ],
                    "type": "string"
                  },
                  "detail": {
                    "type": "string",
                    "maxLength": 2000
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "object",
                "allOf": [
                  {
                    "if": {
                      "required": [
                        "ok"
                      ],
                      "properties": {
                        "ok": {
                          "const": true
                        }
                      }
                    },
                    "else": {
                      "properties": {
                        "findings": {
                          "contains": {
                            "type": "object",
                            "required": [
                              "level"
                            ],
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "level": {
                                "const": "error"
                              },
                              "detail": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          }
                        }
                      }
                    },
                    "then": {
                      "properties": {
                        "findings": {
                          "not": {
                            "contains": {
                              "type": "object",
                              "required": [
                                "level"
                              ],
                              "properties": {
                                "code": {
                                  "type": "string"
                                },
                                "level": {
                                  "const": "error"
                                },
                                "detail": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": false
                            }
                          }
                        }
                      }
                    }
                  }
                ],
                "required": [
                  "_meta",
                  "schema",
                  "ok",
                  "findings",
                  "checked",
                  "price_usd",
                  "note"
                ],
                "properties": {
                  "ok": {
                    "type": "boolean"
                  },
                  "note": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "_meta": {
                    "$ref": "#/$defs/PublicMeta"
                  },
                  "schema": {
                    "type": "string",
                    "const": "preflight.v1"
                  },
                  "checked": {
                    "$ref": "#/$defs/PreflightChecked"
                  },
                  "findings": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/PreflightFinding"
                    },
                    "maxItems": 10000
                  },
                  "price_usd": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000000000000000,
                        "minimum": 0,
                        "x-strictJsonInteger": true
                      },
                      {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Lint an assay payload before spending credit",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "AlphaAssay -- the independent assay office for trading signals. Code-computed, fail-closed statistical validation of trading strategies, backtests and signals: deflated Sharpe with cumulative trial accounting, leakage forensics, pre-registration whose terms are committed now and queued for later operator-published Merkle inclusion (independent time evidence requires a separately pinned external anchor), and anonymised graveyard statistics over falsified signal families. Gauntlet and other typed dossier outputs expose surface-specific gradient fields; inspect each tool schema instead of assuming universal fields. For example, Gauntlet exposes its first failed stage, machine-readable failure codes, requested matched-placebo count, adversarial survival map, and family trial budget. Relay available specifics to your operator instead of a bare fail. Expect failure: peer-reviewed base rates say most apparent edges are selection noise (Harvey/Liu/Zhu 2016; Bailey/Lopez de Prado 2014); a fail with a named cause is the product working, not failing. The platform grades itself publicly: the current persisted calibration snapshot via assay_calibration, anonymised family mortality via assay_graveyard. assay_pbo grades your whole parameter sweep at once (probability of backtest overfitting, CSCV); assay_batch submits the sweep itself -- every variant a ledger trial; assay_preflight (free) lints your payload before you spend a check; assay_provider_protocol (free) hands you the seven-test falsification protocol for judging ANY signal seller -- including us. Demote-only: verdicts can devalue a signal, never bless one. Certificates are separately issued and offer offline raw-signature verification; full platform trust additionally requires an independently pinned keyring and fails closed without it (assay_certificate_verify). Works for crypto, equities, futures and FX -- the statistics are asset-agnostic. NOT financial advice; no order path. Start with assay_demo (free), look up your idea's family in assay_graveyard (free), then submit via assay_signal. The tool surface grows continuously: this handshake's tools/list is the always-current machine truth, and https://alphaassay.com/docs/tools documents every tool in depth (machine-readable prices: https://api.alphaassay.com/v1/meta/pricing)."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}