Skip to content

BuildNot yet confirmed elsewhere1 publisher2 min readPublished

Copilot's --yolo removes the approval prompt but still obeys --deny-tool rules

Copilot's --yolo, /yolo and VS Code's Allow all remove only the approval prompt, according to a dev.to walkthrough of the Copilot docs. Deny rules still win, and the CLI and VS Code use separate permission systems that each need configuring.

The Engineer · Build desk

How we use AISend a correction

Illustration accompanying Copilot's --yolo removes the approval prompt but still obeys --deny-tool rules
Generated illustration
Copilot CLI and VS Code set YOLO separately Where Copilot's allow-all switches reach, per a dev.to walkthrough. Drawn as a map because the story has no figures worth plotting.

CLI users: --yolo equals --allow-all, all tools, paths and URLs. VS Code users: Allow all via picker, /yolo or settings.json. CLI and VS Code configs are separate. CI: COPILOT_ALLOW_ALL=true acts as --yolo, trusts the directory. Deny rules win over --yolo. Admins can turn it all off.

Copilot CLI and VS Code set YOLO separately
WhoHowKindClaim
Copilot CLI users--yolo is the same flag as --allow-all: all tools, all paths and all URLs at oncecapability1
VS Code usersAllow all via the chat permission picker, /yolo, or chat.tools.global.autoApprove in settings.jsoncapability2
CLI and VS Code configsSeparate permission systems; nothing set in VS Code changes the CLI, and vice versaconstraint4
CI runsCOPILOT_ALLOW_ALL=true acts as --yolo and trusts the current directory; called the CI-friendly formcapability7
Anyone running --yoloA deny rule always wins, as in --yolo --deny-tool 'shell(git push)'constraint6
AdminsdisableBypassPermissionsMode: disable turns off all of this; allow-auto-only limits users to assisted modedecision12

What happened

  • In the CLI, --yolo is the same flag as --allow-all, shorthand for allowing all tools, all paths and all URLs at once.
  • VS Code has three routes to Allow all: the chat permission picker, a /yolo command, and a permanent chat.tools.global.autoApprove setting in settings.json.
  • The environment variable COPILOT_ALLOW_ALL=true does what --yolo does and also trusts the current directory, which the walkthrough calls the CI-friendly form.
  • Admins can set disableBypassPermissionsMode to disable under permissions to shut all of it off, or allow-auto-only to limit users to the assisted mode.

Why it matters

  • constraint The sandbox exemption is documented for VS Code. The walkthrough's CLI section names deny rules as the control that outlasts YOLO, so for CLI runs the deny list is the one confirmed backstop.
  • cost A team that uses both runtimes maintains two permission configs. A setting made in VS Code does nothing for a copilot process launched from CI.
  • decision Each unattended run needs a posture chosen on purpose: --allow-all-tools alone or full --yolo, since the walkthrough treats them as materially different, and usually Autopilot on top.
  • exposure Under YOLO, any call that no deny rule matches runs with no human in the loop. In our view the deny list becomes the working policy, so what it omits is what the agent can do.

The walkthrough's author checked it on October 7, 2026 against GitHub's Copilot CLI reference, the 1.0.93 changelog and the VS Code agent docs [18]. It lays the path from model to machine out as three gates in order: deny rules, the approval prompt, and the sandbox if one is enabled [5]. YOLO removes the second. Two of the three stay in place [17].

Deny rules are the part a team can write today. In the CLI, `--allow-tool` and `--deny-tool` take typed patterns such as `shell(git:*)`, `write(src/*.ts)`, `read(.env)` and `url(github.com)` [16]. A deny always wins, including over `--yolo`, and the author calls `--yolo --deny-tool 'shell(git push)'` a cheap "YOLO minus the footguns" profile [6].

The two runtimes share a command name and little else. Copilot ships a terminal agent with flag-driven permissions and an editor agent whose permissions hang off a picker and `settings.json` [4]. Typing `/yolo` in each reaches a different permission system [4]. To undo it in VS Code chat, the commands are `/disableYolo` or `/disableAutoApprove` [14]. In the CLI, `/permissions` is now the canonical command, with four arguments: `default`, `assisted`, `allow-all` and `show` [15].

Unattended runs need a second switch. Autopilot keeps the agent iterating, and YOLO approves its tool calls [9]. Autopilot without YOLO works until the first approval and then blocks. YOLO without Autopilot approves calls, but the agent stops to check in [9]. Shift+Tab in the CLI does not toggle YOLO. It cycles standard, plan and autopilot [10].

VS Code's security docs, as the walkthrough quotes them, say Autopilot "combines auto-approval with autonomous iteration" and "reduces your ability to review intermediate steps" [13].

Assisted permissions are a middle option. `/permissions assisted` puts a safety model in front of the prompt, approving routine requests and escalating the rest [11]. It is a classifier in the approval layer. It reduces prompts and adds no isolation [11].

What to watch

  • Copilot CLI changelog entries after 1.0.93, the release the walkthrough was checked against, for any change to what --yolo or --allow-all covers.
  • GitHub's CLI reference on whether an enabled sandbox is honored under --yolo, which the walkthrough documents only for VS Code.
  • Whether the admin setting disableBypassPermissionsMode shows up in team policy templates for unattended Copilot agents.

Clarity's read

What the record supports and how the coverage leans. The claims behind it follow.

Reality

Evidence58
Adoption
Insufficient
Hype gap−5
Incentives
Insufficient
Confidence60
Why these scores

Claim ledger

Ranked by verification strength, evidence, and original report placement.

  1. [1]

    In the Copilot CLI, --yolo is the same flag as --allow-all, and /yolo does the same in a running session; it is shorthand for --allow-all-tools plus --allow-all-paths plus --allow-all-urls.

    ReportedSupportedSource: dev.to walkthrough, citing GitHub's Copilot CLI referenceView cited source
  2. [2]

    In VS Code, Allow all is reached through the chat permission picker, by typing /yolo, or by setting "chat.tools.global.autoApprove": true in settings.json to make it permanent.

    ReportedSupportedSource: dev.to walkthrough, citing VS Code agent docsView cited source
  3. [3]

    YOLO skips approval prompts. It does not skip --deny-tool rules, and in VS Code it does not skip an enabled sandbox, which the VS Code docs document explicitly.

    ReportedSupportedSource: dev.to walkthroughView cited source

Sources

1 independent publisher whose own reporting we read for this story.

  1. dev.to

    1 article · October 12, 2026

    Copilot YOLO mode, dissected: what --yolo, /yolo and Allow all actually skip

Share your take

Let Clarity write the post for you.

Signed-in readers get a short post drafted on this story in the register they choose — narrative, analytical, or a direct position — editable to the last word before it goes anywhere. The share buttons at the top of this story work without an account.

Topics and entities

Follow any of these and your For You feed starts watching them — no settings page required.

Topics

Loading related stories