Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Cursor generates code in Jupyter notebook cells, then erases the contents of those same cells in subsequent code generation rounds. This is a new issue that happens consistently - not user error, the software is deleting its own output.
The erasure is happening without tracking that would allow the change to be reverted, and undo does not restore the code. I would like to see this issue resolved immediately, and ideally would like to be compensated for these wasted tokens.
Steps to Reproduce
Create a jupyter notebook using Clause Sonnet. Continue working within this notebook with requested changes from the model.
Expected Behavior
Previously generated code remains intact.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.7.12
VSCode Version: 1.99.3
Commit: b3f1951240d5016648330fab51192dc03e8d7050
Date: 2025-09-28T00:58:08.696Z
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: which model did you use?
Sonnet 4
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor