This may not be the best example, but it’s worth considering: if the code is never meant to be reviewed by humans, and it’s an ephemeral implantation detail that will only ever be read & edited by machines, do certain traditional measures of software quality even matter anymore inside the module boundary?
This sounds like a terrible situation to walk into when the pager goes off.
"Oh hey <boss>, can you update the status page to say we can't really understand the code and don't have an eta but but we're trying to talk the ai into correcting whatever the issue is?"