Cloud sessions blocked: command-code-ai GitHub App is private (422 GITHUB_APP_NOT_INSTALLED)

Aberta
#1,112 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
github
Domínio
cloud

Direção de pesquisa

Start by checking the GitHub App configuration for command-code-ai and the code path that handles 422 GITHUB_APP_NOT_INSTALLED for cmdc --cloud; the issue does not name repository files or tests. Confirm the intended installation path and make sure the app can be installed by users outside its owner. Done when a regular user can install the app for a repository and start a cloud session.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Summary

Cloud sessions cannot start because the command-code-ai GitHub App is configured as private, so it cannot be installed by anyone outside the app's owner. cmdc --cloud fails with 422 GITHUB_APP_NOT_INSTALLED, and the install URL shows no Install button.

Related report: #1105 (same root cause, opened 2026-11-03).

Environment

  • Command Code: 1.88.2
  • OS: Windows 11, PowerShell 5.1
  • Repo: vincentsch/explainroo (has origin remote, push access confirmed)

Steps to reproduce

  1. From a clone of a GitHub repo, run:
    cmdc --cloud "Reply with the current git branch and the last commit subject. Do not modify any files."
    
  2. Observe the output and open the install URL it prints in a signed-in browser.

Actual behavior

Warning: local changes are not included (the cloud session works from the repo on GitHub).
422 Command Code GitHub App is not installed on vincentsch/explainroo. Install it at
https://github.com/apps/command-code-ai/installations/new

Opening https://github.com/apps/command-code-ai/installations/new while signed in to GitHub shows:

command-code-ai is a private GitHub App.

The page only offers "Learn more about GitHub Apps". There is no "Install" button, so the suggested fix in the error message cannot be completed.

cmdc cloud list works and reports "No cloud sessions yet.", so CLI auth itself is fine.

Expected behavior

The app installation page offers an Install button so the app can be granted access to the repository, and cmdc --cloud starts a session.

Additional context

Per GitHub's documentation, a private GitHub App can only be installed by the account that owns it. Making the app public (or providing the intended installation path) would unblock cloud sessions for all users. cmdc update is not a workaround; 1.88.2 is current and the blocker is the app's visibility on GitHub, not the CLI.

Linguagem predominante
Sem dados de linguagem
Estrelas
4.2k
Forks
377
Merge médio
1d 3h
PRs com merge (30d)
6

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de CommandCodeAI/command-code

Todas as issues de CommandCodeAI/command-code

Issues semelhantes

Mais issues de Cloud

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.