name: refactor-safe description: Safe refactoring workflow (small steps, tests, diagnostics)
Safe Refactor
- Add/confirm tests (golden tests if needed).
- Make one mechanical change at a time.
- Run typecheck + tests after each step.
- Avoid large cross-cutting rewrites.