Quant Swarm Audit — Deterministic Quote & Approval Token
audit.quotePrices a validated preflight manifest before execution, returning a deterministic plan, runtime estimate, exact credit/GBP cost, and input-bound approval token.
Instructions
Prices a validated preflight manifest before execution. Returns the deterministic execution plan, runtime estimate, exact credit/GBP cost, and an input-bound approval_token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Execution mode: 'local' (0 credits, £0.00) or 'hosted' (20 credits). | local |
| trades_path | No | Optional trades path. | |
| trades_rows | No | Optional inline trades rows. | |
| preflight_id | No | Preflight ID returned by `audit.preflight`. | |
| random_seeds | No | Deterministic bootstrap seeds (default [0, 1, 2, 3, 4]). | |
| returns_path | No | Optional returns path if calling quote directly without preflight_id. | |
| returns_rows | No | Optional inline returns rows if calling quote directly. | |
| strategy_name | No | Strategy identifier. | candidate_strategy |
| benchmark_path | No | Optional benchmark path. | |
| benchmark_rows | No | Optional inline benchmark rows. | |
| cost_assumptions | No | Optional inline cost assumptions dict. | |
| features_manifest | No | Optional inline feature manifest dict. | |
| cost_assumptions_path | No | Optional cost assumptions JSON path. | |
| features_manifest_path | No | Optional feature manifest JSON path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| how | No | ||
| mode | No | ||
| tool | No | ||
| error | No | ||
| access | No | ||
| job_id | No | ||
| reason | No | ||
| status | No | ||
| metrics | No | ||
| eligible | No | ||
| findings | No | ||
| gbp_cost | No | ||
| job_id_a | No | ||
| job_id_b | No | ||
| next_step | No | ||
| strategy_a | No | ||
| strategy_b | No | ||
| html_report | No | ||
| max_credits | No | ||
| credits_cost | No | ||
| generated_at | No | ||
| input_sha256 | No | ||
| metrics_diff | No | ||
| new_warnings | No | ||
| preflight_id | No | ||
| random_seeds | No | ||
| has_benchmark | No | ||
| strategy_name | No | ||
| written_files | No | ||
| approval_token | No | ||
| execution_plan | No | ||
| input_sha256_a | No | ||
| input_sha256_b | No | ||
| trades_summary | No | ||
| artifact_hashes | No | ||
| coverage_matrix | No | ||
| credits_charged | No | ||
| idempotency_key | No | ||
| markdown_report | No | ||
| package_version | No | ||
| returns_summary | No | ||
| assessment_after | No | ||
| cost_assumptions | No | ||
| headline_metrics | No | ||
| not_tested_count | No | ||
| required_credits | No | ||
| assessment_before | No | ||
| idempotent_replay | No | ||
| request_access_at | No | ||
| resolved_findings | No | ||
| validation_errors | No | ||
| counts_by_category | No | ||
| overall_assessment | No | ||
| finding_transitions | No | ||
| remediation_verdict | No | ||
| has_features_manifest | No | ||
| not_investment_advice | No | ||
| outbound_data_preview | No | ||
| reproducibility_bundle | No | ||
| estimated_runtime_seconds | No |