Improve legacy systems incrementally through testing, performance work, CI/CD, code-quality practices, prototypes, reviews, documentation, and mentoring.