The AI spits out _some_ code => the developer needs to review & cleanup the mess, or accept that it worsen the system for the sake of delivering more rapidly.
That's the dynamic with AI and a lot of developers hate working like that, yet there is pressure to work this way.