Skip to content

Title: /allow-all does not suppress bash tool execution prompts #2955

@bes-shutok

Description

@bes-shutok

Describe the bug

Describe the bug

After running /allow-all, the CLI still shows a permission dialog
("Do you want to run this command?") for every bash/shell tool call.

Steps to reproduce

  1. Launch copilot
  2. Run /allow-all
  3. Ask Copilot anything that triggers a shell command
  4. Permission dialog still appears for each command

Expected behavior

No prompts after /allow-all — all tools, paths, and URLs should be
pre-approved for the session.

Actual behavior

Every bash tool call still requires manual approval. /reset-allowed-tools
followed by /allow-all does not fix it.

Workaround

Use native built-in tools (view, grep, glob) instead of bash where possible.

Environment

  • OS: macOS

Affected version

GitHub Copilot CLI 1.0.35.

Steps to reproduce the behavior

  1. Launch copilot
  2. Run /allow-all
  3. Ask Copilot anything that triggers a shell command
  4. Permission dialog still appears for each command

Expected behavior

No prompts after /allow-all — all tools, paths, and URLs should be
pre-approved for the session.

Additional context

Actual behavior

Every bash tool call still requires manual approval. /reset-allowed-tools
followed by /allow-all does not fix it.

Workaround

Use native built-in tools (view, grep, glob) instead of bash where possible.

Environment

  • OS: macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:permissionsTool approval, security boundaries, sandbox mode, and directory restrictions

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions