Fan-out migration loop
Generate a file list, test the migration prompt on a small sample, then run the same constrained task across many files.
Use this when the same transformation can be applied independently to many files.
- Produce the complete target file list.
- Run the migration manually on two or three representative files.
- Refine the prompt and allowed tools until the sample produces clean diffs.
- Execute the migration across the full list in isolated sessions or batches.
- Collect structured OK, skipped, and failed results.
- Run the full project verification after batches are integrated.
Stop when each target file has a recorded outcome and the integrated checks pass.