preflight_check
Check candidate actions against owner policy and proposal-bound evidence to return pass, selection, refusal, or missing-evidence outcomes before agent or CI/CD steps.
Instructions
Check concrete candidate actions against owner-controlled policy and separately obtained evidence. Returns {result, handoff}: PASS_SINGLE means one proven option, SELECTION_REQUIRED means multiple, REFUSE means none, and EVIDENCE_REQUIRED means at least one remains unproven. Handoff is null except for SELECTION_REQUIRED. Invalid documents return a tool error with no partial report.
When to use
Before an agent action or CI/CD step when a concrete proposal, owner policy, and proposal-bound evidence are available.
To identify admissible options or missing evidence.
When NOT to use
Do not use for natural-language prompt filtering or content moderation.
Do not use to rank or choose among multiple admissible options.
Do not use to authenticate supplied facts, execute actions, or call DeltaX Evaluate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | Yes | Owner-controlled Preflight v2 policy object with hard constraints over candidate or context evidence. Supported op values: eq, in, lte, gte, exists. Keep policy separate from the proposer. | |
| decision | Yes | Preflight v2 object with schema_version "2", a decision_id, context, and 1-100 candidates with unique IDs and payloads. Candidate claims are proposals, not proof. | |
| evidence | Yes | Preflight v2 evidence object from an authorized fact source. Its decision_hash must match this exact decision; missing facts remain unproven. The example source is illustrative, not authenticated. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The unchanged Preflight v2 validation report; it never authorizes execution. | |
| handoff | Yes | The original local handoff only for SELECTION_REQUIRED; otherwise null. It is not an API request. |