Play along, but keep relatively detailed yet abstracted notes on how the AI code is failing. Keep these notes private ... type them into a notes program on your personal device so that you can draw upon them in the future if needed.
I'm a 'senior engineer' with ~5 years of industry experience and am considering moving on from this company because I don't want
1. Be pushed into a workflow that will cause my technical growth to stall or degrade 2. Be overseeing a bunch of AI-generated spaghetti 2-3 years from now
Feel free to address my specific situation but I'm interested in more general opinions.