Commit workflow
commit_workflowCommit one approved workflow preview using its exact preview_hash and confirmed approval, blocking changed inputs from being saved without a fresh human review.
Instructions
Save one approved workflow preview through the single atomic birth writer. Requires the exact approval.confirmed true and the exact preview_hash of the preview the human reviewed: a bare preview id is insufficient. Approval attestations bind reviewed inputs; they do not prove a human reviewed them. This accepts no replacement inputs; a changed payload or relevant state requires a fresh preview and renewed approval. Do not generate a new preview as recovery from an uncertain commit — read get_workflow_preview first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| farm_id | No | Farm UUID; defaults to the active farm. | |
| approval | Yes | ||
| preview_id | Yes |