#38 most commonAI-loopLovableBolt.newCursorReplitv0Windsurf

AI forgets the project / conversation too long / context limit

This conversation is too long / maximum context length exceeded / the AI forgets earlier decisions and re-creates files.

Got a slightly different error? Paste the exact message and get a fix prompt tailored to it.

Paste your error →

What it means

AI assistants can only hold a limited amount of your project and chat in their head at once. In long sessions they forget earlier details and start contradicting themselves.

How to fix it: paste this prompt into your AI builder

Fix prompt for Lovable, Bolt, Cursor, Replit, v0, Windsurf
Before we continue, write a short PROJECT_NOTES.md (or update the existing one) that summarizes: what the app does, the tech stack, the folder structure, key data tables, env vars needed (names only), and current known issues. Keep it under 60 lines. Don't change any other files. I'll start a new chat and reference this file.

If the AI can't fix it: manual steps

  1. Start a new chat and reference only the files relevant to the current task.
  2. Keep a rules/knowledge file (Cursor rules, Lovable Knowledge, Bolt project prompt) with your stack and 'don't touch' instructions.

Where this happens

Seen in these AI app builders and editors:

LovableBolt.newCursorReplitv0Windsurf

Sources

Related AI-loop errors

Still stuck? Paste your full error and UnstuckMyVibe will match it and hand you the exact fix prompt.

Fix my error →