[Bug] Autofix fails with GitHub app installed message despite app being active
/autofix-pr keeps telling me to install the Claude GitHub app. It's installed.
Repo: private, owned by my user account (not an org).
What I checked:
- App is installed on the account that owns the repo. Installation 148827730, "All repositories", full perms.
- It's also under Authorized GitHub Apps, last used this week.
- gh CLI has repo + workflow scopes.
- Retried /autofix-pr a bunch. Same error every time.
Ran /install-github-app since that seemed like the missing link. First try failed on a
missing workflow scope, re-authed, then it said "GitHub Actions setup complete!" — but
git status was clean. Turns out claude.yml and claude-code-review.yml have been in the repo
since January. So it set up something that was already set up, and /autofix-pr still fails.
One thing that might be relevant: gh api /user/installations returns 403 "You must
authenticate with an access token authorized to a GitHub App", both before and after adding
the workflow scope. A gh CLI OAuth token can't hit that endpoint at all. If the precondition
check goes through there, it'd fail regardless of how the app is actually installed. Guessing,
but everything on the GitHub side checks out.
v2.1.219, darwin, ghostty
Feedback ID: fc69bb6c-1673-4b0d-bae2-f2b8c83b02a6
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗