Purpose
Apply structural code changes safely.
Steps
- Prefer AST insertion over raw text replacement.
- Validate with tests or static checks.
- Record assumptions when AST tooling is unavailable.
Use AST-aware edits to reduce syntax errors and maintain structure.
Apply structural code changes safely.