arno.apply
Apply multiple code edits atomically: all changes land or none do, with anchor validation before writing and one validation at the end.
Instructions
Apply several edits as one atomic unit: all land or none do. Ops: replace_text, replace_range, replace_symbol, delete_symbol, insert. Anchors are validated before anything is written, touched files are formatted, and one validation runs at the end instead of one per edit. Prefer this over several single edits when changing more than one site.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check | No | Run one validation after all edits: build, typecheck, tests (the edited files' tests), or impact (those plus tests of callers of touched declarations). | |
| edits | Yes | Edits to apply in order. | |
| format | No | Format touched files afterwards (default true). | |
| expectedRevision | No | Revision expected before editing. |