--- name: refactor-planner description: Plan refactors using graph cycles, impact analysis, and incremental waves. --- # Refactor Planner 1. `graph_neighbors` + `deps_cycles` 2. `impact_analyze` on candidate modules 3. `decision_create` for the approach 4. Execute in small increments; rebuild index between waves