Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
I’ve been running into an issue occasionally, but I think for quite some time, spanning many versions of Cursor. I only recently realized what was happening, I guess, and started manually forcing summarization, which resolved the issue.
In some cases, when context usage is around 70% or so, if I issue a prompt that is big enough (I don’t know the exact threshold, and it may in fact be variable), and it doesn’t necessarily take a “big” prompt, just one that surpasses some number of tokens that triggers the issue, then auto-summarization does not occur, and the agent/model do not process the request.
The prompt will initially issue…the agent and model will do some work for a little while, then suddenly the prompt is returned to the prompt editor and the agent reverts back to the last work it did before issuing the new prompt. The agent does not actually handle the new prompt or do any additional work.
I was not sure why it was doing this at first, and I checked status for Cursor, Claude, Grok, etc. No outages reported, and the issue was persistent. I then decided to manually trigger summarization, even though only about 70% of the context space was used (or at least, SO REPORTED…I posted a bug report not too long ago that noted the available context space for each model in the context usage indicator tooltip was not being reported properly for all models, at least, many models showed a lot less context space available than they were supposed to have). Once that manual summarization completed, I was able to continue my chat.
I do wonder if this issue may be related to how context space is USED and REPORTED, as there seem to be some discrepancies there that are inconsistent throughout the Cursor UI. In any case, it does appear to be a bug, and the reason why the prompt won’t actually issue and be handled by the model is unapparent given the way the UI actually behaves when this issue occurs.
It is not a particularly frequent issue, I don’t know exactly why it occurs, so I am not really sure of how to reproduce.
Steps to Reproduce
Specific steps unknown. Seems to be related to available context space, used context space (and the ratio therein), and prompt size. I suspect there is just some small window of prompt size vs. remaining context space available, that likely results in the issue occurring. I also suspect those things are variable, and depending on the prompt size and remaining context window space, the specifics are probably dynamic.
Expected Behavior
If a prompt is issued that would overrun the context window, auto-summarization should kick in.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.1.34
VSCode Version: 1.105.1
Commit: 609c37304ae83141fd217c4ae638bf5321856500
Date: 2025-11-25T16:35:52.391Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.0.0
For AI issues: which model did you use?
No specific model, has occurred with Opus, Sonnet, Grok, Composer 1, but is infrequent.
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor