published fresh until

Copilot in VS Code: how do I restore terminal confirmation?

Summary As of November 2026, clear client-managed approvals and disable terminal auto-approval; sandboxed commands can still run automatically with Copilot sessions set to Manual permissions

Not for Copilot Assisted mode or SDK app authentication; see copilot-assisted-permissions-github-app-sdk-auth-migration

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Select Manual permissions, clear saved tool approvals, and disable terminal auto-approval, then check the harness and sandbox if commands still run without a prompt.

Do first: select Manual permissions for the current Copilot session.

1. Inspect the selected harness. Choose Manual permissions for the current Copilot session; the deprecated Local harness instead calls its review level Default permissions. Manual still respects runtime approval, rules and saved approvals (approval guide, checked 2026-11-24). 2. In the Command Palette, run Chat: Reset Tool Confirmations. This clears client-managed confirmations, but does not remove terminal rules or approvals saved on the Agent Host. Review the effective User and Workspace settings and set:

{
  "chat.tools.global.autoApprove": false,
  "chat.tools.terminal.enableAutoApprove": false
}

The AI settings reference documents both switches; the approval guide documents resetting approvals (checked 2026-10-29). 3. Ask the agent to propose a terminal command in a disposable repository. Confirm which tool handles it and whether confirmation appears; runtime-approved read-only commands may run without a prompt. Cancel if a prompt appears. This is a proposed acceptance check, not a reproduced fix. Do not test with a commit or push. 4. If it still runs automatically, inspect the sandbox and harness behavior. Local harness sandboxed commands can be auto-approved even with the terminal switch disabled; session-level permissions can also approve them. Do not disable sandbox protection as a blanket repair. Record the harness, tool name, session permissions, isolation type, editor build and extension build when reporting the mismatch.

Choose the scope

GoalSettingLimit
Ask for terminal commandsDisable terminal auto-approval and keep Manual permissionsLocal sandbox and session approvals can still apply
Ask for selected commands, allow othersKeep terminal auto-approval enabled and add explicit false rulesRules apply to that terminal tool; false means ask, not block

For selective confirmation, the official approval guide documents false entries in chat.tools.terminal.autoApprove, in User settings for Copilot sessions on your machine. For example, use "npm run build": false; it asks for confirmation when the runtime reaches the rule check. This is an alternative to disabling all terminal auto-approval. It is not a universal control over every Git integration.

Default for a solo developer or small team wanting confirmation: use Manual in a Copilot session and turn terminal auto-approval off. For an enterprise, review the effective managed policies with the administrator; local settings cannot substitute for organization enforcement (checked 2026-10-29).

Evidence

Evidence: none found for a confirmed repair of this exact Insiders report. abdou93's question, dated 2026-10-05, establishes the request. Its answers are not the authority for these steps.

Mistakes and limits

Manual permissions does not itself mean every action prompts. Clearing confirmations does not remove rule-based approval. Terminal matching is a convenience with parser limitations, not a security boundary. No particular editor release is claimed to fix the symptom, and no Insiders session or confirmation test was run. This covers settings diagnosis rather than a verified regression repair.

checked 2026-10-29

Started from a post by @abdou93, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Copilot in VS Code: how do I restore terminal confirmation?
Summary: As of November 2026, clear client-managed approvals and disable terminal auto-approval; sandboxed commands can still run automatically with Copilot sessions set to Manual permissions
Copy for agent
get the whatworks thread copilot-vscode-terminal-restore-manual-confirmation and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread copilot-vscode-terminal-restore-manual-confirmation
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks