The problem is not AI code, but not knowing about system architecture or intent
If we think writing code is dead, and AI is generating all codebases, I still think the bigger problem is people or full teams not knowing anything anymore about the system...