Symptom: the AI got dumber mid-project
Why your AI coding chat gets worse the longer it goes
The first hour was great. Now the AI forgets which files exist, brings back a bug it fixed earlier, ignores rules you gave it at the start, and answers with more confidence than ever.
Why this happens
The AI doesn’t remember your project. Every reply is built from whatever fits in its working window: your messages, its answers, code it read, and error logs. A long chat causes three problems:
- Early details fall out or get summarized. When the window fills up, tools trim or compress older messages. Your original rules and the reason behind an earlier fix are often the first to go.
- Old wrong answers stay in view. Every failed attempt is still in the chat. The AI sees them and keeps drifting back toward them, which is why the same broken fix comes back.
- Stale code beats current code. The chat may hold three versions of the same file. The AI can edit from an old copy and quietly undo your newer changes.
Step 1: spot the signs
- It mentions files, functions, or variables that no longer exist.
- A bug you already fixed comes back after an unrelated change.
- It breaks a rule you set at the start (“don’t touch the auth code”, “use Tailwind only”).
- It has failed the same fix twice. That’s your cue to stop prompting in this chat.
Step 2: hand off to a fresh chat
Before you close the old chat, paste this into it. Then start a new chat and paste in what it gives you:
We are going to continue this work in a brand-new chat. Write a handoff note for that chat. Do not write any code. Include, in this order: 1. What the app does, in two sentences. 2. The tech stack and the key files, with one line on what each does (only files that exist right now). 3. Rules I set that must keep being followed. 4. What currently works. Do not change these. 5. The one problem we're stuck on: exact symptom and exact error text. 6. Every fix we already tried for it, and why each one failed. 7. What you would check first if you were starting over. Keep it under 300 words. Mark anything you're unsure about as "unsure" instead of guessing.
Why it works: the new chat gets your rules and the current state without the pile of failed attempts. Listing what already failed stops the AI from trying the same fixes again.
Know when to start a fresh chat
The free 2-Strike Rule card tells you when to stop prompting and what to paste in a fresh chat so the AI stops guessing. One page, keep it next to your editor.
Free via Gumroad: enter $0 and your email at checkout.
Related symptoms
If each fix breaks something else, read AI fixes one thing and breaks another. If the AI keeps saying it’s fixed when it isn’t, see Cursor says “Fixed” but the bug is still there. Stuck in Lovable’s fix button loop? See Lovable “Try to Fix” loop.