As AI makes code easier to produce, the strongest engineering leaders are teaching teams to protect the codebase from unnecessary complexity.