I have a similar issue where it ignores step by step instructions. I have a detailed step by step playbook and QA checklist to follow, but it will make up its own checklist with fewer items on it and say it's finished the job! I think about half my time is spent getting the very clever code it has written out of large singular files and into an organised structure which was specced from the beginning.