Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
In the new UI, branch handling can be very confusing.
Here is my buggy state: (see screenshots)
As you can see the UI is stuck on the wrong branch and is not picking up the existing PR either when it should.
Steps to Reproduce
I got here as follows
- New agent 1 and branch in main repo, work, create pr
- New agent 2in HOME folder, agent decides to create a branch forking from the current and commits there
- I switch to agent 2 and see that I am now on the new branch so I ask it to return to the old one. Git works, agent does, but UI doesn’t pick it up
Expected Behavior
- The UI should refresh along git.
- Also the UI should guide the user better to create completely fresh branches (from remote master, not from whatever is local) with the chips and let user choose between new branch in existing repo/worktree or new worktree
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
Version: 3.1.15
VSCode Version: 1.105.1
Commit: 3a67af7b780e0bfc8d32aefa96b8ff1cb8817f80
Date: 2026-04-15T01:46:06.515Z
Layout: glass
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0
For AI issues: which model did you use?
Opus 4.7
Does this stop you from using Cursor
Yes - Cursor is unusable
