@neil this is my argument against most use of "AI" but seemingly almost nobody is listening.

It's always quicker to do a complete re-write.