Where does the bug appear (feature/product)?
Background Agent (GitHub, Slack, Web, Linear)
Describe the Bug
Hi everyone,
I’ve been using the following request body for my API calls, and until recently, everything was working perfectly:
{
"prompt": {
"text": "Some Prompt"
},
"source": {
"repository": "https://github.com/example/example-android",
"ref": "develop"
},
"target": {
"autoCreatePr": true,
"branchName": "cscursor/CSA-2278"
}
}
The Problem
Starting today, I noticed that the generated branches no longer match the branchName I provide. After checking the documentation (which didn’t mention any recent changes), I discovered a new parameter in the response: “autoBranch”: true.
Current Status
- If I manually set “autoBranch”: false, the system respects my custom branchName again.
- However, doing so breaks the PR functionality; the API no longer automatically creates a Pull Request even though autoCreatePr is set to true.
Questions
- Is this inconsistency in the background agent a known bug or a permanent change in logic?
- How can I use a custom branch name while still having the system automatically open a PR?
Any insights or workarounds from the team or the community would be greatly appreciated.
Steps to Reproduce
{
“prompt”: {
“text”: “Some Prompt”
},
“source”: {
“repository”: “https://github.com/example/example-android”,
“ref”: “develop”
},
“target”: {
“autoCreatePr”: true,
“branchName”: “cscursor/CSA-2278”
}
Expected Behavior
The API should respect the explicitly provided “branchName” in the request payload and simultaneously create a Pull Request when “autoCreatePr” is set to true.
Previously, this configuration allowed for custom branch naming while maintaining the automated PR workflow. Now, it seems I have to choose between a custom branch name (by setting autoBranch to false) or an automated PR (which ignores my branch name), but I cannot have both.
Operating System
Linux
Version Information
Cloud Agent Api
Does this stop you from using Cursor
Yes - Cursor is unusable

