{
  "agent": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/CommandHelpPayload",
    "emits": [
      "agent.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": null,
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "agent:read"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Agent prompt workflow namespace for market drafting and validation.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] agent market hype|autocomplete|validate ..."
  },
  "agent.market.autocomplete": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "agent",
      "market",
      "autocomplete"
    ],
    "canonicalTool": "agent.market.autocomplete",
    "canonicalUsage": "pandora [--output table|json] agent market autocomplete --question <text> [--market-type amm|parimutuel]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/AgentMarketPromptPayload",
    "emits": [
      "agent.market.autocomplete",
      "agent.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "market-type": {
          "description": "Target market type.",
          "enum": [
            "amm",
            "parimutuel"
          ]
        },
        "question": {
          "description": "Seed market question to refine into rules, sources, and timing.",
          "type": "string"
        }
      },
      "required": [
        "question"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "agent:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Emit AI prompt text for drafting market rules, sources, and timing.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] agent market autocomplete --question <text> [--market-type amm|parimutuel]"
  },
  "agent.market.hype": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "agent",
      "market",
      "hype"
    ],
    "canonicalTool": "agent.market.hype",
    "canonicalUsage": "pandora [--output table|json] agent market hype --area <sports|esports|politics|regional-news|breaking-news> [--region <text>] [--query <text>] [--market-type auto|amm|parimutuel|both] [--candidate-count <n>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/AgentMarketPromptPayload",
    "emits": [
      "agent.market.hype",
      "agent.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "area": {
          "description": "Trending topic area.",
          "enum": [
            "sports",
            "esports",
            "politics",
            "regional-news",
            "breaking-news"
          ]
        },
        "candidate-count": {
          "description": "Maximum number of candidate markets to draft.",
          "maximum": 5,
          "minimum": 1,
          "type": "integer"
        },
        "market-type": {
          "description": "Planning preference for market type.",
          "enum": [
            "auto",
            "amm",
            "parimutuel",
            "both"
          ]
        },
        "query": {
          "description": "Optional extra search hint or topic constraint.",
          "type": "string"
        },
        "region": {
          "description": "Regional focus. Required when --area regional-news.",
          "type": "string"
        }
      },
      "required": [
        "area"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "agent:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Emit AI prompt text for researching current trending topics and drafting hype market candidates.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] agent market hype --area <sports|esports|politics|regional-news|breaking-news> [--region <text>] [--query <text>] [--market-type auto|amm|parimutuel|both] [--candidate-count <n>]"
  },
  "agent.market.validate": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "agent",
      "market",
      "validate"
    ],
    "canonicalTool": "agent.market.validate",
    "canonicalUsage": "pandora [--output table|json] agent market validate --question <text> --rules <text> --target-timestamp <unix-seconds> [--sources <url...>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/AgentMarketPromptPayload",
    "emits": [
      "agent.market.validate",
      "agent.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "question": {
          "description": "Exact market question to validate.",
          "type": "string"
        },
        "rules": {
          "description": "Exact market rules to validate.",
          "type": "string"
        },
        "sources": {
          "description": "Source URL list.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "target-timestamp": {
          "description": "Resolution timestamp in unix seconds.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "question",
        "rules",
        "target-timestamp"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "agent:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Emit AI validation prompt text plus the exact attestation ticket required for execute mode.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] agent market validate --question <text> --rules <text> --target-timestamp <unix-seconds> [--sources <url...>]"
  },
  "analyze": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "analyze"
    ],
    "canonicalTool": "analyze",
    "canonicalUsage": "pandora [--output table|json] analyze --market-address <address> [--provider <name>] [--model <id>] [--max-cost-usd <n>] [--temperature <n>] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/AnalyzePayload",
    "emits": [
      "analyze",
      "analyze.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "max-cost-usd": {
          "description": "Maximum allowed provider cost in USD.",
          "minimum": 0,
          "type": "number"
        },
        "model": {
          "description": "Model identifier.",
          "type": "string"
        },
        "provider": {
          "description": "Analyze provider name.",
          "type": "string"
        },
        "temperature": {
          "description": "Model temperature.",
          "minimum": 0,
          "type": "number"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "market-address"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "analyze:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Run strategy analysis provider against one market context.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] analyze --market-address <address> [--provider <name>] [--model <id>] [--max-cost-usd <n>] [--temperature <n>] [--timeout-ms <ms>]"
  },
  "arb": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "arb.scan.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "arb:read",
      "network:indexer"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Arbitrage command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] arb scan ..."
  },
  "arb.scan": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "arb",
      "scan"
    ],
    "canonicalTool": "arb.scan",
    "canonicalUsage": "pandora arb scan [--source pandora|polymarket] [--markets <csv>] --output ndjson|json [--limit <n>] [--min-net-spread-pct <n>|--min-spread-pct <n>] [--min-tvl <usdc>] [--fee-pct-per-leg <n>] [--slippage-pct-per-leg <n>] [--amount-usdc <n>] [--combinatorial] [--max-bundle-size <n>] [--matcher heuristic|hybrid] [--similarity-threshold <0-1>] [--min-token-score <0-1>] [--ai-provider auto|none|mock|openai|anthropic] [--ai-model <id>] [--ai-threshold <0-1>] [--ai-max-candidates <n>] [--ai-timeout-ms <ms>] [--max-close-diff-hours <n>] [--question-contains <text>] [--interval-ms <ms>] [--iterations <n>] [--indexer-url <url>] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/ArbScanPayload",
    "emits": [
      "arb.help",
      "arb.scan"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "ai-max-candidates": {
          "description": "Maximum borderline pairs to adjudicate per scan.",
          "minimum": 1,
          "type": "integer"
        },
        "ai-model": {
          "description": "Optional provider model override.",
          "type": "string"
        },
        "ai-provider": {
          "description": "Provider-backed adjudication mode.",
          "enum": [
            "auto",
            "none",
            "mock",
            "openai",
            "anthropic"
          ]
        },
        "ai-threshold": {
          "description": "Minimum model confidence required to override deterministic matching.",
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        },
        "ai-timeout-ms": {
          "description": "Timeout for each provider adjudication request.",
          "minimum": 1,
          "type": "integer"
        },
        "amount-usdc": {
          "description": "Sizing notional in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "combinatorial": {
          "description": "Enable combinatorial bundle search.",
          "type": "boolean"
        },
        "fee-pct-per-leg": {
          "description": "Fee percent per leg.",
          "minimum": 0,
          "type": "number"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "markets": {
          "description": "Comma-delimited market ids when source=pandora.",
          "type": "string"
        },
        "matcher": {
          "description": "Arbitrage matcher mode.",
          "enum": [
            "heuristic",
            "hybrid"
          ]
        },
        "max-bundle-size": {
          "description": "Maximum combinatorial bundle size.",
          "minimum": 3,
          "type": "integer"
        },
        "max-close-diff-hours": {
          "description": "Maximum close-time difference in hours.",
          "minimum": 0,
          "type": "number"
        },
        "min-net-spread-pct": {
          "description": "Minimum net spread percent.",
          "minimum": 0,
          "type": "number"
        },
        "min-spread-pct": {
          "description": "Alias for minimum spread percent.",
          "minimum": 0,
          "type": "number"
        },
        "min-token-score": {
          "description": "Token-overlap threshold.",
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        },
        "min-tvl": {
          "description": "Minimum leg liquidity in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "question-contains": {
          "description": "Question substring filter.",
          "type": "string"
        },
        "similarity-threshold": {
          "description": "Question similarity threshold.",
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        },
        "slippage-pct-per-leg": {
          "description": "Slippage percent per leg.",
          "minimum": 0,
          "type": "number"
        },
        "source": {
          "description": "Opportunity source.",
          "enum": [
            "pandora",
            "polymarket"
          ]
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "arb:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Canonical arbitrage scan command for streaming or bounded spread detection.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora arb scan [--source pandora|polymarket] [--markets <csv>] --output ndjson|json [--limit <n>] [--min-net-spread-pct <n>|--min-spread-pct <n>] [--min-tvl <usdc>] [--fee-pct-per-leg <n>] [--slippage-pct-per-leg <n>] [--amount-usdc <n>] [--combinatorial] [--max-bundle-size <n>] [--matcher heuristic|hybrid] [--similarity-threshold <0-1>] [--min-token-score <0-1>] [--ai-provider auto|none|mock|openai|anthropic] [--ai-model <id>] [--ai-threshold <0-1>] [--ai-max-candidates <n>] [--ai-timeout-ms <ms>] [--max-close-diff-hours <n>] [--question-contains <text>] [--interval-ms <ms>] [--iterations <n>] [--indexer-url <url>] [--timeout-ms <ms>]"
  },
  "autopilot": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/AutopilotPayload",
    "emits": [
      "autopilot.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "filesystem",
      "notification-secrets",
      "webhook-endpoint"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "autopilot:read",
      "secrets:use",
      "webhooks:use"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Autopilot command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": true,
    "usage": "pandora [--output table|json] autopilot run|once --market-address <address> --side yes|no --amount-usdc <amount> [--trigger-yes-below <0-100>] [--trigger-yes-above <0-100>] [--paper|--execute-live] [--interval-ms <ms>] [--cooldown-ms <ms>] [--max-amount-usdc <amount>] [--max-open-exposure-usdc <amount>] [--max-trades-per-day <n>] [--state-file <path>] [--kill-switch-file <path>] [--webhook-url <url>] [--telegram-bot-token <token>] [--telegram-chat-id <id>] [--discord-webhook-url <url>]"
  },
  "autopilot.once": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "autopilot",
      "once"
    ],
    "canonicalTool": "autopilot.once",
    "canonicalUsage": "pandora [--output table|json] autopilot once --market-address <address> --side yes|no --amount-usdc <amount> [--trigger-yes-below <0-100>] [--trigger-yes-above <0-100>] [--paper|--execute-live] [--interval-ms <ms>] [--cooldown-ms <ms>] [--max-amount-usdc <amount>] [--max-open-exposure-usdc <amount>] [--max-trades-per-day <n>] [--state-file <path>] [--kill-switch-file <path>] [--webhook-url <url>] [--telegram-bot-token <token>] [--telegram-chat-id <id>] [--discord-webhook-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/AutopilotPayload",
    "emits": [
      "autopilot",
      "autopilot.help"
    ],
    "executeFlags": [
      "--execute-live"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "filesystem",
      "notification-secrets",
      "webhook-endpoint"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "amount-usdc": {
          "description": "Trade notional in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "cooldown-ms": {
          "description": "Cooldown in milliseconds.",
          "minimum": 0,
          "type": "integer"
        },
        "execute-live": {
          "description": "Execute live autopilot action.",
          "type": "boolean"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "interval-ms": {
          "description": "Tick interval in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "kill-switch-file": {
          "description": "Kill-switch file path.",
          "type": "string"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "max-amount-usdc": {
          "description": "Maximum trade amount in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "max-open-exposure-usdc": {
          "description": "Maximum open exposure in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "max-trades-per-day": {
          "description": "Maximum daily trade count.",
          "minimum": 0,
          "type": "integer"
        },
        "paper": {
          "description": "Run in paper/simulation mode.",
          "type": "boolean"
        },
        "side": {
          "description": "Outcome side.",
          "enum": [
            "yes",
            "no"
          ]
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        },
        "trigger-yes-above": {
          "description": "High YES trigger percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "trigger-yes-below": {
          "description": "Low YES trigger percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "market-address",
        "side",
        "amount-usdc"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "autopilot:write",
      "secrets:use",
      "webhooks:use"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [
      "--paper"
    ],
    "summary": "Run one guarded autopilot iteration.",
    "supportsRemote": true,
    "supportsWebhook": true,
    "usage": "pandora [--output table|json] autopilot once --market-address <address> --side yes|no --amount-usdc <amount> [--trigger-yes-below <0-100>] [--trigger-yes-above <0-100>] [--paper|--execute-live] [--interval-ms <ms>] [--cooldown-ms <ms>] [--max-amount-usdc <amount>] [--max-open-exposure-usdc <amount>] [--max-trades-per-day <n>] [--state-file <path>] [--kill-switch-file <path>] [--webhook-url <url>] [--telegram-bot-token <token>] [--telegram-chat-id <id>] [--discord-webhook-url <url>]"
  },
  "autopilot.run": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "autopilot",
      "run"
    ],
    "canonicalTool": "autopilot.run",
    "canonicalUsage": "pandora [--output table|json] autopilot run --market-address <address> --side yes|no --amount-usdc <amount> [--trigger-yes-below <0-100>] [--trigger-yes-above <0-100>] [--paper|--execute-live] [--interval-ms <ms>] [--cooldown-ms <ms>] [--max-amount-usdc <amount>] [--max-open-exposure-usdc <amount>] [--max-trades-per-day <n>] [--state-file <path>] [--kill-switch-file <path>] [--webhook-url <url>] [--telegram-bot-token <token>] [--telegram-chat-id <id>] [--discord-webhook-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/AutopilotPayload",
    "emits": [
      "autopilot",
      "autopilot.help"
    ],
    "executeFlags": [
      "--execute-live"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 60000,
    "externalDependencies": [
      "filesystem",
      "notification-secrets",
      "webhook-endpoint"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "amount-usdc": {
          "description": "Trade notional in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "cooldown-ms": {
          "description": "Cooldown in milliseconds.",
          "minimum": 0,
          "type": "integer"
        },
        "execute-live": {
          "description": "Execute live autopilot action.",
          "type": "boolean"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "interval-ms": {
          "description": "Tick interval in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "kill-switch-file": {
          "description": "Kill-switch file path.",
          "type": "string"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "max-amount-usdc": {
          "description": "Maximum trade amount in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "max-open-exposure-usdc": {
          "description": "Maximum open exposure in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "max-trades-per-day": {
          "description": "Maximum daily trade count.",
          "minimum": 0,
          "type": "integer"
        },
        "paper": {
          "description": "Run in paper/simulation mode.",
          "type": "boolean"
        },
        "side": {
          "description": "Outcome side.",
          "enum": [
            "yes",
            "no"
          ]
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        }
      },
      "required": [
        "market-address",
        "side",
        "amount-usdc"
      ],
      "type": "object"
    },
    "jobCapable": true,
    "mcpExposed": true,
    "mcpLongRunningBlocked": true,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "autopilot:run",
      "secrets:use",
      "jobs:run",
      "webhooks:use"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [
      "--paper"
    ],
    "summary": "Run continuous guarded autopilot loop.",
    "supportsRemote": true,
    "supportsWebhook": true,
    "usage": "pandora [--output table|json] autopilot run --market-address <address> --side yes|no --amount-usdc <amount> [--trigger-yes-below <0-100>] [--trigger-yes-above <0-100>] [--paper|--execute-live] [--interval-ms <ms>] [--cooldown-ms <ms>] [--max-amount-usdc <amount>] [--max-open-exposure-usdc <amount>] [--max-trades-per-day <n>] [--state-file <path>] [--kill-switch-file <path>] [--webhook-url <url>] [--telegram-bot-token <token>] [--telegram-chat-id <id>] [--discord-webhook-url <url>]"
  },
  "bootstrap": {
    "agentWorkflow": {
      "notes": [
        "Start with capabilities to detect transport availability, remote endpoints, and documentation digests.",
        "Load schema next to capture JSON envelopes, command descriptors, and canonicalTool/preferred guidance before selecting tools.",
        "Prefer canonical tools whose preferred flag is true; treat aliasOf entries as backward-compatible compatibility aliases."
      ],
      "recommendedTools": [
        "help"
      ],
      "requiredTools": [
        "capabilities",
        "schema"
      ]
    },
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "bootstrap"
    ],
    "canonicalTool": "bootstrap",
    "canonicalUsage": "pandora [--output json] bootstrap [--include-compatibility]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/BootstrapPayload",
    "emits": [
      "bootstrap",
      "bootstrap.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 250,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "include-compatibility": {
          "description": "Include compatibility aliases in the bootstrap tool view.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "json"
    ],
    "policyScopes": [
      "bootstrap:read",
      "capabilities:read",
      "contracts:read",
      "schema:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": "capabilities",
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": "capabilities",
    "safeFlags": [],
    "summary": "Canonical agent bootstrap payload for cold clients and preferred-tool discovery.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output json] bootstrap [--include-compatibility]"
  },
  "bridge": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "bridge.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "wallet-secrets",
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "bridge:read",
      "secrets:use",
      "network:rpc"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Bridge planning and LayerZero execution help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] bridge plan|execute --target pandora|polymarket --amount-usdc <n> [--wallet <address>] [--to-wallet <address>] [--rpc-url <url>] [--polymarket-rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--funder <address>] [--usdc <address>] [--timeout-ms <ms>]"
  },
  "bridge.execute": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "bridge",
      "execute"
    ],
    "canonicalTool": "bridge.execute",
    "canonicalUsage": "pandora [--output table|json] bridge execute --target pandora|polymarket --amount-usdc <n> --dry-run|--execute [--provider layerzero] [--wallet <address>] [--to-wallet <address>] [--rpc-url <url>] [--polymarket-rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--funder <address>] [--usdc <address>] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "bridge.execute",
      "bridge.execute.help",
      "bridge.help"
    ],
    "executeFlags": [
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 2000,
    "externalDependencies": [
      "wallet-secrets",
      "chain-rpc",
      "rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "amount-usdc": {
          "description": "Amount of collateral that must land on the destination side.",
          "minimum": 0,
          "type": "number"
        },
        "dry-run": {
          "description": "Return LayerZero preflight without broadcasting a transaction.",
          "type": "boolean"
        },
        "execute": {
          "description": "Submit the LayerZero source-chain transaction after preflight passes.",
          "type": "boolean"
        },
        "funder": {
          "description": "Polymarket proxy wallet override.",
          "type": "string"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "polymarket-rpc-url": {
          "description": "Polygon RPC URL override used for destination-side balance reads.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "provider": {
          "description": "Bridge provider. Only layerzero is currently supported.",
          "enum": [
            "layerzero"
          ]
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "target": {
          "description": "Funding destination to bridge for.",
          "enum": [
            "pandora",
            "polymarket"
          ]
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "to-wallet": {
          "description": "Destination wallet override.",
          "type": "string"
        },
        "usdc": {
          "description": "USDC token address override.",
          "type": "string"
        },
        "wallet": {
          "description": "Wallet address.",
          "type": "string"
        }
      },
      "required": [
        "target",
        "amount-usdc"
      ],
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "required": [
              "dry-run"
            ]
          },
          {
            "required": [
              "execute"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "bridge:write",
      "secrets:use",
      "network:rpc"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [
      "--dry-run"
    ],
    "summary": "Dry-run or execute a LayerZero bridge submission for Pandora or Polymarket collateral funding.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] bridge execute --target pandora|polymarket --amount-usdc <n> --dry-run|--execute [--provider layerzero] [--wallet <address>] [--to-wallet <address>] [--rpc-url <url>] [--polymarket-rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--funder <address>] [--usdc <address>] [--timeout-ms <ms>]"
  },
  "bridge.plan": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "bridge",
      "plan"
    ],
    "canonicalTool": "bridge.plan",
    "canonicalUsage": "pandora [--output table|json] bridge plan --target pandora|polymarket --amount-usdc <n> [--wallet <address>] [--to-wallet <address>] [--rpc-url <url>] [--polymarket-rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--funder <address>] [--usdc <address>] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "bridge.plan",
      "bridge.plan.help",
      "bridge.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1500,
    "externalDependencies": [
      "wallet-secrets",
      "chain-rpc",
      "rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "amount-usdc": {
          "description": "Amount of collateral that must land on the destination side.",
          "minimum": 0,
          "type": "number"
        },
        "funder": {
          "description": "Polymarket proxy wallet override.",
          "type": "string"
        },
        "polymarket-rpc-url": {
          "description": "Polygon RPC URL override used for destination-side balance reads.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "target": {
          "description": "Funding destination to plan for.",
          "enum": [
            "pandora",
            "polymarket"
          ]
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "to-wallet": {
          "description": "Destination wallet override.",
          "type": "string"
        },
        "usdc": {
          "description": "USDC token address override.",
          "type": "string"
        },
        "wallet": {
          "description": "Wallet address.",
          "type": "string"
        }
      },
      "required": [
        "target",
        "amount-usdc"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "bridge:read",
      "secrets:use",
      "network:rpc"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Read a planner-only ETH <-> Polygon USDC funding route for Pandora or Polymarket shortfalls.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] bridge plan --target pandora|polymarket --amount-usdc <n> [--wallet <address>] [--to-wallet <address>] [--rpc-url <url>] [--polymarket-rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--funder <address>] [--usdc <address>] [--timeout-ms <ms>]"
  },
  "capabilities": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "capabilities"
    ],
    "canonicalTool": "capabilities",
    "canonicalUsage": "pandora [--output json] capabilities [--include-compatibility] [--runtime-local-readiness]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/CapabilitiesPayload",
    "emits": [
      "capabilities",
      "capabilities.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 250,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CapabilitiesHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "include-compatibility": {
          "description": "Include compatibility aliases in default discovery maps and digests.",
          "type": "boolean"
        },
        "runtime-local-readiness": {
          "description": "Use current host readiness instead of artifact-neutral readiness.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "json"
    ],
    "policyScopes": [
      "capabilities:read",
      "contracts:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Return a compact runtime capability digest for agents.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output json] capabilities [--include-compatibility] [--runtime-local-readiness]"
  },
  "claim": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "claim"
    ],
    "canonicalTool": "claim",
    "canonicalUsage": "pandora [--output table|json] claim [--dotenv-path <path>] [--skip-dotenv] --market-address <address>|--all [--wallet <address>] --dry-run|--execute [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--indexer-url <url>] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/ClaimPayload",
    "emits": [
      "claim",
      "claim.help"
    ],
    "executeFlags": [
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "filesystem",
      "wallet-secrets",
      "indexer-api",
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "all": {
          "description": "Claim on all discovered finalized markets.",
          "type": "boolean"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "dotenv-path": {
          "description": "Env file path.",
          "type": "string"
        },
        "dry-run": {
          "description": "Run dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute live claims.",
          "type": "boolean"
        },
        "fork": {
          "description": "Run in fork mode.",
          "type": "boolean"
        },
        "fork-chain-id": {
          "description": "Fork chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "fork-rpc-url": {
          "description": "Fork RPC URL.",
          "type": "string"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "skip-dotenv": {
          "description": "Skip env loading.",
          "type": "boolean"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "wallet": {
          "description": "Wallet address.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "claim:write",
      "secrets:use",
      "network:rpc",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [
      "--dry-run"
    ],
    "summary": "Dry-run or execute winnings redemption for one market or all discovered markets.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] claim [--dotenv-path <path>] [--skip-dotenv] --market-address <address>|--all [--wallet <address>] --dry-run|--execute [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--indexer-url <url>] [--timeout-ms <ms>]"
  },
  "clone-bet": {
    "agentWorkflow": {
      "executeRequiresValidation": true,
      "notes": [
        "When an agent drafts or executes a clone-bet market, validate the final payload before execute mode."
      ],
      "recommendedTools": [
        "agent.market.autocomplete"
      ],
      "requiredTools": [
        "agent.market.validate"
      ]
    },
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "clone-bet.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table"
    ],
    "policyScopes": [
      "clone-bet:write",
      "secrets:use",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": false,
    "recommendedPreflightTool": "agent.market.validate",
    "remoteEligible": false,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Clone a market and optionally place an initial bet via the interactive/non-JSON flow.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora clone-bet --dry-run|--execute [options] --question \"<text>\" --rules \"<resolution rules>\" --sources \"<url1>\" \"<url2>\" [more] --target-timestamp <unix-seconds>"
  },
  "dashboard": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "dashboard"
    ],
    "canonicalTool": "dashboard",
    "canonicalUsage": "pandora [--output table|json] dashboard [--with-live|--no-live] [--watch] [--refresh-ms <ms>] [--iterations <n>] [--wallet <address>] [--chain-id <id>] [--rpc-url <url>] [--polymarket-rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--funder <address>] [--usdc <address>] [--trust-deploy] [--manifest-file <path>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--indexer-url <url>] [--timeout-ms <ms>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "dashboard",
      "dashboard.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 2500,
    "externalDependencies": [
      "wallet-secrets",
      "indexer-api",
      "chain-rpc",
      "filesystem",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "drift-trigger-bps": {
          "description": "Drift trigger in basis points used when projecting live sync posture.",
          "minimum": 1,
          "type": "integer"
        },
        "funder": {
          "description": "Polymarket proxy wallet override used for liquid-capital balance reads.",
          "type": "string"
        },
        "hedge-trigger-usdc": {
          "description": "Hedge trigger size in USDC used when projecting live sync posture.",
          "minimum": 0,
          "type": "number"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "iterations": {
          "description": "Number of snapshots to collect in watch mode.",
          "minimum": 1,
          "type": "integer"
        },
        "manifest-file": {
          "description": "Mirror manifest path.",
          "type": "string"
        },
        "no-live": {
          "description": "Disable live enrichment and return state/daemon-only dashboard data.",
          "type": "boolean"
        },
        "polymarket-gamma-mock-url": {
          "description": "Polymarket Gamma mock URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-gamma-url": {
          "description": "Polymarket Gamma API base URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override for live diagnostics.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock CLOB URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-rpc-url": {
          "description": "Polymarket RPC URL override used for liquid-capital balance reads.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "refresh-ms": {
          "description": "Refresh interval in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "trust-deploy": {
          "description": "Trust manifest deploy pairs during live enrichment.",
          "type": "boolean"
        },
        "usdc": {
          "description": "USDC token address override.",
          "type": "string"
        },
        "wallet": {
          "description": "Wallet address.",
          "type": "string"
        },
        "watch": {
          "description": "Refresh the dashboard on an interval. JSON mode requires a bounded `--iterations` count.",
          "type": "boolean"
        },
        "with-live": {
          "description": "Force live enrichment on for the dashboard items.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "dashboard:read",
      "secrets:use",
      "network:rpc",
      "network:indexer",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Read the active-mirror operator dashboard across discovered mirror contexts, with optional refresh mode plus claimable and liquid-capital rollups.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] dashboard [--with-live|--no-live] [--watch] [--refresh-ms <ms>] [--iterations <n>] [--wallet <address>] [--chain-id <id>] [--rpc-url <url>] [--polymarket-rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--funder <address>] [--usdc <address>] [--trust-deploy] [--manifest-file <path>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--indexer-url <url>] [--timeout-ms <ms>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]"
  },
  "debug": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "debug.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "debug:read"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Debug command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] debug market|tx ..."
  },
  "debug.market": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "debug",
      "market"
    ],
    "canonicalTool": "debug.market",
    "canonicalUsage": "pandora [--output table|json] debug market --market-address <address>|--poll-address <address> [--chain-id <id>] [--limit <n>] [--indexer-url <url>] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "debug.market",
      "debug.market.help",
      "debug.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1200,
    "externalDependencies": [
      "indexer-api",
      "indexer"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "poll-address": {
          "description": "Poll address.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "poll-address"
                  ]
                },
                {
                  "required": [
                    "poll-address"
                  ]
                }
              ]
            },
            "required": [
              "market-address"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                }
              ]
            },
            "required": [
              "poll-address"
            ]
          }
        ],
        "requiredAnyOf": [
          {
            "required": [
              "market-address"
            ]
          },
          {
            "required": [
              "poll-address"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "debug:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Read a single-market forensic snapshot with poll, position, trade, liquidity, and claim context.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] debug market --market-address <address>|--poll-address <address> [--chain-id <id>] [--limit <n>] [--indexer-url <url>] [--timeout-ms <ms>]"
  },
  "debug.tx": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "debug",
      "tx"
    ],
    "canonicalTool": "debug.tx",
    "canonicalUsage": "pandora [--output table|json] debug tx --tx-hash <hash> [--chain-id <id>] [--limit <n>] [--indexer-url <url>] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "debug.tx",
      "debug.tx.help",
      "debug.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1200,
    "externalDependencies": [
      "indexer-api",
      "indexer"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "tx-hash": {
          "description": "Transaction hash.",
          "type": "string"
        }
      },
      "required": [
        "tx-hash"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "debug:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Correlate indexed trades and events for a single transaction hash.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] debug tx --tx-hash <hash> [--chain-id <id>] [--limit <n>] [--indexer-url <url>] [--timeout-ms <ms>]"
  },
  "doctor": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/DoctorPayload",
    "emits": [
      "doctor",
      "doctor.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "filesystem",
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "doctor:read",
      "network:rpc"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Run environment and connectivity diagnostics.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] doctor [--dotenv-path <path>] [--skip-dotenv] [--check-usdc-code] [--check-polymarket] [--rpc-timeout-ms <ms>]"
  },
  "events": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/PagedEntityPayload",
    "emits": [
      "events.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "events:read",
      "network:indexer"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Event command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] events list|get ..."
  },
  "events.get": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "events",
      "get"
    ],
    "canonicalTool": "events.get",
    "canonicalUsage": "pandora [--output table|json] events get --id <id>",
    "controlInputNames": [],
    "dataSchema": "#/definitions/EntityCollectionPayload",
    "emits": [
      "events.get",
      "events.get.help",
      "events.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "description": "Event id.",
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "events:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Get one event by id.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] events get --id <id>"
  },
  "events.list": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "events",
      "list"
    ],
    "canonicalTool": "events.list",
    "canonicalUsage": "pandora [--output table|json] events list [--wallet <address>] [--market-address <address>] [--chain-id <id>] [--status open|won|lost|closed|all] [--limit <n>] [--after <cursor>] [--before <cursor>] [--order-by <field>] [--order-direction asc|desc]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PagedEntityPayload",
    "emits": [
      "events.list",
      "events.list.help",
      "events.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "after": {
          "description": "Pagination cursor.",
          "type": "string"
        },
        "before": {
          "description": "Pagination cursor.",
          "type": "string"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "order-by": {
          "description": "Sort field.",
          "type": "string"
        },
        "order-direction": {
          "description": "Sort direction.",
          "enum": [
            "asc",
            "desc"
          ]
        },
        "status": {
          "description": "Event status filter.",
          "enum": [
            "open",
            "won",
            "lost",
            "closed",
            "all"
          ]
        },
        "wallet": {
          "description": "Wallet address.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "events:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "List event entities.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] events list [--wallet <address>] [--market-address <address>] [--chain-id <id>] [--status open|won|lost|closed|all] [--limit <n>] [--after <cursor>] [--before <cursor>] [--order-by <field>] [--order-direction asc|desc]"
  },
  "explain": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "explain"
    ],
    "canonicalTool": "explain",
    "canonicalUsage": "pandora [--output table|json] explain <error-code>|--code <code> [--message <text>] [--details-json <json>] [--stdin]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/ExplainPayload",
    "emits": [
      "explain",
      "explain.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 100,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "description": "Canonical Pandora error code to explain.",
          "type": "string"
        },
        "details-json": {
          "description": "Optional JSON object string containing structured error details.",
          "type": "string"
        },
        "message": {
          "description": "Optional error message to preserve alongside the code.",
          "type": "string"
        },
        "stdin": {
          "description": "Local CLI helper: read a raw error object or full Pandora JSON failure envelope from stdin.",
          "type": "boolean"
        }
      },
      "type": "object",
      "xPandora": {
        "requiredAnyOf": [
          {
            "required": [
              "code"
            ]
          },
          {
            "required": [
              "stdin"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "explain:read",
      "contracts:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Explain a Pandora error code or error envelope and return canonical remediation.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] explain <error-code>|--code <code> [--message <text>] [--details-json <json>] [--stdin]"
  },
  "export": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "export"
    ],
    "canonicalTool": "export",
    "canonicalUsage": "pandora [--output table|json] export --wallet <address> --format csv|json [--chain-id <id>] [--year <yyyy>] [--from <unix>] [--to <unix>] [--out <path>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/ExportPayload",
    "emits": [
      "export",
      "export.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "filesystem",
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "format": {
          "description": "Export format.",
          "enum": [
            "csv",
            "json"
          ]
        },
        "from": {
          "description": "Unix timestamp lower bound.",
          "minimum": 0,
          "type": "integer"
        },
        "out": {
          "description": "Output file path.",
          "type": "string"
        },
        "to": {
          "description": "Unix timestamp upper bound.",
          "minimum": 0,
          "type": "integer"
        },
        "wallet": {
          "description": "Wallet address.",
          "type": "string"
        },
        "year": {
          "description": "Calendar year filter.",
          "minimum": 2000,
          "type": "integer"
        }
      },
      "required": [
        "wallet",
        "format"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "export:write",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Export deterministic history rows as csv or json.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] export --wallet <address> --format csv|json [--chain-id <id>] [--year <yyyy>] [--from <unix>] [--to <unix>] [--out <path>]"
  },
  "fees": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "fees"
    ],
    "canonicalTool": "fees",
    "canonicalUsage": "pandora [--output table|json] fees [--wallet <address>] [--chain-id <id>] [--tx-hash <hash>] [--event-name <name>] [--limit <n>] [--before <cursor>] [--after <cursor>] [--order-direction asc|desc] [--indexer-url <url>] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "fees",
      "fees.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 800,
    "externalDependencies": [
      "indexer-api",
      "indexer"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "after": {
          "description": "Cursor after.",
          "type": "string"
        },
        "before": {
          "description": "Cursor before.",
          "type": "string"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "event-name": {
          "description": "Oracle-fee event name filter.",
          "type": "string"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "order-direction": {
          "description": "Sort direction.",
          "enum": [
            "asc",
            "desc"
          ]
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "tx-hash": {
          "description": "Transaction hash filter.",
          "type": "string"
        },
        "wallet": {
          "description": "Wallet address.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "fees:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Read indexed oracle-fee history and recipient summaries. Use `fees.withdraw` for market-level protocol-fee withdrawals.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] fees [--wallet <address>] [--chain-id <id>] [--tx-hash <hash>] [--event-name <name>] [--limit <n>] [--before <cursor>] [--after <cursor>] [--order-direction asc|desc] [--indexer-url <url>] [--timeout-ms <ms>]"
  },
  "fees.withdraw": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "fees",
      "withdraw"
    ],
    "canonicalTool": "fees.withdraw",
    "canonicalUsage": "pandora [--output table|json] fees withdraw --market-address <address> --dry-run|--execute [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--dotenv-path <path>] [--skip-dotenv] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "fees.withdraw",
      "fees.withdraw.help",
      "fees.help"
    ],
    "executeFlags": [
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 1200,
    "externalDependencies": [
      "filesystem",
      "wallet-secrets",
      "chain-rpc",
      "rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "dotenv-path": {
          "description": "Env file path.",
          "type": "string"
        },
        "dry-run": {
          "description": "Run dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute the withdrawal transaction.",
          "type": "boolean"
        },
        "fork": {
          "description": "Run in fork mode.",
          "type": "boolean"
        },
        "fork-chain-id": {
          "description": "Fork chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "fork-rpc-url": {
          "description": "Fork RPC URL.",
          "type": "string"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "skip-dotenv": {
          "description": "Skip env loading.",
          "type": "boolean"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "market-address"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "fees:write",
      "secrets:use",
      "network:rpc"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [
      "--dry-run"
    ],
    "summary": "Dry-run or execute a market-level `withdrawProtocolFees()` call on a Pandora AMM market contract.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] fees withdraw --market-address <address> --dry-run|--execute [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--dotenv-path <path>] [--skip-dotenv] [--timeout-ms <ms>]"
  },
  "fund-check": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "fund-check"
    ],
    "canonicalTool": "fund-check",
    "canonicalUsage": "pandora [--output table|json] fund-check --state-file <path>|--strategy-hash <hash>|(--pandora-market-address <address>|--market-address <address>) (--polymarket-market-id <id>|--polymarket-slug <slug>) [--target-pct <0-100>] [--trust-deploy] [--manifest-file <path>] [--indexer-url <url>] [--timeout-ms <ms>] [--rpc-url <url>] [--polymarket-rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--funder <address>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "fund-check",
      "fund-check.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1500,
    "externalDependencies": [
      "filesystem",
      "wallet-secrets",
      "indexer-api",
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "drift-trigger-bps": {
          "description": "Drift trigger in basis points used when projecting live sync posture.",
          "minimum": 1,
          "type": "integer"
        },
        "funder": {
          "description": "Polymarket proxy wallet.",
          "type": "string"
        },
        "hedge-trigger-usdc": {
          "description": "Hedge trigger size in USDC used when projecting live sync posture.",
          "minimum": 0,
          "type": "number"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "manifest-file": {
          "description": "Mirror manifest path.",
          "type": "string"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "pandora-market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "polymarket-gamma-mock-url": {
          "description": "Polymarket Gamma mock URL.",
          "type": "string"
        },
        "polymarket-gamma-url": {
          "description": "Polymarket Gamma API base URL.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override.",
          "type": "string"
        },
        "polymarket-market-id": {
          "description": "Polymarket market id.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock CLOB URL.",
          "type": "string"
        },
        "polymarket-rpc-url": {
          "description": "Polygon RPC URL used for Polymarket balance and readiness checks.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Polymarket slug.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        },
        "strategy-hash": {
          "description": "Mirror strategy hash.",
          "type": "string"
        },
        "target-pct": {
          "description": "Target Pandora YES probability percent used for exact rebalance sizing.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "trust-deploy": {
          "description": "Trust manifest deploy pairs during live enrichment.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "fund-check:read",
      "secrets:use",
      "network:rpc",
      "network:indexer",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Estimate immediate hedge funding needs from live mirror gaps, then compare them against Polymarket balances, approvals, and gas reserve. This is the canonical high-level wallet shortfall planner.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] fund-check --state-file <path>|--strategy-hash <hash>|(--pandora-market-address <address>|--market-address <address>) (--polymarket-market-id <id>|--polymarket-slug <slug>) [--target-pct <0-100>] [--trust-deploy] [--manifest-file <path>] [--indexer-url <url>] [--timeout-ms <ms>] [--rpc-url <url>] [--polymarket-rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--funder <address>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]"
  },
  "help": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "help"
    ],
    "canonicalTool": "help",
    "canonicalUsage": "pandora [--output table|json] help",
    "controlInputNames": [],
    "dataSchema": "#/definitions/HelpPayload",
    "emits": [
      "help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 150,
    "externalDependencies": [],
    "helpDataSchema": null,
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {},
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "help:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Display top-level usage and global flag metadata.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] help"
  },
  "history": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "history"
    ],
    "canonicalTool": "history",
    "canonicalUsage": "pandora [--output table|json] history --wallet <address> [--chain-id <id>] [--market-address <address>] [--side yes|no|both] [--status all|open|won|lost|closed] [--limit <n>] [--after <cursor>] [--before <cursor>] [--order-by timestamp|pnl|entry-price|mark-price] [--order-direction asc|desc] [--include-seed]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/HistoryPayload",
    "emits": [
      "history",
      "history.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "after": {
          "description": "Pagination cursor.",
          "type": "string"
        },
        "before": {
          "description": "Pagination cursor.",
          "type": "string"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "include-seed": {
          "description": "Include seed trades.",
          "type": "boolean"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "order-by": {
          "description": "Sort field.",
          "enum": [
            "timestamp",
            "pnl",
            "entry-price",
            "mark-price"
          ]
        },
        "order-direction": {
          "description": "Sort direction.",
          "enum": [
            "asc",
            "desc"
          ]
        },
        "side": {
          "description": "Outcome side filter.",
          "enum": [
            "yes",
            "no",
            "both"
          ]
        },
        "status": {
          "description": "History status filter.",
          "enum": [
            "all",
            "open",
            "won",
            "lost",
            "closed"
          ]
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "wallet": {
          "description": "Wallet address.",
          "type": "string"
        }
      },
      "required": [
        "wallet"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "history:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Query historical trades with approximated mark and PnL analytics.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] history --wallet <address> [--chain-id <id>] [--market-address <address>] [--side yes|no|both] [--status all|open|won|lost|closed] [--limit <n>] [--after <cursor>] [--before <cursor>] [--order-by timestamp|pnl|entry-price|mark-price] [--order-direction asc|desc] [--include-seed]"
  },
  "init-env": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/InitEnvPayload",
    "emits": [
      "init-env",
      "init-env.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1000,
    "externalDependencies": [
      "filesystem"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "init-env:write"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Write a starter env file from the example template.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] init-env [--force] [--dotenv-path <path>] [--example <path>]"
  },
  "launch": {
    "agentWorkflow": {
      "executeRequiresValidation": true,
      "notes": [
        "When an agent drafts or executes a manual launch market, run autocomplete first if rules or timing still need refinement.",
        "Run agent.market.validate on the final payload before any execute path."
      ],
      "recommendedTools": [
        "agent.market.autocomplete"
      ],
      "requiredTools": [
        "agent.market.validate"
      ]
    },
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "launch.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table"
    ],
    "policyScopes": [
      "launch:write",
      "secrets:use",
      "network:rpc"
    ],
    "preferred": false,
    "recommendedPreflightTool": "agent.market.validate",
    "remoteEligible": false,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Launch a one-off market via the interactive/non-JSON deployment flow.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora launch --dry-run|--execute [options] --question \"<text>\" --rules \"<resolution rules>\" --sources \"<url1>\" \"<url2>\" [more] --target-timestamp <unix-seconds>"
  },
  "leaderboard": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "leaderboard"
    ],
    "canonicalTool": "leaderboard",
    "canonicalUsage": "pandora [--output table|json] leaderboard [--metric profit|volume|win-rate] [--chain-id <id>] [--limit <n>] [--min-trades <n>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/LeaderboardPayload",
    "emits": [
      "leaderboard",
      "leaderboard.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "metric": {
          "description": "Leaderboard metric.",
          "enum": [
            "profit",
            "volume",
            "win-rate"
          ]
        },
        "min-trades": {
          "description": "Minimum trade count.",
          "minimum": 0,
          "type": "integer"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "leaderboard:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Compute wallet rankings from historical trade outcomes.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] leaderboard [--metric profit|volume|win-rate] [--chain-id <id>] [--limit <n>] [--min-trades <n>]"
  },
  "lifecycle": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/LifecyclePayload",
    "emits": [
      "lifecycle.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "lifecycle:read",
      "network:rpc"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Manage file-based lifecycle state for detect to resolve workflow.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] lifecycle start --config <file> | status --id <id> | resolve --id <id> --confirm"
  },
  "lifecycle.resolve": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "lifecycle",
      "resolve"
    ],
    "canonicalTool": "lifecycle.resolve",
    "canonicalUsage": "pandora [--output table|json] lifecycle resolve --id <id> --confirm",
    "controlInputNames": [],
    "dataSchema": "#/definitions/LifecyclePayload",
    "emits": [
      "lifecycle.resolve",
      "lifecycle.resolve.help",
      "lifecycle.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": true,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "non-idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "confirm": {
          "description": "Explicit confirmation to resolve lifecycle.",
          "type": "boolean"
        },
        "id": {
          "description": "Lifecycle id.",
          "type": "string"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        }
      },
      "required": [
        "id",
        "confirm"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "lifecycle:write",
      "network:rpc"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Mark lifecycle as resolved after explicit operator confirmation.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] lifecycle resolve --id <id> --confirm"
  },
  "lifecycle.start": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "lifecycle",
      "start"
    ],
    "canonicalTool": "lifecycle.start",
    "canonicalUsage": "pandora [--output table|json] lifecycle start --config <file>",
    "controlInputNames": [],
    "dataSchema": "#/definitions/LifecyclePayload",
    "emits": [
      "lifecycle.start",
      "lifecycle.start.help",
      "lifecycle.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": true,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 60000,
    "externalDependencies": [
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "non-idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "config": {
          "description": "Lifecycle config JSON path.",
          "type": "string"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        }
      },
      "required": [
        "config"
      ],
      "type": "object"
    },
    "jobCapable": true,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "lifecycle:run",
      "network:rpc",
      "jobs:run"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Create lifecycle state from a config file.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] lifecycle start --config <file>"
  },
  "lifecycle.status": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "lifecycle",
      "status"
    ],
    "canonicalTool": "lifecycle.status",
    "canonicalUsage": "pandora [--output table|json] lifecycle status --id <id>",
    "controlInputNames": [],
    "dataSchema": "#/definitions/LifecyclePayload",
    "emits": [
      "lifecycle.status",
      "lifecycle.status.help",
      "lifecycle.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "description": "Lifecycle id.",
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "lifecycle:read",
      "network:rpc"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Inspect lifecycle state by id.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] lifecycle status --id <id>"
  },
  "lp": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/LpPayload",
    "emits": [
      "lp.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "wallet-secrets",
      "indexer-api",
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "lp:write",
      "secrets:use",
      "network:rpc",
      "network:indexer"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "LP command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] lp add|remove|positions [--market-address <address>] [--wallet <address>] [--amount-usdc <n>] [--lp-tokens <n>|--all|--all-markets] [--dry-run|--execute] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--usdc <address>] [--deadline-seconds <n>] [--indexer-url <url>] [--timeout-ms <ms>]\npandora [--output table|json] lp simulate-remove --market-address <address> [--wallet <address>] [--lp-tokens <n>|--all] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>]"
  },
  "lp.add": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "lp",
      "add"
    ],
    "canonicalTool": "lp.add",
    "canonicalUsage": "pandora [--output table|json] lp add --market-address <address> --amount-usdc <n> --dry-run|--execute [--wallet <address>] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--usdc <address>] [--deadline-seconds <n>] [--indexer-url <url>] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/LpPayload",
    "emits": [
      "lp.help"
    ],
    "executeFlags": [
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "wallet-secrets",
      "indexer-api",
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "amount-usdc": {
          "description": "LP add amount in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "deadline-seconds": {
          "description": "Deadline offset in seconds.",
          "minimum": 1,
          "type": "integer"
        },
        "dry-run": {
          "description": "Run dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute live LP add.",
          "type": "boolean"
        },
        "fork": {
          "description": "Run in fork mode.",
          "type": "boolean"
        },
        "fork-chain-id": {
          "description": "Fork chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "fork-rpc-url": {
          "description": "Fork RPC URL.",
          "type": "string"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "usdc": {
          "description": "USDC token address override.",
          "type": "string"
        },
        "wallet": {
          "description": "Wallet address.",
          "type": "string"
        }
      },
      "required": [
        "market-address",
        "amount-usdc"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "lp:write",
      "secrets:use",
      "network:rpc",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [
      "--dry-run"
    ],
    "summary": "Dry-run or execute LP add.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] lp add --market-address <address> --amount-usdc <n> --dry-run|--execute [--wallet <address>] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--usdc <address>] [--deadline-seconds <n>] [--indexer-url <url>] [--timeout-ms <ms>]"
  },
  "lp.positions": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "lp",
      "positions"
    ],
    "canonicalTool": "lp.positions",
    "canonicalUsage": "pandora [--output table|json] lp positions [--market-address <address>] [--wallet <address>] [--indexer-url <url>] [--timeout-ms <ms>] [--rpc-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/LpPayload",
    "emits": [
      "lp.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api",
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "wallet": {
          "description": "Wallet address.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "lp:read",
      "network:rpc",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Read LP positions for a wallet.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] lp positions [--market-address <address>] [--wallet <address>] [--indexer-url <url>] [--timeout-ms <ms>] [--rpc-url <url>]"
  },
  "lp.remove": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "lp",
      "remove"
    ],
    "canonicalTool": "lp.remove",
    "canonicalUsage": "pandora [--output table|json] lp remove [--market-address <address>] [--wallet <address>] [--lp-tokens <n>|--all|--all-markets] --dry-run|--execute [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--usdc <address>] [--deadline-seconds <n>] [--indexer-url <url>] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/LpPayload",
    "emits": [
      "lp.help"
    ],
    "executeFlags": [
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "wallet-secrets",
      "indexer-api",
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "all": {
          "description": "Remove full LP balance for the selected market.",
          "type": "boolean"
        },
        "all-markets": {
          "description": "Remove LP from every discovered market.",
          "type": "boolean"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "deadline-seconds": {
          "description": "Deadline offset in seconds.",
          "minimum": 1,
          "type": "integer"
        },
        "dry-run": {
          "description": "Run dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute live LP remove.",
          "type": "boolean"
        },
        "fork": {
          "description": "Run in fork mode.",
          "type": "boolean"
        },
        "fork-chain-id": {
          "description": "Fork chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "fork-rpc-url": {
          "description": "Fork RPC URL.",
          "type": "string"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "lp-tokens": {
          "description": "LP token amount to remove.",
          "minimum": 0,
          "type": "number"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "usdc": {
          "description": "USDC token address override.",
          "type": "string"
        },
        "wallet": {
          "description": "Wallet address.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "lp:write",
      "secrets:use",
      "network:rpc",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [
      "--dry-run"
    ],
    "summary": "Dry-run or execute LP remove.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] lp remove [--market-address <address>] [--wallet <address>] [--lp-tokens <n>|--all|--all-markets] --dry-run|--execute [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--usdc <address>] [--deadline-seconds <n>] [--indexer-url <url>] [--timeout-ms <ms>]"
  },
  "lp.simulate-remove": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "lp",
      "simulate-remove"
    ],
    "canonicalTool": "lp.simulate-remove",
    "canonicalUsage": "pandora [--output table|json] lp simulate-remove --market-address <address> [--wallet <address>] [--lp-tokens <n>|--all] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/LpPayload",
    "emits": [
      "lp.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "wallet-secrets",
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "all": {
          "description": "Preview removing the full LP balance for the selected market.",
          "type": "boolean"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "fork": {
          "description": "Run in fork mode.",
          "type": "boolean"
        },
        "fork-chain-id": {
          "description": "Fork chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "fork-rpc-url": {
          "description": "Fork RPC URL.",
          "type": "string"
        },
        "lp-tokens": {
          "description": "LP token amount to preview removing.",
          "minimum": 0,
          "type": "number"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "wallet": {
          "description": "Wallet address.",
          "type": "string"
        }
      },
      "required": [
        "market-address"
      ],
      "type": "object",
      "xPandora": {
        "requiredAnyOf": [
          {
            "required": [
              "lp-tokens"
            ]
          },
          {
            "required": [
              "all"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "lp:read",
      "secrets:use",
      "network:rpc"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Preview LP removal without submitting a transaction.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] lp simulate-remove --market-address <address> [--wallet <address>] [--lp-tokens <n>|--all] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>]"
  },
  "markets": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "markets.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "markets:read",
      "network:indexer"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Market command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] markets list|get|mine|create plan|create run|hype plan|hype run|scan ..."
  },
  "markets.create": {
    "agentWorkflow": {
      "executeRequiresValidation": true,
      "notes": [
        "Use markets.create.plan to normalize a launch payload into a JSON-safe agent contract.",
        "Legacy launch remains script-native; use markets.create.run for the canonical agent/MCP creation surface.",
        "Validation tickets are bound to the exact final payload. Any change to question, rules, sources, target timestamp, liquidity, market type, fee/curve params, or distribution requires a fresh ticket.",
        "If distribution flags are omitted, markets.create seeds a balanced 50/50 pool. Set explicit percentage flags for directional markets."
      ],
      "recommendedTools": [
        "agent.market.autocomplete"
      ],
      "requiredTools": [
        "agent.market.validate"
      ]
    },
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "markets",
      "create"
    ],
    "canonicalTool": "markets.create",
    "canonicalUsage": "pandora [--output table|json] markets create plan|run --question <text> --rules <text> --sources <url...> --target-timestamp <unix-seconds|iso> [--market-type amm|parimutuel] ...",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "markets.create.help",
      "markets.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {},
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "markets:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": "agent.market.validate",
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Canonical JSON-safe market creation surface for agents and MCP clients. Legacy `launch` remains script-native.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] markets create plan|run --question <text> --rules <text> --sources <url...> --target-timestamp <unix-seconds|iso> [--market-type amm|parimutuel] ..."
  },
  "markets.create.plan": {
    "agentWorkflow": {
      "executeRequiresValidation": false,
      "notes": [
        "Use agent.market.autocomplete when the question, rules, or target timestamp still need refinement before creation.",
        "markets.create.plan is the canonical JSON-safe planning surface; legacy launch remains script-native.",
        "The emitted validation ticket is bound to the exact final payload. Any change to question, rules, sources, target timestamp, liquidity, market type, fee/curve params, or distribution requires a fresh validation pass.",
        "If distribution flags are omitted, markets.create seeds a balanced 50/50 pool. Set explicit percentage flags for directional markets."
      ],
      "recommendedTools": [
        "agent.market.autocomplete"
      ],
      "requiredTools": []
    },
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "markets",
      "create",
      "plan"
    ],
    "canonicalTool": "markets.create.plan",
    "canonicalUsage": "pandora [--output table|json] markets create plan --question <text> --rules <text> --sources <url...> --target-timestamp <unix-seconds|iso> --liquidity-usdc <n> [--market-type amm|parimutuel] [--category <id|name>] [--distribution-yes <parts>] [--distribution-no <parts>] [--distribution-yes-pct <pct>] [--distribution-no-pct <pct>] [--fee-tier <500-50000>] [--max-imbalance <n>] [--curve-flattener <1-11>] [--curve-offset <0-16777215>] [--chain-id <id>] [--rpc-url <url>] [--oracle <address>] [--factory <address>] [--usdc <address>] [--arbiter <address>] [--min-close-lead-seconds <n>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "markets.create.plan",
      "markets.create.help",
      "markets.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api",
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "arbiter": {
          "description": "Arbiter address.",
          "type": "string"
        },
        "category": {
          "description": "Category id or canonical category name.",
          "examples": [
            "Sports",
            "3"
          ],
          "type": "string",
          "xPandora": {
            "acceptsIntegerStrings": true,
            "allowedCategoryNames": [
              "Politics",
              "Sports",
              "Finance",
              "Crypto",
              "Culture",
              "Technology",
              "Science",
              "Entertainment",
              "Health",
              "Environment",
              "Other"
            ],
            "caseInsensitivePattern": "^(?:[pP][oO][lL][iI][tT][iI][cC][sS]|[sS][pP][oO][rR][tT][sS]|[fF][iI][nN][aA][nN][cC][eE]|[cC][rR][yY][pP][tT][oO]|[cC][uU][lL][tT][uU][rR][eE]|[tT][eE][cC][hH][nN][oO][lL][oO][gG][yY]|[sS][cC][iI][eE][nN][cC][eE]|[eE][nN][tT][eE][rR][tT][aA][iI][nN][mM][eE][nN][tT]|[hH][eE][aA][lL][tT][hH]|[eE][nN][vV][iI][rR][oO][nN][mM][eE][nN][tT]|[oO][tT][hH][eE][rR])$"
          }
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "curve-flattener": {
          "description": "Pari-mutuel curve flattener.",
          "maximum": 11,
          "minimum": 1,
          "type": "integer"
        },
        "curve-offset": {
          "description": "Pari-mutuel curve offset.",
          "maximum": 16777215,
          "minimum": 0,
          "type": "integer"
        },
        "distribution-no": {
          "description": "Initial NO distribution in parts-per-billion.",
          "maximum": 1000000000,
          "minimum": 0,
          "type": "integer"
        },
        "distribution-no-pct": {
          "description": "Initial NO distribution in percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "distribution-yes": {
          "description": "Initial YES distribution in parts-per-billion.",
          "maximum": 1000000000,
          "minimum": 0,
          "type": "integer"
        },
        "distribution-yes-pct": {
          "description": "Initial YES distribution in percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "factory": {
          "description": "Factory contract address.",
          "type": "string"
        },
        "fee-tier": {
          "description": "Fee tier in hundredths of a bip.",
          "maximum": 50000,
          "minimum": 500,
          "type": "integer"
        },
        "liquidity-usdc": {
          "description": "Initial liquidity amount in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "market-type": {
          "description": "Market type.",
          "enum": [
            "amm",
            "parimutuel"
          ]
        },
        "max-imbalance": {
          "description": "Maximum AMM price imbalance guard.",
          "maximum": 16777215,
          "minimum": 0,
          "type": "integer"
        },
        "min-close-lead-seconds": {
          "description": "Minimum required lead time before close.",
          "minimum": 1,
          "type": "integer"
        },
        "oracle": {
          "description": "Oracle contract address.",
          "type": "string"
        },
        "question": {
          "description": "Exact market question.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "rules": {
          "description": "Exact resolution rules.",
          "type": "string"
        },
        "sources": {
          "description": "Source URL list.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "target-timestamp": {
          "description": "Resolution timestamp in unix seconds or ISO-8601 datetime.",
          "examples": [
            "1777777777",
            "2026-12-31T00:00:00Z"
          ],
          "type": "string",
          "xPandora": {
            "acceptsIsoDatetime": true,
            "acceptsUnixSeconds": true
          }
        },
        "usdc": {
          "description": "Collateral token address.",
          "type": "string"
        }
      },
      "required": [
        "question",
        "rules",
        "sources",
        "target-timestamp",
        "liquidity-usdc"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "markets:read",
      "network:rpc",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Normalize a market creation payload for agents and MCP clients. Legacy `launch` remains script-native.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] markets create plan --question <text> --rules <text> --sources <url...> --target-timestamp <unix-seconds|iso> --liquidity-usdc <n> [--market-type amm|parimutuel] [--category <id|name>] [--distribution-yes <parts>] [--distribution-no <parts>] [--distribution-yes-pct <pct>] [--distribution-no-pct <pct>] [--fee-tier <500-50000>] [--max-imbalance <n>] [--curve-flattener <1-11>] [--curve-offset <0-16777215>] [--chain-id <id>] [--rpc-url <url>] [--oracle <address>] [--factory <address>] [--usdc <address>] [--arbiter <address>] [--min-close-lead-seconds <n>]"
  },
  "markets.create.run": {
    "agentWorkflow": {
      "executeRequiresValidation": true,
      "notes": [
        "Run agent.market.validate on the exact final market payload before execute mode.",
        "Legacy launch remains script-native; markets.create.run is the canonical agent/MCP market creation surface.",
        "The post-poll approval/createMarket leg supports --tx-route public|auto|flashbots-private|flashbots-bundle. auto chooses flashbots-private when no approval is needed and flashbots-bundle when approval is required.",
        "Validation tickets are bound to the exact final payload. Any change to question, rules, sources, target timestamp, liquidity, market type, fee/curve params, or distribution requires a fresh ticket.",
        "If distribution flags are omitted, markets.create seeds a balanced 50/50 pool. Set explicit percentage flags for directional markets."
      ],
      "recommendedTools": [
        "agent.market.autocomplete"
      ],
      "requiredTools": [
        "agent.market.validate"
      ]
    },
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "markets",
      "create",
      "run"
    ],
    "canonicalTool": "markets.create.run",
    "canonicalUsage": "pandora [--output table|json] markets create run --question <text> --rules <text> --sources <url...> --target-timestamp <unix-seconds|iso> --liquidity-usdc <n> [--market-type amm|parimutuel] [--category <id|name>] [--distribution-yes <parts>] [--distribution-no <parts>] [--distribution-yes-pct <pct>] [--distribution-no-pct <pct>] [--fee-tier <500-50000>] [--max-imbalance <n>] [--curve-flattener <1-11>] [--curve-offset <0-16777215>] [--dry-run|--execute] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--oracle <address>] [--factory <address>] [--usdc <address>] [--arbiter <address>] [--tx-route public|auto|flashbots-private|flashbots-bundle] [--tx-route-fallback fail|public] [--flashbots-relay-url <url>] [--flashbots-auth-key <key>] [--flashbots-target-block-offset <n>] [--validation-ticket <ticket>] [--min-close-lead-seconds <n>]",
    "controlInputNames": [
      "agentPreflight"
    ],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "markets.create.run",
      "markets.create.help",
      "markets.help"
    ],
    "executeFlags": [
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 60000,
    "externalDependencies": [
      "wallet-secrets",
      "indexer-api",
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "agentPreflight": {
          "additionalProperties": false,
          "description": "Agent validation attestation for execute mode.",
          "properties": {
            "autocompleteTicket": {
              "description": "Optional ticket from agent.market.autocomplete when the agent drafted the market.",
              "type": "string"
            },
            "validationDecision": {
              "description": "Validation verdict from the agent AI run.",
              "enum": [
                "PASS",
                "FAIL"
              ]
            },
            "validationSummary": {
              "description": "Short summary of the validation result.",
              "type": "string"
            },
            "validationTicket": {
              "description": "Ticket returned by agent.market.validate for the exact market payload.",
              "type": "string"
            }
          },
          "required": [
            "validationTicket",
            "validationDecision",
            "validationSummary"
          ],
          "type": "object"
        },
        "arbiter": {
          "description": "Arbiter address.",
          "type": "string"
        },
        "category": {
          "description": "Category id or canonical category name.",
          "examples": [
            "Sports",
            "3"
          ],
          "type": "string",
          "xPandora": {
            "acceptsIntegerStrings": true,
            "allowedCategoryNames": [
              "Politics",
              "Sports",
              "Finance",
              "Crypto",
              "Culture",
              "Technology",
              "Science",
              "Entertainment",
              "Health",
              "Environment",
              "Other"
            ],
            "caseInsensitivePattern": "^(?:[pP][oO][lL][iI][tT][iI][cC][sS]|[sS][pP][oO][rR][tT][sS]|[fF][iI][nN][aA][nN][cC][eE]|[cC][rR][yY][pP][tT][oO]|[cC][uU][lL][tT][uU][rR][eE]|[tT][eE][cC][hH][nN][oO][lL][oO][gG][yY]|[sS][cC][iI][eE][nN][cC][eE]|[eE][nN][tT][eE][rR][tT][aA][iI][nN][mM][eE][nN][tT]|[hH][eE][aA][lL][tT][hH]|[eE][nN][vV][iI][rR][oO][nN][mM][eE][nN][tT]|[oO][tT][hH][eE][rR])$"
          }
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "curve-flattener": {
          "description": "Pari-mutuel curve flattener.",
          "maximum": 11,
          "minimum": 1,
          "type": "integer"
        },
        "curve-offset": {
          "description": "Pari-mutuel curve offset.",
          "maximum": 16777215,
          "minimum": 0,
          "type": "integer"
        },
        "distribution-no": {
          "description": "Initial NO distribution in parts-per-billion.",
          "maximum": 1000000000,
          "minimum": 0,
          "type": "integer"
        },
        "distribution-no-pct": {
          "description": "Initial NO distribution in percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "distribution-yes": {
          "description": "Initial YES distribution in parts-per-billion.",
          "maximum": 1000000000,
          "minimum": 0,
          "type": "integer"
        },
        "distribution-yes-pct": {
          "description": "Initial YES distribution in percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "dry-run": {
          "description": "Run dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute live creation.",
          "type": "boolean"
        },
        "factory": {
          "description": "Factory contract address.",
          "type": "string"
        },
        "fee-tier": {
          "description": "Fee tier in hundredths of a bip.",
          "maximum": 50000,
          "minimum": 500,
          "type": "integer"
        },
        "flashbots-auth-key": {
          "description": "Flashbots auth private key.",
          "type": "string"
        },
        "flashbots-relay-url": {
          "description": "Flashbots relay URL override.",
          "type": "string"
        },
        "flashbots-target-block-offset": {
          "description": "Target block offset for Flashbots submission.",
          "minimum": 1,
          "type": "integer"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "liquidity-usdc": {
          "description": "Initial liquidity amount in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "market-type": {
          "description": "Market type.",
          "enum": [
            "amm",
            "parimutuel"
          ]
        },
        "max-imbalance": {
          "description": "Maximum AMM price imbalance guard.",
          "maximum": 16777215,
          "minimum": 0,
          "type": "integer"
        },
        "min-close-lead-seconds": {
          "description": "Minimum required lead time before close.",
          "minimum": 1,
          "type": "integer"
        },
        "oracle": {
          "description": "Oracle contract address.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "question": {
          "description": "Exact market question.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "rules": {
          "description": "Exact resolution rules.",
          "type": "string"
        },
        "sources": {
          "description": "Source URL list.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "target-timestamp": {
          "description": "Resolution timestamp in unix seconds or ISO-8601 datetime.",
          "examples": [
            "1777777777",
            "2026-12-31T00:00:00Z"
          ],
          "type": "string",
          "xPandora": {
            "acceptsIsoDatetime": true,
            "acceptsUnixSeconds": true
          }
        },
        "tx-route": {
          "description": "Post-poll Pandora execution route for the optional approval + final market creation leg. public preserves ordinary mempool submission; auto chooses flashbots-private when no approval is needed and flashbots-bundle when approval is required; flashbots-private requests a single-tx private relay submission; flashbots-bundle requests Flashbots bundle semantics.",
          "enum": [
            "public",
            "auto",
            "flashbots-private",
            "flashbots-bundle"
          ]
        },
        "tx-route-fallback": {
          "description": "Fallback policy when the requested post-poll private route is unsupported or rejected. fail stops the run; public degrades the approval/createMarket leg to ordinary public submission.",
          "enum": [
            "fail",
            "public"
          ]
        },
        "usdc": {
          "description": "Collateral token address.",
          "type": "string"
        },
        "validation-ticket": {
          "description": "Ticket returned by agent.market.validate for the exact final payload (CLI execute mode).",
          "type": "string"
        }
      },
      "required": [
        "question",
        "rules",
        "sources",
        "target-timestamp",
        "liquidity-usdc"
      ],
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                }
              ]
            },
            "required": [
              "execute"
            ]
          }
        ]
      }
    },
    "jobCapable": true,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "markets:run",
      "secrets:use",
      "network:rpc",
      "network:indexer",
      "jobs:run"
    ],
    "preferred": true,
    "recommendedPreflightTool": "agent.market.validate",
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [
      "--dry-run"
    ],
    "summary": "Dry-run or execute a canonical JSON-safe market creation payload. Legacy `launch` remains script-native.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] markets create run --question <text> --rules <text> --sources <url...> --target-timestamp <unix-seconds|iso> --liquidity-usdc <n> [--market-type amm|parimutuel] [--category <id|name>] [--distribution-yes <parts>] [--distribution-no <parts>] [--distribution-yes-pct <pct>] [--distribution-no-pct <pct>] [--fee-tier <500-50000>] [--max-imbalance <n>] [--curve-flattener <1-11>] [--curve-offset <0-16777215>] [--dry-run|--execute] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--oracle <address>] [--factory <address>] [--usdc <address>] [--arbiter <address>] [--tx-route public|auto|flashbots-private|flashbots-bundle] [--tx-route-fallback fail|public] [--flashbots-relay-url <url>] [--flashbots-auth-key <key>] [--flashbots-target-block-offset <n>] [--validation-ticket <ticket>] [--min-close-lead-seconds <n>]"
  },
  "markets.get": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "markets",
      "get"
    ],
    "canonicalTool": "markets.get",
    "canonicalUsage": "pandora [--output table|json] markets get [--id <id> ...] [--stdin]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/EntityCollectionPayload",
    "emits": [
      "markets.get",
      "markets.get.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "description": "Market id, or a comma-delimited list of market ids.",
          "minLength": 1,
          "type": "string",
          "xPandora": {
            "acceptsCommaSeparatedList": true
          }
        },
        "stdin": {
          "description": "Read newline-delimited ids from stdin.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "markets:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Get one or many markets by id.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] markets get [--id <id> ...] [--stdin]"
  },
  "markets.hype": {
    "agentWorkflow": {
      "executeRequiresValidation": true,
      "notes": [
        "Use markets.hype.plan to turn fresh public-web research into a frozen, reusable market plan.",
        "The selected candidate is validated before planning completes; pass the emitted PASS attestation back as agentPreflight for execute-mode MCP runs.",
        "markets.hype.run should consume a saved plan file so the research snapshot, sources, and validation result do not drift between planning and deployment."
      ],
      "recommendedTools": [
        "agent.market.hype",
        "scan"
      ],
      "requiredTools": [
        "agent.market.validate"
      ]
    },
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "markets",
      "hype"
    ],
    "canonicalTool": "markets.hype",
    "canonicalUsage": "pandora [--output table|json] markets hype plan|run --area <sports|esports|politics|regional-news|breaking-news> ...",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "markets.hype.help",
      "markets.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {},
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "markets:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": "agent.market.validate",
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Research current public-web trends, draft hype market candidates, and optionally run a frozen hype plan.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] markets hype plan|run --area <sports|esports|politics|regional-news|breaking-news> ..."
  },
  "markets.hype.plan": {
    "agentWorkflow": {
      "executeRequiresValidation": false,
      "notes": [
        "markets.hype.plan performs bounded provider-backed trend research and freezes the resulting candidate set into a reusable plan payload.",
        "Use the emitted candidate validation results and attestation for execute-mode MCP runs instead of re-running live research during deployment.",
        "Review duplicateRiskScore and duplicateMatches before choosing a candidate to deploy."
      ],
      "recommendedTools": [
        "agent.market.hype",
        "scan"
      ],
      "requiredTools": []
    },
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "markets",
      "hype",
      "plan"
    ],
    "canonicalTool": "markets.hype.plan",
    "canonicalUsage": "pandora [--output table|json] markets hype plan --area <sports|esports|politics|regional-news|breaking-news> [--region <text>] [--query <text>] [--candidate-count <n>] [--market-type auto|amm|parimutuel|both] [--liquidity-usdc <n>] [--ai-provider auto|openai|anthropic|mock] [--ai-model <id>] [--search-depth fast|standard|deep] [--chain-id <id>] [--rpc-url <url>] [--oracle <address>] [--factory <address>] [--usdc <address>] [--arbiter <address>] [--min-close-lead-seconds <n>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "markets.hype.plan",
      "markets.hype.help",
      "markets.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api",
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "ai-model": {
          "description": "Model override for the selected provider.",
          "type": "string"
        },
        "ai-provider": {
          "description": "Research provider selection.",
          "enum": [
            "auto",
            "openai",
            "anthropic",
            "mock"
          ]
        },
        "arbiter": {
          "description": "Arbiter address.",
          "type": "string"
        },
        "area": {
          "description": "Trending topic area.",
          "enum": [
            "sports",
            "esports",
            "politics",
            "regional-news",
            "breaking-news"
          ]
        },
        "candidate-count": {
          "description": "Maximum number of candidate markets to draft.",
          "maximum": 5,
          "minimum": 1,
          "type": "integer"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "factory": {
          "description": "Factory contract address.",
          "type": "string"
        },
        "liquidity-usdc": {
          "description": "Suggested initial liquidity for generated drafts.",
          "minimum": 0,
          "type": "number"
        },
        "market-type": {
          "description": "Planning preference for market type.",
          "enum": [
            "auto",
            "amm",
            "parimutuel",
            "both"
          ]
        },
        "min-close-lead-seconds": {
          "description": "Minimum required lead time before close.",
          "minimum": 1,
          "type": "integer"
        },
        "oracle": {
          "description": "Oracle contract address.",
          "type": "string"
        },
        "query": {
          "description": "Optional extra search hint or topic constraint.",
          "type": "string"
        },
        "region": {
          "description": "Regional focus. Required when --area regional-news.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "search-depth": {
          "description": "Bounded search depth hint for the provider.",
          "enum": [
            "fast",
            "standard",
            "deep"
          ]
        },
        "usdc": {
          "description": "Collateral token address.",
          "type": "string"
        }
      },
      "required": [
        "area"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "markets:read",
      "network:rpc",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Research current trending topics, score hype candidates, recommend AMM vs pari-mutuel, and validate the drafted market payloads.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] markets hype plan --area <sports|esports|politics|regional-news|breaking-news> [--region <text>] [--query <text>] [--candidate-count <n>] [--market-type auto|amm|parimutuel|both] [--liquidity-usdc <n>] [--ai-provider auto|openai|anthropic|mock] [--ai-model <id>] [--search-depth fast|standard|deep] [--chain-id <id>] [--rpc-url <url>] [--oracle <address>] [--factory <address>] [--usdc <address>] [--arbiter <address>] [--min-close-lead-seconds <n>]"
  },
  "markets.hype.run": {
    "agentWorkflow": {
      "executeRequiresValidation": true,
      "notes": [
        "markets.hype.run is intentionally plan-file based so the exact research snapshot and validation attestation remain frozen between plan and execute.",
        "Execute-mode MCP calls should copy the selected candidate PASS attestation from markets.hype.plan back as agentPreflight.",
        "The post-poll approval/createMarket leg supports the same --tx-route contract as markets.create.run. auto chooses flashbots-private when no approval is needed and flashbots-bundle when approval is required.",
        "Avoid editing question, rules, sources, or targetTimestamp after planning; regenerate the hype plan instead."
      ],
      "recommendedTools": [
        "agent.market.validate"
      ],
      "requiredTools": [
        "markets.hype.plan"
      ]
    },
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "markets",
      "hype",
      "run"
    ],
    "canonicalTool": "markets.hype.run",
    "canonicalUsage": "pandora [--output table|json] markets hype run --plan-file <path> [--candidate-id <id>] [--market-type selected|amm|parimutuel] --dry-run|--execute [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--oracle <address>] [--factory <address>] [--usdc <address>] [--arbiter <address>] [--tx-route public|auto|flashbots-private|flashbots-bundle] [--tx-route-fallback fail|public] [--flashbots-relay-url <url>] [--flashbots-auth-key <key>] [--flashbots-target-block-offset <n>]",
    "controlInputNames": [
      "agentPreflight"
    ],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "markets.hype.run",
      "markets.hype.help",
      "markets.help"
    ],
    "executeFlags": [
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 60000,
    "externalDependencies": [
      "filesystem",
      "wallet-secrets",
      "indexer-api",
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "agentPreflight": {
          "additionalProperties": false,
          "description": "PASS attestation from the selected hype-plan candidate validation.",
          "properties": {
            "autocompleteTicket": {
              "description": "Optional ticket from agent.market.autocomplete when the agent drafted the market.",
              "type": "string"
            },
            "validationDecision": {
              "description": "Validation verdict from the agent AI run.",
              "enum": [
                "PASS",
                "FAIL"
              ]
            },
            "validationSummary": {
              "description": "Short summary of the validation result.",
              "type": "string"
            },
            "validationTicket": {
              "description": "Ticket returned by agent.market.validate for the exact market payload.",
              "type": "string"
            }
          },
          "required": [
            "validationTicket",
            "validationDecision",
            "validationSummary"
          ],
          "type": "object"
        },
        "arbiter": {
          "description": "Arbiter address.",
          "type": "string"
        },
        "candidate-id": {
          "description": "Explicit candidate id from the plan payload.",
          "type": "string"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "dry-run": {
          "description": "Run dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute live deployment.",
          "type": "boolean"
        },
        "factory": {
          "description": "Factory contract address.",
          "type": "string"
        },
        "flashbots-auth-key": {
          "description": "Flashbots auth private key.",
          "type": "string"
        },
        "flashbots-relay-url": {
          "description": "Flashbots relay URL override.",
          "type": "string"
        },
        "flashbots-target-block-offset": {
          "description": "Target block offset for Flashbots submission.",
          "minimum": 1,
          "type": "integer"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "market-type": {
          "description": "Draft to deploy from the selected candidate.",
          "enum": [
            "selected",
            "amm",
            "parimutuel"
          ]
        },
        "oracle": {
          "description": "Oracle contract address.",
          "type": "string"
        },
        "plan-file": {
          "description": "Saved hype plan file path.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "tx-route": {
          "description": "Post-poll Pandora execution route for the optional approval + final market creation leg. public preserves ordinary mempool submission; auto chooses flashbots-private when no approval is needed and flashbots-bundle when approval is required; flashbots-private requests a single-tx private relay submission; flashbots-bundle requests Flashbots bundle semantics.",
          "enum": [
            "public",
            "auto",
            "flashbots-private",
            "flashbots-bundle"
          ]
        },
        "tx-route-fallback": {
          "description": "Fallback policy when the requested post-poll private route is unsupported or rejected. fail stops the run; public degrades the approval/createMarket leg to ordinary public submission.",
          "enum": [
            "fail",
            "public"
          ]
        },
        "usdc": {
          "description": "Collateral token address.",
          "type": "string"
        }
      },
      "required": [
        "plan-file"
      ],
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                }
              ]
            },
            "required": [
              "execute"
            ]
          }
        ]
      }
    },
    "jobCapable": true,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "markets:run",
      "secrets:use",
      "network:rpc",
      "network:indexer",
      "jobs:run"
    ],
    "preferred": true,
    "recommendedPreflightTool": "markets.hype.plan",
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [
      "--dry-run"
    ],
    "summary": "Dry-run or execute a frozen hype plan candidate without re-running live trend research.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] markets hype run --plan-file <path> [--candidate-id <id>] [--market-type selected|amm|parimutuel] --dry-run|--execute [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--oracle <address>] [--factory <address>] [--usdc <address>] [--arbiter <address>] [--tx-route public|auto|flashbots-private|flashbots-bundle] [--tx-route-fallback fail|public] [--flashbots-relay-url <url>] [--flashbots-auth-key <key>] [--flashbots-target-block-offset <n>]"
  },
  "markets.list": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "markets",
      "list"
    ],
    "canonicalTool": "markets.list",
    "canonicalUsage": "pandora [--output table|json] markets list [--limit <n>] [--after <cursor>] [--before <cursor>] [--order-by <field>] [--order-direction asc|desc] [--chain-id <id>] [--creator <address>] [--poll-address <address>] [--market-type <type>|--type <type>] [--where-json <json>] [--active|--resolved|--expiring-soon] [--expiring-hours <n>] [--min-tvl <usdc>] [--hedgeable] [--expand] [--with-odds]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PagedEntityPayload",
    "emits": [
      "markets.list",
      "markets.list.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "active": {
          "description": "Filter active markets.",
          "type": "boolean"
        },
        "after": {
          "description": "Pagination cursor.",
          "type": "string"
        },
        "before": {
          "description": "Pagination cursor.",
          "type": "string"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "creator": {
          "description": "Creator address.",
          "type": "string"
        },
        "expand": {
          "description": "Expand enriched market payload.",
          "type": "boolean"
        },
        "expiring-hours": {
          "description": "Expiring-soon window in hours.",
          "minimum": 0,
          "type": "number"
        },
        "expiring-soon": {
          "description": "Filter expiring markets.",
          "type": "boolean"
        },
        "hedgeable": {
          "description": "Keep only hedgeable markets.",
          "type": "boolean"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "market-type": {
          "description": "Market type filter.",
          "type": "string"
        },
        "min-tvl": {
          "description": "Minimum TVL in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "order-by": {
          "description": "Sort field.",
          "enum": [
            "createdAt",
            "marketCloseTimestamp",
            "totalVolume",
            "currentTvl"
          ]
        },
        "order-direction": {
          "description": "Sort direction.",
          "enum": [
            "asc",
            "desc"
          ]
        },
        "poll-address": {
          "description": "Poll address.",
          "type": "string"
        },
        "resolved": {
          "description": "Filter resolved markets.",
          "type": "boolean"
        },
        "type": {
          "description": "Alias for market type filter.",
          "type": "string"
        },
        "where-json": {
          "description": "Raw JSON filter override.",
          "type": "string"
        },
        "with-odds": {
          "description": "Include odds enrichment.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "markets:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Raw Pandora market browse view with filters and pagination.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] markets list [--limit <n>] [--after <cursor>] [--before <cursor>] [--order-by <field>] [--order-direction asc|desc] [--chain-id <id>] [--creator <address>] [--poll-address <address>] [--market-type <type>|--type <type>] [--where-json <json>] [--active|--resolved|--expiring-soon] [--expiring-hours <n>] [--min-tvl <usdc>] [--hedgeable] [--expand] [--with-odds]"
  },
  "markets.mine": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "markets",
      "mine"
    ],
    "canonicalTool": "markets.mine",
    "canonicalUsage": "pandora [--output table|json] markets mine [--wallet <address>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--indexer-url <url>] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "markets.mine",
      "markets.mine.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "wallet-secrets",
      "indexer-api",
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "wallet": {
          "description": "Wallet address to inspect.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "markets:read",
      "secrets:use",
      "network:rpc",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Discover wallet-owned Pandora market exposure from positions, LP balances, and claimable outcomes.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] markets mine [--wallet <address>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--indexer-url <url>] [--timeout-ms <ms>]"
  },
  "mcp": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/McpHelpPayload",
    "emits": [
      "mcp.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [
      "stdio-transport"
    ],
    "helpDataSchema": null,
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table"
    ],
    "policyScopes": [
      "mcp:read"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Run Pandora MCP server over stdio transport.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora mcp"
  },
  "mirror": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "mirror.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Mirror command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror browse|plan|deploy|verify|lp-explain|hedge-calc|calc|simulate|go|sync|dashboard|status|health|panic|drift|hedge-check|pnl|audit|replay|trace|logs|close ..."
  },
  "mirror.audit": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "mirror",
      "audit"
    ],
    "canonicalTool": "mirror.audit",
    "canonicalUsage": "pandora [--output table|json] mirror audit --state-file <path>|--strategy-hash <hash>|(--pandora-market-address <address>|--market-address <address>) (--polymarket-market-id <id>|--polymarket-slug <slug>) [--reconciled] [--with-live] [--trust-deploy] [--manifest-file <path>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--indexer-url <url>] [--timeout-ms <ms>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/MirrorAuditPayload",
    "emits": [
      "mirror.audit",
      "mirror.audit.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1200,
    "externalDependencies": [
      "filesystem",
      "indexer-api",
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "drift-trigger-bps": {
          "description": "Drift trigger in basis points used when projecting live sync posture.",
          "minimum": 1,
          "type": "integer"
        },
        "hedge-trigger-usdc": {
          "description": "Hedge trigger size in USDC used when projecting live sync posture.",
          "minimum": 0,
          "type": "number"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "manifest-file": {
          "description": "Mirror manifest path.",
          "type": "string"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "pandora-market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "polymarket-gamma-mock-url": {
          "description": "Polymarket Gamma mock URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-gamma-url": {
          "description": "Polymarket Gamma API base URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override for live diagnostics.",
          "type": "string"
        },
        "polymarket-market-id": {
          "description": "Polymarket market id.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock CLOB URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Polymarket slug.",
          "type": "string"
        },
        "reconciled": {
          "description": "Attach the normalized reconciled ledger beside the append-only operational audit payload.",
          "type": "boolean"
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        },
        "strategy-hash": {
          "description": "Mirror strategy hash.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "trust-deploy": {
          "description": "Trust manifest deploy pair.",
          "type": "boolean"
        },
        "with-live": {
          "description": "Attach current live cross-venue context to the persisted audit ledger.",
          "type": "boolean"
        }
      },
      "type": "object",
      "xPandora": {
        "requiredAnyOf": [
          {
            "required": [
              "state-file"
            ]
          },
          {
            "required": [
              "strategy-hash"
            ]
          },
          {
            "required": [
              "pandora-market-address"
            ]
          },
          {
            "required": [
              "market-address"
            ]
          },
          {
            "required": [
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "polymarket-slug"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read",
      "network:rpc",
      "network:indexer",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Read the canonical mirror audit ledger surface. `--reconciled` adds a normalized cross-venue ledger with provenance and export-ready rows beside the append-only operational audit log.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror audit --state-file <path>|--strategy-hash <hash>|(--pandora-market-address <address>|--market-address <address>) (--polymarket-market-id <id>|--polymarket-slug <slug>) [--reconciled] [--with-live] [--trust-deploy] [--manifest-file <path>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--indexer-url <url>] [--timeout-ms <ms>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]"
  },
  "mirror.browse": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "mirror",
      "browse"
    ],
    "canonicalTool": "mirror.browse",
    "canonicalUsage": "pandora [--output table|json] mirror browse [--min-yes-pct <n>] [--max-yes-pct <n>] [--min-volume-24h <n>] [--closes-after <date>|--end-date-after <date|72h>] [--closes-before <date>|--end-date-before <date|72h>] [--question-contains <text>|--keyword <text>] [--slug <text>] [--category sports|crypto|politics|entertainment] [--exclude-sports] [--sort-by volume24h|liquidity|endDate] [--limit <n>] [--chain-id <id>] [--polymarket-tag-id <id>] [--polymarket-tag-ids <csv>] [--sport-tag-id <id>] [--sport-tag-ids <csv>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/MirrorBrowsePayload",
    "emits": [
      "mirror.browse",
      "mirror.browse.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "category": {
          "description": "Category filter.",
          "enum": [
            "sports",
            "crypto",
            "politics",
            "entertainment"
          ]
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "closes-after": {
          "description": "Lower close-date bound.",
          "type": "string"
        },
        "closes-before": {
          "description": "Upper close-date bound.",
          "type": "string"
        },
        "end-date-after": {
          "description": "Alias for lower close-date bound.",
          "type": "string"
        },
        "end-date-before": {
          "description": "Alias for upper close-date bound.",
          "type": "string"
        },
        "exclude-sports": {
          "description": "Exclude sports-tagged markets.",
          "type": "boolean"
        },
        "keyword": {
          "description": "Alias for question substring filter.",
          "type": "string"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "max-yes-pct": {
          "description": "Maximum YES probability percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "min-volume-24h": {
          "description": "Minimum 24h volume.",
          "minimum": 0,
          "type": "number"
        },
        "min-yes-pct": {
          "description": "Minimum YES probability percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "polymarket-gamma-mock-url": {
          "description": "Polymarket Gamma mock URL.",
          "type": "string"
        },
        "polymarket-gamma-url": {
          "description": "Polymarket Gamma API base URL.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock CLOB URL.",
          "type": "string"
        },
        "polymarket-tag-id": {
          "description": "Single Polymarket tag id.",
          "minimum": 0,
          "type": "integer"
        },
        "polymarket-tag-ids": {
          "description": "Comma-delimited Polymarket tag ids.",
          "type": "string"
        },
        "question-contains": {
          "description": "Question substring filter.",
          "type": "string"
        },
        "slug": {
          "description": "Slug substring filter.",
          "type": "string"
        },
        "sort-by": {
          "description": "Sort field.",
          "enum": [
            "volume24h",
            "liquidity",
            "endDate"
          ]
        },
        "sport-tag-id": {
          "description": "Single sports tag id.",
          "minimum": 0,
          "type": "integer"
        },
        "sport-tag-ids": {
          "description": "Comma-delimited sports tag ids.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Browse Polymarket mirror candidates with optional sports tag filters.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror browse [--min-yes-pct <n>] [--max-yes-pct <n>] [--min-volume-24h <n>] [--closes-after <date>|--end-date-after <date|72h>] [--closes-before <date>|--end-date-before <date|72h>] [--question-contains <text>|--keyword <text>] [--slug <text>] [--category sports|crypto|politics|entertainment] [--exclude-sports] [--sort-by volume24h|liquidity|endDate] [--limit <n>] [--chain-id <id>] [--polymarket-tag-id <id>] [--polymarket-tag-ids <csv>] [--sport-tag-id <id>] [--sport-tag-ids <csv>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]"
  },
  "mirror.calc": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "mirror",
      "calc"
    ],
    "canonicalTool": "mirror.calc",
    "canonicalUsage": "pandora [--output table|json] mirror calc --target-pct <0-100> --state-file <path>|--strategy-hash <hash>|(--pandora-market-address <address>|--market-address <address>) (--polymarket-market-id <id>|--polymarket-slug <slug>) [--trust-deploy] [--manifest-file <path>] [--indexer-url <url>] [--timeout-ms <ms>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "mirror.calc",
      "mirror.calc.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1500,
    "externalDependencies": [
      "filesystem",
      "indexer-api",
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "manifest-file": {
          "description": "Mirror manifest path.",
          "type": "string"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "pandora-market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "polymarket-gamma-mock-url": {
          "description": "Polymarket Gamma mock URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-gamma-url": {
          "description": "Polymarket Gamma API base URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override for live diagnostics.",
          "type": "string"
        },
        "polymarket-market-id": {
          "description": "Polymarket market id.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock CLOB URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Polymarket slug.",
          "type": "string"
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        },
        "strategy-hash": {
          "description": "Mirror strategy hash.",
          "type": "string"
        },
        "target-pct": {
          "description": "Target Pandora YES probability percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "trust-deploy": {
          "description": "Trust manifest deploy pair.",
          "type": "boolean"
        }
      },
      "required": [
        "target-pct"
      ],
      "type": "object",
      "xPandora": {
        "requiredAnyOf": [
          {
            "required": [
              "state-file"
            ]
          },
          {
            "required": [
              "strategy-hash"
            ]
          },
          {
            "required": [
              "pandora-market-address"
            ]
          },
          {
            "required": [
              "market-address"
            ]
          },
          {
            "required": [
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "polymarket-slug"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read",
      "network:rpc",
      "network:indexer",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Compute exact Pandora rebalance sizing to reach a target percentage, then derive the corresponding hedge inventory needed on Polymarket.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror calc --target-pct <0-100> --state-file <path>|--strategy-hash <hash>|(--pandora-market-address <address>|--market-address <address>) (--polymarket-market-id <id>|--polymarket-slug <slug>) [--trust-deploy] [--manifest-file <path>] [--indexer-url <url>] [--timeout-ms <ms>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]"
  },
  "mirror.close": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "mirror",
      "close"
    ],
    "canonicalTool": "mirror.close",
    "canonicalUsage": "pandora [--output table|json] mirror close --pandora-market-address <address>|--market-address <address> --polymarket-market-id <id>|--polymarket-slug <slug>|--all --dry-run|--execute [--wallet <address>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>] [--indexer-url <url>] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/MirrorClosePayload",
    "emits": [
      "mirror.close",
      "mirror.close.help"
    ],
    "executeFlags": [
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "wallet-secrets",
      "indexer-api",
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "all": {
          "description": "Close all discovered mirror positions.",
          "type": "boolean"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "dry-run": {
          "description": "Run dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute live closeout steps.",
          "type": "boolean"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "pandora-market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "polymarket-market-id": {
          "description": "Polymarket market id.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Polymarket slug.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "wallet": {
          "description": "Wallet address.",
          "type": "string"
        }
      },
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address",
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address",
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "market-address",
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "market-address",
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "all",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address",
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address",
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "market-address",
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "market-address",
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                }
              ]
            },
            "required": [
              "all",
              "execute"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address",
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "market-address",
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address",
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-market-id",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address",
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "market-address",
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address",
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-market-id",
              "execute"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address",
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "market-address",
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "market-address",
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-slug",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address",
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "market-address",
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "market-address",
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-slug",
              "execute"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address",
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address",
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "market-address",
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-market-id",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address",
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address",
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "market-address",
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-market-id",
              "execute"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address",
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address",
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "market-address",
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-slug",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address",
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address",
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "market-address",
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-slug",
              "execute"
            ]
          }
        ],
        "requiredAnyOf": [
          {
            "required": [
              "all",
              "dry-run"
            ]
          },
          {
            "required": [
              "all",
              "execute"
            ]
          },
          {
            "required": [
              "pandora-market-address",
              "polymarket-market-id",
              "dry-run"
            ]
          },
          {
            "required": [
              "pandora-market-address",
              "polymarket-market-id",
              "execute"
            ]
          },
          {
            "required": [
              "pandora-market-address",
              "polymarket-slug",
              "dry-run"
            ]
          },
          {
            "required": [
              "pandora-market-address",
              "polymarket-slug",
              "execute"
            ]
          },
          {
            "required": [
              "market-address",
              "polymarket-market-id",
              "dry-run"
            ]
          },
          {
            "required": [
              "market-address",
              "polymarket-market-id",
              "execute"
            ]
          },
          {
            "required": [
              "market-address",
              "polymarket-slug",
              "dry-run"
            ]
          },
          {
            "required": [
              "market-address",
              "polymarket-slug",
              "execute"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:write",
      "secrets:use",
      "network:rpc",
      "network:indexer",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [
      "--dry-run"
    ],
    "summary": "Build or execute close plan for a mirror pair, including structured Polymarket settlement discovery and resume guidance.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror close --pandora-market-address <address>|--market-address <address> --polymarket-market-id <id>|--polymarket-slug <slug>|--all --dry-run|--execute [--wallet <address>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>] [--indexer-url <url>] [--timeout-ms <ms>]"
  },
  "mirror.dashboard": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "mirror",
      "dashboard"
    ],
    "canonicalTool": "mirror.dashboard",
    "canonicalUsage": "pandora [--output table|json] mirror dashboard [--with-live|--no-live] [--trust-deploy] [--manifest-file <path>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--indexer-url <url>] [--timeout-ms <ms>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "mirror.dashboard",
      "mirror.dashboard.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1500,
    "externalDependencies": [
      "indexer-api",
      "chain-rpc",
      "polymarket-api",
      "filesystem"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "drift-trigger-bps": {
          "description": "Drift trigger in basis points used when projecting live sync posture.",
          "minimum": 1,
          "type": "integer"
        },
        "hedge-trigger-usdc": {
          "description": "Hedge trigger size in USDC used when projecting live sync posture.",
          "minimum": 0,
          "type": "number"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "manifest-file": {
          "description": "Mirror manifest path.",
          "type": "string"
        },
        "no-live": {
          "description": "Disable live cross-venue diagnostics and use local state/daemon data only.",
          "type": "boolean"
        },
        "polymarket-gamma-mock-url": {
          "description": "Polymarket Gamma mock URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-gamma-url": {
          "description": "Polymarket Gamma API base URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override for live diagnostics.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock CLOB URL for live diagnostics.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "trust-deploy": {
          "description": "Trust manifest deploy pairs when enriching dashboard items.",
          "type": "boolean"
        },
        "with-live": {
          "description": "Enrich each dashboard item with live cross-venue diagnostics.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read",
      "network:rpc",
      "network:indexer",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Read the multi-market mirror operator summary/dashboard across discovered state files, with optional live enrichment and suggested next commands.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror dashboard [--with-live|--no-live] [--trust-deploy] [--manifest-file <path>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--indexer-url <url>] [--timeout-ms <ms>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]"
  },
  "mirror.deploy": {
    "agentWorkflow": {
      "executeRequiresValidation": true,
      "notes": [
        "Mirror deploy dry-run returns the exact Pandora deployment payload and required validation ticket.",
        "Mirror deploy never auto-copies Polymarket URLs into sources; pass independent public resolution URLs with --sources.",
        "Run agent.market.validate on that exact final payload before rerunning mirror.deploy with execute mode, then pass --validation-ticket locally or agentPreflight in MCP.",
        "Validation tickets are bound to the exact final deploy payload. Any change to question, rules, sources, target timestamp, liquidity, fee params, or distribution requires a fresh validation pass."
      ],
      "recommendedTools": [
        "agent.market.autocomplete"
      ],
      "requiredTools": [
        "agent.market.validate"
      ]
    },
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "mirror",
      "deploy"
    ],
    "canonicalTool": "mirror.deploy",
    "canonicalUsage": "pandora [--output table|json] mirror deploy --plan-file <path>|--polymarket-market-id <id>|--polymarket-slug <slug> --dry-run|--execute [--liquidity-usdc <n>] [--fee-tier <500-50000>] [--max-imbalance <n>] [--arbiter <address>] [--category <id|name>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--oracle <address>] [--factory <address>] [--usdc <address>] [--distribution-yes <parts>] [--distribution-no <parts>] [--distribution-yes-pct <pct>] [--distribution-no-pct <pct>] [--sources <url...>] [--validation-ticket <ticket>] [--target-timestamp <unix|iso>] [--manifest-file <path>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>] [--min-close-lead-seconds <n>]",
    "controlInputNames": [
      "agentPreflight"
    ],
    "dataSchema": "#/definitions/MirrorDeployPayload",
    "emits": [
      "mirror.deploy",
      "mirror.deploy.help"
    ],
    "executeFlags": [
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "filesystem",
      "wallet-secrets",
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "agentPreflight": {
          "additionalProperties": false,
          "description": "Agent validation attestation for execute mode.",
          "properties": {
            "autocompleteTicket": {
              "description": "Optional ticket from agent.market.autocomplete when the agent drafted the market.",
              "type": "string"
            },
            "validationDecision": {
              "description": "Validation verdict from the agent AI run.",
              "enum": [
                "PASS",
                "FAIL"
              ]
            },
            "validationSummary": {
              "description": "Short summary of the validation result.",
              "type": "string"
            },
            "validationTicket": {
              "description": "Ticket returned by agent.market.validate for the exact market payload.",
              "type": "string"
            }
          },
          "required": [
            "validationTicket",
            "validationDecision",
            "validationSummary"
          ],
          "type": "object"
        },
        "arbiter": {
          "description": "Arbiter address.",
          "type": "string"
        },
        "category": {
          "description": "Category id or canonical category name.",
          "examples": [
            "Sports",
            "3"
          ],
          "type": "string",
          "xPandora": {
            "acceptsIntegerStrings": true,
            "allowedCategoryNames": [
              "Politics",
              "Sports",
              "Finance",
              "Crypto",
              "Culture",
              "Technology",
              "Science",
              "Entertainment",
              "Health",
              "Environment",
              "Other"
            ],
            "caseInsensitivePattern": "^(?:[pP][oO][lL][iI][tT][iI][cC][sS]|[sS][pP][oO][rR][tT][sS]|[fF][iI][nN][aA][nN][cC][eE]|[cC][rR][yY][pP][tT][oO]|[cC][uU][lL][tT][uU][rR][eE]|[tT][eE][cC][hH][nN][oO][lL][oO][gG][yY]|[sS][cC][iI][eE][nN][cC][eE]|[eE][nN][tT][eE][rR][tT][aA][iI][nN][mM][eE][nN][tT]|[hH][eE][aA][lL][tT][hH]|[eE][nN][vV][iI][rR][oO][nN][mM][eE][nN][tT]|[oO][tT][hH][eE][rR])$"
          }
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "distribution-no": {
          "description": "Initial NO distribution parts.",
          "minimum": 0,
          "type": "number"
        },
        "distribution-no-pct": {
          "description": "Initial NO distribution percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "distribution-yes": {
          "description": "Initial YES distribution parts.",
          "minimum": 0,
          "type": "number"
        },
        "distribution-yes-pct": {
          "description": "Initial YES distribution percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "dry-run": {
          "description": "Run dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute live deployment.",
          "type": "boolean"
        },
        "factory": {
          "description": "Factory address.",
          "type": "string"
        },
        "fee-tier": {
          "description": "Fee tier in hundredths of a bip.",
          "maximum": 50000,
          "minimum": 500,
          "type": "integer"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "liquidity-usdc": {
          "description": "Initial liquidity in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "manifest-file": {
          "description": "Mirror manifest path.",
          "type": "string"
        },
        "max-imbalance": {
          "description": "Maximum imbalance ratio.",
          "minimum": 0,
          "type": "number"
        },
        "min-close-lead-seconds": {
          "description": "Minimum close lead time in seconds.",
          "minimum": 0,
          "type": "integer"
        },
        "oracle": {
          "description": "Oracle address.",
          "type": "string"
        },
        "plan-file": {
          "description": "Mirror plan file path.",
          "type": "string"
        },
        "polymarket-gamma-mock-url": {
          "description": "Polymarket Gamma mock URL.",
          "type": "string"
        },
        "polymarket-gamma-url": {
          "description": "Polymarket Gamma API base URL.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override.",
          "type": "string"
        },
        "polymarket-market-id": {
          "description": "Polymarket market id.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock CLOB URL.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Polymarket slug.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "sources": {
          "description": "Source URL list.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "target-timestamp": {
          "description": "Explicit target timestamp override.",
          "examples": [
            "1777777777",
            "2026-12-31T00:00:00Z"
          ],
          "type": "string",
          "xPandora": {
            "acceptsIsoDatetime": true,
            "acceptsUnixSeconds": true
          }
        },
        "usdc": {
          "description": "USDC token address.",
          "type": "string"
        },
        "validation-ticket": {
          "description": "Ticket returned by agent.market.validate for the exact final payload (CLI execute mode).",
          "type": "string"
        }
      },
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "plan-file",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                }
              ]
            },
            "required": [
              "plan-file",
              "execute"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "plan-file"
                  ]
                },
                {
                  "required": [
                    "plan-file"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "polymarket-market-id",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "plan-file"
                  ]
                },
                {
                  "required": [
                    "plan-file"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                }
              ]
            },
            "required": [
              "polymarket-market-id",
              "execute"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "plan-file"
                  ]
                },
                {
                  "required": [
                    "plan-file"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "polymarket-slug",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "plan-file"
                  ]
                },
                {
                  "required": [
                    "plan-file"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                }
              ]
            },
            "required": [
              "polymarket-slug",
              "execute"
            ]
          }
        ],
        "requiredAnyOf": [
          {
            "required": [
              "plan-file",
              "dry-run"
            ]
          },
          {
            "required": [
              "plan-file",
              "execute"
            ]
          },
          {
            "required": [
              "polymarket-market-id",
              "dry-run"
            ]
          },
          {
            "required": [
              "polymarket-market-id",
              "execute"
            ]
          },
          {
            "required": [
              "polymarket-slug",
              "dry-run"
            ]
          },
          {
            "required": [
              "polymarket-slug",
              "execute"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:write",
      "secrets:use",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": "agent.market.validate",
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [
      "--dry-run"
    ],
    "summary": "Deploy a mirror market from selector or plan in dry-run or execute mode.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror deploy --plan-file <path>|--polymarket-market-id <id>|--polymarket-slug <slug> --dry-run|--execute [--liquidity-usdc <n>] [--fee-tier <500-50000>] [--max-imbalance <n>] [--arbiter <address>] [--category <id|name>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--oracle <address>] [--factory <address>] [--usdc <address>] [--distribution-yes <parts>] [--distribution-no <parts>] [--distribution-yes-pct <pct>] [--distribution-no-pct <pct>] [--sources <url...>] [--validation-ticket <ticket>] [--target-timestamp <unix|iso>] [--manifest-file <path>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>] [--min-close-lead-seconds <n>]"
  },
  "mirror.drift": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "mirror",
      "drift"
    ],
    "canonicalTool": "mirror.drift",
    "canonicalUsage": "pandora [--output table|json] mirror drift --state-file <path>|--strategy-hash <hash>|(--pandora-market-address <address>|--market-address <address>) (--polymarket-market-id <id>|--polymarket-slug <slug>) [--trust-deploy] [--manifest-file <path>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--indexer-url <url>] [--timeout-ms <ms>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "mirror.drift",
      "mirror.drift.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1500,
    "externalDependencies": [
      "filesystem",
      "indexer-api",
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "drift-trigger-bps": {
          "description": "Drift trigger in basis points used when projecting live sync posture.",
          "minimum": 1,
          "type": "integer"
        },
        "hedge-trigger-usdc": {
          "description": "Hedge trigger size in USDC used when projecting live sync posture.",
          "minimum": 0,
          "type": "number"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "manifest-file": {
          "description": "Mirror manifest path.",
          "type": "string"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "pandora-market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "polymarket-gamma-mock-url": {
          "description": "Polymarket Gamma mock URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-gamma-url": {
          "description": "Polymarket Gamma API base URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override for live diagnostics.",
          "type": "string"
        },
        "polymarket-market-id": {
          "description": "Polymarket market id.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock CLOB URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Polymarket slug.",
          "type": "string"
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        },
        "strategy-hash": {
          "description": "Mirror strategy hash.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "trust-deploy": {
          "description": "Trust manifest deploy pair.",
          "type": "boolean"
        }
      },
      "type": "object",
      "xPandora": {
        "requiredAnyOf": [
          {
            "required": [
              "state-file"
            ]
          },
          {
            "required": [
              "strategy-hash"
            ]
          },
          {
            "required": [
              "pandora-market-address"
            ]
          },
          {
            "required": [
              "market-address"
            ]
          },
          {
            "required": [
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "polymarket-slug"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read",
      "network:rpc",
      "network:indexer",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Read the dedicated live drift/readiness surface for a mirror pair via persisted state or selector-first lookup.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror drift --state-file <path>|--strategy-hash <hash>|(--pandora-market-address <address>|--market-address <address>) (--polymarket-market-id <id>|--polymarket-slug <slug>) [--trust-deploy] [--manifest-file <path>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--indexer-url <url>] [--timeout-ms <ms>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]"
  },
  "mirror.go": {
    "agentWorkflow": {
      "executeRequiresValidation": true,
      "notes": [
        "Mirror go inherits the exact market payload from its deploy stage; use the returned validation ticket from paper/dry-run output.",
        "When mirror go will execute a fresh deploy, provide independent public --sources and a matching validation ticket.",
        "Run agent.market.validate on that exact payload before rerunning mirror.go with execute or execute-live.",
        "Validation tickets are bound to the exact final deploy payload. Any change to question, rules, sources, target timestamp, liquidity, fee params, or distribution requires a fresh validation pass.",
        "Private-routing flags affect only the Ethereum Pandora rebalance leg. They do not make the Polygon hedge leg atomic."
      ],
      "recommendedTools": [
        "agent.market.autocomplete"
      ],
      "requiredTools": [
        "agent.market.validate"
      ]
    },
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "mirror",
      "go"
    ],
    "canonicalTool": "mirror.go",
    "canonicalUsage": "pandora [--output table|json] mirror go --polymarket-market-id <id>|--polymarket-slug <slug> [--liquidity-usdc <n>] [--fee-tier <500-50000>] [--max-imbalance <n>] [--arbiter <address>] [--category <id|name>] [--paper|--dry-run|--execute-live|--execute] [--auto-sync] [--sync-once] [--auto-resolve] [--auto-close] [--resolve-answer yes|no] [--resolve-reason <text>] [--resolve-watch-interval-ms <ms>] [--resolve-watch-timeout-ms <ms>] [--sync-interval-ms <ms>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--hedge-ratio <n>] [--no-hedge] [--rebalance-mode atomic|incremental] [--price-source on-chain|indexer] [--rebalance-route public|auto|flashbots-private|flashbots-bundle] [--rebalance-route-fallback fail|public] [--flashbots-relay-url <url>] [--flashbots-auth-key <key>] [--flashbots-target-block-offset <n>] [--max-rebalance-usdc <n>] [--max-hedge-usdc <n>] [--max-open-exposure-usdc <amount>] [--max-trades-per-day <n>] [--cooldown-ms <ms>] [--depth-slippage-bps <n>] [--min-time-to-close-sec <n>] [--strict-close-time-delta] [--chain-id <id>] [--rpc-url <url>] [--polymarket-rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--funder <address>] [--usdc <address>] [--oracle <address>] [--factory <address>] [--distribution-yes <parts>] [--distribution-no <parts>] [--distribution-yes-pct <pct>] [--distribution-no-pct <pct>] [--sources <url...>] [--validation-ticket <ticket>] [--target-timestamp <unix|iso>] [--manifest-file <path>] [--trust-deploy] [--skip-gate] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>] [--with-rules] [--include-similarity] [--min-close-lead-seconds <n>] [--dotenv-path <path>]",
    "controlInputNames": [
      "agentPreflight"
    ],
    "dataSchema": "#/definitions/MirrorDeployPayload",
    "emits": [
      "mirror.go",
      "mirror.go.help"
    ],
    "executeFlags": [
      "--execute-live",
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 60000,
    "externalDependencies": [
      "filesystem",
      "wallet-secrets",
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "adopt-existing-positions": {
          "description": "Seed managed Polymarket inventory from existing live YES/NO balances before sell-side recycling.",
          "type": "boolean"
        },
        "agentPreflight": {
          "additionalProperties": false,
          "description": "Agent validation attestation for execute or execute-live mode.",
          "properties": {
            "autocompleteTicket": {
              "description": "Optional ticket from agent.market.autocomplete when the agent drafted the market.",
              "type": "string"
            },
            "validationDecision": {
              "description": "Validation verdict from the agent AI run.",
              "enum": [
                "PASS",
                "FAIL"
              ]
            },
            "validationSummary": {
              "description": "Short summary of the validation result.",
              "type": "string"
            },
            "validationTicket": {
              "description": "Ticket returned by agent.market.validate for the exact market payload.",
              "type": "string"
            }
          },
          "required": [
            "validationTicket",
            "validationDecision",
            "validationSummary"
          ],
          "type": "object"
        },
        "arbiter": {
          "description": "Arbiter address.",
          "type": "string"
        },
        "auto-close": {
          "description": "After auto-resolve completes, run mirror close automatically and include structured Polymarket settlement status in the final report.",
          "type": "boolean"
        },
        "auto-resolve": {
          "description": "After deploy/verify and any finite sync step, watch until resolution is executable and submit resolve automatically. Requires live mode plus explicit resolve inputs.",
          "type": "boolean"
        },
        "auto-sync": {
          "description": "Start sync automatically after deploy.",
          "type": "boolean"
        },
        "category": {
          "description": "Category id or canonical category name.",
          "examples": [
            "Sports",
            "3"
          ],
          "type": "string",
          "xPandora": {
            "acceptsIntegerStrings": true,
            "allowedCategoryNames": [
              "Politics",
              "Sports",
              "Finance",
              "Crypto",
              "Culture",
              "Technology",
              "Science",
              "Entertainment",
              "Health",
              "Environment",
              "Other"
            ],
            "caseInsensitivePattern": "^(?:[pP][oO][lL][iI][tT][iI][cC][sS]|[sS][pP][oO][rR][tT][sS]|[fF][iI][nN][aA][nN][cC][eE]|[cC][rR][yY][pP][tT][oO]|[cC][uU][lL][tT][uU][rR][eE]|[tT][eE][cC][hH][nN][oO][lL][oO][gG][yY]|[sS][cC][iI][eE][nN][cC][eE]|[eE][nN][tT][eE][rR][tT][aA][iI][nN][mM][eE][nN][tT]|[hH][eE][aA][lL][tT][hH]|[eE][nN][vV][iI][rR][oO][nN][mM][eE][nN][tT]|[oO][tT][hH][eE][rR])$"
          }
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "cooldown-ms": {
          "description": "Idempotency cooldown in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "depth-slippage-bps": {
          "description": "Depth slippage in basis points.",
          "maximum": 10000,
          "minimum": 1,
          "type": "integer"
        },
        "distribution-no": {
          "description": "Initial NO distribution parts.",
          "minimum": 0,
          "type": "number"
        },
        "distribution-no-pct": {
          "description": "Initial NO distribution percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "distribution-yes": {
          "description": "Initial YES distribution parts.",
          "minimum": 0,
          "type": "number"
        },
        "distribution-yes-pct": {
          "description": "Initial YES distribution percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "dotenv-path": {
          "description": "Env file path.",
          "type": "string"
        },
        "drift-trigger-bps": {
          "description": "Drift trigger in basis points.",
          "minimum": 1,
          "type": "integer"
        },
        "dry-run": {
          "description": "Run in dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute live/write path.",
          "type": "boolean"
        },
        "execute-live": {
          "description": "Execute live workflow.",
          "type": "boolean"
        },
        "factory": {
          "description": "Factory address override.",
          "type": "string"
        },
        "fee-tier": {
          "description": "Fee tier in hundredths of a bip.",
          "maximum": 50000,
          "minimum": 500,
          "type": "integer"
        },
        "flashbots-auth-key": {
          "description": "Optional Flashbots auth key or signer reference for the Ethereum Pandora rebalance leg.",
          "type": "string"
        },
        "flashbots-relay-url": {
          "description": "Optional Flashbots/private relay URL for the Ethereum Pandora rebalance leg.",
          "type": "string"
        },
        "flashbots-target-block-offset": {
          "description": "Optional target block offset for Flashbots/private bundle submission.",
          "minimum": 1,
          "type": "integer"
        },
        "funder": {
          "description": "Polymarket proxy/safe address.",
          "type": "string"
        },
        "hedge-ratio": {
          "description": "Desired hedge ratio.",
          "minimum": 0,
          "type": "number"
        },
        "hedge-scope": {
          "description": "Hedge basis. total includes held Pandora outcome tokens in addition to pool reserves; pool hedges only the AMM reserves.",
          "enum": [
            "pool",
            "total"
          ]
        },
        "hedge-trigger-usdc": {
          "description": "Hedge trigger size in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "include-similarity": {
          "description": "Include similarity diagnostics.",
          "type": "boolean"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "liquidity-usdc": {
          "description": "Initial liquidity in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "manifest-file": {
          "description": "Mirror manifest path.",
          "type": "string"
        },
        "max-hedge-usdc": {
          "description": "Maximum hedge notional in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "max-imbalance": {
          "description": "Maximum imbalance ratio.",
          "minimum": 0,
          "type": "number"
        },
        "max-open-exposure-usdc": {
          "description": "Maximum open exposure in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "max-rebalance-usdc": {
          "description": "Maximum rebalance notional in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "max-trades-per-day": {
          "description": "Maximum daily trade count.",
          "minimum": 0,
          "type": "integer"
        },
        "min-close-lead-seconds": {
          "description": "Minimum lead time before targetTimestamp when Pandora trading closes.",
          "minimum": 1,
          "type": "integer"
        },
        "min-time-to-close-sec": {
          "description": "Minimum time-to-close in seconds.",
          "minimum": 1,
          "type": "integer"
        },
        "no-hedge": {
          "description": "Disable source hedge leg.",
          "type": "boolean"
        },
        "oracle": {
          "description": "Oracle address override.",
          "type": "string"
        },
        "paper": {
          "description": "Run in paper/simulation mode.",
          "type": "boolean"
        },
        "polymarket-gamma-mock-url": {
          "description": "Polymarket Gamma mock URL.",
          "type": "string"
        },
        "polymarket-gamma-url": {
          "description": "Polymarket Gamma API base URL.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override.",
          "type": "string"
        },
        "polymarket-market-id": {
          "description": "Polymarket market id.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock CLOB URL.",
          "type": "string"
        },
        "polymarket-rpc-url": {
          "description": "Polygon RPC URL for Polymarket preflight; comma-separated fallbacks are tried in order. This does not override Pandora reserve reads on --rpc-url.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Polymarket slug.",
          "type": "string"
        },
        "price-source": {
          "description": "Reserve source for Pandora pricing. on-chain refreshes outcome-token balances before sizing; indexer uses verify payload reserves.",
          "enum": [
            "on-chain",
            "indexer"
          ]
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "rebalance-mode": {
          "description": "Rebalance sizing mode. atomic targets the source price in one Pandora leg when reserves are available; incremental sizes by observed drift.",
          "enum": [
            "atomic",
            "incremental"
          ]
        },
        "rebalance-route": {
          "description": "Pandora-leg execution route. public preserves ordinary mempool submission; auto chooses a private route when supported; flashbots-private requests single-tx private relay submission; flashbots-bundle requests Flashbots bundle semantics for approval+trade paths. This affects only the Ethereum Pandora leg.",
          "enum": [
            "public",
            "auto",
            "flashbots-private",
            "flashbots-bundle"
          ]
        },
        "rebalance-route-fallback": {
          "description": "Fallback policy when the requested Pandora-leg private route is unsupported or rejected. fail stops the run; public degrades to ordinary public submission. This does not change Polygon hedge semantics.",
          "enum": [
            "fail",
            "public"
          ]
        },
        "resolve-answer": {
          "description": "Explicit resolution answer used by lifecycle automation.",
          "enum": [
            "yes",
            "no"
          ]
        },
        "resolve-reason": {
          "description": "Operator reason recorded in the lifecycle resolve payload.",
          "type": "string"
        },
        "resolve-watch-interval-ms": {
          "description": "Polling interval used by mirror go lifecycle resolve watch.",
          "minimum": 1,
          "type": "integer"
        },
        "resolve-watch-timeout-ms": {
          "description": "Timeout used by mirror go lifecycle resolve watch.",
          "minimum": 1,
          "type": "integer"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "skip-gate": {
          "description": "Set to \"true\" to skip all mirror sync gates, or provide a comma-delimited named skip list.",
          "examples": [
            "true",
            "MATCH_AND_RULES,POLYMARKET_SOURCE_FRESH"
          ],
          "type": "string",
          "xPandora": {
            "acceptsBooleanString": true,
            "allowedGateCodes": [
              "MATCH_AND_RULES",
              "POLYMARKET_SOURCE_FRESH",
              "CLOSE_TIME_DELTA",
              "DEPTH_COVERAGE",
              "MAX_OPEN_EXPOSURE",
              "MAX_TRADES_PER_DAY",
              "MIN_TIME_TO_EXPIRY"
            ]
          }
        },
        "sources": {
          "description": "Independent public source URL list.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "strict-close-time-delta": {
          "description": "Promote close-time delta mismatches from diagnostic to blocking.",
          "type": "boolean"
        },
        "sync-interval-ms": {
          "description": "Sync interval in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "sync-once": {
          "description": "Run one sync tick after deploy.",
          "type": "boolean"
        },
        "target-timestamp": {
          "description": "Explicit target timestamp override.",
          "examples": [
            "1777777777",
            "2026-12-31T00:00:00Z"
          ],
          "type": "string",
          "xPandora": {
            "acceptsIsoDatetime": true,
            "acceptsUnixSeconds": true
          }
        },
        "trust-deploy": {
          "description": "Trust manifest deploy pair.",
          "type": "boolean"
        },
        "usdc": {
          "description": "USDC token address override.",
          "type": "string"
        },
        "validation-ticket": {
          "description": "Ticket returned by agent.market.validate for the exact final payload (CLI execute mode).",
          "type": "string"
        },
        "verbose": {
          "description": "Emit expanded per-tick console diagnostics.",
          "type": "boolean"
        },
        "with-rules": {
          "description": "Include rule payloads and copy diagnostics.",
          "type": "boolean"
        }
      },
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "polymarket-market-id"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "polymarket-market-id",
              "paper"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "polymarket-market-id",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "polymarket-market-id",
              "execute-live"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                }
              ]
            },
            "required": [
              "polymarket-market-id",
              "execute"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "polymarket-slug"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "polymarket-slug",
              "paper"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "polymarket-slug",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "polymarket-slug",
              "execute-live"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                }
              ]
            },
            "required": [
              "polymarket-slug",
              "execute"
            ]
          }
        ],
        "requiredAnyOf": [
          {
            "required": [
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "polymarket-slug"
            ]
          }
        ]
      }
    },
    "jobCapable": true,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:run",
      "secrets:use",
      "network:rpc",
      "network:polymarket",
      "jobs:run"
    ],
    "preferred": true,
    "recommendedPreflightTool": "agent.market.validate",
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [
      "--paper",
      "--dry-run"
    ],
    "summary": "Run mirror deploy, verify, and optional sync workflow. Rebalance-route flags apply only to the Ethereum Pandora leg; any sync leg still remains separate Pandora rebalance and Polymarket hedge legs, not atomic.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror go --polymarket-market-id <id>|--polymarket-slug <slug> [--liquidity-usdc <n>] [--fee-tier <500-50000>] [--max-imbalance <n>] [--arbiter <address>] [--category <id|name>] [--paper|--dry-run|--execute-live|--execute] [--auto-sync] [--sync-once] [--auto-resolve] [--auto-close] [--resolve-answer yes|no] [--resolve-reason <text>] [--resolve-watch-interval-ms <ms>] [--resolve-watch-timeout-ms <ms>] [--sync-interval-ms <ms>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--hedge-ratio <n>] [--no-hedge] [--rebalance-mode atomic|incremental] [--price-source on-chain|indexer] [--rebalance-route public|auto|flashbots-private|flashbots-bundle] [--rebalance-route-fallback fail|public] [--flashbots-relay-url <url>] [--flashbots-auth-key <key>] [--flashbots-target-block-offset <n>] [--max-rebalance-usdc <n>] [--max-hedge-usdc <n>] [--max-open-exposure-usdc <amount>] [--max-trades-per-day <n>] [--cooldown-ms <ms>] [--depth-slippage-bps <n>] [--min-time-to-close-sec <n>] [--strict-close-time-delta] [--chain-id <id>] [--rpc-url <url>] [--polymarket-rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--funder <address>] [--usdc <address>] [--oracle <address>] [--factory <address>] [--distribution-yes <parts>] [--distribution-no <parts>] [--distribution-yes-pct <pct>] [--distribution-no-pct <pct>] [--sources <url...>] [--validation-ticket <ticket>] [--target-timestamp <unix|iso>] [--manifest-file <path>] [--trust-deploy] [--skip-gate] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>] [--with-rules] [--include-similarity] [--min-close-lead-seconds <n>] [--dotenv-path <path>]"
  },
  "mirror.health": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "mirror",
      "health"
    ],
    "canonicalTool": "mirror.health",
    "canonicalUsage": "pandora [--output table|json] mirror health --state-file <path>|--strategy-hash <hash>|--pid-file <path>|--market-address <address> [--polymarket-market-id <id>|--polymarket-slug <slug>] [--stale-after-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "mirror.health",
      "mirror.health.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1000,
    "externalDependencies": [
      "filesystem"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "pandora-market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "pid-file": {
          "description": "Mirror daemon pid file path.",
          "type": "string"
        },
        "polymarket-market-id": {
          "description": "Optional Polymarket market id to disambiguate selector-first state lookups.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Optional Polymarket slug to disambiguate selector-first state lookups.",
          "type": "string"
        },
        "stale-after-ms": {
          "description": "Override heartbeat stale threshold in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        },
        "strategy-hash": {
          "description": "Mirror strategy hash.",
          "type": "string"
        }
      },
      "type": "object",
      "xPandora": {
        "requiredAnyOf": [
          {
            "required": [
              "state-file"
            ]
          },
          {
            "required": [
              "strategy-hash"
            ]
          },
          {
            "required": [
              "pid-file"
            ]
          },
          {
            "required": [
              "pandora-market-address"
            ]
          },
          {
            "required": [
              "market-address"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Read machine-usable mirror daemon/runtime health for one strategy via state, strategy hash, pid file, or market selector.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror health --state-file <path>|--strategy-hash <hash>|--pid-file <path>|--market-address <address> [--polymarket-market-id <id>|--polymarket-slug <slug>] [--stale-after-ms <ms>]"
  },
  "mirror.hedge-calc": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "mirror",
      "hedge-calc"
    ],
    "canonicalTool": "mirror.hedge-calc",
    "canonicalUsage": "pandora [--output table|json] mirror hedge-calc [--reserve-yes-usdc <n> --reserve-no-usdc <n>] [--excess-yes-usdc <n>] [--excess-no-usdc <n>] [--polymarket-yes-pct <0-100>] [--hedge-ratio <n>] [--hedge-cost-bps <n>] [--fee-tier <500-50000>] [--volume-scenarios <csv>] [--pandora-market-address <address>|--market-address <address> --polymarket-market-id <id>|--polymarket-slug <slug>] [--trust-deploy] [--manifest-file <path>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/MirrorHedgeCalcPayload",
    "emits": [
      "mirror.hedge-calc",
      "mirror.hedge-calc.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "excess-no-usdc": {
          "description": "Existing NO-side hedge inventory in USDC terms.",
          "minimum": 0,
          "type": "number"
        },
        "excess-yes-usdc": {
          "description": "Existing YES-side hedge inventory in USDC terms.",
          "minimum": 0,
          "type": "number"
        },
        "fee-tier": {
          "description": "Fee tier in hundredths of a bip.",
          "maximum": 50000,
          "minimum": 500,
          "type": "integer"
        },
        "hedge-cost-bps": {
          "description": "Estimated hedge cost in basis points.",
          "minimum": 0,
          "type": "integer"
        },
        "hedge-ratio": {
          "description": "Desired hedge ratio.",
          "minimum": 0,
          "type": "number"
        },
        "manifest-file": {
          "description": "Mirror manifest path.",
          "type": "string"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "pandora-market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "polymarket-gamma-mock-url": {
          "description": "Polymarket Gamma mock URL for selector-based resolution.",
          "type": "string"
        },
        "polymarket-gamma-url": {
          "description": "Polymarket Gamma API base URL for selector-based resolution.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override for selector-based resolution.",
          "type": "string"
        },
        "polymarket-market-id": {
          "description": "Polymarket market id.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock CLOB URL for selector-based resolution.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Polymarket slug.",
          "type": "string"
        },
        "polymarket-yes-pct": {
          "description": "Polymarket YES probability percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "reserve-no-usdc": {
          "description": "Pandora NO-side reserve in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "reserve-yes-usdc": {
          "description": "Pandora YES-side reserve in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "trust-deploy": {
          "description": "Trust manifest deploy pair.",
          "type": "boolean"
        },
        "volume-scenarios": {
          "description": "Comma-delimited fee-volume scenarios in USDC.",
          "type": "string"
        }
      },
      "type": "object",
      "xPandora": {
        "requiredAnyOf": [
          {
            "required": [
              "reserve-yes-usdc",
              "reserve-no-usdc"
            ]
          },
          {
            "required": [
              "pandora-market-address",
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "pandora-market-address",
              "polymarket-slug"
            ]
          },
          {
            "required": [
              "market-address",
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "market-address",
              "polymarket-slug"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Compute offline hedge sizing and leg diagnostics from explicit reserves or a resolved mirror pair. This is analytical sizing, not the live dashboard/actionability gate.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror hedge-calc [--reserve-yes-usdc <n> --reserve-no-usdc <n>] [--excess-yes-usdc <n>] [--excess-no-usdc <n>] [--polymarket-yes-pct <0-100>] [--hedge-ratio <n>] [--hedge-cost-bps <n>] [--fee-tier <500-50000>] [--volume-scenarios <csv>] [--pandora-market-address <address>|--market-address <address> --polymarket-market-id <id>|--polymarket-slug <slug>] [--trust-deploy] [--manifest-file <path>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]"
  },
  "mirror.hedge-check": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "mirror",
      "hedge-check"
    ],
    "canonicalTool": "mirror.hedge-check",
    "canonicalUsage": "pandora [--output table|json] mirror hedge-check --state-file <path>|--strategy-hash <hash>|(--pandora-market-address <address>|--market-address <address>) (--polymarket-market-id <id>|--polymarket-slug <slug>) [--trust-deploy] [--manifest-file <path>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--indexer-url <url>] [--timeout-ms <ms>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "mirror.hedge-check",
      "mirror.hedge-check.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1500,
    "externalDependencies": [
      "filesystem",
      "indexer-api",
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "drift-trigger-bps": {
          "description": "Drift trigger in basis points used when projecting live sync posture.",
          "minimum": 1,
          "type": "integer"
        },
        "hedge-trigger-usdc": {
          "description": "Hedge trigger size in USDC used when projecting live sync posture.",
          "minimum": 0,
          "type": "number"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "manifest-file": {
          "description": "Mirror manifest path.",
          "type": "string"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "pandora-market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "polymarket-gamma-mock-url": {
          "description": "Polymarket Gamma mock URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-gamma-url": {
          "description": "Polymarket Gamma API base URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override for live diagnostics.",
          "type": "string"
        },
        "polymarket-market-id": {
          "description": "Polymarket market id.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock CLOB URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Polymarket slug.",
          "type": "string"
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        },
        "strategy-hash": {
          "description": "Mirror strategy hash.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "trust-deploy": {
          "description": "Trust manifest deploy pair.",
          "type": "boolean"
        }
      },
      "type": "object",
      "xPandora": {
        "requiredAnyOf": [
          {
            "required": [
              "state-file"
            ]
          },
          {
            "required": [
              "strategy-hash"
            ]
          },
          {
            "required": [
              "pandora-market-address"
            ]
          },
          {
            "required": [
              "market-address"
            ]
          },
          {
            "required": [
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "polymarket-slug"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read",
      "network:rpc",
      "network:indexer",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Read the dedicated live hedge-gap/readiness surface for a mirror pair via persisted state or selector-first lookup.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror hedge-check --state-file <path>|--strategy-hash <hash>|(--pandora-market-address <address>|--market-address <address>) (--polymarket-market-id <id>|--polymarket-slug <slug>) [--trust-deploy] [--manifest-file <path>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--indexer-url <url>] [--timeout-ms <ms>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]"
  },
  "mirror.logs": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "mirror",
      "logs"
    ],
    "canonicalTool": "mirror.logs",
    "canonicalUsage": "pandora [--output table|json] mirror logs --state-file <path>|--strategy-hash <hash>|--pandora-market-address <address>|--market-address <address> [--polymarket-market-id <id>|--polymarket-slug <slug>] [--lines <n>] [--follow] [--poll-interval-ms <ms>] [--follow-timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "mirror.logs",
      "mirror.logs.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1000,
    "externalDependencies": [
      "filesystem",
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "follow": {
          "description": "Keep polling for appended daemon log lines after returning the initial tail.",
          "type": "boolean"
        },
        "follow-timeout-ms": {
          "description": "Optional timeout for mirror logs --follow.",
          "minimum": 1,
          "type": "integer"
        },
        "lines": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "pandora-market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "poll-interval-ms": {
          "description": "Polling interval used by mirror logs --follow.",
          "minimum": 1,
          "type": "integer"
        },
        "polymarket-market-id": {
          "description": "Optional Polymarket market id used to disambiguate selector-first log lookup.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Optional Polymarket slug used to disambiguate selector-first log lookup.",
          "type": "string"
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        },
        "strategy-hash": {
          "description": "Mirror strategy hash.",
          "type": "string"
        }
      },
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "strategy-hash"
                  ]
                },
                {
                  "required": [
                    "strategy-hash"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                }
              ]
            },
            "required": [
              "state-file",
              "pandora-market-address"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "strategy-hash"
                  ]
                },
                {
                  "required": [
                    "strategy-hash"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                }
              ]
            },
            "required": [
              "state-file",
              "market-address"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "state-file"
                  ]
                },
                {
                  "required": [
                    "state-file"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                }
              ]
            },
            "required": [
              "strategy-hash",
              "pandora-market-address"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "state-file"
                  ]
                },
                {
                  "required": [
                    "state-file"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                }
              ]
            },
            "required": [
              "strategy-hash",
              "market-address"
            ]
          }
        ],
        "requiredAnyOf": [
          {
            "required": [
              "state-file"
            ]
          },
          {
            "required": [
              "strategy-hash"
            ]
          },
          {
            "required": [
              "pandora-market-address"
            ]
          },
          {
            "required": [
              "market-address"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Read mirror daemon logs via state, strategy hash, or Pandora market selector, including structured JSONL parsing, follow mode, and missing-file diagnostics.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror logs --state-file <path>|--strategy-hash <hash>|--pandora-market-address <address>|--market-address <address> [--polymarket-market-id <id>|--polymarket-slug <slug>] [--lines <n>] [--follow] [--poll-interval-ms <ms>] [--follow-timeout-ms <ms>]"
  },
  "mirror.lp-explain": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "mirror",
      "lp-explain"
    ],
    "canonicalTool": "mirror.lp-explain",
    "canonicalUsage": "pandora [--output table|json] mirror lp-explain --liquidity-usdc <n> [--source-yes-pct <0-100>] [--distribution-yes <parts>] [--distribution-no <parts>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/MirrorHedgeCalcPayload",
    "emits": [
      "mirror.lp-explain",
      "mirror.lp-explain.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "distribution-no": {
          "description": "Initial NO distribution parts.",
          "minimum": 0,
          "type": "number"
        },
        "distribution-yes": {
          "description": "Initial YES distribution parts.",
          "minimum": 0,
          "type": "number"
        },
        "liquidity-usdc": {
          "description": "Initial liquidity in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "source-yes-pct": {
          "description": "Source YES probability percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "liquidity-usdc"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Explain complete-set LP mechanics and inventory split.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror lp-explain --liquidity-usdc <n> [--source-yes-pct <0-100>] [--distribution-yes <parts>] [--distribution-no <parts>]"
  },
  "mirror.panic": {
    "agentWorkflow": {
      "executeRequiresValidation": false,
      "notes": [
        "Engage mode writes the default ~/.pandora/mirror/STOP stop file, which intentionally blocks local mirror daemons until cleared.",
        "Use clear mode after incident review to remove the default stop file and release local mirror automation."
      ],
      "recommendedTools": [
        "mirror.health"
      ],
      "requiredTools": []
    },
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "mirror",
      "panic"
    ],
    "canonicalTool": "mirror.panic",
    "canonicalUsage": "pandora [--output table|json] mirror panic --pid-file <path>|--strategy-hash <hash>|--market-address <address>|--all [--risk-file <path>] [--reason <text>] [--actor <id>] [--clear]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "mirror.panic",
      "mirror.panic.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": true,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1000,
    "externalDependencies": [
      "filesystem"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "non-idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "actor": {
          "description": "Operator or agent identifier recorded with the panic action.",
          "type": "string"
        },
        "all": {
          "description": "Target every discovered mirror daemon.",
          "type": "boolean"
        },
        "clear": {
          "description": "Clear panic state and remove the default mirror stop file.",
          "type": "boolean"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "pandora-market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "pid-file": {
          "description": "Mirror daemon pid file path.",
          "type": "string"
        },
        "reason": {
          "description": "Reason for engaging panic mode. Required unless clear=true.",
          "type": "string"
        },
        "risk-file": {
          "description": "Override risk state file path.",
          "type": "string"
        },
        "strategy-hash": {
          "description": "Mirror strategy hash.",
          "type": "string"
        }
      },
      "type": "object",
      "xPandora": {
        "requiredAnyOf": [
          {
            "required": [
              "clear"
            ]
          },
          {
            "required": [
              "pid-file"
            ]
          },
          {
            "required": [
              "strategy-hash"
            ]
          },
          {
            "required": [
              "pandora-market-address"
            ]
          },
          {
            "required": [
              "market-address"
            ]
          },
          {
            "required": [
              "all"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:write"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "critical",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Engage or clear the global risk panic lock while writing the default ~/.pandora/mirror/STOP stop file and attempting daemon stop for the selected mirror scope.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror panic --pid-file <path>|--strategy-hash <hash>|--market-address <address>|--all [--risk-file <path>] [--reason <text>] [--actor <id>] [--clear]"
  },
  "mirror.plan": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "mirror",
      "plan"
    ],
    "canonicalTool": "mirror.plan",
    "canonicalUsage": "pandora [--output table|json] mirror plan --source polymarket --polymarket-market-id <id>|--polymarket-slug <slug> [--chain-id <id>] [--target-slippage-bps <n>] [--turnover-target <n>] [--depth-slippage-bps <n>] [--safety-multiplier <n>] [--min-liquidity-usdc <n>] [--max-liquidity-usdc <n>] [--with-rules] [--include-similarity] [--min-close-lead-seconds <n>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/MirrorPlanPayload",
    "emits": [
      "mirror.plan",
      "mirror.plan.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "depth-slippage-bps": {
          "description": "Depth slippage in basis points.",
          "minimum": 0,
          "type": "number"
        },
        "include-similarity": {
          "description": "Include similarity diagnostics.",
          "type": "boolean"
        },
        "max-liquidity-usdc": {
          "description": "Maximum liquidity in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "min-close-lead-seconds": {
          "description": "Lead time before targetTimestamp when Pandora trading closes.",
          "minimum": 1,
          "type": "integer"
        },
        "min-liquidity-usdc": {
          "description": "Minimum liquidity in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "polymarket-gamma-mock-url": {
          "description": "Polymarket Gamma mock URL.",
          "type": "string"
        },
        "polymarket-gamma-url": {
          "description": "Polymarket Gamma API base URL.",
          "type": "string"
        },
        "polymarket-market-id": {
          "description": "Polymarket market id.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock CLOB URL.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Polymarket slug.",
          "type": "string"
        },
        "safety-multiplier": {
          "description": "Safety multiplier.",
          "minimum": 0,
          "type": "number"
        },
        "source": {
          "description": "Source venue.",
          "enum": [
            "polymarket"
          ]
        },
        "target-slippage-bps": {
          "description": "Target slippage in basis points.",
          "minimum": 0,
          "type": "number"
        },
        "turnover-target": {
          "description": "Turnover target.",
          "minimum": 0,
          "type": "number"
        },
        "with-rules": {
          "description": "Include market rules payloads.",
          "type": "boolean"
        }
      },
      "required": [
        "source"
      ],
      "type": "object",
      "xPandora": {
        "requiredAnyOf": [
          {
            "required": [
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "polymarket-slug"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Generate mirror sizing and distribution plan from a Polymarket source market.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror plan --source polymarket --polymarket-market-id <id>|--polymarket-slug <slug> [--chain-id <id>] [--target-slippage-bps <n>] [--turnover-target <n>] [--depth-slippage-bps <n>] [--safety-multiplier <n>] [--min-liquidity-usdc <n>] [--max-liquidity-usdc <n>] [--with-rules] [--include-similarity] [--min-close-lead-seconds <n>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]"
  },
  "mirror.pnl": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "mirror",
      "pnl"
    ],
    "canonicalTool": "mirror.pnl",
    "canonicalUsage": "pandora [--output table|json] mirror pnl --state-file <path>|--strategy-hash <hash>|(--pandora-market-address <address>|--market-address <address>) (--polymarket-market-id <id>|--polymarket-slug <slug>) [--reconciled] [--include-legacy-approx] [--trust-deploy] [--manifest-file <path>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--indexer-url <url>] [--timeout-ms <ms>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/MirrorPnlPayload",
    "emits": [
      "mirror.pnl",
      "mirror.pnl.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1500,
    "externalDependencies": [
      "filesystem",
      "indexer-api",
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "drift-trigger-bps": {
          "description": "Drift trigger in basis points used when projecting live sync posture.",
          "minimum": 1,
          "type": "integer"
        },
        "hedge-trigger-usdc": {
          "description": "Hedge trigger size in USDC used when projecting live sync posture.",
          "minimum": 0,
          "type": "number"
        },
        "include-legacy-approx": {
          "description": "Keep approximate scenario fields visible while requesting reconciled accounting.",
          "type": "boolean"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "manifest-file": {
          "description": "Mirror manifest path.",
          "type": "string"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "pandora-market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "polymarket-gamma-mock-url": {
          "description": "Polymarket Gamma mock URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-gamma-url": {
          "description": "Polymarket Gamma API base URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override for live diagnostics.",
          "type": "string"
        },
        "polymarket-market-id": {
          "description": "Polymarket market id.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock CLOB URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Polymarket slug.",
          "type": "string"
        },
        "reconciled": {
          "description": "Attach the normalized reconciled accounting payload beside the approximate scenario surface.",
          "type": "boolean"
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        },
        "strategy-hash": {
          "description": "Mirror strategy hash.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "trust-deploy": {
          "description": "Trust manifest deploy pair.",
          "type": "boolean"
        }
      },
      "type": "object",
      "xPandora": {
        "requiredAnyOf": [
          {
            "required": [
              "state-file"
            ]
          },
          {
            "required": [
              "strategy-hash"
            ]
          },
          {
            "required": [
              "pandora-market-address"
            ]
          },
          {
            "required": [
              "market-address"
            ]
          },
          {
            "required": [
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "polymarket-slug"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read",
      "network:rpc",
      "network:indexer",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Read the canonical mirror P&L surface for a pair. It remains the dedicated cross-venue scenario P&L surface; `--reconciled` adds normalized realized/unrealized accounting, provenance, and export-ready ledger rows beside the legacy approximate fields.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror pnl --state-file <path>|--strategy-hash <hash>|(--pandora-market-address <address>|--market-address <address>) (--polymarket-market-id <id>|--polymarket-slug <slug>) [--reconciled] [--include-legacy-approx] [--trust-deploy] [--manifest-file <path>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--indexer-url <url>] [--timeout-ms <ms>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]"
  },
  "mirror.replay": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "mirror",
      "replay"
    ],
    "canonicalTool": "mirror.replay",
    "canonicalUsage": "pandora [--output table|json] mirror replay --state-file <path>|--strategy-hash <hash>|[--pandora-market-address <address>|--market-address <address>] [--polymarket-market-id <id>|--polymarket-slug <slug>] [--limit <n>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "mirror.replay",
      "mirror.replay.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1200,
    "externalDependencies": [
      "filesystem",
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "pandora-market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "polymarket-market-id": {
          "description": "Polymarket market id.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Polymarket slug.",
          "type": "string"
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        },
        "strategy-hash": {
          "description": "Mirror strategy hash.",
          "type": "string"
        }
      },
      "type": "object",
      "xPandora": {
        "requiredAnyOf": [
          {
            "required": [
              "state-file"
            ]
          },
          {
            "required": [
              "strategy-hash"
            ]
          },
          {
            "required": [
              "pandora-market-address"
            ]
          },
          {
            "required": [
              "market-address"
            ]
          },
          {
            "required": [
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "polymarket-slug"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Replay persisted mirror execution history against modeled rebalance and hedge outcomes using the append-only audit log, or lastExecution fallback when no ledger exists.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror replay --state-file <path>|--strategy-hash <hash>|[--pandora-market-address <address>|--market-address <address>] [--polymarket-market-id <id>|--polymarket-slug <slug>] [--limit <n>]"
  },
  "mirror.simulate": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "mirror",
      "simulate"
    ],
    "canonicalTool": "mirror.simulate",
    "canonicalUsage": "pandora [--output table|json] mirror simulate --liquidity-usdc <n> [--source-yes-pct <0-100>] [--target-yes-pct <0-100>] [--distribution-yes <parts>] [--distribution-no <parts>] [--fee-tier <500-50000>] [--volume-scenarios <csv>] [--hedge-ratio <n>] [--polymarket-yes-pct <0-100>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "mirror.simulate",
      "mirror.simulate.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "distribution-no": {
          "description": "Initial NO distribution parts.",
          "minimum": 0,
          "type": "number"
        },
        "distribution-yes": {
          "description": "Initial YES distribution parts.",
          "minimum": 0,
          "type": "number"
        },
        "fee-tier": {
          "description": "Fee tier in hundredths of a bip.",
          "maximum": 50000,
          "minimum": 500,
          "type": "integer"
        },
        "hedge-ratio": {
          "description": "Desired hedge ratio.",
          "minimum": 0,
          "type": "number"
        },
        "liquidity-usdc": {
          "description": "Initial liquidity in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "polymarket-yes-pct": {
          "description": "Polymarket YES probability percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "source-yes-pct": {
          "description": "Source YES probability percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "target-yes-pct": {
          "description": "Target YES probability percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "volume-scenarios": {
          "description": "Comma-delimited volume scenarios.",
          "type": "string"
        }
      },
      "required": [
        "liquidity-usdc"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Run mirror LP economics simulation.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror simulate --liquidity-usdc <n> [--source-yes-pct <0-100>] [--target-yes-pct <0-100>] [--distribution-yes <parts>] [--distribution-no <parts>] [--fee-tier <500-50000>] [--volume-scenarios <csv>] [--hedge-ratio <n>] [--polymarket-yes-pct <0-100>]"
  },
  "mirror.status": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "mirror",
      "status"
    ],
    "canonicalTool": "mirror.status",
    "canonicalUsage": "pandora [--output table|json] mirror status --state-file <path>|--strategy-hash <hash>|--pandora-market-address <address>|--market-address <address>|--polymarket-market-id <id>|--polymarket-slug <slug> [--with-live] [--trust-deploy] [--manifest-file <path>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--indexer-url <url>] [--timeout-ms <ms>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/MirrorStatusPayload",
    "emits": [
      "mirror.status",
      "mirror.status.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1500,
    "externalDependencies": [
      "filesystem",
      "indexer-api",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/MirrorStatusHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "drift-trigger-bps": {
          "description": "Drift trigger in basis points used when projecting live sync posture.",
          "minimum": 1,
          "type": "integer"
        },
        "hedge-trigger-usdc": {
          "description": "Hedge trigger size in USDC used when projecting live sync posture.",
          "minimum": 0,
          "type": "number"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "manifest-file": {
          "description": "Mirror manifest path.",
          "type": "string"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "pandora-market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "polymarket-gamma-mock-url": {
          "description": "Polymarket Gamma mock URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-gamma-url": {
          "description": "Polymarket Gamma API base URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override for live diagnostics.",
          "type": "string"
        },
        "polymarket-market-id": {
          "description": "Polymarket market id.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock CLOB URL for live diagnostics.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Polymarket slug.",
          "type": "string"
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        },
        "strategy-hash": {
          "description": "Mirror strategy hash.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "trust-deploy": {
          "description": "Trust manifest deploy pair.",
          "type": "boolean"
        },
        "with-live": {
          "description": "Enrich with live Polymarket diagnostics; partial visibility degrades into diagnostics instead of hard failure.",
          "type": "boolean"
        }
      },
      "type": "object",
      "xPandora": {
        "requiredAnyOf": [
          {
            "required": [
              "state-file"
            ]
          },
          {
            "required": [
              "strategy-hash"
            ]
          },
          {
            "required": [
              "pandora-market-address"
            ]
          },
          {
            "required": [
              "market-address"
            ]
          },
          {
            "required": [
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "polymarket-slug"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read",
      "network:indexer",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Read the single-mirror operator status/dashboard surface with selector-first lookup, graceful fallback behavior, runtime health, and optional live diagnostics.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror status --state-file <path>|--strategy-hash <hash>|--pandora-market-address <address>|--market-address <address>|--polymarket-market-id <id>|--polymarket-slug <slug> [--with-live] [--trust-deploy] [--manifest-file <path>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--indexer-url <url>] [--timeout-ms <ms>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]"
  },
  "mirror.sync": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/MirrorStatusPayload",
    "emits": [
      "mirror.sync.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Mirror sync runtime command family for separate Pandora rebalance and Polymarket hedge legs. Rebalance-route flags affect only the Ethereum Pandora leg; cross-venue settlement is not atomic.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror sync once|run|start|stop|status|unlock ..."
  },
  "mirror.sync.once": {
    "agentWorkflow": {
      "executeRequiresValidation": false,
      "notes": [
        "The default mirror stop file is ~/.pandora/mirror/STOP. Its presence intentionally blocks local mirror sync starts and ticks until cleared.",
        "Use mirror.panic clear mode after incident review, or remove the stop file manually only if you know the emergency lock is stale."
      ],
      "recommendedTools": [
        "mirror.panic"
      ],
      "requiredTools": []
    },
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "mirror",
      "sync",
      "once"
    ],
    "canonicalTool": "mirror.sync.once",
    "canonicalUsage": "pandora [--output table|json] mirror sync once --pandora-market-address <address>|--market-address <address> --polymarket-market-id <id>|--polymarket-slug <slug> [--paper|--dry-run|--execute-live|--execute] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--funder <address>] [--usdc <address>] [--trust-deploy] [--manifest-file <path>] [--skip-gate] [--strict-close-time-delta] [--stream|--no-stream] [--verbose] [--interval-ms <ms>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--hedge-ratio <n>] [--hedge-scope pool|total] [--adopt-existing-positions] [--no-hedge] [--rebalance-mode atomic|incremental] [--price-source on-chain|indexer] [--rebalance-route public|auto|flashbots-private|flashbots-bundle] [--rebalance-route-fallback fail|public] [--flashbots-relay-url <url>] [--flashbots-auth-key <key>] [--flashbots-target-block-offset <n>] [--max-rebalance-usdc <n>] [--max-hedge-usdc <n>] [--max-open-exposure-usdc <amount>] [--max-trades-per-day <n>] [--cooldown-ms <ms>] [--depth-slippage-bps <n>] [--min-time-to-close-sec <n>] [--iterations <n>] [--state-file <path>] [--kill-switch-file <path>] [--chain-id <id>] [--rpc-url <url>] [--polymarket-rpc-url <url>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>] [--webhook-url <url>] [--telegram-bot-token <token>] [--telegram-chat-id <id>] [--discord-webhook-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/MirrorStatusPayload",
    "emits": [
      "mirror.sync.once",
      "mirror.sync.help"
    ],
    "executeFlags": [
      "--execute-live",
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "filesystem",
      "wallet-secrets",
      "notification-secrets",
      "chain-rpc",
      "polymarket-api",
      "webhook-endpoint"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "adopt-existing-positions": {
          "description": "Seed managed Polymarket inventory from existing live YES/NO balances before sell-side recycling.",
          "type": "boolean"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "cooldown-ms": {
          "description": "Idempotency cooldown in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "depth-slippage-bps": {
          "description": "Depth slippage in basis points.",
          "maximum": 10000,
          "minimum": 1,
          "type": "integer"
        },
        "discord-webhook-url": {
          "description": "Discord webhook URL.",
          "type": "string"
        },
        "drift-trigger-bps": {
          "description": "Drift trigger in basis points.",
          "minimum": 1,
          "type": "integer"
        },
        "dry-run": {
          "description": "Run in dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute live/write path.",
          "type": "boolean"
        },
        "execute-live": {
          "description": "Execute live sync actions.",
          "type": "boolean"
        },
        "flashbots-auth-key": {
          "description": "Optional Flashbots auth key or signer reference for the Ethereum Pandora rebalance leg.",
          "type": "string"
        },
        "flashbots-relay-url": {
          "description": "Optional Flashbots/private relay URL for the Ethereum Pandora rebalance leg.",
          "type": "string"
        },
        "flashbots-target-block-offset": {
          "description": "Optional target block offset for Flashbots/private bundle submission.",
          "minimum": 1,
          "type": "integer"
        },
        "funder": {
          "description": "Polymarket proxy/safe address.",
          "type": "string"
        },
        "hedge-ratio": {
          "description": "Desired hedge ratio.",
          "minimum": 0,
          "type": "number"
        },
        "hedge-scope": {
          "description": "Hedge basis. total includes held Pandora outcome tokens in addition to pool reserves; pool hedges only the AMM reserves.",
          "enum": [
            "pool",
            "total"
          ]
        },
        "hedge-trigger-usdc": {
          "description": "Hedge trigger size in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "interval-ms": {
          "description": "Sync interval in milliseconds.",
          "minimum": 1000,
          "type": "integer"
        },
        "iterations": {
          "description": "Maximum tick iterations before exit.",
          "minimum": 1,
          "type": "integer"
        },
        "kill-switch-file": {
          "description": "Kill-switch file path.",
          "type": "string"
        },
        "manifest-file": {
          "description": "Mirror manifest path.",
          "type": "string"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "max-hedge-usdc": {
          "description": "Maximum hedge notional in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "max-open-exposure-usdc": {
          "description": "Maximum open exposure in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "max-rebalance-usdc": {
          "description": "Maximum rebalance notional in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "max-trades-per-day": {
          "description": "Maximum daily trade count.",
          "minimum": 0,
          "type": "integer"
        },
        "min-time-to-close-sec": {
          "description": "Minimum time-to-close in seconds.",
          "minimum": 1,
          "type": "integer"
        },
        "no-hedge": {
          "description": "Disable source hedge leg.",
          "type": "boolean"
        },
        "no-stream": {
          "description": "Disable streaming tick lines.",
          "type": "boolean"
        },
        "pandora-market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "paper": {
          "description": "Run in paper/simulation mode.",
          "type": "boolean"
        },
        "polymarket-gamma-mock-url": {
          "description": "Polymarket Gamma mock URL.",
          "type": "string"
        },
        "polymarket-gamma-url": {
          "description": "Polymarket Gamma API base URL.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override.",
          "type": "string"
        },
        "polymarket-market-id": {
          "description": "Polymarket market id.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock CLOB URL.",
          "type": "string"
        },
        "polymarket-rpc-url": {
          "description": "Polygon RPC URL for Polymarket preflight; comma-separated fallbacks are tried in order. This does not override Pandora reserve reads on --rpc-url.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Polymarket slug.",
          "type": "string"
        },
        "price-source": {
          "description": "Reserve source for Pandora pricing. on-chain refreshes outcome-token balances before sizing; indexer uses verify payload reserves.",
          "enum": [
            "on-chain",
            "indexer"
          ]
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "rebalance-mode": {
          "description": "Rebalance sizing mode. atomic targets the source price in one Pandora leg when reserves are available; incremental sizes by observed drift.",
          "enum": [
            "atomic",
            "incremental"
          ]
        },
        "rebalance-route": {
          "description": "Pandora-leg execution route. public preserves ordinary mempool submission; auto chooses a private route when supported; flashbots-private requests single-tx private relay submission; flashbots-bundle requests Flashbots bundle semantics for approval+trade paths. This affects only the Ethereum Pandora leg.",
          "enum": [
            "public",
            "auto",
            "flashbots-private",
            "flashbots-bundle"
          ]
        },
        "rebalance-route-fallback": {
          "description": "Fallback policy when the requested Pandora-leg private route is unsupported or rejected. fail stops the run; public degrades to ordinary public submission. This does not change Polygon hedge semantics.",
          "enum": [
            "fail",
            "public"
          ]
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "skip-gate": {
          "description": "Set to \"true\" to skip all mirror sync gates, or provide a comma-delimited named skip list.",
          "examples": [
            "true",
            "MATCH_AND_RULES,POLYMARKET_SOURCE_FRESH"
          ],
          "type": "string",
          "xPandora": {
            "acceptsBooleanString": true,
            "allowedGateCodes": [
              "MATCH_AND_RULES",
              "POLYMARKET_SOURCE_FRESH",
              "CLOSE_TIME_DELTA",
              "DEPTH_COVERAGE",
              "MAX_OPEN_EXPOSURE",
              "MAX_TRADES_PER_DAY",
              "MIN_TIME_TO_EXPIRY"
            ]
          }
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        },
        "stream": {
          "description": "Emit streaming tick lines.",
          "type": "boolean"
        },
        "strict-close-time-delta": {
          "description": "Promote close-time delta mismatches from diagnostic to blocking.",
          "type": "boolean"
        },
        "telegram-bot-token": {
          "description": "Telegram bot token.",
          "type": "string"
        },
        "telegram-chat-id": {
          "description": "Telegram chat id.",
          "type": "string"
        },
        "trust-deploy": {
          "description": "Trust manifest deploy pair.",
          "type": "boolean"
        },
        "usdc": {
          "description": "USDC token address override.",
          "type": "string"
        },
        "verbose": {
          "description": "Emit expanded per-tick console diagnostics.",
          "type": "boolean"
        },
        "webhook-url": {
          "description": "Webhook target URL.",
          "type": "string"
        }
      },
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-market-id"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-market-id",
              "paper"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-market-id",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-market-id",
              "execute-live"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-market-id",
              "execute"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-slug"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-slug",
              "paper"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-slug",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-slug",
              "execute-live"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-slug",
              "execute"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-market-id"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-market-id",
              "paper"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-market-id",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-market-id",
              "execute-live"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-market-id",
              "execute"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-slug"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-slug",
              "paper"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-slug",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-slug",
              "execute-live"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-slug",
              "execute"
            ]
          }
        ],
        "requiredAnyOf": [
          {
            "required": [
              "pandora-market-address",
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "pandora-market-address",
              "polymarket-slug"
            ]
          },
          {
            "required": [
              "market-address",
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "market-address",
              "polymarket-slug"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:write",
      "secrets:use",
      "network:rpc",
      "network:polymarket",
      "webhooks:use"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [
      "--paper",
      "--dry-run"
    ],
    "summary": "Execute one mirror sync tick with separate Pandora rebalance and Polymarket hedge legs. Rebalance-route flags affect only the Ethereum Pandora leg; cross-venue settlement is not atomic.",
    "supportsRemote": true,
    "supportsWebhook": true,
    "usage": "pandora [--output table|json] mirror sync once --pandora-market-address <address>|--market-address <address> --polymarket-market-id <id>|--polymarket-slug <slug> [--paper|--dry-run|--execute-live|--execute] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--funder <address>] [--usdc <address>] [--trust-deploy] [--manifest-file <path>] [--skip-gate] [--strict-close-time-delta] [--stream|--no-stream] [--verbose] [--interval-ms <ms>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--hedge-ratio <n>] [--hedge-scope pool|total] [--adopt-existing-positions] [--no-hedge] [--rebalance-mode atomic|incremental] [--price-source on-chain|indexer] [--rebalance-route public|auto|flashbots-private|flashbots-bundle] [--rebalance-route-fallback fail|public] [--flashbots-relay-url <url>] [--flashbots-auth-key <key>] [--flashbots-target-block-offset <n>] [--max-rebalance-usdc <n>] [--max-hedge-usdc <n>] [--max-open-exposure-usdc <amount>] [--max-trades-per-day <n>] [--cooldown-ms <ms>] [--depth-slippage-bps <n>] [--min-time-to-close-sec <n>] [--iterations <n>] [--state-file <path>] [--kill-switch-file <path>] [--chain-id <id>] [--rpc-url <url>] [--polymarket-rpc-url <url>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>] [--webhook-url <url>] [--telegram-bot-token <token>] [--telegram-chat-id <id>] [--discord-webhook-url <url>]"
  },
  "mirror.sync.run": {
    "agentWorkflow": {
      "executeRequiresValidation": false,
      "notes": [
        "The default mirror stop file is ~/.pandora/mirror/STOP. Its presence intentionally blocks local mirror sync starts and ticks until cleared.",
        "Use mirror.panic clear mode after incident review, or remove the stop file manually only if you know the emergency lock is stale."
      ],
      "recommendedTools": [
        "mirror.panic"
      ],
      "requiredTools": []
    },
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "mirror",
      "sync",
      "run"
    ],
    "canonicalTool": "mirror.sync.run",
    "canonicalUsage": "pandora [--output table|json] mirror sync run --pandora-market-address <address>|--market-address <address> --polymarket-market-id <id>|--polymarket-slug <slug> [--paper|--dry-run|--execute-live|--execute] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--funder <address>] [--usdc <address>] [--trust-deploy] [--manifest-file <path>] [--skip-gate] [--strict-close-time-delta] [--daemon] [--stream|--no-stream] [--verbose] [--interval-ms <ms>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--hedge-ratio <n>] [--hedge-scope pool|total] [--adopt-existing-positions] [--no-hedge] [--rebalance-mode atomic|incremental] [--price-source on-chain|indexer] [--rebalance-route public|auto|flashbots-private|flashbots-bundle] [--rebalance-route-fallback fail|public] [--flashbots-relay-url <url>] [--flashbots-auth-key <key>] [--flashbots-target-block-offset <n>] [--max-rebalance-usdc <n>] [--max-hedge-usdc <n>] [--max-open-exposure-usdc <amount>] [--max-trades-per-day <n>] [--cooldown-ms <ms>] [--depth-slippage-bps <n>] [--min-time-to-close-sec <n>] [--iterations <n>] [--state-file <path>] [--kill-switch-file <path>] [--chain-id <id>] [--rpc-url <url>] [--polymarket-rpc-url <url>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>] [--webhook-url <url>] [--telegram-bot-token <token>] [--telegram-chat-id <id>] [--discord-webhook-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/MirrorStatusPayload",
    "emits": [
      "mirror.sync.run",
      "mirror.sync.help"
    ],
    "executeFlags": [
      "--execute-live",
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 60000,
    "externalDependencies": [
      "filesystem",
      "wallet-secrets",
      "notification-secrets",
      "chain-rpc",
      "polymarket-api",
      "webhook-endpoint"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "adopt-existing-positions": {
          "description": "Seed managed Polymarket inventory from existing live YES/NO balances before sell-side recycling.",
          "type": "boolean"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "cooldown-ms": {
          "description": "Idempotency cooldown in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "daemon": {
          "description": "Request daemonized run mode.",
          "type": "boolean"
        },
        "depth-slippage-bps": {
          "description": "Depth slippage in basis points.",
          "maximum": 10000,
          "minimum": 1,
          "type": "integer"
        },
        "discord-webhook-url": {
          "description": "Discord webhook URL.",
          "type": "string"
        },
        "drift-trigger-bps": {
          "description": "Drift trigger in basis points.",
          "minimum": 1,
          "type": "integer"
        },
        "dry-run": {
          "description": "Run in dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute live/write path.",
          "type": "boolean"
        },
        "execute-live": {
          "description": "Execute live sync actions.",
          "type": "boolean"
        },
        "flashbots-auth-key": {
          "description": "Optional Flashbots auth key or signer reference for the Ethereum Pandora rebalance leg.",
          "type": "string"
        },
        "flashbots-relay-url": {
          "description": "Optional Flashbots/private relay URL for the Ethereum Pandora rebalance leg.",
          "type": "string"
        },
        "flashbots-target-block-offset": {
          "description": "Optional target block offset for Flashbots/private bundle submission.",
          "minimum": 1,
          "type": "integer"
        },
        "funder": {
          "description": "Polymarket proxy/safe address.",
          "type": "string"
        },
        "hedge-ratio": {
          "description": "Desired hedge ratio.",
          "minimum": 0,
          "type": "number"
        },
        "hedge-scope": {
          "description": "Hedge basis. total includes held Pandora outcome tokens in addition to pool reserves; pool hedges only the AMM reserves.",
          "enum": [
            "pool",
            "total"
          ]
        },
        "hedge-trigger-usdc": {
          "description": "Hedge trigger size in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "interval-ms": {
          "description": "Sync interval in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "iterations": {
          "description": "Maximum tick iterations before exit.",
          "minimum": 1,
          "type": "integer"
        },
        "kill-switch-file": {
          "description": "Kill-switch file path.",
          "type": "string"
        },
        "manifest-file": {
          "description": "Mirror manifest path.",
          "type": "string"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "max-hedge-usdc": {
          "description": "Maximum hedge notional in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "max-open-exposure-usdc": {
          "description": "Maximum open exposure in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "max-rebalance-usdc": {
          "description": "Maximum rebalance notional in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "max-trades-per-day": {
          "description": "Maximum daily trade count.",
          "minimum": 0,
          "type": "integer"
        },
        "min-time-to-close-sec": {
          "description": "Minimum time-to-close in seconds.",
          "minimum": 1,
          "type": "integer"
        },
        "no-hedge": {
          "description": "Disable source hedge leg.",
          "type": "boolean"
        },
        "no-stream": {
          "description": "Disable streaming tick lines.",
          "type": "boolean"
        },
        "pandora-market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "paper": {
          "description": "Run in paper/simulation mode.",
          "type": "boolean"
        },
        "polymarket-gamma-mock-url": {
          "description": "Polymarket Gamma mock URL.",
          "type": "string"
        },
        "polymarket-gamma-url": {
          "description": "Polymarket Gamma API base URL.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override.",
          "type": "string"
        },
        "polymarket-market-id": {
          "description": "Polymarket market id.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock CLOB URL.",
          "type": "string"
        },
        "polymarket-rpc-url": {
          "description": "Polygon RPC URL for Polymarket preflight; comma-separated fallbacks are tried in order. This does not override Pandora reserve reads on --rpc-url.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Polymarket slug.",
          "type": "string"
        },
        "price-source": {
          "description": "Reserve source for Pandora pricing. on-chain refreshes outcome-token balances before sizing; indexer uses verify payload reserves.",
          "enum": [
            "on-chain",
            "indexer"
          ]
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "rebalance-mode": {
          "description": "Rebalance sizing mode. atomic targets the source price in one Pandora leg when reserves are available; incremental sizes by observed drift.",
          "enum": [
            "atomic",
            "incremental"
          ]
        },
        "rebalance-route": {
          "description": "Pandora-leg execution route. public preserves ordinary mempool submission; auto chooses a private route when supported; flashbots-private requests single-tx private relay submission; flashbots-bundle requests Flashbots bundle semantics for approval+trade paths. This affects only the Ethereum Pandora leg.",
          "enum": [
            "public",
            "auto",
            "flashbots-private",
            "flashbots-bundle"
          ]
        },
        "rebalance-route-fallback": {
          "description": "Fallback policy when the requested Pandora-leg private route is unsupported or rejected. fail stops the run; public degrades to ordinary public submission. This does not change Polygon hedge semantics.",
          "enum": [
            "fail",
            "public"
          ]
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "skip-gate": {
          "description": "Set to \"true\" to skip all mirror sync gates, or provide a comma-delimited named skip list.",
          "examples": [
            "true",
            "MATCH_AND_RULES,POLYMARKET_SOURCE_FRESH"
          ],
          "type": "string",
          "xPandora": {
            "acceptsBooleanString": true,
            "allowedGateCodes": [
              "MATCH_AND_RULES",
              "POLYMARKET_SOURCE_FRESH",
              "CLOSE_TIME_DELTA",
              "DEPTH_COVERAGE",
              "MAX_OPEN_EXPOSURE",
              "MAX_TRADES_PER_DAY",
              "MIN_TIME_TO_EXPIRY"
            ]
          }
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        },
        "stream": {
          "description": "Emit streaming tick lines.",
          "type": "boolean"
        },
        "strict-close-time-delta": {
          "description": "Promote close-time delta mismatches from diagnostic to blocking.",
          "type": "boolean"
        },
        "telegram-bot-token": {
          "description": "Telegram bot token.",
          "type": "string"
        },
        "telegram-chat-id": {
          "description": "Telegram chat id.",
          "type": "string"
        },
        "trust-deploy": {
          "description": "Trust manifest deploy pair.",
          "type": "boolean"
        },
        "usdc": {
          "description": "USDC token address override.",
          "type": "string"
        },
        "verbose": {
          "description": "Emit expanded per-tick console diagnostics.",
          "type": "boolean"
        },
        "webhook-url": {
          "description": "Webhook target URL.",
          "type": "string"
        }
      },
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-market-id"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-market-id",
              "paper"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-market-id",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-market-id",
              "execute-live"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-market-id",
              "execute"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-slug"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-slug",
              "paper"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-slug",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-slug",
              "execute-live"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-slug",
              "execute"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-market-id"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-market-id",
              "paper"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-market-id",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-market-id",
              "execute-live"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-market-id",
              "execute"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-slug"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-slug",
              "paper"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-slug",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-slug",
              "execute-live"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-slug",
              "execute"
            ]
          }
        ],
        "requiredAnyOf": [
          {
            "required": [
              "pandora-market-address",
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "pandora-market-address",
              "polymarket-slug"
            ]
          },
          {
            "required": [
              "market-address",
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "market-address",
              "polymarket-slug"
            ]
          }
        ]
      }
    },
    "jobCapable": true,
    "mcpExposed": true,
    "mcpLongRunningBlocked": true,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:run",
      "secrets:use",
      "network:rpc",
      "network:polymarket",
      "jobs:run",
      "webhooks:use"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [
      "--paper",
      "--dry-run"
    ],
    "summary": "Run continuous mirror sync loop with separate Pandora rebalance and Polymarket hedge legs. Rebalance-route flags affect only the Ethereum Pandora leg; cross-venue settlement is not atomic.",
    "supportsRemote": true,
    "supportsWebhook": true,
    "usage": "pandora [--output table|json] mirror sync run --pandora-market-address <address>|--market-address <address> --polymarket-market-id <id>|--polymarket-slug <slug> [--paper|--dry-run|--execute-live|--execute] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--funder <address>] [--usdc <address>] [--trust-deploy] [--manifest-file <path>] [--skip-gate] [--strict-close-time-delta] [--daemon] [--stream|--no-stream] [--verbose] [--interval-ms <ms>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--hedge-ratio <n>] [--hedge-scope pool|total] [--adopt-existing-positions] [--no-hedge] [--rebalance-mode atomic|incremental] [--price-source on-chain|indexer] [--rebalance-route public|auto|flashbots-private|flashbots-bundle] [--rebalance-route-fallback fail|public] [--flashbots-relay-url <url>] [--flashbots-auth-key <key>] [--flashbots-target-block-offset <n>] [--max-rebalance-usdc <n>] [--max-hedge-usdc <n>] [--max-open-exposure-usdc <amount>] [--max-trades-per-day <n>] [--cooldown-ms <ms>] [--depth-slippage-bps <n>] [--min-time-to-close-sec <n>] [--iterations <n>] [--state-file <path>] [--kill-switch-file <path>] [--chain-id <id>] [--rpc-url <url>] [--polymarket-rpc-url <url>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>] [--webhook-url <url>] [--telegram-bot-token <token>] [--telegram-chat-id <id>] [--discord-webhook-url <url>]"
  },
  "mirror.sync.start": {
    "agentWorkflow": {
      "executeRequiresValidation": false,
      "notes": [
        "The default mirror stop file is ~/.pandora/mirror/STOP. Its presence intentionally blocks local mirror sync starts and ticks until cleared.",
        "Use mirror.panic clear mode after incident review, or remove the stop file manually only if you know the emergency lock is stale."
      ],
      "recommendedTools": [
        "mirror.panic"
      ],
      "requiredTools": []
    },
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "mirror",
      "sync",
      "start"
    ],
    "canonicalTool": "mirror.sync.start",
    "canonicalUsage": "pandora [--output table|json] mirror sync start --pandora-market-address <address>|--market-address <address> --polymarket-market-id <id>|--polymarket-slug <slug> [--paper|--dry-run|--execute-live|--execute] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--funder <address>] [--usdc <address>] [--trust-deploy] [--manifest-file <path>] [--skip-gate] [--strict-close-time-delta] [--verbose] [--interval-ms <ms>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--hedge-ratio <n>] [--hedge-scope pool|total] [--adopt-existing-positions] [--no-hedge] [--rebalance-mode atomic|incremental] [--price-source on-chain|indexer] [--rebalance-route public|auto|flashbots-private|flashbots-bundle] [--rebalance-route-fallback fail|public] [--flashbots-relay-url <url>] [--flashbots-auth-key <key>] [--flashbots-target-block-offset <n>] [--max-rebalance-usdc <n>] [--max-hedge-usdc <n>] [--max-open-exposure-usdc <amount>] [--max-trades-per-day <n>] [--cooldown-ms <ms>] [--depth-slippage-bps <n>] [--min-time-to-close-sec <n>] [--iterations <n>] [--state-file <path>] [--kill-switch-file <path>] [--chain-id <id>] [--rpc-url <url>] [--polymarket-rpc-url <url>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>] [--webhook-url <url>] [--telegram-bot-token <token>] [--telegram-chat-id <id>] [--discord-webhook-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/MirrorStatusPayload",
    "emits": [
      "mirror.sync.start",
      "mirror.sync.help"
    ],
    "executeFlags": [
      "--execute-live",
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 60000,
    "externalDependencies": [
      "filesystem",
      "wallet-secrets",
      "notification-secrets",
      "chain-rpc",
      "polymarket-api",
      "webhook-endpoint"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "adopt-existing-positions": {
          "description": "Seed managed Polymarket inventory from existing live YES/NO balances before sell-side recycling.",
          "type": "boolean"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "cooldown-ms": {
          "description": "Idempotency cooldown in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "depth-slippage-bps": {
          "description": "Depth slippage in basis points.",
          "maximum": 10000,
          "minimum": 1,
          "type": "integer"
        },
        "discord-webhook-url": {
          "description": "Discord webhook URL.",
          "type": "string"
        },
        "drift-trigger-bps": {
          "description": "Drift trigger in basis points.",
          "minimum": 1,
          "type": "integer"
        },
        "dry-run": {
          "description": "Run in dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute live/write path.",
          "type": "boolean"
        },
        "execute-live": {
          "description": "Execute live sync actions.",
          "type": "boolean"
        },
        "flashbots-auth-key": {
          "description": "Optional Flashbots auth key or signer reference for the Ethereum Pandora rebalance leg.",
          "type": "string"
        },
        "flashbots-relay-url": {
          "description": "Optional Flashbots/private relay URL for the Ethereum Pandora rebalance leg.",
          "type": "string"
        },
        "flashbots-target-block-offset": {
          "description": "Optional target block offset for Flashbots/private bundle submission.",
          "minimum": 1,
          "type": "integer"
        },
        "funder": {
          "description": "Polymarket proxy/safe address.",
          "type": "string"
        },
        "hedge-ratio": {
          "description": "Desired hedge ratio.",
          "minimum": 0,
          "type": "number"
        },
        "hedge-scope": {
          "description": "Hedge basis. total includes held Pandora outcome tokens in addition to pool reserves; pool hedges only the AMM reserves.",
          "enum": [
            "pool",
            "total"
          ]
        },
        "hedge-trigger-usdc": {
          "description": "Hedge trigger size in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "interval-ms": {
          "description": "Sync interval in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "iterations": {
          "description": "Maximum tick iterations before exit.",
          "minimum": 1,
          "type": "integer"
        },
        "kill-switch-file": {
          "description": "Kill-switch file path.",
          "type": "string"
        },
        "manifest-file": {
          "description": "Mirror manifest path.",
          "type": "string"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "max-hedge-usdc": {
          "description": "Maximum hedge notional in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "max-open-exposure-usdc": {
          "description": "Maximum open exposure in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "max-rebalance-usdc": {
          "description": "Maximum rebalance notional in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "max-trades-per-day": {
          "description": "Maximum daily trade count.",
          "minimum": 0,
          "type": "integer"
        },
        "min-time-to-close-sec": {
          "description": "Minimum time-to-close in seconds.",
          "minimum": 1,
          "type": "integer"
        },
        "no-hedge": {
          "description": "Disable source hedge leg.",
          "type": "boolean"
        },
        "pandora-market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "paper": {
          "description": "Run in paper/simulation mode.",
          "type": "boolean"
        },
        "polymarket-gamma-mock-url": {
          "description": "Polymarket Gamma mock URL.",
          "type": "string"
        },
        "polymarket-gamma-url": {
          "description": "Polymarket Gamma API base URL.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override.",
          "type": "string"
        },
        "polymarket-market-id": {
          "description": "Polymarket market id.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock CLOB URL.",
          "type": "string"
        },
        "polymarket-rpc-url": {
          "description": "Polygon RPC URL for Polymarket preflight; comma-separated fallbacks are tried in order. This does not override Pandora reserve reads on --rpc-url.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Polymarket slug.",
          "type": "string"
        },
        "price-source": {
          "description": "Reserve source for Pandora pricing. on-chain refreshes outcome-token balances before sizing; indexer uses verify payload reserves.",
          "enum": [
            "on-chain",
            "indexer"
          ]
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "rebalance-mode": {
          "description": "Rebalance sizing mode. atomic targets the source price in one Pandora leg when reserves are available; incremental sizes by observed drift.",
          "enum": [
            "atomic",
            "incremental"
          ]
        },
        "rebalance-route": {
          "description": "Pandora-leg execution route. public preserves ordinary mempool submission; auto chooses a private route when supported; flashbots-private requests single-tx private relay submission; flashbots-bundle requests Flashbots bundle semantics for approval+trade paths. This affects only the Ethereum Pandora leg.",
          "enum": [
            "public",
            "auto",
            "flashbots-private",
            "flashbots-bundle"
          ]
        },
        "rebalance-route-fallback": {
          "description": "Fallback policy when the requested Pandora-leg private route is unsupported or rejected. fail stops the run; public degrades to ordinary public submission. This does not change Polygon hedge semantics.",
          "enum": [
            "fail",
            "public"
          ]
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "skip-gate": {
          "description": "Set to \"true\" to skip all mirror sync gates, or provide a comma-delimited named skip list.",
          "examples": [
            "true",
            "MATCH_AND_RULES,POLYMARKET_SOURCE_FRESH"
          ],
          "type": "string",
          "xPandora": {
            "acceptsBooleanString": true,
            "allowedGateCodes": [
              "MATCH_AND_RULES",
              "POLYMARKET_SOURCE_FRESH",
              "CLOSE_TIME_DELTA",
              "DEPTH_COVERAGE",
              "MAX_OPEN_EXPOSURE",
              "MAX_TRADES_PER_DAY",
              "MIN_TIME_TO_EXPIRY"
            ]
          }
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        },
        "strict-close-time-delta": {
          "description": "Promote close-time delta mismatches from diagnostic to blocking.",
          "type": "boolean"
        },
        "telegram-bot-token": {
          "description": "Telegram bot token.",
          "type": "string"
        },
        "telegram-chat-id": {
          "description": "Telegram chat id.",
          "type": "string"
        },
        "trust-deploy": {
          "description": "Trust manifest deploy pair.",
          "type": "boolean"
        },
        "usdc": {
          "description": "USDC token address override.",
          "type": "string"
        },
        "verbose": {
          "description": "Emit expanded per-tick console diagnostics.",
          "type": "boolean"
        },
        "webhook-url": {
          "description": "Webhook target URL.",
          "type": "string"
        }
      },
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-market-id"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-market-id",
              "paper"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-market-id",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-market-id",
              "execute-live"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-market-id",
              "execute"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-slug"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-slug",
              "paper"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-slug",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-slug",
              "execute-live"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-slug",
              "execute"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-market-id"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-market-id",
              "paper"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-market-id",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-market-id",
              "execute-live"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-market-id",
              "execute"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-slug"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-slug",
              "paper"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-slug",
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-slug",
              "execute-live"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "paper"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                },
                {
                  "required": [
                    "execute-live"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-slug",
              "execute"
            ]
          }
        ],
        "requiredAnyOf": [
          {
            "required": [
              "pandora-market-address",
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "pandora-market-address",
              "polymarket-slug"
            ]
          },
          {
            "required": [
              "market-address",
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "market-address",
              "polymarket-slug"
            ]
          }
        ]
      }
    },
    "jobCapable": true,
    "mcpExposed": true,
    "mcpLongRunningBlocked": true,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:run",
      "secrets:use",
      "network:rpc",
      "network:polymarket",
      "jobs:run",
      "webhooks:use"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": true,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [
      "--paper",
      "--dry-run"
    ],
    "summary": "Start detached mirror sync daemon for separate Pandora rebalance and Polymarket hedge legs. Rebalance-route flags affect only the Ethereum Pandora leg; cross-venue settlement is not atomic.",
    "supportsRemote": true,
    "supportsWebhook": true,
    "usage": "pandora [--output table|json] mirror sync start --pandora-market-address <address>|--market-address <address> --polymarket-market-id <id>|--polymarket-slug <slug> [--paper|--dry-run|--execute-live|--execute] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--funder <address>] [--usdc <address>] [--trust-deploy] [--manifest-file <path>] [--skip-gate] [--strict-close-time-delta] [--verbose] [--interval-ms <ms>] [--drift-trigger-bps <n>] [--hedge-trigger-usdc <n>] [--hedge-ratio <n>] [--hedge-scope pool|total] [--adopt-existing-positions] [--no-hedge] [--rebalance-mode atomic|incremental] [--price-source on-chain|indexer] [--rebalance-route public|auto|flashbots-private|flashbots-bundle] [--rebalance-route-fallback fail|public] [--flashbots-relay-url <url>] [--flashbots-auth-key <key>] [--flashbots-target-block-offset <n>] [--max-rebalance-usdc <n>] [--max-hedge-usdc <n>] [--max-open-exposure-usdc <amount>] [--max-trades-per-day <n>] [--cooldown-ms <ms>] [--depth-slippage-bps <n>] [--min-time-to-close-sec <n>] [--iterations <n>] [--state-file <path>] [--kill-switch-file <path>] [--chain-id <id>] [--rpc-url <url>] [--polymarket-rpc-url <url>] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>] [--webhook-url <url>] [--telegram-bot-token <token>] [--telegram-chat-id <id>] [--discord-webhook-url <url>]"
  },
  "mirror.sync.status": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "mirror",
      "sync",
      "status"
    ],
    "canonicalTool": "mirror.sync.status",
    "canonicalUsage": "pandora [--output table|json] mirror sync status --pid-file <path>|--strategy-hash <hash>",
    "controlInputNames": [],
    "dataSchema": "#/definitions/MirrorSyncPayload",
    "emits": [
      "mirror.sync.status",
      "mirror.sync.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1000,
    "externalDependencies": [
      "filesystem"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "pid-file": {
          "description": "Mirror daemon pid file path.",
          "type": "string"
        },
        "strategy-hash": {
          "description": "Mirror strategy hash.",
          "type": "string"
        }
      },
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "strategy-hash"
                  ]
                },
                {
                  "required": [
                    "strategy-hash"
                  ]
                }
              ]
            },
            "required": [
              "pid-file"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pid-file"
                  ]
                },
                {
                  "required": [
                    "pid-file"
                  ]
                }
              ]
            },
            "required": [
              "strategy-hash"
            ]
          }
        ],
        "requiredAnyOf": [
          {
            "required": [
              "pid-file"
            ]
          },
          {
            "required": [
              "strategy-hash"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": true,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Inspect detached mirror sync daemon health/status metadata.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror sync status --pid-file <path>|--strategy-hash <hash>"
  },
  "mirror.sync.stop": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "mirror",
      "sync",
      "stop"
    ],
    "canonicalTool": "mirror.sync.stop",
    "canonicalUsage": "pandora [--output table|json] mirror sync stop --pid-file <path>|--strategy-hash <hash>|--market-address <address>|--all",
    "controlInputNames": [],
    "dataSchema": "#/definitions/MirrorSyncPayload",
    "emits": [
      "mirror.sync.stop",
      "mirror.sync.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": true,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1000,
    "externalDependencies": [
      "filesystem"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "non-idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "all": {
          "description": "Stop all mirror sync daemons.",
          "type": "boolean"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "pid-file": {
          "description": "Mirror daemon pid file path.",
          "type": "string"
        },
        "strategy-hash": {
          "description": "Mirror strategy hash.",
          "type": "string"
        }
      },
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "strategy-hash"
                  ]
                },
                {
                  "required": [
                    "strategy-hash"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "all"
                  ]
                }
              ]
            },
            "required": [
              "pid-file"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pid-file"
                  ]
                },
                {
                  "required": [
                    "pid-file"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "all"
                  ]
                }
              ]
            },
            "required": [
              "strategy-hash"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pid-file"
                  ]
                },
                {
                  "required": [
                    "pid-file"
                  ]
                },
                {
                  "required": [
                    "strategy-hash"
                  ]
                },
                {
                  "required": [
                    "strategy-hash"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "all"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pid-file"
                  ]
                },
                {
                  "required": [
                    "pid-file"
                  ]
                },
                {
                  "required": [
                    "strategy-hash"
                  ]
                },
                {
                  "required": [
                    "strategy-hash"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "all"
                  ]
                },
                {
                  "required": [
                    "all"
                  ]
                }
              ]
            },
            "required": [
              "market-address"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pid-file"
                  ]
                },
                {
                  "required": [
                    "pid-file"
                  ]
                },
                {
                  "required": [
                    "strategy-hash"
                  ]
                },
                {
                  "required": [
                    "strategy-hash"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                }
              ]
            },
            "required": [
              "all"
            ]
          }
        ],
        "requiredAnyOf": [
          {
            "required": [
              "pid-file"
            ]
          },
          {
            "required": [
              "strategy-hash"
            ]
          },
          {
            "required": [
              "pandora-market-address"
            ]
          },
          {
            "required": [
              "market-address"
            ]
          },
          {
            "required": [
              "all"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:write"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": true,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Stop detached mirror sync daemon.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror sync stop --pid-file <path>|--strategy-hash <hash>|--market-address <address>|--all"
  },
  "mirror.sync.unlock": {
    "agentWorkflow": {
      "executeRequiresValidation": false,
      "notes": [
        "Unlock clears only the persisted pending-action lock file. It does not settle venue state or change live positions.",
        "Invalid and zombie locks can be cleared without --force. Reconciliation-required or still-pending locks require operator review and --force."
      ],
      "recommendedTools": [
        "mirror.health"
      ],
      "requiredTools": [
        "mirror.status"
      ]
    },
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "mirror",
      "sync",
      "unlock"
    ],
    "canonicalTool": "mirror.sync.unlock",
    "canonicalUsage": "pandora [--output table|json] mirror sync unlock --state-file <path>|--strategy-hash <hash> [--force] [--stale-after-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/MirrorStatusPayload",
    "emits": [
      "mirror.sync.unlock",
      "mirror.sync.unlock.help",
      "mirror.sync.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": true,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1000,
    "externalDependencies": [
      "filesystem"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "non-idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "force": {
          "description": "Override a reconciliation-required or still-pending lock after operator review.",
          "type": "boolean"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "stale-after-ms": {
          "description": "Override the stale threshold used to classify pending-action locks.",
          "minimum": 1,
          "type": "integer"
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        },
        "strategy-hash": {
          "description": "Mirror strategy hash.",
          "type": "string"
        }
      },
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "strategy-hash"
                  ]
                },
                {
                  "required": [
                    "strategy-hash"
                  ]
                }
              ]
            },
            "required": [
              "state-file"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "state-file"
                  ]
                },
                {
                  "required": [
                    "state-file"
                  ]
                }
              ]
            },
            "required": [
              "strategy-hash"
            ]
          }
        ],
        "requiredAnyOf": [
          {
            "required": [
              "state-file"
            ]
          },
          {
            "required": [
              "strategy-hash"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:write"
    ],
    "preferred": true,
    "recommendedPreflightTool": "mirror.status",
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": true,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Clear persisted pending-action locks for one mirror strategy after operator review.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror sync unlock --state-file <path>|--strategy-hash <hash> [--force] [--stale-after-ms <ms>]"
  },
  "mirror.trace": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "mirror",
      "trace"
    ],
    "canonicalTool": "mirror.trace",
    "canonicalUsage": "pandora [--output table|json] mirror trace --pandora-market-address <address>|--market-address <address> --rpc-url <url> [--blocks <csv>|--from-block <n> --to-block <n> [--step <n>]] [--limit <n>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/MirrorTracePayload",
    "emits": [
      "mirror.trace",
      "mirror.trace.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1500,
    "externalDependencies": [
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "blocks": {
          "description": "Comma-delimited explicit block numbers to sample.",
          "type": "string"
        },
        "from-block": {
          "description": "Inclusive start block number.",
          "minimum": 0,
          "type": "integer"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "pandora-market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "step": {
          "description": "Sampling step for block ranges.",
          "minimum": 1,
          "type": "integer"
        },
        "to-block": {
          "description": "Inclusive end block number.",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "rpc-url"
      ],
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "from-block",
                    "to-block"
                  ]
                },
                {
                  "required": [
                    "from-block"
                  ]
                },
                {
                  "required": [
                    "to-block"
                  ]
                }
              ]
            },
            "required": [
              "blocks"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "blocks"
                  ]
                },
                {
                  "required": [
                    "blocks"
                  ]
                }
              ]
            },
            "required": [
              "from-block",
              "to-block"
            ]
          }
        ],
        "requiredAnyOf": [
          {
            "required": [
              "pandora-market-address"
            ]
          },
          {
            "required": [
              "market-address"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Read block-aware historical Pandora reserve snapshots for one market via explicit block lists or sampled block ranges.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror trace --pandora-market-address <address>|--market-address <address> --rpc-url <url> [--blocks <csv>|--from-block <n> --to-block <n> [--step <n>]] [--limit <n>]"
  },
  "mirror.verify": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "mirror",
      "verify"
    ],
    "canonicalTool": "mirror.verify",
    "canonicalUsage": "pandora [--output table|json] mirror verify --pandora-market-address <address>|--market-address <address> --polymarket-market-id <id>|--polymarket-slug <slug> [--trust-deploy] [--manifest-file <path>] [--include-similarity] [--with-rules] [--allow-rule-mismatch] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/MirrorVerifyPayload",
    "emits": [
      "mirror.verify",
      "mirror.verify.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "allow-rule-mismatch": {
          "description": "Downgrade rule mismatch to warning.",
          "type": "boolean"
        },
        "include-similarity": {
          "description": "Include similarity diagnostics.",
          "type": "boolean"
        },
        "manifest-file": {
          "description": "Mirror manifest path.",
          "type": "string"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "pandora-market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "polymarket-gamma-mock-url": {
          "description": "Polymarket Gamma mock URL.",
          "type": "string"
        },
        "polymarket-gamma-url": {
          "description": "Polymarket Gamma API base URL.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override.",
          "type": "string"
        },
        "polymarket-market-id": {
          "description": "Polymarket market id.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock CLOB URL.",
          "type": "string"
        },
        "polymarket-slug": {
          "description": "Polymarket slug.",
          "type": "string"
        },
        "trust-deploy": {
          "description": "Trust manifest deploy pair.",
          "type": "boolean"
        },
        "with-rules": {
          "description": "Include rule payloads.",
          "type": "boolean"
        }
      },
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-market-id"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                }
              ]
            },
            "required": [
              "pandora-market-address",
              "polymarket-slug"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                },
                {
                  "required": [
                    "polymarket-slug"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-market-id"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "pandora-market-address"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                },
                {
                  "required": [
                    "polymarket-market-id"
                  ]
                }
              ]
            },
            "required": [
              "market-address",
              "polymarket-slug"
            ]
          }
        ],
        "requiredAnyOf": [
          {
            "required": [
              "pandora-market-address",
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "pandora-market-address",
              "polymarket-slug"
            ]
          },
          {
            "required": [
              "market-address",
              "polymarket-market-id"
            ]
          },
          {
            "required": [
              "market-address",
              "polymarket-slug"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "mirror:read",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Verify a Pandora market against a Polymarket source pair.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] mirror verify --pandora-market-address <address>|--market-address <address> --polymarket-market-id <id>|--polymarket-slug <slug> [--trust-deploy] [--manifest-file <path>] [--include-similarity] [--with-rules] [--allow-rule-mismatch] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-gamma-mock-url <url>] [--polymarket-mock-url <url>]"
  },
  "model": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "model.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "model:read"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Model command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] model calibrate|correlation|diagnose|score brier ..."
  },
  "model.calibrate": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "model",
      "calibrate"
    ],
    "canonicalTool": "model.calibrate",
    "canonicalUsage": "pandora [--output table|json] model calibrate (--prices <csv>|--returns <csv>) [--dt <n>] [--jump-threshold-sigma <n>] [--min-jump-count <n>] [--model-id <id>] [--save-model <path>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/ModelCalibratePayload",
    "emits": [
      "model.calibrate",
      "model.calibrate.help",
      "model.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "dt": {
          "description": "Observation interval.",
          "type": "number"
        },
        "jump-threshold-sigma": {
          "description": "Jump threshold in sigma units.",
          "minimum": 0,
          "type": "number"
        },
        "min-jump-count": {
          "description": "Minimum jump observation count.",
          "minimum": 0,
          "type": "integer"
        },
        "model-id": {
          "description": "Model identifier.",
          "type": "string"
        },
        "prices": {
          "description": "Comma-delimited price series.",
          "type": "string"
        },
        "returns": {
          "description": "Comma-delimited return series.",
          "type": "string"
        },
        "save-model": {
          "description": "Output artifact path.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "model:write"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Calibrate jump-diffusion parameters from historical price or return inputs.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] model calibrate (--prices <csv>|--returns <csv>) [--dt <n>] [--jump-threshold-sigma <n>] [--min-jump-count <n>] [--model-id <id>] [--save-model <path>]"
  },
  "model.correlation": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "model",
      "correlation"
    ],
    "canonicalTool": "model.correlation",
    "canonicalUsage": "pandora [--output table|json] model correlation --series <id:v1,v2,...> --series <id:v1,v2,...> [--copula t|gaussian|clayton|gumbel] [--compare <csv>] [--tail-alpha <n>] [--df <n>] [--joint-threshold-z <n>] [--scenario-shocks <csv>] [--model-id <id>] [--save-model <path>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/ModelCorrelationPayload",
    "emits": [
      "model.correlation",
      "model.correlation.help",
      "model.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "compare": {
          "description": "Comma-delimited comparison list.",
          "type": "string"
        },
        "copula": {
          "description": "Copula family.",
          "enum": [
            "t",
            "gaussian",
            "clayton",
            "gumbel"
          ]
        },
        "df": {
          "description": "Student-t degrees of freedom.",
          "minimum": 0,
          "type": "number"
        },
        "joint-threshold-z": {
          "description": "Joint tail threshold in z-space.",
          "type": "number"
        },
        "model-id": {
          "description": "Model identifier.",
          "type": "string"
        },
        "save-model": {
          "description": "Output artifact path.",
          "type": "string"
        },
        "scenario-shocks": {
          "description": "Comma-delimited scenario shocks.",
          "type": "string"
        },
        "series": {
          "description": "Series specification id:v1,v2,..., or a semicolon-delimited list of series specifications.",
          "minLength": 1,
          "type": "string",
          "xPandora": {
            "acceptsSemicolonSeparatedList": true
          }
        },
        "tail-alpha": {
          "description": "Tail alpha level.",
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "series"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "model:write"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Estimate dependency structure and tail dependence via copula methods.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] model correlation --series <id:v1,v2,...> --series <id:v1,v2,...> [--copula t|gaussian|clayton|gumbel] [--compare <csv>] [--tail-alpha <n>] [--df <n>] [--joint-threshold-z <n>] [--scenario-shocks <csv>] [--model-id <id>] [--save-model <path>]"
  },
  "model.diagnose": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "model",
      "diagnose"
    ],
    "canonicalTool": "model.diagnose",
    "canonicalUsage": "pandora [--output table|json] model diagnose [--calibration-rmse <n>] [--drift-bps <n>] [--spread-bps <n>] [--depth-coverage <0..1>] [--informed-flow-ratio <0..1>] [--noise-ratio <0..1>] [--anomaly-rate <0..1>] [--manipulation-alerts <n>] [--tail-dependence <0..1>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/ModelDiagnosePayload",
    "emits": [
      "model.diagnose",
      "model.diagnose.help",
      "model.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "anomaly-rate": {
          "description": "Anomaly rate.",
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        },
        "calibration-rmse": {
          "description": "Calibration RMSE.",
          "minimum": 0,
          "type": "number"
        },
        "depth-coverage": {
          "description": "Depth coverage ratio.",
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        },
        "drift-bps": {
          "description": "Drift in basis points.",
          "type": "number"
        },
        "informed-flow-ratio": {
          "description": "Informed flow ratio.",
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        },
        "manipulation-alerts": {
          "description": "Manipulation alert count.",
          "minimum": 0,
          "type": "integer"
        },
        "noise-ratio": {
          "description": "Noise flow ratio.",
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        },
        "spread-bps": {
          "description": "Spread in basis points.",
          "minimum": 0,
          "type": "number"
        },
        "tail-dependence": {
          "description": "Tail dependence metric.",
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "model:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Diagnose market or model informativeness with machine-readable flags.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] model diagnose [--calibration-rmse <n>] [--drift-bps <n>] [--spread-bps <n>] [--depth-coverage <0..1>] [--informed-flow-ratio <0..1>] [--noise-ratio <0..1>] [--anomaly-rate <0..1>] [--manipulation-alerts <n>] [--tail-dependence <0..1>]"
  },
  "model.score.brier": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "model",
      "score",
      "brier"
    ],
    "canonicalTool": "model.score.brier",
    "canonicalUsage": "pandora [--output table|json] model score brier [--source <name>] [--market-address <address>] [--competition <id>] [--event-id <id>] [--model-id <id>] [--group-by source|market|competition|model|none] [--window-days <n>] [--bucket-count <n>] [--forecast-file <path>] [--include-records] [--include-unresolved] [--limit <n>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/ModelScoreBrierPayload",
    "emits": [
      "model.score.brier",
      "model.score.brier.help",
      "model.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "bucket-count": {
          "description": "Reliability bucket count.",
          "minimum": 1,
          "type": "integer"
        },
        "competition": {
          "description": "Competition identifier or slug.",
          "type": "string"
        },
        "event-id": {
          "description": "Event identifier.",
          "type": "string"
        },
        "forecast-file": {
          "description": "Forecast ledger path.",
          "type": "string"
        },
        "group-by": {
          "description": "Aggregation grouping.",
          "enum": [
            "source",
            "market",
            "competition",
            "model",
            "none"
          ]
        },
        "include-records": {
          "description": "Include resolved records in payload.",
          "type": "boolean"
        },
        "include-unresolved": {
          "description": "Include unresolved records in payload.",
          "type": "boolean"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "model-id": {
          "description": "Model identifier.",
          "type": "string"
        },
        "source": {
          "description": "Forecast source label.",
          "type": "string"
        },
        "window-days": {
          "description": "Window size in days.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "model:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Score forecast calibration via Brier metrics.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] model score brier [--source <name>] [--market-address <address>] [--competition <id>] [--event-id <id>] [--model-id <id>] [--group-by source|market|competition|model|none] [--window-days <n>] [--bucket-count <n>] [--forecast-file <path>] [--include-records] [--include-unresolved] [--limit <n>]"
  },
  "odds": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "odds.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/OddsHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "odds:read",
      "network:indexer"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Odds command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] odds record --competition <id> --interval <sec> [--max-samples <n>] [--event-id <id>] [--venues pandora_amm,polymarket] [--indexer-url <url>] [--polymarket-host <url>] [--polymarket-mock-url <url>] [--timeout-ms <ms>] | pandora [--output table|json] odds history --event-id <id> --output csv|json [--limit <n>]"
  },
  "odds.history": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "odds",
      "history"
    ],
    "canonicalTool": "odds.history",
    "canonicalUsage": "pandora [--output table|json] odds history --event-id <id> --output csv|json [--limit <n>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/OddsHistoryPayload",
    "emits": [
      "odds.history",
      "odds.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/OddsHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "event-id": {
          "description": "Event identifier.",
          "type": "string"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "output": {
          "description": "History output mode.",
          "enum": [
            "csv",
            "json"
          ]
        }
      },
      "required": [
        "event-id"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "odds:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Read stored venue odds history for one event.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] odds history --event-id <id> --output csv|json [--limit <n>]"
  },
  "odds.record": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "odds",
      "record"
    ],
    "canonicalTool": "odds.record",
    "canonicalUsage": "pandora [--output table|json] odds record --competition <id> --interval <sec> [--max-samples <n>] [--event-id <id>] [--venues pandora_amm,polymarket] [--indexer-url <url>] [--polymarket-host <url>] [--polymarket-mock-url <url>] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/OddsRecordPayload",
    "emits": [
      "odds.record",
      "odds.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": true,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 60000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/OddsHelpPayload",
    "idempotency": "non-idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "competition": {
          "description": "Competition identifier or slug.",
          "type": "string"
        },
        "event-id": {
          "description": "Event identifier.",
          "type": "string"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "interval": {
          "description": "Recording interval in seconds.",
          "minimum": 1,
          "type": "number"
        },
        "max-samples": {
          "description": "Maximum sample count.",
          "minimum": 1,
          "type": "integer"
        },
        "polymarket-host": {
          "description": "Polymarket host override.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock host override.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "venues": {
          "description": "Comma-delimited venue list.",
          "type": "string"
        }
      },
      "required": [
        "competition",
        "interval"
      ],
      "type": "object"
    },
    "jobCapable": true,
    "mcpExposed": true,
    "mcpLongRunningBlocked": true,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "odds:run",
      "network:indexer",
      "jobs:run"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Record venue odds snapshots into local history storage.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] odds record --competition <id> --interval <sec> [--max-samples <n>] [--event-id <id>] [--venues pandora_amm,polymarket] [--indexer-url <url>] [--polymarket-host <url>] [--polymarket-mock-url <url>] [--timeout-ms <ms>]"
  },
  "operations": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/CommandHelpPayload",
    "emits": [
      "operations.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "operations:read"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Inspect and control durable operation records for mutable workflows.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] operations get|list|receipt|verify-receipt|cancel|close [flags]"
  },
  "operations.cancel": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "operations",
      "cancel"
    ],
    "canonicalTool": "operations.cancel",
    "canonicalUsage": "pandora [--output table|json] operations cancel --id <operation-id> [--reason <text>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/OperationPayload",
    "emits": [
      "operations.cancel",
      "operations.cancel.help",
      "operations.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": true,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 400,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "description": "Operation id to cancel.",
          "type": "string"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "reason": {
          "description": "Optional operator reason for the cancellation request.",
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "operations:write"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Request cancellation of a cancelable operation.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] operations cancel --id <operation-id> [--reason <text>]"
  },
  "operations.close": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "operations",
      "close"
    ],
    "canonicalTool": "operations.close",
    "canonicalUsage": "pandora [--output table|json] operations close --id <operation-id> [--reason <text>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/OperationPayload",
    "emits": [
      "operations.close",
      "operations.close.help",
      "operations.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": true,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 400,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "description": "Operation id to close.",
          "type": "string"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "reason": {
          "description": "Optional operator reason for closing the operation record.",
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "operations:write"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Close a terminal operation record after follow-up is complete.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] operations close --id <operation-id> [--reason <text>]"
  },
  "operations.get": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "operations",
      "get"
    ],
    "canonicalTool": "operations.get",
    "canonicalUsage": "pandora [--output table|json] operations get --id <operation-id>",
    "controlInputNames": [],
    "dataSchema": "#/definitions/OperationPayload",
    "emits": [
      "operations.get",
      "operations.get.help",
      "operations.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 200,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "description": "Operation id to inspect.",
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "operations:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Return a single operation record including lifecycle and checkpoints.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] operations get --id <operation-id>"
  },
  "operations.list": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "operations",
      "list"
    ],
    "canonicalTool": "operations.list",
    "canonicalUsage": "pandora [--output table|json] operations list [--status <csv>] [--tool <name>] [--limit <n>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/OperationListPayload",
    "emits": [
      "operations.list",
      "operations.list.help",
      "operations.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 250,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "limit": {
          "description": "Maximum result count.",
          "minimum": 1,
          "type": "integer"
        },
        "status": {
          "description": "Optional comma-delimited operation statuses to include.",
          "type": "string"
        },
        "statuses": {
          "description": "Optional operation statuses to include.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "tool": {
          "description": "Optional tool/command family filter.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "operations:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "List operation records, optionally filtered by status or tool.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] operations list [--status <csv>] [--tool <name>] [--limit <n>]"
  },
  "operations.receipt": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "operations",
      "receipt"
    ],
    "canonicalTool": "operations.receipt",
    "canonicalUsage": "pandora [--output table|json] operations receipt --id <operation-id>",
    "controlInputNames": [],
    "dataSchema": "#/definitions/OperationReceiptPayload",
    "emits": [
      "operations.receipt",
      "operations.receipt.help",
      "operations.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 225,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "description": "Operation id whose terminal receipt should be returned.",
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "operations:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Return the terminal receipt for a completed, failed, canceled, or closed operation.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] operations receipt --id <operation-id>"
  },
  "operations.verify-receipt": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "operations",
      "verify-receipt"
    ],
    "canonicalTool": "operations.verify-receipt",
    "canonicalUsage": "pandora [--output table|json] operations verify-receipt --id <operation-id>|--file <path> [--expected-operation-hash <hash>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/OperationReceiptVerificationPayload",
    "emits": [
      "operations.verify-receipt",
      "operations.verify-receipt.help",
      "operations.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 250,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "expected-operation-hash": {
          "description": "Optional expected operation hash to bind the verification result.",
          "type": "string"
        },
        "id": {
          "description": "Operation id whose terminal receipt should be verified.",
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "operations:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Verify a stored or on-disk operation receipt for tampering and operation-hash mismatch.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] operations verify-receipt --id <operation-id>|--file <path> [--expected-operation-hash <hash>]"
  },
  "policy": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/PolicyListPayload",
    "emits": [
      "policy.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "policy:read"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Policy pack command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] policy list|get|explain|recommend|lint [flags]"
  },
  "policy.explain": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "policy",
      "explain"
    ],
    "canonicalTool": "policy.explain",
    "canonicalUsage": "pandora [--output table|json] policy explain --id <policy-id> [--command <tool>] [--mode dry-run|paper|fork|execute|execute-live] [--chain-id <id>] [--category <id|name>] [--profile-id <id>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PolicyExplainPayload",
    "emits": [
      "policy.explain",
      "policy.explain.help",
      "policy.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 200,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "category": {
          "description": "Poll category id or canonical name to evaluate exactly.",
          "type": "string"
        },
        "chain-id": {
          "description": "Chain id to evaluate exactly.",
          "type": "string"
        },
        "command": {
          "description": "Exact target command to evaluate. Add together with mode/chain/category/profile for the full execution context.",
          "type": "string"
        },
        "id": {
          "description": "Policy pack id.",
          "type": "string"
        },
        "mode": {
          "description": "Execution mode to evaluate exactly: dry-run, paper, fork, execute, or execute-live.",
          "type": "string"
        },
        "profile-id": {
          "description": "Optional signer profile id to include as compatibility context.",
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "policy:read",
      "contracts:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Evaluate one policy pack against an exact execution context and return remediation.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] policy explain --id <policy-id> [--command <tool>] [--mode dry-run|paper|fork|execute|execute-live] [--chain-id <id>] [--category <id|name>] [--profile-id <id>]"
  },
  "policy.get": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "policy",
      "get"
    ],
    "canonicalTool": "policy.get",
    "canonicalUsage": "pandora [--output table|json] policy get --id <policy-id>",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PolicyPayload",
    "emits": [
      "policy.get",
      "policy.get.help",
      "policy.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 150,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "description": "Policy pack id.",
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "policy:read",
      "contracts:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Return one policy pack by id.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] policy get --id <policy-id>"
  },
  "policy.lint": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "policy",
      "lint"
    ],
    "canonicalTool": "policy.lint",
    "canonicalUsage": "pandora [--output table|json] policy lint --file <path>",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PolicyPayload",
    "emits": [
      "policy.lint",
      "policy.lint.help",
      "policy.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 200,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "file": {
          "description": "Workspace-relative path to a policy JSON file.",
          "type": "string"
        }
      },
      "required": [
        "file"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "policy:read",
      "contracts:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Validate a policy pack file before use.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] policy lint --file <path>"
  },
  "policy.list": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "policy",
      "list"
    ],
    "canonicalTool": "policy.list",
    "canonicalUsage": "pandora [--output table|json] policy list",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PolicyListPayload",
    "emits": [
      "policy.list",
      "policy.list.help",
      "policy.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 150,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {},
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "policy:read",
      "contracts:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "List built-in and user-defined policy packs.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] policy list"
  },
  "policy.recommend": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "policy",
      "recommend"
    ],
    "canonicalTool": "policy.recommend",
    "canonicalUsage": "pandora [--output table|json] policy recommend [--command <tool>] [--mode dry-run|paper|fork|execute|execute-live] [--chain-id <id>] [--category <id|name>] [--profile-id <id>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PolicyRecommendPayload",
    "emits": [
      "policy.recommend",
      "policy.recommend.help",
      "policy.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 200,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "category": {
          "description": "Poll category id or canonical name to evaluate.",
          "type": "string"
        },
        "chain-id": {
          "description": "Chain id to evaluate.",
          "type": "string"
        },
        "command": {
          "description": "Exact target command to evaluate.",
          "type": "string"
        },
        "mode": {
          "description": "Execution mode to evaluate: dry-run, paper, fork, execute, or execute-live.",
          "type": "string"
        },
        "profile-id": {
          "description": "Optional signer profile id to include as compatibility context.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "policy:read",
      "contracts:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Recommend policy packs for an execution context.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] policy recommend [--command <tool>] [--mode dry-run|paper|fork|execute|execute-live] [--chain-id <id>] [--category <id|name>] [--profile-id <id>]"
  },
  "polls": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/PagedEntityPayload",
    "emits": [
      "polls.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "polls:read",
      "network:indexer"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Poll command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] polls list|get ..."
  },
  "polls.get": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "polls",
      "get"
    ],
    "canonicalTool": "polls.get",
    "canonicalUsage": "pandora [--output table|json] polls get --id <id>",
    "controlInputNames": [],
    "dataSchema": "#/definitions/EntityCollectionPayload",
    "emits": [
      "polls.get",
      "polls.get.help",
      "polls.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "description": "Poll id.",
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "polls:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Get one poll by id.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] polls get --id <id>"
  },
  "polls.list": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "polls",
      "list"
    ],
    "canonicalTool": "polls.list",
    "canonicalUsage": "pandora [--output table|json] polls list [--limit <n>] [--after <cursor>] [--before <cursor>] [--order-by <field>] [--order-direction asc|desc] [--chain-id <id>] [--creator <address>] [--where-json <json>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PagedEntityPayload",
    "emits": [
      "polls.list",
      "polls.list.help",
      "polls.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "after": {
          "description": "Pagination cursor.",
          "type": "string"
        },
        "before": {
          "description": "Pagination cursor.",
          "type": "string"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "creator": {
          "description": "Creator address.",
          "type": "string"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "order-by": {
          "description": "Sort field.",
          "type": "string"
        },
        "order-direction": {
          "description": "Sort direction.",
          "enum": [
            "asc",
            "desc"
          ]
        },
        "where-json": {
          "description": "Raw JSON filter override.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "polls:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "List poll entities.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] polls list [--limit <n>] [--after <cursor>] [--before <cursor>] [--order-by <field>] [--order-direction asc|desc] [--chain-id <id>] [--creator <address>] [--where-json <json>]"
  },
  "polymarket": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "polymarket.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "polymarket:read",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Polymarket command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] polymarket check|approve|preflight|balance|positions|deposit|withdraw|trade ..."
  },
  "polymarket.approve": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "polymarket",
      "approve"
    ],
    "canonicalTool": "polymarket.approve",
    "canonicalUsage": "pandora [--output table|json] polymarket approve --dry-run|--execute [--polymarket-host <url>] [--polymarket-mock-url <url>] [--timeout-ms <ms>] [--private-key <hex>] [--funder <address>] [--rpc-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PolymarketPayload",
    "emits": [
      "polymarket.approve",
      "polymarket.approve.help",
      "polymarket.help"
    ],
    "executeFlags": [
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "wallet-secrets",
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "dry-run": {
          "description": "Run dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute live approval transactions.",
          "type": "boolean"
        },
        "funder": {
          "description": "Polymarket proxy wallet.",
          "type": "string"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "polymarket-host": {
          "description": "Polymarket host override.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock URL.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "polymarket:write",
      "secrets:use",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": "polymarket.preflight",
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": "polymarket.preflight",
    "safeFlags": [
      "--dry-run"
    ],
    "summary": "Dry-run or execute Polymarket approvals.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] polymarket approve --dry-run|--execute [--polymarket-host <url>] [--polymarket-mock-url <url>] [--timeout-ms <ms>] [--private-key <hex>] [--funder <address>] [--rpc-url <url>]"
  },
  "polymarket.balance": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "polymarket",
      "balance"
    ],
    "canonicalTool": "polymarket.balance",
    "canonicalUsage": "pandora [--output table|json] polymarket balance [--wallet <address>] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--rpc-url <url>] [--private-key <hex>] [--funder <address>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PolymarketPayload",
    "emits": [
      "polymarket.balance",
      "polymarket.balance.help",
      "polymarket.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "wallet-secrets",
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "fork": {
          "description": "Run in fork mode.",
          "type": "boolean"
        },
        "fork-chain-id": {
          "description": "Fork chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "fork-rpc-url": {
          "description": "Fork RPC URL.",
          "type": "string"
        },
        "funder": {
          "description": "Polymarket proxy wallet.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "wallet": {
          "description": "Wallet address to inspect.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "polymarket:read",
      "secrets:use",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Read Polymarket signer/proxy funding balances. This is the raw balance companion to `fund-check` and `polymarket check`.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] polymarket balance [--wallet <address>] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--rpc-url <url>] [--private-key <hex>] [--funder <address>]"
  },
  "polymarket.check": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "polymarket",
      "check"
    ],
    "canonicalTool": "polymarket.check",
    "canonicalUsage": "pandora [--output table|json] polymarket check [--polymarket-host <url>] [--polymarket-mock-url <url>] [--timeout-ms <ms>] [--private-key <hex>] [--funder <address>] [--rpc-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PolymarketPayload",
    "emits": [
      "polymarket.check",
      "polymarket.check.help",
      "polymarket.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "wallet-secrets",
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "funder": {
          "description": "Polymarket proxy wallet.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock URL.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "polymarket:read",
      "secrets:use",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Run Polymarket funding, auth, and allowance checks. This is the lower-level readiness primitive that complements the top-level `fund-check` planner.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] polymarket check [--polymarket-host <url>] [--polymarket-mock-url <url>] [--timeout-ms <ms>] [--private-key <hex>] [--funder <address>] [--rpc-url <url>]"
  },
  "polymarket.deposit": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "polymarket",
      "deposit"
    ],
    "canonicalTool": "polymarket.deposit",
    "canonicalUsage": "pandora [--output table|json] polymarket deposit --amount-usdc <n> --dry-run|--execute [--to <address>] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--rpc-url <url>] [--private-key <hex>] [--funder <address>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PolymarketPayload",
    "emits": [
      "polymarket.deposit",
      "polymarket.deposit.help",
      "polymarket.help"
    ],
    "executeFlags": [
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "wallet-secrets",
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "amount-usdc": {
          "description": "Funding amount in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "dry-run": {
          "description": "Run dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute live funding transfer.",
          "type": "boolean"
        },
        "fork": {
          "description": "Run in fork mode.",
          "type": "boolean"
        },
        "fork-chain-id": {
          "description": "Fork chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "fork-rpc-url": {
          "description": "Fork RPC URL.",
          "type": "string"
        },
        "funder": {
          "description": "Polymarket proxy wallet.",
          "type": "string"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "to": {
          "description": "Override destination wallet address.",
          "type": "string"
        }
      },
      "required": [
        "amount-usdc"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "polymarket:write",
      "secrets:use",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [
      "--dry-run"
    ],
    "summary": "Dry-run or execute a signer-to-proxy Polymarket funding transfer.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] polymarket deposit --amount-usdc <n> --dry-run|--execute [--to <address>] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--rpc-url <url>] [--private-key <hex>] [--funder <address>]"
  },
  "polymarket.positions": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "polymarket",
      "positions"
    ],
    "canonicalTool": "polymarket.positions",
    "canonicalUsage": "pandora [--output table|json] polymarket positions [--wallet <address>|--funder <address>] [--condition-id <id>|--market-id <id>|--slug <slug>|--token-id <id>] [--source auto|api|on-chain] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-data-api-url <url>] [--polymarket-mock-url <url>] [--timeout-ms <ms>] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--rpc-url <url>] [--private-key <hex>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PolymarketPositionsPayload",
    "emits": [
      "polymarket.positions",
      "polymarket.positions.help",
      "polymarket.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1200,
    "externalDependencies": [
      "wallet-secrets",
      "chain-rpc",
      "polymarket-api",
      "rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "condition-id": {
          "description": "Polymarket condition id / market id selector.",
          "type": "string"
        },
        "fork": {
          "description": "Run in fork mode.",
          "type": "boolean"
        },
        "fork-chain-id": {
          "description": "Fork chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "fork-rpc-url": {
          "description": "Fork RPC URL.",
          "type": "string"
        },
        "funder": {
          "description": "Polymarket proxy wallet.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock URL.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "slug": {
          "description": "Polymarket slug selector.",
          "type": "string"
        },
        "source": {
          "description": "Inventory source preference.",
          "enum": [
            "auto",
            "api",
            "on-chain"
          ]
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "token-id": {
          "description": "Conditional token id selector.",
          "type": "string"
        },
        "wallet": {
          "description": "Wallet address to inspect.",
          "type": "string"
        }
      },
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "condition-id"
                  ]
                },
                {
                  "required": [
                    "condition-id"
                  ]
                },
                {
                  "required": [
                    "slug"
                  ]
                },
                {
                  "required": [
                    "slug"
                  ]
                },
                {
                  "required": [
                    "token-id"
                  ]
                },
                {
                  "required": [
                    "token-id"
                  ]
                }
              ]
            }
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "slug"
                  ]
                },
                {
                  "required": [
                    "slug"
                  ]
                },
                {
                  "required": [
                    "token-id"
                  ]
                },
                {
                  "required": [
                    "token-id"
                  ]
                }
              ]
            },
            "required": [
              "condition-id"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "condition-id"
                  ]
                },
                {
                  "required": [
                    "condition-id"
                  ]
                },
                {
                  "required": [
                    "token-id"
                  ]
                },
                {
                  "required": [
                    "token-id"
                  ]
                }
              ]
            },
            "required": [
              "slug"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "condition-id"
                  ]
                },
                {
                  "required": [
                    "condition-id"
                  ]
                },
                {
                  "required": [
                    "slug"
                  ]
                },
                {
                  "required": [
                    "slug"
                  ]
                }
              ]
            },
            "required": [
              "token-id"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "polymarket:read",
      "secrets:use",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Read Polymarket YES/NO position inventory and open-order exposure. This is distinct from `polymarket balance`, which remains funding and collateral only.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] polymarket positions [--wallet <address>|--funder <address>] [--condition-id <id>|--market-id <id>|--slug <slug>|--token-id <id>] [--source auto|api|on-chain] [--polymarket-host <url>] [--polymarket-gamma-url <url>] [--polymarket-data-api-url <url>] [--polymarket-mock-url <url>] [--timeout-ms <ms>] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--rpc-url <url>] [--private-key <hex>]"
  },
  "polymarket.preflight": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "polymarket",
      "preflight"
    ],
    "canonicalTool": "polymarket.preflight",
    "canonicalUsage": "pandora [--output table|json] polymarket preflight [--condition-id <id>|--slug <slug>|--token-id <id>] [--token yes|no] [--amount-usdc <n>] [--side buy|sell] [--polymarket-host <url>] [--polymarket-mock-url <url>] [--timeout-ms <ms>] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--rpc-url <url>] [--private-key <hex>] [--funder <address>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PolymarketPayload",
    "emits": [
      "polymarket.preflight",
      "polymarket.preflight.help",
      "polymarket.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "wallet-secrets",
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "amount-usdc": {
          "description": "Trade notional in USDC for trade-context preflight.",
          "minimum": 0,
          "type": "number"
        },
        "condition-id": {
          "description": "Polymarket condition/market id for trade-context preflight.",
          "type": "string"
        },
        "fork": {
          "description": "Run in fork mode.",
          "type": "boolean"
        },
        "fork-chain-id": {
          "description": "Fork chain id.",
          "type": "integer"
        },
        "fork-rpc-url": {
          "description": "Fork RPC URL.",
          "type": "string"
        },
        "funder": {
          "description": "Polymarket proxy wallet.",
          "type": "string"
        },
        "polymarket-host": {
          "description": "Polymarket host override for market-resolution checks.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock host override for local/forked trade-context checks.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "side": {
          "description": "Trade side for trade-context preflight.",
          "enum": [
            "buy",
            "sell"
          ]
        },
        "slug": {
          "description": "Polymarket slug for trade-context preflight.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "token": {
          "description": "Outcome token for trade-context preflight when token-id is not supplied.",
          "enum": [
            "yes",
            "no"
          ]
        },
        "token-id": {
          "description": "Explicit token id for trade-context preflight.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "polymarket:read",
      "secrets:use",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Run strict Polymarket readiness and optional trade-context preflight checks.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] polymarket preflight [--condition-id <id>|--slug <slug>|--token-id <id>] [--token yes|no] [--amount-usdc <n>] [--side buy|sell] [--polymarket-host <url>] [--polymarket-mock-url <url>] [--timeout-ms <ms>] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--rpc-url <url>] [--private-key <hex>] [--funder <address>]"
  },
  "polymarket.trade": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "polymarket",
      "trade"
    ],
    "canonicalTool": "polymarket.trade",
    "canonicalUsage": "pandora [--output table|json] polymarket trade --condition-id <id>|--slug <slug>|--token-id <id> --token yes|no --amount-usdc <n> --dry-run|--execute [--side buy|sell] [--polymarket-host <url>] [--polymarket-mock-url <url>] [--timeout-ms <ms>] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--rpc-url <url>] [--private-key <hex>] [--funder <address>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PolymarketPayload",
    "emits": [
      "polymarket.trade",
      "polymarket.trade.help",
      "polymarket.help"
    ],
    "executeFlags": [
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "wallet-secrets",
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "amount-usdc": {
          "description": "Trade notional in USDC.",
          "exclusiveMinimum": 0,
          "type": "number"
        },
        "condition-id": {
          "description": "Polymarket condition id or market id.",
          "type": "string"
        },
        "dry-run": {
          "description": "Run dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute live trade.",
          "type": "boolean"
        },
        "fork": {
          "description": "Run in fork mode.",
          "type": "boolean"
        },
        "fork-chain-id": {
          "description": "Fork chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "fork-rpc-url": {
          "description": "Fork RPC URL.",
          "type": "string"
        },
        "funder": {
          "description": "Polymarket proxy wallet.",
          "type": "string"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "polymarket-host": {
          "description": "Polymarket host override.",
          "type": "string"
        },
        "polymarket-mock-url": {
          "description": "Polymarket mock URL.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "side": {
          "description": "Order side.",
          "enum": [
            "buy",
            "sell"
          ]
        },
        "slug": {
          "description": "Polymarket slug.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "token": {
          "description": "Token/outcome side.",
          "enum": [
            "yes",
            "no"
          ]
        },
        "token-id": {
          "description": "Polymarket token id.",
          "type": "string"
        }
      },
      "required": [
        "amount-usdc"
      ],
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "execute"
                  ]
                },
                {
                  "required": [
                    "execute"
                  ]
                }
              ]
            },
            "required": [
              "dry-run"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "dry-run"
                  ]
                },
                {
                  "required": [
                    "dry-run"
                  ]
                }
              ]
            },
            "required": [
              "execute"
            ]
          }
        ],
        "requiredAnyOf": [
          {
            "required": [
              "token-id",
              "dry-run"
            ]
          },
          {
            "required": [
              "token-id",
              "execute"
            ]
          },
          {
            "required": [
              "condition-id",
              "token",
              "dry-run"
            ]
          },
          {
            "required": [
              "condition-id",
              "token",
              "execute"
            ]
          },
          {
            "required": [
              "slug",
              "token",
              "dry-run"
            ]
          },
          {
            "required": [
              "slug",
              "token",
              "execute"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "polymarket:write",
      "secrets:use",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": "polymarket.preflight",
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": "polymarket.preflight",
    "safeFlags": [
      "--dry-run"
    ],
    "summary": "Dry-run or execute a Polymarket trade.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] polymarket trade --condition-id <id>|--slug <slug>|--token-id <id> --token yes|no --amount-usdc <n> --dry-run|--execute [--side buy|sell] [--polymarket-host <url>] [--polymarket-mock-url <url>] [--timeout-ms <ms>] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--rpc-url <url>] [--private-key <hex>] [--funder <address>]"
  },
  "polymarket.withdraw": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "polymarket",
      "withdraw"
    ],
    "canonicalTool": "polymarket.withdraw",
    "canonicalUsage": "pandora [--output table|json] polymarket withdraw --amount-usdc <n> --dry-run|--execute [--to <address>] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--rpc-url <url>] [--private-key <hex>] [--funder <address>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PolymarketPayload",
    "emits": [
      "polymarket.withdraw",
      "polymarket.withdraw.help",
      "polymarket.help"
    ],
    "executeFlags": [
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "wallet-secrets",
      "chain-rpc",
      "polymarket-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "amount-usdc": {
          "description": "Funding amount in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "dry-run": {
          "description": "Run dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute live funding transfer.",
          "type": "boolean"
        },
        "fork": {
          "description": "Run in fork mode.",
          "type": "boolean"
        },
        "fork-chain-id": {
          "description": "Fork chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "fork-rpc-url": {
          "description": "Fork RPC URL.",
          "type": "string"
        },
        "funder": {
          "description": "Polymarket proxy wallet.",
          "type": "string"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "to": {
          "description": "Override destination wallet address.",
          "type": "string"
        }
      },
      "required": [
        "amount-usdc"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "polymarket:write",
      "secrets:use",
      "network:rpc",
      "network:polymarket"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [
      "--dry-run"
    ],
    "summary": "Dry-run or execute a proxy-to-signer Polymarket funding transfer.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] polymarket withdraw --amount-usdc <n> --dry-run|--execute [--to <address>] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--rpc-url <url>] [--private-key <hex>] [--funder <address>]"
  },
  "portfolio": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "portfolio"
    ],
    "canonicalTool": "portfolio",
    "canonicalUsage": "pandora [--output table|json] portfolio --wallet <address> [--chain-id <id>|--all-chains] [--limit <n>] [--include-events|--no-events] [--with-lp] [--rpc-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PortfolioPayload",
    "emits": [
      "portfolio",
      "portfolio.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api",
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "all-chains": {
          "description": "Aggregate across all chains.",
          "type": "boolean"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "include-events": {
          "description": "Include events in output.",
          "type": "boolean"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "no-events": {
          "description": "Skip event aggregation.",
          "type": "boolean"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "wallet": {
          "description": "Wallet address.",
          "type": "string"
        },
        "with-lp": {
          "description": "Include LP positions.",
          "type": "boolean"
        }
      },
      "required": [
        "wallet"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "portfolio:read",
      "network:rpc",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Build portfolio snapshot across positions, LP, and events.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] portfolio --wallet <address> [--chain-id <id>|--all-chains] [--limit <n>] [--include-events|--no-events] [--with-lp] [--rpc-url <url>]"
  },
  "positions": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/PagedEntityPayload",
    "emits": [
      "positions.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "positions:read",
      "network:indexer"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Position command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] positions list ..."
  },
  "positions.list": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "positions",
      "list"
    ],
    "canonicalTool": "positions.list",
    "canonicalUsage": "pandora [--output table|json] positions list --wallet <address> [--chain-id <id>] [--market-address <address>] [--side yes|no|both] [--status all|open|won|lost|closed] [--limit <n>] [--after <cursor>] [--before <cursor>] [--order-by timestamp|pnl|entry-price|mark-price] [--order-direction asc|desc] [--include-seed]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PagedEntityPayload",
    "emits": [
      "positions.list",
      "positions.list.help",
      "positions.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "after": {
          "description": "Pagination cursor.",
          "type": "string"
        },
        "before": {
          "description": "Pagination cursor.",
          "type": "string"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "include-seed": {
          "description": "Include seed trades.",
          "type": "boolean"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "order-by": {
          "description": "Sort field.",
          "enum": [
            "timestamp",
            "pnl",
            "entry-price",
            "mark-price"
          ]
        },
        "order-direction": {
          "description": "Sort direction.",
          "enum": [
            "asc",
            "desc"
          ]
        },
        "side": {
          "description": "Outcome side filter.",
          "enum": [
            "yes",
            "no",
            "both"
          ]
        },
        "status": {
          "description": "Position status filter.",
          "enum": [
            "all",
            "open",
            "won",
            "lost",
            "closed"
          ]
        },
        "wallet": {
          "description": "Wallet address.",
          "type": "string"
        }
      },
      "required": [
        "wallet"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "positions:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "List wallet positions.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] positions list --wallet <address> [--chain-id <id>] [--market-address <address>] [--side yes|no|both] [--status all|open|won|lost|closed] [--limit <n>] [--after <cursor>] [--before <cursor>] [--order-by timestamp|pnl|entry-price|mark-price] [--order-direction asc|desc] [--include-seed]"
  },
  "profile": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/ProfileListPayload",
    "emits": [
      "profile.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "profile:read"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Signer profile command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] profile list|get|explain|recommend|validate [flags]"
  },
  "profile.explain": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "profile",
      "explain"
    ],
    "canonicalTool": "profile.explain",
    "canonicalUsage": "pandora [--output table|json] profile explain --id <profile-id> [--store-file <path>] [--command <tool>] [--mode dry-run|paper|fork|execute|execute-live] [--chain-id <id>] [--category <id|name>] [--policy-id <id>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/ProfilePayload",
    "emits": [
      "profile.explain",
      "profile.explain.help",
      "profile.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 200,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "category": {
          "description": "Poll category id or canonical name to evaluate exactly.",
          "type": "string"
        },
        "chain-id": {
          "description": "Chain id to evaluate exactly.",
          "type": "string"
        },
        "command": {
          "description": "Exact target command to evaluate. Add together with mode/chain/category/policy for the full execution context.",
          "type": "string"
        },
        "id": {
          "description": "Signer profile id.",
          "type": "string"
        },
        "mode": {
          "description": "Execution mode to evaluate exactly: dry-run, paper, fork, execute, or execute-live.",
          "type": "string"
        },
        "policy-id": {
          "description": "Policy id to evaluate exactly.",
          "type": "string"
        },
        "store-file": {
          "description": "Optional profile store file path.",
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "profile:read",
      "contracts:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Evaluate one signer profile against an exact execution context and return remediation.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] profile explain --id <profile-id> [--store-file <path>] [--command <tool>] [--mode dry-run|paper|fork|execute|execute-live] [--chain-id <id>] [--category <id|name>] [--policy-id <id>]"
  },
  "profile.get": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "profile",
      "get"
    ],
    "canonicalTool": "profile.get",
    "canonicalUsage": "pandora [--output table|json] profile get --id <profile-id> [--store-file <path>] [--command <tool>] [--mode dry-run|paper|fork|execute|execute-live] [--chain-id <id>] [--category <id|name>] [--policy-id <id>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/ProfilePayload",
    "emits": [
      "profile.get",
      "profile.get.help",
      "profile.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 150,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "category": {
          "description": "Optional poll category id or name to annotate compatibility context.",
          "type": "string"
        },
        "chain-id": {
          "description": "Optional chain id to annotate compatibility context.",
          "type": "string"
        },
        "command": {
          "description": "Optional exact target command to annotate compatibility context.",
          "type": "string"
        },
        "id": {
          "description": "Signer profile id.",
          "type": "string"
        },
        "mode": {
          "description": "Optional execution mode to annotate compatibility context.",
          "type": "string"
        },
        "policy-id": {
          "description": "Optional policy id to annotate compatibility context.",
          "type": "string"
        },
        "store-file": {
          "description": "Optional profile store file path.",
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "profile:read",
      "contracts:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Inspect one signer profile by id and optionally annotate it with compatibility context.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] profile get --id <profile-id> [--store-file <path>] [--command <tool>] [--mode dry-run|paper|fork|execute|execute-live] [--chain-id <id>] [--category <id|name>] [--policy-id <id>]"
  },
  "profile.list": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "profile",
      "list"
    ],
    "canonicalTool": "profile.list",
    "canonicalUsage": "pandora [--output table|json] profile list",
    "controlInputNames": [],
    "dataSchema": "#/definitions/ProfileListPayload",
    "emits": [
      "profile.list",
      "profile.list.help",
      "profile.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 150,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {},
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "profile:read",
      "contracts:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "List built-in and user-defined signer profiles.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] profile list"
  },
  "profile.recommend": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "profile",
      "recommend"
    ],
    "canonicalTool": "profile.recommend",
    "canonicalUsage": "pandora [--output table|json] profile recommend [--store-file <path>] [--command <tool>] [--mode dry-run|paper|fork|execute|execute-live] [--chain-id <id>] [--category <id|name>] [--policy-id <id>] [--no-builtins|--builtin-only]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/ProfileRecommendPayload",
    "emits": [
      "profile.recommend",
      "profile.recommend.help",
      "profile.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 200,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "builtin-only": {
          "description": "Restrict recommendations to built-in profiles.",
          "type": "boolean"
        },
        "category": {
          "description": "Poll category id or canonical name to evaluate.",
          "type": "string"
        },
        "chain-id": {
          "description": "Chain id to evaluate.",
          "type": "string"
        },
        "command": {
          "description": "Exact target command to evaluate.",
          "type": "string"
        },
        "mode": {
          "description": "Execution mode to evaluate: dry-run, paper, fork, execute, or execute-live.",
          "type": "string"
        },
        "no-builtins": {
          "description": "Exclude built-in profiles from recommendation results.",
          "type": "boolean"
        },
        "policy-id": {
          "description": "Optional policy id to include as compatibility context.",
          "type": "string"
        },
        "store-file": {
          "description": "Optional profile store file path.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "profile:read",
      "contracts:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Recommend signer profiles for an execution context.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] profile recommend [--store-file <path>] [--command <tool>] [--mode dry-run|paper|fork|execute|execute-live] [--chain-id <id>] [--category <id|name>] [--policy-id <id>] [--no-builtins|--builtin-only]"
  },
  "profile.validate": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "profile",
      "validate"
    ],
    "canonicalTool": "profile.validate",
    "canonicalUsage": "pandora [--output table|json] profile validate --file <path>",
    "controlInputNames": [],
    "dataSchema": "#/definitions/ProfilePayload",
    "emits": [
      "profile.validate",
      "profile.validate.help",
      "profile.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 200,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "file": {
          "description": "Workspace-relative path to a signer profile JSON file.",
          "type": "string"
        }
      },
      "required": [
        "file"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "profile:read",
      "contracts:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Validate a signer profile file before use.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] profile validate --file <path>"
  },
  "quote": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "quote"
    ],
    "canonicalTool": "quote",
    "canonicalUsage": "pandora [--output table|json] quote [--indexer-url <url>] [--timeout-ms <ms>] --market-address <address> --side yes|no [--mode buy|sell] --amount-usdc <amount>|--shares <amount>|--amounts <csv>|--target-pct <0-100> [--yes-pct <0-100>] [--slippage-bps <0-10000>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/QuotePayload",
    "emits": [
      "quote",
      "quote.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "amount-usdc": {
          "description": "Trade notional in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "amounts": {
          "description": "Comma-delimited curve sizes in USDC.",
          "type": "string"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "mode": {
          "description": "Quote mode.",
          "enum": [
            "buy",
            "sell"
          ]
        },
        "shares": {
          "description": "Outcome-token amount for sell mode.",
          "minimum": 0,
          "type": "number"
        },
        "side": {
          "description": "Outcome side.",
          "enum": [
            "yes",
            "no"
          ]
        },
        "slippage-bps": {
          "description": "Slippage in basis points.",
          "maximum": 10000,
          "minimum": 0,
          "type": "integer"
        },
        "target-pct": {
          "description": "Target YES probability percent for AMM buy quotes.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "yes-pct": {
          "description": "Override YES probability percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "market-address",
        "side"
      ],
      "type": "object",
      "xPandora": {
        "requiredAnyOf": [
          {
            "required": [
              "amount-usdc"
            ]
          },
          {
            "required": [
              "shares"
            ]
          },
          {
            "required": [
              "amounts"
            ]
          },
          {
            "required": [
              "target-pct"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "quote:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Estimate a YES/NO buy or sell quote from current market conditions, including AMM buy quotes that solve to a target YES percentage.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] quote [--indexer-url <url>] [--timeout-ms <ms>] --market-address <address> --side yes|no [--mode buy|sell] --amount-usdc <amount>|--shares <amount>|--amounts <csv>|--target-pct <0-100> [--yes-pct <0-100>] [--slippage-bps <0-10000>]"
  },
  "recipe": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/RecipeListPayload",
    "emits": [
      "recipe.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "recipe:read"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Recipe command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] recipe list|get|validate|run [flags]"
  },
  "recipe.get": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "recipe",
      "get"
    ],
    "canonicalTool": "recipe.get",
    "canonicalUsage": "pandora [--output table|json] recipe get --id <recipe-id>|--file <path>",
    "controlInputNames": [],
    "dataSchema": "#/definitions/RecipePayload",
    "emits": [
      "recipe.get",
      "recipe.get.help",
      "recipe.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 200,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "file": {
          "description": "Workspace-relative path to a recipe JSON file.",
          "type": "string"
        },
        "id": {
          "description": "Built-in recipe id.",
          "type": "string"
        }
      },
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "file"
                  ]
                },
                {
                  "required": [
                    "file"
                  ]
                }
              ]
            },
            "required": [
              "id"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "id"
                  ]
                },
                {
                  "required": [
                    "id"
                  ]
                }
              ]
            },
            "required": [
              "file"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "recipe:read",
      "contracts:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Return one recipe manifest by id or file.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] recipe get --id <recipe-id>|--file <path>"
  },
  "recipe.list": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "recipe",
      "list"
    ],
    "canonicalTool": "recipe.list",
    "canonicalUsage": "pandora [--output table|json] recipe list",
    "controlInputNames": [],
    "dataSchema": "#/definitions/RecipeListPayload",
    "emits": [
      "recipe.list",
      "recipe.list.help",
      "recipe.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 150,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {},
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "recipe:read",
      "contracts:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "List first-party Pandora recipes.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] recipe list"
  },
  "recipe.run": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "recipe",
      "run"
    ],
    "canonicalTool": "recipe.run",
    "canonicalUsage": "pandora [--output table|json] recipe run --id <recipe-id>|--file <path> [--set key=value] [--policy-id <id>] [--profile-id <id>] [--timeout-ms <ms>]",
    "controlInputNames": [
      "inputs"
    ],
    "dataSchema": "#/definitions/RecipeRunPayload",
    "emits": [
      "recipe.run",
      "recipe.run.help",
      "recipe.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1200,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "file": {
          "description": "Workspace-relative path to a recipe JSON file.",
          "type": "string"
        },
        "id": {
          "description": "Built-in recipe id.",
          "type": "string"
        },
        "inputs": {
          "additionalProperties": {
            "type": [
              "string",
              "number",
              "integer",
              "boolean"
            ]
          },
          "description": "Recipe input values keyed by recipe input id.",
          "type": "object"
        },
        "policy-id": {
          "description": "Optional policy pack id override.",
          "type": "string"
        },
        "profile-id": {
          "description": "Optional signer profile id override.",
          "type": "string"
        },
        "timeout-ms": {
          "description": "Optional timeout for delegated command execution.",
          "minimum": 1000,
          "type": "integer"
        }
      },
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "file"
                  ]
                },
                {
                  "required": [
                    "file"
                  ]
                }
              ]
            },
            "required": [
              "id"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "id"
                  ]
                },
                {
                  "required": [
                    "id"
                  ]
                }
              ]
            },
            "required": [
              "file"
            ]
          }
        ]
      }
    },
    "jobCapable": true,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "recipe:run",
      "jobs:run",
      "contracts:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Run a safe first-party recipe by compiling it into an ordinary Pandora command.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] recipe run --id <recipe-id>|--file <path> [--set key=value] [--policy-id <id>] [--profile-id <id>] [--timeout-ms <ms>]"
  },
  "recipe.validate": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "recipe",
      "validate"
    ],
    "canonicalTool": "recipe.validate",
    "canonicalUsage": "pandora [--output table|json] recipe validate --id <recipe-id>|--file <path> [--set key=value] [--policy-id <id>] [--profile-id <id>]",
    "controlInputNames": [
      "inputs"
    ],
    "dataSchema": "#/definitions/RecipeRunPayload",
    "emits": [
      "recipe.validate",
      "recipe.validate.help",
      "recipe.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 350,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "file": {
          "description": "Workspace-relative path to a recipe JSON file.",
          "type": "string"
        },
        "id": {
          "description": "Built-in recipe id.",
          "type": "string"
        },
        "inputs": {
          "additionalProperties": {
            "type": [
              "string",
              "number",
              "integer",
              "boolean"
            ]
          },
          "description": "Recipe input values keyed by recipe input id.",
          "type": "object"
        },
        "policy-id": {
          "description": "Optional policy pack id override.",
          "type": "string"
        },
        "profile-id": {
          "description": "Optional signer profile id override.",
          "type": "string"
        }
      },
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "file"
                  ]
                },
                {
                  "required": [
                    "file"
                  ]
                }
              ]
            },
            "required": [
              "id"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "id"
                  ]
                },
                {
                  "required": [
                    "id"
                  ]
                }
              ]
            },
            "required": [
              "file"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "recipe:read",
      "contracts:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Validate a recipe manifest and its policy/profile compatibility.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] recipe validate --id <recipe-id>|--file <path> [--set key=value] [--policy-id <id>] [--profile-id <id>]"
  },
  "resolve": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "resolve"
    ],
    "canonicalTool": "resolve",
    "canonicalUsage": "pandora [--output table|json] resolve [--dotenv-path <path>] [--skip-dotenv] --poll-address <address> --answer yes|no|invalid --reason <text> --dry-run|--execute [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/ResolvePayload",
    "emits": [
      "resolve",
      "resolve.help"
    ],
    "executeFlags": [
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "filesystem",
      "wallet-secrets",
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "answer": {
          "description": "Resolution answer.",
          "enum": [
            "yes",
            "no",
            "invalid"
          ]
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "dotenv-path": {
          "description": "Env file path.",
          "type": "string"
        },
        "dry-run": {
          "description": "Run dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute live resolution.",
          "type": "boolean"
        },
        "fork": {
          "description": "Run in fork mode.",
          "type": "boolean"
        },
        "fork-chain-id": {
          "description": "Fork chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "fork-rpc-url": {
          "description": "Fork RPC URL.",
          "type": "string"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "poll-address": {
          "description": "Poll address.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "reason": {
          "description": "Operator reason string.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "skip-dotenv": {
          "description": "Skip env loading.",
          "type": "boolean"
        }
      },
      "required": [
        "poll-address",
        "answer",
        "reason"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "resolve:write",
      "secrets:use",
      "network:rpc"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [
      "--dry-run"
    ],
    "summary": "Dry-run or execute poll resolution.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] resolve [--dotenv-path <path>] [--skip-dotenv] --poll-address <address> --answer yes|no|invalid --reason <text> --dry-run|--execute [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>]"
  },
  "risk": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/RiskPayload",
    "emits": [
      "risk.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1000,
    "externalDependencies": [
      "filesystem"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "risk:read"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Risk command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] risk show|panic [--risk-file <path>] [--clear] [--reason <text>] [--actor <id>]"
  },
  "risk.panic": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "risk",
      "panic"
    ],
    "canonicalTool": "risk.panic",
    "canonicalUsage": "pandora [--output table|json] risk panic [--clear] [--reason <text>] [--actor <id>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/RiskPayload",
    "emits": [
      "risk.panic",
      "risk.panic.help",
      "risk.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": true,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 15000,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "non-idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "actor": {
          "description": "Operator or agent identifier recorded with the panic action.",
          "type": "string"
        },
        "clear": {
          "description": "Clear the panic lock.",
          "type": "boolean"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "reason": {
          "description": "Reason for engaging panic mode. Required unless clear=true.",
          "type": "string"
        }
      },
      "type": "object",
      "xPandora": {
        "requiredAnyOf": [
          {
            "required": [
              "clear"
            ]
          },
          {
            "required": [
              "reason"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "risk:write"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "critical",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Engage or clear the global risk panic lock.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] risk panic [--clear] [--reason <text>] [--actor <id>]"
  },
  "risk.show": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "risk",
      "show"
    ],
    "canonicalTool": "risk.show",
    "canonicalUsage": "pandora [--output table|json] risk show",
    "controlInputNames": [],
    "dataSchema": "#/definitions/RiskPayload",
    "emits": [
      "risk.show",
      "risk.show.help",
      "risk.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {},
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "risk:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Inspect current risk panic and guardrail state.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] risk show"
  },
  "scan": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "scan"
    ],
    "canonicalTool": "scan",
    "canonicalUsage": "pandora [--output table|json] scan [--limit <n>] [--after <cursor>] [--before <cursor>] [--order-by <field>] [--order-direction asc|desc] [--chain-id <id>] [--creator <address>] [--poll-address <address>] [--market-type <type>|--type <type>] [--where-json <json>] [--active|--resolved|--expiring-soon] [--expiring-hours <n>] [--min-tvl <usdc>] [--hedgeable] [--expand] [--with-odds]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/PagedEntityPayload",
    "emits": [
      "scan",
      "scan.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "active": {
          "description": "Filter active markets.",
          "type": "boolean"
        },
        "after": {
          "description": "Pagination cursor.",
          "type": "string"
        },
        "before": {
          "description": "Pagination cursor.",
          "type": "string"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "creator": {
          "description": "Creator address.",
          "type": "string"
        },
        "expiring-hours": {
          "description": "Expiring-soon window in hours.",
          "minimum": 0,
          "type": "number"
        },
        "expiring-soon": {
          "description": "Filter expiring markets.",
          "type": "boolean"
        },
        "hedgeable": {
          "description": "Keep only hedgeable markets.",
          "type": "boolean"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "market-type": {
          "description": "Market type filter.",
          "type": "string"
        },
        "min-tvl": {
          "description": "Minimum TVL in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "order-by": {
          "description": "Sort field.",
          "enum": [
            "createdAt",
            "marketCloseTimestamp",
            "totalVolume",
            "currentTvl"
          ]
        },
        "order-direction": {
          "description": "Sort direction.",
          "enum": [
            "asc",
            "desc"
          ]
        },
        "poll-address": {
          "description": "Poll address.",
          "type": "string"
        },
        "resolved": {
          "description": "Filter resolved markets.",
          "type": "boolean"
        },
        "type": {
          "description": "Alias for market type filter.",
          "type": "string"
        },
        "where-json": {
          "description": "Raw JSON filter override.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "scan:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Canonical enriched market discovery view with odds and lifecycle filters.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] scan [--limit <n>] [--after <cursor>] [--before <cursor>] [--order-by <field>] [--order-direction asc|desc] [--chain-id <id>] [--creator <address>] [--poll-address <address>] [--market-type <type>|--type <type>] [--where-json <json>] [--active|--resolved|--expiring-soon] [--expiring-hours <n>] [--min-tvl <usdc>] [--hedgeable] [--expand] [--with-odds]"
  },
  "schema": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "schema"
    ],
    "canonicalTool": "schema",
    "canonicalUsage": "pandora [--output json] schema [--include-compatibility]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SchemaCommandPayload",
    "emits": [
      "schema",
      "schema.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 150,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/SchemaHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "include-compatibility": {
          "description": "Include compatibility alias descriptors in addition to canonical commands.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "json"
    ],
    "policyScopes": [
      "schema:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Emit JSON envelope schema plus command descriptor map for agents.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output json] schema [--include-compatibility]"
  },
  "sell": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "sell"
    ],
    "canonicalTool": "sell",
    "canonicalUsage": "pandora [--output table|json] sell [--indexer-url <url>] [--timeout-ms <ms>] [--dotenv-path <path>] [--skip-dotenv] --market-address <address> --side yes|no --shares <amount>|--amount <amount> --dry-run|--execute [--yes-pct <0-100>] [--slippage-bps <0-10000>] [--min-amount-out-raw <uint>] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--usdc <address>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/TradePayload",
    "emits": [
      "sell",
      "sell.help",
      "sell.quote.help"
    ],
    "executeFlags": [
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "filesystem",
      "wallet-secrets",
      "indexer-api",
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "amount": {
          "description": "Outcome-token amount to sell.",
          "minimum": 0,
          "type": "number"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "dotenv-path": {
          "description": "Env file path.",
          "type": "string"
        },
        "dry-run": {
          "description": "Run dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute live sell.",
          "type": "boolean"
        },
        "fork": {
          "description": "Run in fork mode.",
          "type": "boolean"
        },
        "fork-chain-id": {
          "description": "Fork chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "fork-rpc-url": {
          "description": "Fork RPC URL.",
          "type": "string"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "min-amount-out-raw": {
          "description": "Minimum collateral out as raw uint.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "shares": {
          "description": "Outcome-token amount to sell.",
          "minimum": 0,
          "type": "number"
        },
        "side": {
          "description": "Outcome side.",
          "enum": [
            "yes",
            "no"
          ]
        },
        "skip-dotenv": {
          "description": "Skip env loading.",
          "type": "boolean"
        },
        "slippage-bps": {
          "description": "Slippage in basis points.",
          "maximum": 10000,
          "minimum": 0,
          "type": "integer"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "usdc": {
          "description": "USDC token address override.",
          "type": "string"
        },
        "yes-pct": {
          "description": "Override YES probability percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "market-address",
        "side"
      ],
      "type": "object",
      "xPandora": {
        "requiredAnyOf": [
          {
            "required": [
              "shares"
            ]
          },
          {
            "required": [
              "amount"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sell:write",
      "secrets:use",
      "network:rpc",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": "quote",
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": "quote",
    "safeFlags": [
      "--dry-run"
    ],
    "summary": "Execute or dry-run an AMM sell flow.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sell [--indexer-url <url>] [--timeout-ms <ms>] [--dotenv-path <path>] [--skip-dotenv] --market-address <address> --side yes|no --shares <amount>|--amount <amount> --dry-run|--execute [--yes-pct <0-100>] [--slippage-bps <0-10000>] [--min-amount-out-raw <uint>] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--usdc <address>]"
  },
  "setup": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/SetupPayload",
    "emits": [
      "setup",
      "setup.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "filesystem",
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "setup:write",
      "network:rpc"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Write env file if needed and run doctor checks.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] setup [--force] [--dotenv-path <path>] [--example <path>] [--check-usdc-code] [--check-polymarket] [--rpc-timeout-ms <ms>]"
  },
  "simulate": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "simulate.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "simulate:read"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Simulation command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] simulate mc|particle-filter|agents ..."
  },
  "simulate.agents": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "simulate",
      "agents"
    ],
    "canonicalTool": "simulate.agents",
    "canonicalUsage": "pandora [--output table|json] simulate agents [--n-informed <n>] [--n-noise <n>] [--n-mm <n>] [--n-steps <n>] [--seed <int>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SimulateAgentsPayload",
    "emits": [
      "simulate.agents",
      "simulate.agents.help",
      "simulate.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "n-informed": {
          "description": "Informed agent count.",
          "maximum": 1000,
          "minimum": 1,
          "type": "integer"
        },
        "n-mm": {
          "description": "Market-maker count.",
          "maximum": 1000,
          "minimum": 1,
          "type": "integer"
        },
        "n-noise": {
          "description": "Noise agent count.",
          "maximum": 1000,
          "minimum": 1,
          "type": "integer"
        },
        "n-steps": {
          "description": "Simulation step count.",
          "maximum": 10000,
          "minimum": 1,
          "type": "integer"
        },
        "seed": {
          "description": "Deterministic random seed.",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "simulate:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Run deterministic agent-based market simulation with ABM diagnostics.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] simulate agents [--n-informed <n>] [--n-noise <n>] [--n-mm <n>] [--n-steps <n>] [--seed <int>]"
  },
  "simulate.mc": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "simulate",
      "mc"
    ],
    "canonicalTool": "simulate.mc",
    "canonicalUsage": "pandora [--output table|json] simulate mc [--trials <n>] [--horizon <n>] [--start-yes-pct <0-100>] [--entry-yes-pct <0-100>] [--position yes|no] [--stake-usdc <n>] [--drift-bps <n>] [--vol-bps <n>] [--confidence <50-100>] [--var-level <50-100>] [--seed <n>] [--antithetic] [--stratified]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SimulateMcPayload",
    "emits": [
      "simulate.mc",
      "simulate.mc.help",
      "simulate.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "antithetic": {
          "description": "Enable antithetic variates.",
          "type": "boolean"
        },
        "confidence": {
          "description": "Confidence interval level.",
          "maximum": 100,
          "minimum": 50,
          "type": "number"
        },
        "drift-bps": {
          "description": "Drift in basis points.",
          "type": "number"
        },
        "entry-yes-pct": {
          "description": "Entry YES probability percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "horizon": {
          "description": "Horizon step count.",
          "minimum": 1,
          "type": "integer"
        },
        "position": {
          "description": "Position side.",
          "enum": [
            "yes",
            "no"
          ]
        },
        "seed": {
          "description": "Deterministic random seed.",
          "type": "integer"
        },
        "stake-usdc": {
          "description": "Stake in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "start-yes-pct": {
          "description": "Starting YES probability percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "stratified": {
          "description": "Enable stratified sampling.",
          "type": "boolean"
        },
        "trials": {
          "description": "Simulation trial count.",
          "maximum": 250000,
          "minimum": 1,
          "type": "integer"
        },
        "var-level": {
          "description": "Value-at-risk level.",
          "maximum": 100,
          "minimum": 50,
          "type": "number"
        },
        "vol-bps": {
          "description": "Volatility in basis points.",
          "minimum": 0,
          "type": "number"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "simulate:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Run desk-grade Monte Carlo simulation with CI and VaR/ES risk outputs.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] simulate mc [--trials <n>] [--horizon <n>] [--start-yes-pct <0-100>] [--entry-yes-pct <0-100>] [--position yes|no] [--stake-usdc <n>] [--drift-bps <n>] [--vol-bps <n>] [--confidence <50-100>] [--var-level <50-100>] [--seed <n>] [--antithetic] [--stratified]"
  },
  "simulate.particle-filter": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "simulate",
      "particle-filter"
    ],
    "canonicalTool": "simulate.particle-filter",
    "canonicalUsage": "pandora [--output table|json] simulate particle-filter (--observations-json <json>|--input <path>|--stdin) [--particles <n>] [--process-noise <n>] [--observation-noise <n>] [--drift-bps <n>] [--initial-yes-pct <0-100>] [--initial-spread <n>] [--resample-threshold <0-1>] [--resample-method systematic|multinomial] [--credible-interval <50-100>] [--seed <n>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SimulateParticleFilterPayload",
    "emits": [
      "simulate.particle-filter",
      "simulate.particle-filter.help",
      "simulate.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 750,
    "externalDependencies": [],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "credible-interval": {
          "description": "Credible interval level.",
          "maximum": 100,
          "minimum": 50,
          "type": "number"
        },
        "drift-bps": {
          "description": "Drift in basis points.",
          "type": "number"
        },
        "initial-spread": {
          "description": "Initial spread parameter.",
          "minimum": 0,
          "type": "number"
        },
        "initial-yes-pct": {
          "description": "Initial YES probability percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "input": {
          "description": "Observation file path.",
          "type": "string"
        },
        "observation-noise": {
          "description": "Observation noise parameter.",
          "minimum": 0,
          "type": "number"
        },
        "observations-json": {
          "description": "Observation series JSON.",
          "type": "string"
        },
        "particles": {
          "description": "Particle count.",
          "maximum": 100000,
          "minimum": 1,
          "type": "integer"
        },
        "process-noise": {
          "description": "Process noise parameter.",
          "minimum": 0,
          "type": "number"
        },
        "resample-method": {
          "description": "Particle resample method.",
          "enum": [
            "systematic",
            "multinomial"
          ]
        },
        "resample-threshold": {
          "description": "ESS resample threshold.",
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        },
        "seed": {
          "description": "Deterministic random seed.",
          "type": "integer"
        },
        "stdin": {
          "description": "Read observations JSON from stdin.",
          "type": "boolean"
        }
      },
      "type": "object",
      "xPandora": {
        "exclusiveOneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "input"
                  ]
                },
                {
                  "required": [
                    "input"
                  ]
                },
                {
                  "required": [
                    "stdin"
                  ]
                },
                {
                  "required": [
                    "stdin"
                  ]
                }
              ]
            },
            "required": [
              "observations-json"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "observations-json"
                  ]
                },
                {
                  "required": [
                    "observations-json"
                  ]
                },
                {
                  "required": [
                    "stdin"
                  ]
                },
                {
                  "required": [
                    "stdin"
                  ]
                }
              ]
            },
            "required": [
              "input"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "observations-json"
                  ]
                },
                {
                  "required": [
                    "observations-json"
                  ]
                },
                {
                  "required": [
                    "input"
                  ]
                },
                {
                  "required": [
                    "input"
                  ]
                }
              ]
            },
            "required": [
              "stdin"
            ]
          }
        ]
      }
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "simulate:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Run sequential Monte Carlo filtering with ESS diagnostics and credible intervals.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] simulate particle-filter (--observations-json <json>|--input <path>|--stdin) [--particles <n>] [--process-noise <n>] [--observation-noise <n>] [--drift-bps <n>] [--initial-yes-pct <0-100>] [--initial-spread <n>] [--resample-threshold <0-1>] [--resample-method systematic|multinomial] [--credible-interval <50-100>] [--seed <n>]"
  },
  "sports": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "sports.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "sports-data-provider"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sports:read",
      "network:sports"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Sports command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sports schedule|scores|books list|events list|events live|odds snapshot|odds bulk|consensus|create plan|create run|sync once|run|start|stop|status|resolve plan ..."
  },
  "sports.books.list": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "sports",
      "books",
      "list"
    ],
    "canonicalTool": "sports.books.list",
    "canonicalUsage": "pandora [--output table|json] sports books list [--provider primary|backup|auto] [--book-priority <csv>] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SportsBooksPayload",
    "emits": [
      "sports.books.list",
      "sports.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "sports-data-provider"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "book-priority": {
          "description": "Comma-delimited bookmaker priority list.",
          "type": "string"
        },
        "provider": {
          "description": "Sports provider selection.",
          "enum": [
            "primary",
            "backup",
            "auto"
          ]
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sports:read",
      "network:sports"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "List sportsbook provider health and configured book priorities.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sports books list [--provider primary|backup|auto] [--book-priority <csv>] [--timeout-ms <ms>]"
  },
  "sports.consensus": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "sports",
      "consensus"
    ],
    "canonicalTool": "sports.consensus",
    "canonicalUsage": "pandora [--output table|json] sports consensus --event-id <id>|--checks-json <json> [--provider primary|backup|auto] [--book-priority <csv>] [--trim-percent <n>] [--min-tier1-books <n>] [--min-total-books <n>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SportsConsensusPayload",
    "emits": [
      "sports.consensus",
      "sports.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "sports-data-provider"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "book-priority": {
          "description": "Comma-delimited bookmaker priority list.",
          "type": "string"
        },
        "checks-json": {
          "description": "Raw consensus input JSON.",
          "type": "string"
        },
        "event-id": {
          "description": "Event identifier.",
          "type": "string"
        },
        "min-tier1-books": {
          "description": "Minimum tier-1 bookmaker count.",
          "minimum": 0,
          "type": "integer"
        },
        "min-total-books": {
          "description": "Minimum total bookmaker count.",
          "minimum": 0,
          "type": "integer"
        },
        "provider": {
          "description": "Sports provider selection.",
          "enum": [
            "primary",
            "backup",
            "auto"
          ]
        },
        "trim-percent": {
          "description": "Outlier trim percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sports:read",
      "network:sports"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Compute majority-book trimmed-median consensus.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sports consensus --event-id <id>|--checks-json <json> [--provider primary|backup|auto] [--book-priority <csv>] [--trim-percent <n>] [--min-tier1-books <n>] [--min-total-books <n>]"
  },
  "sports.create.plan": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "sports",
      "create",
      "plan"
    ],
    "canonicalTool": "sports.create.plan",
    "canonicalUsage": "pandora [--output table|json] sports create plan --event-id <id> [--market-type amm|parimutuel] [--selection home|away|draw] [--creation-window-open-min <n>] [--creation-window-close-min <n>] [--category <id|name>] [--book-priority <csv>] [--model-file <path>|--model-stdin]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SportsCreatePayload",
    "emits": [
      "sports.create.plan",
      "sports.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "sports-data-provider"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "book-priority": {
          "description": "Comma-delimited bookmaker priority list.",
          "type": "string"
        },
        "category": {
          "description": "Category id or canonical category name.",
          "examples": [
            "Sports",
            "3"
          ],
          "type": "string",
          "xPandora": {
            "acceptsIntegerStrings": true,
            "allowedCategoryNames": [
              "Politics",
              "Sports",
              "Finance",
              "Crypto",
              "Culture",
              "Technology",
              "Science",
              "Entertainment",
              "Health",
              "Environment",
              "Other"
            ],
            "caseInsensitivePattern": "^(?:[pP][oO][lL][iI][tT][iI][cC][sS]|[sS][pP][oO][rR][tT][sS]|[fF][iI][nN][aA][nN][cC][eE]|[cC][rR][yY][pP][tT][oO]|[cC][uU][lL][tT][uU][rR][eE]|[tT][eE][cC][hH][nN][oO][lL][oO][gG][yY]|[sS][cC][iI][eE][nN][cC][eE]|[eE][nN][tT][eE][rR][tT][aA][iI][nN][mM][eE][nN][tT]|[hH][eE][aA][lL][tT][hH]|[eE][nN][vV][iI][rR][oO][nN][mM][eE][nN][tT]|[oO][tT][hH][eE][rR])$"
          }
        },
        "creation-window-close-min": {
          "description": "Creation window close minutes before kickoff.",
          "minimum": 0,
          "type": "integer"
        },
        "creation-window-open-min": {
          "description": "Creation window open minutes before kickoff.",
          "minimum": 0,
          "type": "integer"
        },
        "event-id": {
          "description": "Event identifier.",
          "type": "string"
        },
        "market-type": {
          "description": "Market type.",
          "enum": [
            "amm",
            "parimutuel"
          ]
        },
        "model-file": {
          "description": "Path to BYOM probability JSON.",
          "type": "string"
        },
        "model-stdin": {
          "description": "Read BYOM probability JSON from stdin.",
          "type": "boolean"
        },
        "selection": {
          "description": "Outcome selection.",
          "enum": [
            "home",
            "away",
            "draw"
          ]
        }
      },
      "required": [
        "event-id"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sports:read",
      "network:sports"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Build conservative market creation plan from sportsbook consensus.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sports create plan --event-id <id> [--market-type amm|parimutuel] [--selection home|away|draw] [--creation-window-open-min <n>] [--creation-window-close-min <n>] [--category <id|name>] [--book-priority <csv>] [--model-file <path>|--model-stdin]"
  },
  "sports.create.run": {
    "agentWorkflow": {
      "executeRequiresValidation": true,
      "notes": [
        "Use agent.market.autocomplete when the agent must rewrite the question, rules, or timing before market creation.",
        "Run agent.market.validate on the exact final sports market payload before any execute path."
      ],
      "recommendedTools": [
        "agent.market.autocomplete"
      ],
      "requiredTools": [
        "agent.market.validate"
      ]
    },
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "sports",
      "create",
      "run"
    ],
    "canonicalTool": "sports.create.run",
    "canonicalUsage": "pandora [--output table|json] sports create run --event-id <id> [--market-type amm|parimutuel] [--category <id|name>] [--dry-run|--execute] [--liquidity-usdc <n>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>]",
    "controlInputNames": [
      "agentPreflight"
    ],
    "dataSchema": "#/definitions/SportsCreatePayload",
    "emits": [
      "sports.create.run",
      "sports.help"
    ],
    "executeFlags": [
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 60000,
    "externalDependencies": [
      "wallet-secrets",
      "chain-rpc",
      "sports-data-provider"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "agentPreflight": {
          "additionalProperties": false,
          "description": "Agent validation attestation for execute mode.",
          "properties": {
            "autocompleteTicket": {
              "description": "Optional ticket from agent.market.autocomplete when the agent drafted the market.",
              "type": "string"
            },
            "validationDecision": {
              "description": "Validation verdict from the agent AI run.",
              "enum": [
                "PASS",
                "FAIL"
              ]
            },
            "validationSummary": {
              "description": "Short summary of the validation result.",
              "type": "string"
            },
            "validationTicket": {
              "description": "Ticket returned by agent.market.validate for the exact market payload.",
              "type": "string"
            }
          },
          "required": [
            "validationTicket",
            "validationDecision",
            "validationSummary"
          ],
          "type": "object"
        },
        "category": {
          "description": "Category id or canonical category name.",
          "examples": [
            "Sports",
            "3"
          ],
          "type": "string",
          "xPandora": {
            "acceptsIntegerStrings": true,
            "allowedCategoryNames": [
              "Politics",
              "Sports",
              "Finance",
              "Crypto",
              "Culture",
              "Technology",
              "Science",
              "Entertainment",
              "Health",
              "Environment",
              "Other"
            ],
            "caseInsensitivePattern": "^(?:[pP][oO][lL][iI][tT][iI][cC][sS]|[sS][pP][oO][rR][tT][sS]|[fF][iI][nN][aA][nN][cC][eE]|[cC][rR][yY][pP][tT][oO]|[cC][uU][lL][tT][uU][rR][eE]|[tT][eE][cC][hH][nN][oO][lL][oO][gG][yY]|[sS][cC][iI][eE][nN][cC][eE]|[eE][nN][tT][eE][rR][tT][aA][iI][nN][mM][eE][nN][tT]|[hH][eE][aA][lL][tT][hH]|[eE][nN][vV][iI][rR][oO][nN][mM][eE][nN][tT]|[oO][tT][hH][eE][rR])$"
          }
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "dry-run": {
          "description": "Run dry-run mode.",
          "type": "boolean"
        },
        "event-id": {
          "description": "Event identifier.",
          "type": "string"
        },
        "execute": {
          "description": "Execute live creation.",
          "type": "boolean"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "liquidity-usdc": {
          "description": "Initial liquidity amount in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "market-type": {
          "description": "Market type.",
          "enum": [
            "amm",
            "parimutuel"
          ]
        },
        "paper": {
          "description": "Run in paper mode.",
          "type": "boolean"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        }
      },
      "required": [
        "event-id"
      ],
      "type": "object"
    },
    "jobCapable": true,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sports:run",
      "secrets:use",
      "network:rpc",
      "network:sports",
      "jobs:run"
    ],
    "preferred": true,
    "recommendedPreflightTool": "agent.market.validate",
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [
      "--dry-run",
      "--paper"
    ],
    "summary": "Execute or dry-run sports market creation; pari-mutuel execute remains unsupported.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sports create run --event-id <id> [--market-type amm|parimutuel] [--category <id|name>] [--dry-run|--execute] [--liquidity-usdc <n>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>]"
  },
  "sports.events.list": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "sports",
      "events",
      "list"
    ],
    "canonicalTool": "sports.events.list",
    "canonicalUsage": "pandora [--output table|json] sports events list [--provider primary|backup|auto] [--competition <id|slug>] [--kickoff-after <iso>] [--kickoff-before <iso>] [--limit <n>] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SportsEventsPayload",
    "emits": [
      "sports.events.list",
      "sports.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "sports-data-provider"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "competition": {
          "description": "Competition identifier or slug.",
          "type": "string"
        },
        "kickoff-after": {
          "description": "ISO timestamp lower bound.",
          "type": "string"
        },
        "kickoff-before": {
          "description": "ISO timestamp upper bound.",
          "type": "string"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "provider": {
          "description": "Sports provider selection.",
          "enum": [
            "primary",
            "backup",
            "auto"
          ]
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sports:read",
      "network:sports"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "List normalized soccer events from sportsbook providers.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sports events list [--provider primary|backup|auto] [--competition <id|slug>] [--kickoff-after <iso>] [--kickoff-before <iso>] [--limit <n>] [--timeout-ms <ms>]"
  },
  "sports.events.live": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "sports",
      "events",
      "live"
    ],
    "canonicalTool": "sports.events.live",
    "canonicalUsage": "pandora [--output table|json] sports events live [--provider primary|backup|auto] [--competition <id|slug>] [--limit <n>] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SportsEventsPayload",
    "emits": [
      "sports.events.live",
      "sports.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "sports-data-provider"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "competition": {
          "description": "Competition identifier or slug.",
          "type": "string"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "provider": {
          "description": "Sports provider selection.",
          "enum": [
            "primary",
            "backup",
            "auto"
          ]
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sports:read",
      "network:sports"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "List currently-live soccer events from sportsbook providers.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sports events live [--provider primary|backup|auto] [--competition <id|slug>] [--limit <n>] [--timeout-ms <ms>]"
  },
  "sports.odds.bulk": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "sports",
      "odds",
      "bulk"
    ],
    "canonicalTool": "sports.odds.bulk",
    "canonicalUsage": "pandora [--output table|json] sports odds bulk --competition <id|slug> [--provider primary|backup|auto] [--timeout-ms <ms>] [--limit <n>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SportsBulkOddsPayload",
    "emits": [
      "sports.odds.bulk",
      "sports.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "sports-data-provider"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "competition": {
          "description": "Competition identifier or slug.",
          "type": "string"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "provider": {
          "description": "Sports provider selection.",
          "enum": [
            "primary",
            "backup",
            "auto"
          ]
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "competition"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sports:read",
      "network:sports"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Fetch all competition odds and refresh the local bulk cache.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sports odds bulk --competition <id|slug> [--provider primary|backup|auto] [--timeout-ms <ms>] [--limit <n>]"
  },
  "sports.odds.snapshot": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "sports",
      "odds",
      "snapshot"
    ],
    "canonicalTool": "sports.odds.snapshot",
    "canonicalUsage": "pandora [--output table|json] sports odds snapshot --event-id <id> [--provider primary|backup|auto] [--book-priority <csv>] [--trim-percent <n>] [--min-tier1-books <n>] [--min-total-books <n>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SportsOddsPayload",
    "emits": [
      "sports.odds.snapshot",
      "sports.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "sports-data-provider"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "book-priority": {
          "description": "Comma-delimited bookmaker priority list.",
          "type": "string"
        },
        "event-id": {
          "description": "Event identifier.",
          "type": "string"
        },
        "min-tier1-books": {
          "description": "Minimum tier-1 bookmaker count.",
          "minimum": 0,
          "type": "integer"
        },
        "min-total-books": {
          "description": "Minimum total bookmaker count.",
          "minimum": 0,
          "type": "integer"
        },
        "provider": {
          "description": "Sports provider selection.",
          "enum": [
            "primary",
            "backup",
            "auto"
          ]
        },
        "trim-percent": {
          "description": "Outlier trim percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "event-id"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sports:read",
      "network:sports"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Fetch event odds snapshot and consensus context.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sports odds snapshot --event-id <id> [--provider primary|backup|auto] [--book-priority <csv>] [--trim-percent <n>] [--min-tier1-books <n>] [--min-total-books <n>]"
  },
  "sports.resolve.plan": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "sports",
      "resolve",
      "plan"
    ],
    "canonicalTool": "sports.resolve.plan",
    "canonicalUsage": "pandora [--output table|json] sports resolve plan --event-id <id>|--checks-json <json>|--checks-file <path> [--poll-address <address>] [--settle-delay-ms <ms>] [--consecutive-checks-required <n>] [--now <iso>|--now-ms <ms>] [--reason <text>] [--rpc-url <url>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SportsResolvePlanPayload",
    "emits": [
      "sports.resolve.plan",
      "sports.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "chain-rpc",
      "sports-data-provider"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "checks-file": {
          "description": "Resolution checks file path.",
          "type": "string"
        },
        "checks-json": {
          "description": "Raw resolution checks JSON.",
          "type": "string"
        },
        "consecutive-checks-required": {
          "description": "Required consecutive final checks.",
          "minimum": 1,
          "type": "integer"
        },
        "event-id": {
          "description": "Event identifier.",
          "type": "string"
        },
        "now": {
          "description": "Current time override as ISO timestamp.",
          "type": "string"
        },
        "now-ms": {
          "description": "Current time override in milliseconds.",
          "minimum": 0,
          "type": "integer"
        },
        "poll-address": {
          "description": "Poll address.",
          "type": "string"
        },
        "reason": {
          "description": "Operator note for resolve plan.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "settle-delay-ms": {
          "description": "Minimum settle delay in milliseconds.",
          "minimum": 0,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sports:read",
      "network:rpc",
      "network:sports"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Build an opt-in sports resolution safety verdict with blockers, timing, and optional execute-ready resolve args.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sports resolve plan --event-id <id>|--checks-json <json>|--checks-file <path> [--poll-address <address>] [--settle-delay-ms <ms>] [--consecutive-checks-required <n>] [--now <iso>|--now-ms <ms>] [--reason <text>] [--rpc-url <url>]"
  },
  "sports.schedule": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "sports",
      "schedule"
    ],
    "canonicalTool": "sports.schedule",
    "canonicalUsage": "pandora [--output table|json] sports schedule [--provider primary|backup|auto] [--competition <id|slug>] [--date <YYYY-MM-DD>] [--kickoff-after <iso>] [--kickoff-before <iso>] [--limit <n>] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SportsSchedulePayload",
    "emits": [
      "sports.schedule",
      "sports.schedule.help",
      "sports.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "sports-data-provider"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "competition": {
          "description": "Competition identifier or slug.",
          "type": "string"
        },
        "date": {
          "description": "UTC calendar date shorthand in YYYY-MM-DD form. Expands to kickoff-after/before for that day.",
          "type": "string"
        },
        "kickoff-after": {
          "description": "ISO timestamp lower bound.",
          "type": "string"
        },
        "kickoff-before": {
          "description": "ISO timestamp upper bound.",
          "type": "string"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "provider": {
          "description": "Sports provider selection.",
          "enum": [
            "primary",
            "backup",
            "auto"
          ]
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sports:read",
      "network:sports"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Operator-oriented schedule view for normalized soccer fixtures.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sports schedule [--provider primary|backup|auto] [--competition <id|slug>] [--date <YYYY-MM-DD>] [--kickoff-after <iso>] [--kickoff-before <iso>] [--limit <n>] [--timeout-ms <ms>]"
  },
  "sports.scores": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "sports",
      "scores"
    ],
    "canonicalTool": "sports.scores",
    "canonicalUsage": "pandora [--output table|json] sports scores [--event-id <id>|--game <id>] [--provider primary|backup|auto] [--competition <id|slug>] [--date <YYYY-MM-DD>] [--kickoff-after <iso>] [--kickoff-before <iso>] [--limit <n>] [--timeout-ms <ms>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SportsScoresPayload",
    "emits": [
      "sports.scores",
      "sports.scores.help",
      "sports.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "sports-data-provider"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "competition": {
          "description": "Competition identifier or slug.",
          "type": "string"
        },
        "date": {
          "description": "UTC calendar date shorthand in YYYY-MM-DD form. Expands to kickoff-after/before for that day.",
          "type": "string"
        },
        "event-id": {
          "description": "Event identifier.",
          "type": "string"
        },
        "game": {
          "description": "Alias for --event-id.",
          "type": "string"
        },
        "kickoff-after": {
          "description": "ISO timestamp lower bound.",
          "type": "string"
        },
        "kickoff-before": {
          "description": "ISO timestamp upper bound.",
          "type": "string"
        },
        "limit": {
          "description": "Maximum number of results.",
          "minimum": 1,
          "type": "integer"
        },
        "provider": {
          "description": "Sports provider selection.",
          "enum": [
            "primary",
            "backup",
            "auto"
          ]
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sports:read",
      "network:sports"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Operator-oriented live score and status view for soccer events.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sports scores [--event-id <id>|--game <id>] [--provider primary|backup|auto] [--competition <id|slug>] [--date <YYYY-MM-DD>] [--kickoff-after <iso>] [--kickoff-before <iso>] [--limit <n>] [--timeout-ms <ms>]"
  },
  "sports.sync": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/SportsSyncPayload",
    "emits": [
      "sports.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "filesystem",
      "sports-data-provider"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sports:read",
      "network:sports"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Run sports sync once/run and runtime lifecycle actions.",
    "supportsRemote": false,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sports sync once|run|start|stop|status [--event-id <id>] [--paper|--execute-live] [--risk-profile conservative|balanced|aggressive] [--state-file <path>]"
  },
  "sports.sync.once": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "sports",
      "sync",
      "once"
    ],
    "canonicalTool": "sports.sync.once",
    "canonicalUsage": "pandora [--output table|json] sports sync once --event-id <id> [--paper|--execute-live] [--risk-profile conservative|balanced|aggressive] [--state-file <path>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SportsSyncPayload",
    "emits": [
      "sports.sync.once",
      "sports.help"
    ],
    "executeFlags": [
      "--execute-live",
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "filesystem",
      "sports-data-provider"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "dry-run": {
          "description": "Run in dry-run mode.",
          "type": "boolean"
        },
        "event-id": {
          "description": "Event identifier.",
          "type": "string"
        },
        "execute": {
          "description": "Execute live/write path.",
          "type": "boolean"
        },
        "execute-live": {
          "description": "Execute live sync actions.",
          "type": "boolean"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "paper": {
          "description": "Run in paper/simulation mode.",
          "type": "boolean"
        },
        "risk-profile": {
          "description": "Risk profile.",
          "enum": [
            "conservative",
            "balanced",
            "aggressive"
          ]
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sports:write",
      "network:sports"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [
      "--paper",
      "--dry-run"
    ],
    "summary": "Run one bounded sports sync iteration.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sports sync once --event-id <id> [--paper|--execute-live] [--risk-profile conservative|balanced|aggressive] [--state-file <path>]"
  },
  "sports.sync.run": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "sports",
      "sync",
      "run"
    ],
    "canonicalTool": "sports.sync.run",
    "canonicalUsage": "pandora [--output table|json] sports sync run --event-id <id> [--paper|--execute-live] [--risk-profile conservative|balanced|aggressive] [--state-file <path>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SportsSyncPayload",
    "emits": [
      "sports.sync.run",
      "sports.help"
    ],
    "executeFlags": [
      "--execute-live",
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 60000,
    "externalDependencies": [
      "filesystem",
      "sports-data-provider"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "dry-run": {
          "description": "Run in dry-run mode.",
          "type": "boolean"
        },
        "event-id": {
          "description": "Event identifier.",
          "type": "string"
        },
        "execute": {
          "description": "Execute live/write path.",
          "type": "boolean"
        },
        "execute-live": {
          "description": "Execute live sync actions.",
          "type": "boolean"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "paper": {
          "description": "Run in paper/simulation mode.",
          "type": "boolean"
        },
        "risk-profile": {
          "description": "Risk profile.",
          "enum": [
            "conservative",
            "balanced",
            "aggressive"
          ]
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": true,
    "mcpExposed": true,
    "mcpLongRunningBlocked": true,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sports:run",
      "network:sports",
      "jobs:run"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [
      "--paper",
      "--dry-run"
    ],
    "summary": "Run continuous sports sync loop.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sports sync run --event-id <id> [--paper|--execute-live] [--risk-profile conservative|balanced|aggressive] [--state-file <path>]"
  },
  "sports.sync.start": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "sports",
      "sync",
      "start"
    ],
    "canonicalTool": "sports.sync.start",
    "canonicalUsage": "pandora [--output table|json] sports sync start --event-id <id> [--paper|--execute-live] [--risk-profile conservative|balanced|aggressive] [--state-file <path>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SportsSyncPayload",
    "emits": [
      "sports.sync.start",
      "sports.help"
    ],
    "executeFlags": [
      "--execute-live",
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 60000,
    "externalDependencies": [
      "filesystem",
      "sports-data-provider"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "dry-run": {
          "description": "Run in dry-run mode.",
          "type": "boolean"
        },
        "event-id": {
          "description": "Event identifier.",
          "type": "string"
        },
        "execute": {
          "description": "Execute live/write path.",
          "type": "boolean"
        },
        "execute-live": {
          "description": "Execute live sync actions.",
          "type": "boolean"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "paper": {
          "description": "Run in paper/simulation mode.",
          "type": "boolean"
        },
        "risk-profile": {
          "description": "Risk profile.",
          "enum": [
            "conservative",
            "balanced",
            "aggressive"
          ]
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": true,
    "mcpExposed": true,
    "mcpLongRunningBlocked": true,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sports:run",
      "network:sports",
      "jobs:run"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": true,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [
      "--paper",
      "--dry-run"
    ],
    "summary": "Start detached sports sync runtime.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sports sync start --event-id <id> [--paper|--execute-live] [--risk-profile conservative|balanced|aggressive] [--state-file <path>]"
  },
  "sports.sync.status": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "sports",
      "sync",
      "status"
    ],
    "canonicalTool": "sports.sync.status",
    "canonicalUsage": "pandora [--output table|json] sports sync status [--state-file <path>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SportsSyncPayload",
    "emits": [
      "sports.sync.status",
      "sports.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1000,
    "externalDependencies": [
      "filesystem"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "state-file": {
          "description": "State file path.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sports:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": true,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Inspect detached sports sync runtime status.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sports sync status [--state-file <path>]"
  },
  "sports.sync.stop": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "sports",
      "sync",
      "stop"
    ],
    "canonicalTool": "sports.sync.stop",
    "canonicalUsage": "pandora [--output table|json] sports sync stop [--state-file <path>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SportsSyncPayload",
    "emits": [
      "sports.sync.stop",
      "sports.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": true,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 1000,
    "externalDependencies": [
      "filesystem"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "non-idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "state-file": {
          "description": "State file path.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "sports:write"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": true,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Stop detached sports sync runtime.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] sports sync stop [--state-file <path>]"
  },
  "stream": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/StreamTickPayload",
    "emits": [
      "stream.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 60000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": true,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "stream:run",
      "network:indexer",
      "jobs:run"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Emit NDJSON stream ticks for prices or events.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora stream prices|events [--indexer-url <url>] [--indexer-ws-url <url>] [--timeout-ms <ms>] [--interval-ms <ms>] [--market-address <address>] [--chain-id <id>] [--limit <n>]"
  },
  "suggest": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "suggest"
    ],
    "canonicalTool": "suggest",
    "canonicalUsage": "pandora [--output table|json] suggest --wallet <address> --risk low|medium|high --budget <amount> [--count <n>] [--include-venues pandora,polymarket]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/SuggestPayload",
    "emits": [
      "suggest",
      "suggest.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "budget": {
          "description": "Budget in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "count": {
          "description": "Maximum suggestion count.",
          "minimum": 1,
          "type": "integer"
        },
        "include-venues": {
          "description": "Comma-delimited venue list.",
          "type": "string"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "risk": {
          "description": "Risk profile.",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "wallet": {
          "description": "Wallet address.",
          "type": "string"
        }
      },
      "required": [
        "wallet",
        "risk",
        "budget"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "suggest:read",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Produce trade suggestions from wallet history and cross-venue context.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] suggest --wallet <address> --risk low|medium|high --budget <amount> [--count <n>] [--include-venues pandora,polymarket]"
  },
  "trade": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "trade"
    ],
    "canonicalTool": "trade",
    "canonicalUsage": "pandora [--output table|json] trade [--indexer-url <url>] [--timeout-ms <ms>] [--dotenv-path <path>] [--skip-dotenv] --market-address <address> --side yes|no --amount-usdc <amount> --dry-run|--execute [--yes-pct <0-100>] [--slippage-bps <0-10000>] [--min-shares-out-raw <uint>] [--max-amount-usdc <amount>] [--min-probability-pct <0-100>] [--max-probability-pct <0-100>] [--allow-unquoted-execute] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--usdc <address>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/TradePayload",
    "emits": [
      "trade",
      "trade.help",
      "trade.quote.help"
    ],
    "executeFlags": [
      "--execute"
    ],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": true,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "filesystem",
      "wallet-secrets",
      "indexer-api",
      "chain-rpc"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "allow-unquoted-execute": {
          "description": "Allow execution without quote freshness guard.",
          "type": "boolean"
        },
        "amount-usdc": {
          "description": "Trade notional in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "dotenv-path": {
          "description": "Env file path.",
          "type": "string"
        },
        "dry-run": {
          "description": "Run dry-run mode.",
          "type": "boolean"
        },
        "execute": {
          "description": "Execute live trade.",
          "type": "boolean"
        },
        "fork": {
          "description": "Run in fork mode.",
          "type": "boolean"
        },
        "fork-chain-id": {
          "description": "Fork chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "fork-rpc-url": {
          "description": "Fork RPC URL.",
          "type": "string"
        },
        "indexer-url": {
          "description": "Indexer base URL.",
          "type": "string"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "max-amount-usdc": {
          "description": "Maximum notional guard.",
          "minimum": 0,
          "type": "number"
        },
        "max-probability-pct": {
          "description": "Maximum allowed probability percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "min-probability-pct": {
          "description": "Minimum allowed probability percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "min-shares-out-raw": {
          "description": "Minimum shares out as raw uint.",
          "type": "string"
        },
        "private-key": {
          "description": "Hex private key.",
          "type": "string"
        },
        "profile-file": {
          "description": "Path to a signer profile file.",
          "type": "string"
        },
        "profile-id": {
          "description": "Named signer profile id.",
          "type": "string"
        },
        "rpc-url": {
          "description": "RPC URL.",
          "type": "string"
        },
        "side": {
          "description": "Outcome side.",
          "enum": [
            "yes",
            "no"
          ]
        },
        "skip-dotenv": {
          "description": "Skip env loading.",
          "type": "boolean"
        },
        "slippage-bps": {
          "description": "Slippage in basis points.",
          "maximum": 10000,
          "minimum": 0,
          "type": "integer"
        },
        "timeout-ms": {
          "description": "Request timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "usdc": {
          "description": "USDC token address override.",
          "type": "string"
        },
        "yes-pct": {
          "description": "Override YES probability percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "market-address",
        "side",
        "amount-usdc"
      ],
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "trade:write",
      "secrets:use",
      "network:rpc",
      "network:indexer"
    ],
    "preferred": true,
    "recommendedPreflightTool": "quote",
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": "quote",
    "safeFlags": [
      "--dry-run"
    ],
    "summary": "Execute or dry-run a buy flow with optional risk constraints.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] trade [--indexer-url <url>] [--timeout-ms <ms>] [--dotenv-path <path>] [--skip-dotenv] --market-address <address> --side yes|no --amount-usdc <amount> --dry-run|--execute [--yes-pct <0-100>] [--slippage-bps <0-10000>] [--min-shares-out-raw <uint>] [--max-amount-usdc <amount>] [--min-probability-pct <0-100>] [--max-probability-pct <0-100>] [--allow-unquoted-execute] [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--usdc <address>]"
  },
  "version": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": [
      "version"
    ],
    "canonicalTool": "version",
    "canonicalUsage": "pandora [--output table|json] version",
    "controlInputNames": [],
    "dataSchema": "#/definitions/VersionPayload",
    "emits": [
      "version"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 150,
    "externalDependencies": [],
    "helpDataSchema": null,
    "idempotency": "idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {},
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "version:read"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "low",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Return the installed Pandora CLI version.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] version"
  },
  "watch": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "watch"
    ],
    "canonicalTool": "watch",
    "canonicalUsage": "pandora [--output table|json] watch [--wallet <address>] [--market-address <address>] [--side yes|no] [--amount-usdc <amount>] [--once|--iterations <n>] [--interval-ms <ms>] [--chain-id <id>] [--include-events|--no-events] [--yes-pct <0-100>] [--alert-yes-below <0-100>] [--alert-yes-above <0-100>] [--alert-net-liquidity-below <amount>] [--alert-net-liquidity-above <amount>] [--alert-exposure-above <amount>] [--alert-hedge-gap-above <amount>] [--max-trade-size-usdc <amount>] [--max-daily-volume-usdc <amount>] [--max-total-exposure-usdc <amount>] [--max-per-market-exposure-usdc <amount>] [--max-hedge-gap-usdc <amount>] [--fail-on-alert] [--track-brier] [--brier-source <name>] [--brier-file <path>] [--group-by source|market|competition]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/WatchPayload",
    "emits": [
      "watch",
      "watch.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 60000,
    "externalDependencies": [
      "filesystem",
      "indexer-api"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "conditional",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "alert-exposure-above": {
          "description": "Alert threshold for observed total exposure in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "alert-hedge-gap-above": {
          "description": "Alert threshold for observed hedge gap in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "alert-net-liquidity-above": {
          "description": "Alert threshold for high liquidity.",
          "minimum": 0,
          "type": "number"
        },
        "alert-net-liquidity-below": {
          "description": "Alert threshold for low liquidity.",
          "minimum": 0,
          "type": "number"
        },
        "alert-yes-above": {
          "description": "Alert threshold for high YES probability.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "alert-yes-below": {
          "description": "Alert threshold for low YES probability.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "amount-usdc": {
          "description": "Trade notional in USDC.",
          "minimum": 0,
          "type": "number"
        },
        "brier-file": {
          "description": "Forecast ledger path.",
          "type": "string"
        },
        "brier-source": {
          "description": "Forecast source label.",
          "type": "string"
        },
        "chain-id": {
          "description": "Chain id.",
          "minimum": 1,
          "type": "integer"
        },
        "fail-on-alert": {
          "description": "Exit non-zero when alerts fire.",
          "type": "boolean"
        },
        "group-by": {
          "description": "Brier grouping label.",
          "enum": [
            "source",
            "market",
            "competition"
          ]
        },
        "include-events": {
          "description": "Include event aggregation.",
          "type": "boolean"
        },
        "interval-ms": {
          "description": "Delay between watch iterations.",
          "minimum": 1,
          "type": "integer"
        },
        "iterations": {
          "description": "Number of watch iterations.",
          "minimum": 1,
          "type": "integer"
        },
        "market-address": {
          "description": "Market address.",
          "type": "string"
        },
        "max-daily-volume-usdc": {
          "description": "Maximum projected daily volume in USDC for watch risk policy.",
          "minimum": 0,
          "type": "number"
        },
        "max-hedge-gap-usdc": {
          "description": "Maximum observed hedge gap in USDC for watch risk policy.",
          "minimum": 0,
          "type": "number"
        },
        "max-per-market-exposure-usdc": {
          "description": "Maximum observed single-market exposure in USDC for watch risk policy.",
          "minimum": 0,
          "type": "number"
        },
        "max-total-exposure-usdc": {
          "description": "Maximum observed total exposure in USDC for watch risk policy.",
          "minimum": 0,
          "type": "number"
        },
        "max-trade-size-usdc": {
          "description": "Maximum projected trade size in USDC for watch risk policy.",
          "minimum": 0,
          "type": "number"
        },
        "no-events": {
          "description": "Skip event aggregation.",
          "type": "boolean"
        },
        "once": {
          "description": "Run exactly one watch snapshot (equivalent to --once / --iterations 1).",
          "type": "boolean"
        },
        "side": {
          "description": "Outcome side.",
          "enum": [
            "yes",
            "no"
          ]
        },
        "track-brier": {
          "description": "Persist forecast records for Brier scoring.",
          "type": "boolean"
        },
        "wallet": {
          "description": "Wallet address.",
          "type": "string"
        },
        "yes-pct": {
          "description": "Override YES probability percent.",
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        }
      },
      "type": "object"
    },
    "jobCapable": true,
    "mcpExposed": true,
    "mcpLongRunningBlocked": true,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "watch:run",
      "network:indexer",
      "jobs:run"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": false,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Poll portfolio and/or market snapshots with alert thresholds plus watch-scoped exposure and hedge-gap risk limits.",
    "supportsRemote": true,
    "supportsWebhook": false,
    "usage": "pandora [--output table|json] watch [--wallet <address>] [--market-address <address>] [--side yes|no] [--amount-usdc <amount>] [--once|--iterations <n>] [--interval-ms <ms>] [--chain-id <id>] [--include-events|--no-events] [--yes-pct <0-100>] [--alert-yes-below <0-100>] [--alert-yes-above <0-100>] [--alert-net-liquidity-below <amount>] [--alert-net-liquidity-above <amount>] [--alert-exposure-above <amount>] [--alert-hedge-gap-above <amount>] [--max-trade-size-usdc <amount>] [--max-daily-volume-usdc <amount>] [--max-total-exposure-usdc <amount>] [--max-per-market-exposure-usdc <amount>] [--max-hedge-gap-usdc <amount>] [--fail-on-alert] [--track-brier] [--brier-source <name>] [--brier-file <path>] [--group-by source|market|competition]"
  },
  "webhook": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": true,
    "canonicalCommandTokens": null,
    "canonicalTool": null,
    "canonicalUsage": null,
    "controlInputNames": [],
    "dataSchema": "#/definitions/GenericCommandData",
    "emits": [
      "webhook.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": false,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 5000,
    "externalDependencies": [
      "notification-secrets",
      "webhook-endpoint"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "idempotent",
    "inputSchema": null,
    "jobCapable": false,
    "mcpExposed": false,
    "mcpLongRunningBlocked": false,
    "mcpMutating": false,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "webhook:read",
      "secrets:use",
      "webhooks:use"
    ],
    "preferred": false,
    "recommendedPreflightTool": null,
    "remoteEligible": false,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "medium",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Webhook command family help and routing entrypoint.",
    "supportsRemote": false,
    "supportsWebhook": true,
    "usage": "pandora [--output table|json] webhook test [--webhook-url <url>] [--webhook-template <json>] [--webhook-secret <secret>] [--telegram-bot-token <token>] [--telegram-chat-id <id>] [--discord-webhook-url <url>] [--webhook-timeout-ms <ms>] [--webhook-retries <n>]"
  },
  "webhook.test": {
    "agentWorkflow": null,
    "aliasOf": null,
    "canRunConcurrent": false,
    "canonicalCommandTokens": [
      "webhook",
      "test"
    ],
    "canonicalTool": "webhook.test",
    "canonicalUsage": "pandora [--output table|json] webhook test [--webhook-url <url>] [--webhook-template <json>] [--webhook-secret <secret>] [--telegram-bot-token <token>] [--telegram-chat-id <id>] [--discord-webhook-url <url>] [--webhook-timeout-ms <ms>] [--webhook-retries <n>]",
    "controlInputNames": [],
    "dataSchema": "#/definitions/WebhookPayload",
    "emits": [
      "webhook.test",
      "webhook.test.help",
      "webhook.help"
    ],
    "executeFlags": [],
    "executeIntentRequired": true,
    "executeIntentRequiredForLiveMode": false,
    "expectedLatencyMs": 15000,
    "externalDependencies": [
      "notification-secrets",
      "webhook-endpoint"
    ],
    "helpDataSchema": "#/definitions/CommandHelpPayload",
    "idempotency": "non-idempotent",
    "inputSchema": {
      "additionalProperties": false,
      "properties": {
        "discord-webhook-url": {
          "description": "Discord webhook URL.",
          "type": "string"
        },
        "fail-on-webhook-error": {
          "description": "Exit non-zero if any delivery fails.",
          "type": "boolean"
        },
        "intent": {
          "additionalProperties": false,
          "properties": {
            "execute": {
              "description": "Set true to permit live/mutating execution when supported by the tool.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "telegram-bot-token": {
          "description": "Telegram bot token.",
          "type": "string"
        },
        "telegram-chat-id": {
          "description": "Telegram chat id.",
          "type": "string"
        },
        "webhook-retries": {
          "description": "Webhook retry count.",
          "minimum": 0,
          "type": "integer"
        },
        "webhook-secret": {
          "description": "Webhook signing secret.",
          "type": "string"
        },
        "webhook-template": {
          "description": "Webhook payload template JSON.",
          "type": "string"
        },
        "webhook-timeout-ms": {
          "description": "Webhook timeout in milliseconds.",
          "minimum": 1,
          "type": "integer"
        },
        "webhook-url": {
          "description": "Generic webhook target URL.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "jobCapable": false,
    "mcpExposed": true,
    "mcpLongRunningBlocked": false,
    "mcpMutating": true,
    "outputModes": [
      "table",
      "json"
    ],
    "policyScopes": [
      "webhook:write",
      "secrets:use",
      "webhooks:use"
    ],
    "preferred": true,
    "recommendedPreflightTool": null,
    "remoteEligible": true,
    "requiresSecrets": true,
    "returnsOperationId": false,
    "returnsRuntimeHandle": false,
    "riskLevel": "high",
    "safeEquivalent": null,
    "safeFlags": [],
    "summary": "Send generic, Telegram, and Discord webhook test payloads.",
    "supportsRemote": true,
    "supportsWebhook": true,
    "usage": "pandora [--output table|json] webhook test [--webhook-url <url>] [--webhook-template <json>] [--webhook-secret <secret>] [--telegram-bot-token <token>] [--telegram-chat-id <id>] [--discord-webhook-url <url>] [--webhook-timeout-ms <ms>] [--webhook-retries <n>]"
  }
}
