How to clean up the tech debt your AI is creating