github / github/copilot-cli

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

未關閉
#1,835 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:agents area:permissions
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。