github / github/copilot-cli

Have to approve access to the same directory multiple times, no clear indication why

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

描述

### Describe the bug

When working through a session and it needs access to a directory it will prompt multiple times in a row for the same directory but it is unclear why, is it for a different agent, different permissions?

Please add some text explaining what the additional approvals are for and why they are required. If they are not required then remove them.

### Affected version

_No response_

### Steps to reproduce the behavior

1. Instruct LLM to get details for something in another directory that it does have access to

### Expected behavior

One prompt is raised for directory access.

If an additional prompt is raised, it is clear to the user how it is different from the previous approval

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

Start by reproducing the issue with an instruction to retrieve details from another directory, then trace the directory-access approval prompts to determine why the same directory is requested repeatedly. Done means either one approval is shown or each additional prompt clearly explains its distinct agent or permission requirement.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
58/100

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

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