Refactor planning
Plan a structural change or compatibility migration while preserving the behavior consumers depend on.
Identify responsibilities that need to move, define the new boundaries, and account for callers that must migrate. The plan stays tied to concrete maintainability or compatibility problems instead of expanding into unrelated cleanup.