Literally exactly this. Trying to explain to management that the script they were using for coordinate system conversion on 3 month worth of work was vibe coded and all of those projects need to be redesigned is never easy or fun.
At least I have virtually no oversight and just write all my code as open source GPLv3 Python packages that anyone can use lol. Only the stuff that's project specific is in a private repo, but all my generally useful GIS development is public.