Skip to content

Feature request: Persistent directory allow list across sessions #3050

@AbbyMSFT

Description

@AbbyMSFT

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:configurationConfig files, instruction files, settings, and environment variablesarea:permissionsTool approval, security boundaries, sandbox mode, and directory restrictions
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions