Cloud Agent couldn't check out a private repository

Where does the bug appear (feature/product)?

Cloud Agent (GitHub, Slack, Web, Linear)

Describe the Bug

Cloud Agent cannot check out the private repository nsok-ctrl/antigravity-project.

The Cursor GitHub App installation 170208847 has read and write access to code. Repository access was saved first as All repositories, then as Only select repositories with only this repository selected. git and gh on my PC can access the same repository.

A new Cloud Agent, not a Retry of a failed run, prepares the environment for about 1 second and then fails with “Couldn’t check out the repository”. The model was Claude Opus 5.5 Medium.

GitHub Support ticket 4846535 was closed on 2026-10-12 without investigating the installation token. GitHub said this personal account only has access to Community, Docs, and Skills. Please check GitHub’s response to Cursor’s installation token for this repository.

Steps to Reproduce

  1. Install the Cursor GitHub App on the personal account nsok-ctrl with read and write access to code.
  2. Set Repository access to Only select repositories and select only nsok-ctrl/antigravity-project. The same failure also happened when access was set to All repositories.
  3. Open the Cloud Agents page on the Cursor website and start a new Cloud Agent on nsok-ctrl/antigravity-project. Do not use Retry on a failed run.
  4. Select Claude Opus 5.5 Medium.
  5. Send: “README の先頭の見出しを1行で返して。ファイルは変更しない。”
  6. The run shows “Setting up repository”, “Hydrated environment for 1s”, then “Couldn’t check out the repository”.

Expected Behavior

The Cloud Agent checks out the private repository and replies with the first heading of the README. It does not change any files.

Operating System

Windows 10/11

Version Information

The failure happened on the web at cursor.com/agents, not in a local agent run. Local Cursor IDE version is 3.24.12.

For AI issues: which model did you use?

Claude Opus 5.5 Medium

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @nsok, thanks for the report and for the detailed steps.

We checked your runs, and your GitHub App setup is working. The Cloud Agent was able to download the repository. It failed in the next step, when it wrote the files to disk, because some files in the repository have names that are too long for Linux.

Cloud Agents run on Linux, which allows at most 255 bytes per file name. Each Japanese character takes 3 bytes, so a name of roughly 85 or more Japanese characters goes over the limit. Windows counts characters differently, which is why the same files work on your PC.

To fix it, rename those files to shorter names (or remove them from git and add them to .gitignore), commit, and push to the branch you start the agent from. Only the latest commit matters, so you don’t need to rewrite history. To list the affected files, run this in Git Bash in the repository:

git -c core.quotepath=false ls-files | LC_ALL=C awk -F/ 'length($NF) > 255'

After that, start a new Cloud Agent and it should check out normally. Sorry the error message pointed you at repository access. That message isn’t clear here, and I’ve passed that along to the team.