At $DAYJOB I was working on something novel on mobile devices (so much so other companies we consulted with said it was something they wouldn't even try to do), and ran into a lot of the same issues. The model was quick to try and do quick patch fixes on various parts of the system to make it work, result in a janky but "usable" experience.
Through a combo of me and it over about a month we got it working well enough to roll out though. The entire time I had to hand hold the model through the changes though, and it loved to try and throw it away for quick fixes that would break something else.
Don’t use the same chat/session this long. Dump your progress in meaningful ways, begin a new session.