tidy_apply
Apply a validated plan by its hash to make changes, automatically refusing expired or stale plans and recording a decision entry.
Instructions
Execute a plan produced by tidy_plan, identified by its hash. This is the only tool in tidy-core that changes anything. It refuses plans it did not generate, plans that have expired, and plans whose targets have changed since the plan was built. On success it writes a decision entry recording what changed and why.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why this was applied. Goes into the decision record verbatim. | |
| confirm | Yes | Must be true. Present so that applying is always a deliberate second step. | |
| planHash | Yes | The planHash returned by tidy_plan. | |
| figmaFile | No | Run against a specific connected file. |