Refactorbuild

Migrate a pattern across the codebase

Type in the highlighted fields to customize, then copy.
migrate everything from to : identify every place that needs to change, then make the changes
Why this works

Describe the old pattern and the new one. Asking AI-agent to identify every place first means the call sites are listed in the response, so you can check none were missed.