Lessons from modernizing a Java 1.5 codebase with AI, a stable Docker environment, and test-guided incremental refactoring.