github / github/copilot-cli

Feature request: Persistent directory allow list across sessions

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

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

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.