Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
I ran three agents to generate a new UI component simultaneously. I’m able to apply code changes generated by GPT 5 Codex High and Composer 1 to the current branch, but the changes created by Claude Sonnet 4.5 failed to apply because of a markdown file the model created and then deleted as shown in the image. I asked the model to delete the git history of this markdown file but it didn’t work.
Steps to Reproduce
- Ask the Sonnet 4.5 to create the UI component based on my prompt.
- When finished coding, it started creating the markdown file shown in the image but then deleted it as it realized it didn’t follow my Cursor rule that no markdown file should be created for a newly added feature.
- After code was generated, hit the Apply All button and the failed to apply worktree to current branch error message popped up.
Expected Behavior
Clicking Apply All will apply changes to the current branch.
Screenshots / Screen Recordings
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 25.0.0
For AI issues: which model did you use?
GPT 5 Codex High
Composer 1
Claude Sonnet 4.5
Does this stop you from using Cursor
No - Cursor works, but with this issue
