review_workflow
Validates planned workflows for structural issues like delete-then-use, missing params, and cross-skill order, providing a verdict and findings to prevent production errors.
Instructions
[READ] Sanity-check a planned workflow before execution.
Performs structural validation only — does NOT call into other skills. Catches the common authoring errors before they hit production:
Delete-then-use: a step deletes resource X, a later step references X
Missing required params: a step has empty params or placeholder values
Cross-skill order issues: surfacing the cross-skill dispatch sequence
Risk profile: count of destructive vs. read-only steps
Approval coverage: are all destructive ops gated behind a require_approval?
Args:
workflow_id: The workflow ID returned by plan_workflow.
Returns:
Dict with keys:
- verdict: "approved" if no structural issues, otherwise "needs_revision"
- findings: list of {severity, kind, message, step_index}
- summary: counts (steps, gather/destructive/approval), groups, est_duration_min
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes |