Title: /allow-all does not suppress bash tool execution prompts
- Ngôn ngữ chính
- Shell
- Star
- 11.2k
- Fork
- 1.9k
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 6
Mô tả
### 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
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- shell
- Lĩnh vực
- cli, security
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 62/100