github / github/copilot-cli

Feature request: Persistent directory allow list across sessions

Offen
#3,050 0 Kommentare 11 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:configuration area:permissions
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.