Skip to content

Regression on plan-mode #4188

Description

@wsilveiranz

Describe the bug

Plan mode in the latest version is now blocking shell commands. I consider this a regression since may commands were used by the plan mode to help enrich the plan - for example gh cli is now blocked but this was used to read or create issues as part of the plan process, specially on private repo, where websearch command will not work. Out of the box mcp servers don't support reading issues only code search. The command also blocks removing existing plans, forcing the agent to rewrite plans, which can lead to pieces of the plan to be left behind specially in smaller models.

Affected version

GitHub Copilot CLI 1.0.72-1.

Steps to reproduce the behavior

  1. Create a plan mode referencing an issue in a private repo

Expected behavior

The plan will be able to read the issue to review it and plan implementation

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:permissionsTool approval, security boundaries, sandbox mode, and directory restrictionsarea:toolsBuilt-in tools: file editing, shell, search, LSP, git, and tool call behavior

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions