references/workflow-plan-validate-execute.md
Plan-Validate-Execute
Use this workflow when a destructive or high-stakes action should be preceded by a machine-checkable plan.
Choose this workflow when
- validating the plan is safer than validating the final action
- the task changes many files or records
- rollback would be expensive
Required contract
- The plan artifact and schema.
- The validation step and source of truth.
- Rework rules when validation fails.
- Final execution and verification steps.
Example
1. Analyze the input and generate `changes.json`
2. Validate the plan against source of truth
3. Revise until validation passes
4. Execute the plan
5. Verify the result