Where does the bug appear (feature/product)?
Cloud Agent (GitHub, Slack, Web, Linear)
Describe the Bug
We dispatch Cloud Agents from CI via POST https://api.cursor.com/v1/agents to auto-fix nightly Docker build failures in a private repository, with autoCreatePR: true and skipReviewerRequest: true.
On July 10, 2026 and earlier, the PRs auto-created by these agents were opened ready for review. On July 11, 2026, with a byte-identical request payload, the PR was auto-created as a draft. Nothing changed on our side between those runs (the dispatching workflow’s last modification was July 8, and three ready-state PRs were created after that change).
Evidence, determined from the GitHub timeline API (ReadyForReviewEvent / ConvertToDraftEvent), i.e. creation state, not just current state:
- June 15 – July 10: 15 consecutive auto-created PRs opened ready for review (zero draft-conversion events on any of them).
- July 11: PR auto-created as draft, no conversion events.
- Historical note: before ~June 12, the same integration consistently opened PRs as drafts (15 of 15 from mid-May to June 11). So this is the second unannounced flip of this behavior we’ve observed.
Agent IDs, all from the same integration with identical payloads:
bc-1aa0cfa7-e069-44f6-8b2a-b655d2a3b518— July 10, PR created readybc-53976078-f231-4492-aeac-35ee3e75c647— July 10, PR created readybc-8e717e5d-b038-470f-ab8f-092a2b8776e9— July 11, PR created draft
In all cases the PR was created mid-run (the agent was still working when the PR appeared), so run phase doesn’t explain the difference.
Steps to Reproduce
POST https://api.cursor.com/v1/agentswith:{ "prompt": { "text": "<fix instructions>" }, "repos": [{ "url": "<private repo>", "startingRef": "main" }], "autoCreatePR": true, "skipReviewerRequest": true }- Let the agent commit and push; Cursor auto-creates the PR mid-run.
- Check the PR’s draft state at creation (GitHub timeline API shows no conversion events, so current state = creation state).
Through July 10 this reliably produced a ready-for-review PR; from July 11 it produces a draft.
Expected Behavior
Draft-vs-ready state of auto-created PRs should be stable and documented — ideally an explicit request parameter on the Create Agent endpoint. The API docs describe autoCreatePr only as “Whether Cursor should open a pull request when the run completes”, with no draft/ready contract, so integrations can’t rely on either behavior. Related requests exist in both directions (URLs in backticks — new forum accounts are limited to 2 links per post):
https://forum.cursor.com/t/open-pr-in-draft-mode-from-cloud-agent/140461https://forum.cursor.com/t/cursor-automations-only-creates-pull-requests-as-drafts/159295
Questions: Was there a server-side change around July 10–11? Is draft-at-creation the intended behavior going forward?
Operating System
Other
Version Information
N/A — Cloud Agents API (api.cursor.com/v1/agents); no IDE involved
Additional Information
Possibly related: our agent prompt runs gh pr ready as a safety net after the PR is auto-created. On the July 11 run this had no effect — GitHub logged no ready-for-review conversion — while gh pr edit (label/title/body) from the same agent session worked fine. This looks like the GitHub App token being unable to run the markPullRequestReadyForReview mutation, similar to https://forum.cursor.com/t/pull-request-create-failed-graphql-resource-not-accessible-by-integration-createpullrequest/153425
If draft is now the default, agents need a working way to convert their own PRs to ready — otherwise unattended pipelines have no way to produce a reviewable PR.
This involves a private repository, so repo name and PR links are omitted here — happy to DM them to staff.
Does this stop you from using Cursor
No - Cursor works, but with this issue