preflight_hash_decision
Validates a Preflight v2 decision and returns its canonical SHA-256 decision hash so evidence producers can bind facts to the exact proposal they checked.
Instructions
Validate a Preflight v2 decision and return {decision_hash}, its canonical SHA-256 digest. Invalid decisions return a tool error, not a hash.
When to use
Before an evidence producer binds facts to the exact proposal it checked.
When NOT to use
Do not treat the hash as proof of facts, approval of an action, or a substitute for preflight_check when policy and evidence are ready.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decision | Yes | Preflight v2 object with schema_version "2", decision_id, context, and 1-100 unique candidate IDs with payloads. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decision_hash | Yes | Canonical SHA-256 digest. |