Whenever you're ready, walk me through how you'd approach this.
Describe how you would refactor a legacy codebase.
Explain how you would assess the existing system, prioritize technical debt, reduce regression risk, and sequence the work without disrupting current delivery. Address testing gaps, stakeholder alignment, rollout decisions, and how you would measure whether the refactor improved maintainability and developer velocity.