Where does the bug appear (feature/product)?
Background Agent (GitHub, Slack, Web, Linear)
Describe the Bug
Background agents cannot update a PR if the PR was manually updated after the agent’s initial commit
Steps to Reproduce
- Start an agent to work on a task (“change text color from red to blue”)
- When the agent finishes, create a PR from the agent page (
https://cursor.com/agents?id=bc) - Add a manual commit to the PR (such as updating the branch with the latest from main)
- Go back to the agent page, and add a followup: “actually change it to green”
- When it’s done, the agent page will imply the PR was updated, but if you go on GitHub, no new commits are added.
At this point the agent is essentially bricked and it won’t commit any more changes.
Btw, Codex has this same limitation, but it will actually inform you that it can’t make any more commits. It will tell you to create a new PR/agent, since you’ve introduced manual changes.
Expected Behavior
Should either:
- Update the existing PR
- Offer to create a new PR
- Inform the user about the limitation
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Agents website and API
For AI issues: which model did you use?
gpt-5-high
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor