Without wanting to sound rude: I think the mistake people make with AI prototypes is keeping the code at all.
The AI’s are more than capable of producing a mountain of docs from which to rebuild, sanely. They’re really not that capable - without a lot of human pain - of making a shit codebase good.