Cloud Agent cannot read GitHub Issues — “GraphQL: Resource not accessible by integration (repository.issues)”

Hey, this is a known issue. The token the cloud agent gets in the sandbox environment does not include the issues scope, so gh issue list and gh issue view fail with “Resource not accessible by integration”. The team is aware.

Related reports:

Two workarounds:

  1. Paste the issue content (title, description, comments) directly into the agent prompt instead of asking it to fetch it by number.

  2. Create a Personal Access Token at Sign in to GitHub · GitHub with the needed scopes and add it as an environment variable GH_TOKEN=ghp_... in your cloud environment settings. After that, the gh CLI will use that token instead of the built-in one.

Let me know if either of these helps.