github / github/copilot-cli

Title: /allow-all does not suppress bash tool execution prompts

Aberta
#2,955 1 comentário 1 reação 0 responsáveis Ver no GitHub
area:permissions
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

### Describe the bug

### Describe the bug
After running `/allow-all`, the CLI still shows a permission dialog
("Do you want to run this command?") for every bash/shell tool call.

### Steps to reproduce
1. Launch `copilot`
2. Run `/allow-all`
3. Ask Copilot anything that triggers a shell command
4. Permission dialog still appears for each command

### Expected behavior
No prompts after `/allow-all` — all tools, paths, and URLs should be
pre-approved for the session.

### Actual behavior
Every bash tool call still requires manual approval. `/reset-allowed-tools`
followed by `/allow-all` does not fix it.

### Workaround
Use native built-in tools (view, grep, glob) instead of bash where possible.

### Environment
- OS: macOS

### Affected version

GitHub Copilot CLI 1.0.35.

### Steps to reproduce the behavior

1. Launch `copilot`
2. Run `/allow-all`
3. Ask Copilot anything that triggers a shell command
4. Permission dialog still appears for each command

### Expected behavior

No prompts after `/allow-all` — all tools, paths, and URLs should be
pre-approved for the session.

### Additional context

### Actual behavior
Every bash tool call still requires manual approval. `/reset-allowed-tools`
followed by `/allow-all` does not fix it.

### Workaround
Use native built-in tools (view, grep, glob) instead of bash where possible.

### Environment
- OS: macOS

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start by reproducing the behavior in the copilot CLI on macOS with version 1.0.35: run /allow-all, then trigger a bash or shell tool call. Trace the permission handling for shell tools and verify that /reset-allowed-tools followed by /allow-all is covered. Done means shell tool calls no longer show approval prompts during the session.

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

Avaliação

Stack de tecnologia
shell
Domínio
cli, security
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Ativa
Clareza
Razoavelmente clara
Facilidade para iniciantes
62/100

Receba novas issues na sua caixa de entrada

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