fix_range
Rewrite an explicit line range for code outside a symbol, such as module-level config, a switch branch, or embedded markup. Prefer symbol edits when possible; stale ranges are rejected.
Instructions
Rewrite an explicit line range. The escape hatch for code that does not live inside a symbol — module-level configuration, a branch of a switch, markup embedded in the source. Prefer fix_symbol where one applies: line numbers move when earlier patches land, and a stale range is rejected rather than applied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | ||
| end_line | Yes | 1-based, inclusive. | |
| file_path | Yes | ||
| start_line | Yes | 1-based, inclusive. | |
| instruction | Yes | ||
| allow_secrets | No |