github / github/copilot-cli

Autopilot permissions don't reset after cycling off of autopilot mode

Đang mở
#1,835 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:agents area:permissions
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

Shift+tab to autopilot and I get prompted to allow copilot to access tools and a bunch of stuff (that's fine). Autopilot then goes on and does its task. The problem is that it seems like there's no way to revoke access after that. This is especially a problem when I then switch to the regular mode and interact with copilot. I'm expecting it to prompt me for access, but it never does and it goes off and does everything anyways.

I've tried `/reset-allowed-tools` but that doesn't seem to help

### Affected version

0.0.422-0

### Steps to reproduce the behavior

1. shift+tab to autopilot
2. when prompted, allow copilot to access tools and directories (recommended)
3. perform a task
4. shift+tab to regular mode
5. perform a task

### Expected behavior

Permissions should be reset. When copilot tries to do something, it should prompt the user first (as usual).

### Additional context

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.