github / github/copilot-cli

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

Ouverte
#2,955 1 commentaire 1 réaction 0 personnes assignées Voir sur GitHub
area:permissions
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.