What techniques help to reap the benefits of AI code without it accumulating into massive technical debt requiring costly re-writes?