Tutorial 11 min read | November 19, 2026

When a long ChatGPT chat slows down or forgets your file

A long ChatGPT coding chat can suddenly feel clueless about a file you can still scroll up and see. Here is why that happens, how to hand the work to a fresh chat, and when a local task store helps — including how to connect it in the ChatGPT desktop app.

Want a plan you can hand to the next chat?

Leave your email and we'll send the setup tutorial. Tell us if you use ChatGPT, Codex, or another agent, before any price is shown. If you only use ChatGPT in the browser, the steps in this article still apply.

Step 1 of 4

This needs to be a real email — we'll email you in a few minutes.

No spam. Unsubscribe anytime.

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

  1. Stop asking the same chat to "remember the file." Write a handoff first, while you still have the decisions in your head.
  2. 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.
  3. 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.
  1. 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.
  2. 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.

Want a plan you can hand to the next chat?

Leave your email and we'll send the setup tutorial. Tell us if you use ChatGPT, Codex, or another agent, before any price is shown. If you only use ChatGPT in the browser, the steps in this article still apply.

Step 1 of 4

This needs to be a real email — we'll email you in a few minutes.

No spam. Unsubscribe anytime.

Frequently asked questions

Why did ChatGPT forget a file we were just working on, in the same chat?
The chat still shows the earlier messages, but the model is not holding every earlier token with equal weight. Once the conversation is long, older file contents, constraints and decisions drop out of what it can reliably use. That can look like a sudden reset even though you can scroll up and see the work.
Is this a bug?
Usually no. It is how a limited context window behaves in a long thread. Plans differ in how large that window is, and a very long paste can push earlier instructions out. Treat it as a signal to start a new chat with a short handoff, not as something you can fix by repeating "remember the file."
Will a ChatGPT Project stop this?
A Project helps: you can keep reference files and project instructions, and start a new chat in the same Project without re-uploading everything. It will not give the model a perfect memory of a two-day mega-thread, and uploaded files are a fixed set, not a live view of your repo. Use a new chat per task, with the current file and a short context pack.
Does Todo-MCP work with ChatGPT?
Yes, through 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 restart. It is then available in Work on your computer and in Codex, which share that setting. Todo-MCP runs on your machine, so the ChatGPT website and phone app, which connect only to remote MCP servers, cannot start it directly; that route needs the OpenAI Secure MCP Tunnel and a plan that allows custom MCP servers. If you only use ChatGPT in the browser, use the handoff steps in this article.
What should I paste into the new chat?
A short context pack: the goal, the current file or function (not a 2,000-line dump unless you have no choice), constraints, the exact error if there is one, what you already tried, and the next action. Ask it to restate the plan in a few bullets before it writes more code.

Continue Reading

Back to all articles