{"version":"2.0.42","anchor":"github-app-installation-validation","canonical_anchor":"github-app-installation-validation","heading":"GitHub App Installation Validation","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.42\/e\/github-app-installation-validation","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.42","markdown":"### GitHub App Installation Validation\n\n**What:** Background tasks now verify that the Claude GitHub app is installed on the repository before allowing execution.\n\n**How to use:** When initiating background tasks in a GitHub repository, Claude Code automatically checks if the Claude app is installed. If not, you'll receive a clear error message with installation link.\n\n**Details:**\n\n- New validation function `KT2()` at line 426828 checks app installation via API endpoint `\/api\/oauth\/organizations\/{orgId}\/code\/repos\/{owner}\/{repo}`\n- GitHub repository detection function `Fb()` at line 426624 extracts owner\/repo from git remote URL\n- Added fourth validation check to background task prerequisites (alongside login, remote environment, and git repo checks) in `TT2() at line 427717`\n- New error type `github_app_not_installed` with user-friendly message and installation link at line 427972\n- **Evidence**: `KT2() at line 426828`, `TT2() at line 427717`, `Fb() at line 426624`\n\n**Why it matters:** Ensures background tasks have proper GitHub integration permissions before execution, preventing mysterious failures when app permissions are missing."}