A flexible codebase is a good one, especially in the age of AI-assisted development. https://leaddev.com/technical-direction/safe-production-changes-with-agents