| Keep files <1000 lines. If you can. Keep chats <30 minutes, ideally 20-minute continuous segments. Use a `notes/TODO.md` file to main a checklist of objectives between chats. You can have claude update it. Commit to version control often, for code you supervised that _does_ look good. Squash later. This glitch often begins to happen around the time you'd be seeing "Start a new chat for better results - New chat" on the bottom right. If you don't supervise, you will get snagged, and if you miss it and continue, it'll continue writing code under the assumption the deletion was fine: potentially losing the very coverage you'd hope to have gained. If it does happen, try to scroll up to the chat before it happened and "Restore checkpoint" claude-3.7-sonnet-thinking, Cursor 1.96.2 |
I'll also say that "Restore checkpoint" often causes crashes or inconsistency in the indexed files. I've found using git and explicit full reindexing has solved more problems than the AI itself.