[BUG] Scheduled routine: GitHub App install loop — repo picker doesn't detect already-installed app

Resolved 💬 8 comments Opened Apr 18, 2026 by cedcas Closed Jul 7, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

  • Created a scheduled routine with a private repo (cedcas/SECOPS-WIKI)
  • First run failed: "Claude lost access to its repository" → routine auto-disabled
  • In Edit settings, removed repo and tried to re-add
  • "Select a repository" shows "Install GitHub App" prompt
  • Clicking it installs the app on GitHub (confirmed — repo appears in GitHub's app settings)
  • Returning to the routine's repo picker, it still shows "Install GitHub App" instead of listing the repo
  • Loop repeats on both web (claude.ai) and desktop app
  • gh auth status confirms local GitHub auth is working (separate from this issue)

What Should Happen?

Expected: After installing the Claude GitHub App and granting access to the repo, the repo picker should list it.

Environment: macOS, Claude Code desktop + web, April 2026

Error Messages/Logs

No error messages, it just loops.

Steps to Reproduce

  1. Create a scheduled routine via Claude Code CLI using RemoteTrigger create with a private GitHub repo as a source
  2. The first run fails with "GitHub repository access check failed — re-authorize GitHub in settings"
  3. The routine auto-disables with message: "This routine was disabled because Claude lost access to its repository"
  4. Click "Edit settings" on the routine page
  5. Remove the repo chip (click X on the repo name)
  6. Click "+" to re-add the repo
  7. Click "Select a repository" — no repos listed, only "Install GitHub App" link shown
  8. Click "Install GitHub App" — redirects to GitHub, install the app, grant access to the repo
  9. GitHub confirms the app is installed and the repo is selected
  10. Return to the routine's "Select a repository" dropdown — still shows "Install GitHub App" instead of listing the repo
  11. Repeating steps 8-10 loops indefinitely
  12. Tried on both claude.ai (web) and Claude Code desktop app — same result

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

1.3109.0 (35cbf6)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗