The thread has been going for hours, maybe a couple of days. You and ChatGPT have a plan, a file, and a pile of corrections. You paste the next revision, and the reply treats the file like it has never seen it. You can scroll up and see the whole conversation. The model cannot usefully see it any more.
People describe this in almost those words, over and over: "it suddenly acts clueless, as if I dropped code into an empty chat." Sometimes the same thread also gets slower, vaguer, or worse at following a constraint you stated at the beginning. This article is about that failure, not about ChatGPT "memory" features in general.
Why a chat you can still scroll stops working
Every message in a ChatGPT conversation consumes context. The window is finite, and it is not a perfect filing cabinet even before it is full. Earlier turns — including a file you pasted at 10 this morning — get less of the model's attention, or drop out of the window entirely, while the page still shows the transcript to you.
That is why the moment feels broken. You have the history. The model has a working set, and the working set has moved on. Long mixed threads make it worse: debug output, false starts, and outdated copies of the same file crowd out the constraints you actually want it to follow.
If the conversation also feels slower, that can be the same problem from the other side: more history to consider, more stale code in the window, and a model that is negotiating between yesterday's plan and today's paste. Starting a new chat is often faster than pushing on the old one.
What to do right now
- Stop asking the same chat to "remember the file." Write a handoff first, while you still have the decisions in your head.
- Start a new chat for this task, ideally inside a ChatGPT Project if you use one. One chat per task beats one chat per project.
- Paste a short context pack, then the current code, then the ask. Lead with the code it must respect, then the goal. A pack like this is enough:
Project: (one sentence)
Current task: (the next change only)
Constraints: language/framework versions, libraries allowed or banned, files not to touch
Relevant code: (the current function or file, not the whole repo unless you must)
Error or symptom: (exact text)
Already tried: (two or three bullets)
Please do: restate the plan in bullets, then make only the next change. - If you use Projects, keep standing instructions and a small set of reference files there so the new chat can see them. Do not treat the Project as a live clone of your repository — it is an upload, and it goes stale when the files on disk change.
- After the new chat agrees on the plan, work in small chunks. When the thread starts to drift, make a fresh chat from an updated pack rather than stretching the old one.
A context pack beats re-explaining the whole project
The instinct is to paste more: the entire file, the last error, the original brief, the last four revisions. That often recreates the same crowding that caused the miss. Keep a working set:
- The one or two files, or functions, that matter right now
- The exact error or the exact behaviour you want
- The constraints that must not drift
- What you already ruled out, in a line or two
Ask ChatGPT to write the next handoff at the end of a productive stretch: current belief, evidence, next action, how to roll back. You paste that into the following chat. You, not the model, own that document.
Where this still breaks
The pack-and-new-chat method is free and it works. It also leaves work on the table:
- You are the one who has to remember to write the pack, every time.
- Projects and uploads are not a running task list with dependencies. "Step 6 of 7" gets lost unless you write it down.
- If you also use Codex, Cursor, or Claude Code on the same repo, the ChatGPT thread is not automatically available to them. The only shared memory is what you put in a file.
That last point is the important one for anyone bouncing between ChatGPT in the browser and a coding agent. The durable object should be a file in the repo, or a task store the agent can query, not the chat history.
Where Todo-MCP can help, and where it cannot
Todo-MCP is a local task and context store, exposed as an MCP server, with your data in a SQLite file on your machine. After purchase, you install it in an MCP client and start sessions with context_resume so the agent can read the current task, stored decisions and next step. It is a paid licence; the form on this page takes your email first, sends the setup tutorial, and then shows the plans. We explain the Claude, Cursor and Codex setups in the resource guides.
Here is how this connects to ChatGPT. Use the ChatGPT desktop app. Open Settings, then MCP servers, select Add server, choose STDIO, enter the command todo-mcp with the argument --mode stdio, save, and select Restart. Todo-MCP is then available in Work (running on your computer) and in Codex, which share that setting; type /mcp in the composer to check it is connected. The ChatGPT website and phone app connect only to remote MCP servers, so they cannot start Todo-MCP on your machine directly; that route needs the OpenAI Secure MCP Tunnel and a plan that allows custom MCP servers. If ChatGPT in the browser is your only tool, use the handoff steps above.
If you already use, or are willing to use, an MCP-capable client — Codex CLI, Cursor, Claude Code, Claude Desktop, and similar — the same plan you would have pasted into a new ChatGPT thread can live in Todo-MCP instead. A new session, or a different tool, reads it back. That is the same idea as the context pack, with the agent doing the re-read.
For a wider view of how chats, compaction, crashes and tool switches all drop state, see Your context window forgets. For Claude Code's specific compact behaviour, see what actually survives /compact. For Cursor, see how to carry context between Cursor chats.
A short rule
When the chat still shows the file and the model does not, the transcript is no longer the source of truth. Write the next step down, start a new chat, and paste only what the next step needs. If you later want that written plan to travel with a coding agent, put it in a file the agent can read, or in a store like Todo-MCP, on a tool that can actually call it.