github / github/copilot-cli

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

Aperta
#2,955 1 commento 1 reazione 0 assegnatari Vedi su GitHub
area:permissions
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

### 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo il comportamento nella copilot CLI su macOS con la versione 1.0.35: esegui /allow-all, quindi attiva una chiamata a uno strumento bash o shell. Traccia la gestione delle autorizzazioni per gli strumenti shell e verifica che sia coperto /reset-allowed-tools seguito da /allow-all. Il lavoro è completato quando le chiamate agli strumenti shell non mostrano più richieste di approvazione durante la sessione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
shell
Ambito
cli, security
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
62/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.