run_iteration
Apply a patch, reload the addon, and validate changes in one iteration. Returns the applied patch and verdict for the edit-observe-fix loop.
Instructions
One full iteration: optional patch -> reload (or a restart note) -> validate. Returns the applied patch and the verdict. This is the core of the edit/observe/fix loop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | File to patch, together with content. | |
| addon | Yes | ||
| reload | No | Touch files to trigger autorefresh after patching. | |
| content | No | The file's new contents. | |
| rationale | No |