Hey, thanks for the report. This is a known issue. The installation token the agent gets in the sandbox doesn’t include the scopes for issues and pull requests, even if the GitHub App is set up with the right permissions. Git push works, but gh pr comment and gh issue create don’t.
We’ve seen similar reports already:
The team is aware and tracking it, but there’s no timeline yet. Your report helps with prioritization, especially since this affects API-spawned agents.
Can you share the Request ID from one of the failed runs? (cursor.com/agents)
For now, a workaround is that the agent usually leaves a link to manually create the PR comment or review after it finishes.
Let me know if you have any questions.