github / github/copilot-cli

Feature request: Persistent directory allow list across sessions

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

描述

## Summary

When starting a new Copilot CLI session, I'm repeatedly prompted to allow directories I've already approved in previous sessions. The directory permissions don't persist across sessions.

## Current behavior

Each new session requires re-approving directories via `/add-dir` or `/allow-all`, even though `permissions-config.json` already stores tool approvals per directory.

## Expected behavior

Directories that have been previously allowed should be remembered across sessions, either via:
- A persistent allow list in `~/.copilot/settings.json` or `permissions-config.json`
- An option to mark directories as 'always allowed'
- Auto-allowing directories that already have tool approvals configured

## Workaround

Running `/allow-all` at the start of each session, or launching from the target directory.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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