{"_deprecated":{"note":"Deprecated endpoint. Returns Composable Pre-Trade Verification Pattern v2.0 content; new integrations should use /v5/pre-trade-stack.","replacement":"https://headlessoracle.com/v5/pre-trade-stack","replacement_path":"/v5/pre-trade-stack"},"spec_version":"2.0","spec_url":"https://headlessoracle.com/docs/specifications/pre-trade-stack","title":"The Composable Pre-Trade Verification Pattern for Autonomous Trading Agents","type":"deployment_pattern","normative_specifications":{"step_1":{"name":"environment.market_state","family":"Verifiable Intent environment.* constraint family","repo":"agent-intent/verifiable-intent","pr":9,"url":"https://github.com/agent-intent/verifiable-intent/pull/9","status":"coordinated drafting","reference_implementation":"https://headlessoracle.com"},"step_1_composable":{"name":"environment.wallet_state","family":"Verifiable Intent environment.* constraint family","repo":"agent-intent/verifiable-intent","pr":22,"url":"https://github.com/agent-intent/verifiable-intent/pull/22","status":"coordinated drafting"}},"steps":[{"step":1,"name":"execution_environment_verification","question":"Is the execution environment in an expected state?","normative_spec":"environment.market_state (composes with environment.wallet_state)","reference_implementation":"https://headlessoracle.com"},{"step":2,"name":"spend_authorization","question":"Is the agent authorized to commit this amount of capital?","example_protocols":["policy-bound authorization frameworks"]},{"step":3,"name":"signal_verification","question":"Is the trading signal factually accurate?","example_protocols":["claim-verification services"]},{"step":4,"name":"payment","question":"Can payment execute with cryptographic proof?","example_protocols":["x402 (HTTP 402 with on-chain USDC on Base)"]},{"step":5,"name":"trade_execution","question":"Submit the order with all prior-step proofs attached for audit."}],"fail_closed":true,"pattern_property":"Each step's proof composes into the next. If any step fails, subsequent steps are skipped and the trade is halted.","license":"Apache-2.0"}