> Nowadays many people are pushing AI-assisted code, some of them in a responsible way, some of them not. So... what do we do?

You hold them accountable.

Once upon a time we used to fire people from their jobs for doing things poorly. Perhaps we could return to something approximating this model.