Skip to content

Start-Copilot: expose copilot --allow-all-tools (auto-approve tools, keep path/URL checks) #119

Description

@shmuelie

Summary

Start-Copilot offers the all-in-one --allow-all (default, disablable with -NoAllowAll) and granular -AllowTool, but there is no first-class mapping for the CLI's --allow-all-tools flag on its own. It is only reachable via -RemainingArgs passthrough.

Feature

copilot --allow-all-tools allows all tools to run automatically without confirmation without also disabling file-path and URL verification (unlike --allow-all, which is --allow-all-tools --allow-all-paths --allow-all-urls). The CLI documents --allow-all-tools as the flag required for non-interactive mode, so exposing the "auto-approve tools but keep path/URL checks" middle ground is useful.

Observed on GitHub Copilot CLI 1.0.81.

Proposal / acceptance criteria

  • Add a first-class switch (e.g. -AllowAllTools) that emits --allow-all-tools.
  • Resolve the overlap with the default --allow-all: selecting -AllowAllTools should imply -NoAllowAll (or otherwise ensure the launcher does not emit both --allow-all and --allow-all-tools).
  • Comment-based help, README, and an [Unreleased] CHANGELOG.md entry.
  • Tests asserting --allow-all-tools is emitted and that --allow-all is not also emitted for that case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions