Catastrophic transient bug, Cursor will keep pasting giant code blocks to the file until it becomes unusable

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Since October I have noticed this issue where it will mention an indent error, and upon manual inspect it shows that thousands of lines or sometimes 10s of thousands of lines have been paste in. The model then doesnt know which code is good and can very quickly ruin my entire codebase and render your tool useless. I figured some recent updates would fix this but nothing has been fixed.

Steps to Reproduce

Just look through my chat, seems to happen randomly with long chats and just destorys my code base

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.43 (Universal)
VSCode Version: 1.99.3
Commit: 8e4da76ad196925accaa169efcae28c45454cce0
Date: 2025-10-30T18:49:27.589Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0

For AI issues: add Request ID with privacy disabled

a5c53ea4-593c-43dc-94da-6a4efff8fcb7

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Thanks for reporting this. Could you please share:

  1. Which model were you using?
  2. Codebase context - What type of project is this (language, size)?
  3. Was the context window almost filled up when this happened?

I’ve noticed this accross multiple multiple models, I often am operating under a full context window but difficult to say when these large chages were made, and codebase is mostly python and is incredibly large