Skip to content

Permissions reset on every Copilot CLI startup #1020

@titan-ron

Description

@titan-ron

Describe the bug

The permissions.allow configuration in ~/.copilot/config.json is being reset/cleared every time Copilot CLI starts.

Affected version

0.0.384 Commit: 0b21260

Steps to reproduce the behavior

  1. Edit ~/.copilot/config.json and add permissions:
{
  "permissions": {
    "allow": ["shell(git:*)", "shell(nx build:*)"]
  }
}
  1. Verify the file contains the permissions
  2. Start Copilot CLI with copilot
  3. Exit Copilot CLI
  4. Check ~/.copilot/config.json - permissions are gone

Expected behavior

The permissions.allow array should persist across Copilot CLI sessions.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions