# Why GitHub Copilot CLI waits for permission without telling you, and the fix

> Copilot CLI stops on a prompt for any tool you haven't allowed, and its default alert is a beep. The hook, permission modes and remote control that fix it.

Source: https://taskhold.com/guides/copilot-cli-waiting-for-permission
Last updated: 2026-11-23

> Short answer: Copilot CLI asks before it edits files, runs a command that isn't read-only or opens a URL you haven't allowed, and its default alert is a beep. Add a notification hook for permission_prompt to get a desktop or phone alert, cut prompts with --allow-tool rules or /permissions assisted, or answer from GitHub Mobile with remote control. Questions about the work can go to a shared board such as Taskhold's.

You give Copilot CLI a long task, switch windows, and come back to find it stopped on a permission prompt a few minutes in. This guide covers when Copilot CLI waits for you, the hook that tells you when it does, the settings that cut down the prompts, and how to answer from your phone. Everything here is from GitHub's Copilot CLI documentation, checked on the date below.

For the same problem in other agents, see [VS Code Copilot agent waiting for input](https://taskhold.com/guides/vs-code-copilot-agent-waiting-for-input), [Claude Code waiting for input](https://taskhold.com/guides/claude-code-waiting-for-input) and [Codex CLI waiting for approval](https://taskhold.com/guides/codex-cli-waiting-for-approval). To try answering a blocked agent from a browser, open the [live board demo](https://taskhold.com/demo/live).

## When Copilot CLI stops and waits

Copilot CLI runs searches, file reads and read-only shell commands without asking, subject to policy. Everything else needs permission: editing files, shell commands that can change things, and fetching URLs. In the default manual mode it prompts for any request you haven't already allowed, and you choose to allow it once or for the rest of the session. It also stops when it asks you a question or offers a choice.

- In the session sidebar, a yellow ! means the session needs permission to continue and a yellow ? means it waits for an answer to a question or a choice. A steady yellow dot means it stopped on an error or otherwise needs you.
- The settings file (~/.copilot/settings.json) has beep set to true by default: Copilot plays an audible beep when attention is required. That is the whole default alert, and it is easy to miss from another window or with the sound off.
- Your sessions sync to GitHub.com and GitHub Mobile by default, but a synced session is view-only there. You can see it waiting, not answer it, unless remote control is on (Fix 3).
- In plan mode the CLI waits for you to approve the plan before it implements anything.

## Fix 1: a notification hook for every wait

Copilot CLI fires a notification hook whenever it emits a system notification. Its notification_type says why: permission_prompt when the agent asks to run a tool, elicitation_dialog when it asks you for more information, plus shell_completed, agent_completed and agent_idle for background work. The hook is fire-and-forget and never blocks the session. On macOS, save this as ~/.copilot/hooks/notify-waits.json:

```json
{
  "version": 1,
  "hooks": {
    "notification": [
      {
        "type": "command",
        "matcher": "permission_prompt|elicitation_dialog",
        "bash": "osascript -e 'display notification \"Copilot CLI is waiting for you\" with title \"Copilot CLI\"'",
        "timeoutSec": 5
      }
    ]
  }
}
```

The matcher is a regex on notification_type, anchored at both ends; leave it out to hear about every type. On Linux use notify-send 'Copilot CLI' 'Copilot CLI is waiting for you'. With COPILOT_HOME set, the file goes in $COPILOT_HOME/hooks/.

Hook files load when the CLI starts, so restart Copilot CLI after adding one. The hook's input on stdin also carries message and title (for example "Permission needed"), if you want the alert to say which tool is asking. For an alert on your phone, replace the osascript command with curl -s -d "Copilot CLI is waiting" https://ntfy.sh/<your-topic>.

The settings reference also lists terminalNotifications, off by default: with desktop notifications on, it sends them through Ghostty's or WezTerm's own notifications and falls back to the OS when that fails.

## Fix 2: fewer prompts to wait on

- Answer a prompt with "don't ask again in this repo" (or "in this directory"). The approval is saved to ~/.copilot/permissions-config.json for that repository root or folder. A URL you approve permanently goes into allowedUrls in ~/.copilot/settings.json and applies everywhere.
- Start the session with rules: copilot --allow-tool='shell(git:*)' --deny-tool='shell(git push)' allows every git command except push. These options last for the session only. Deny rules always win, even over --allow-all and saved approvals.
- /permissions assisted has a model review eligible requests and approve the ones it judges safe; the rest still come to you. /permissions show prints the current mode. Set defaultPermissionMode to "assisted" in your settings to start every interactive session that way.
- --allow-all (or --yolo, or /yolo inside a session) allows every tool, path and URL. GitHub strongly recommends it only in an isolated environment, and an enterprise administrator can block these options for Copilot Business and Enterprise.
- /reset-allowed-tools takes back what you granted in the session and clears the saved approvals for the current location.

## Fix 3: answer from your phone with remote control

Remote control lets you open a running Copilot CLI session from any browser or from GitHub Mobile, read its output and respond to permission requests. It needs the machine online and the session running in a terminal.

1. Enter /environments, select Incoming connections and set Accept remote connections to On.
2. Back in the session, enter /remote on. The CLI prints a link to the session on GitHub.com. Enter /remote again and press Ctrl+O with an empty input to show a QR code that opens it in GitHub Mobile.
3. To make every new session remote, also set Publish new sessions by default to On in the same place.
4. Run /keep-alive busy so the machine doesn't sleep while Copilot works. With busy it also stays awake while Copilot waits for you to respond.

## Autopilot and plan mode

Autopilot mode (Shift+Tab until the status line shows it, or /autopilot <task>) works through a task without waiting for input after each step. When you switch to it, the CLI asks how to handle permissions: all permissions, assisted permissions or manual approval for the session. With manual approval it still stops on prompts. Starting with copilot --plan --mode autopilot begins in plan mode and moves to Autopilot once the plan is ready, instead of waiting for you to approve it.

## Where Taskhold fits

Taskhold handles the other kind of stop: a question about the work. Copilot CLI connects to Taskhold over MCP and reads the workflow from AGENTS.md ([setup](https://taskhold.com/integrations/copilot-cli)). With the line below, it calls taskhold_block with one specific question instead of waiting in the terminal, and when the answer is a choice it passes two to four options, marks the one it recommends and says what it will do if nobody answers.

- The question appears as a card under Needs you on the live board and on the Needs you page (/dashboard/needs-you), laid out for a phone. Tap an option or type a reply.
- Taskhold emails you the question as soon as the agent asks (on by default, at most one email per question), and you can add web push on your phone or ntfy in Settings.
- Copilot reads your answer with taskhold_updates, and can take the next task while it waits.

```markdown
If you need a decision from me, call taskhold_block on the task with one
specific question. When it's a choice, pass 2 to 4 options, the one you
recommend, and what you'll do if I don't answer. Then take the next todo
and check taskhold_updates between steps for my reply.
```

Add to AGENTS.md next to the Taskhold workflow from the Copilot CLI setup page.

- Permission prompts still need an answer in Copilot CLI or through remote control. Taskhold carries questions about the work, not tool approvals.
- Taskhold doesn't wake a session that has stopped. Copilot reads your reply the next time it calls taskhold_updates.
- The whole loop is in [answering a blocked coding agent](https://taskhold.com/guides/answer-a-blocked-coding-agent), and every way to watch a running agent is in [seeing what your coding agent is doing](https://taskhold.com/guides/monitor-coding-agent-progress).

## FAQ

### Does Copilot CLI notify you when it needs permission?

By default it plays a beep (the beep setting in ~/.copilot/settings.json, on by default). For a desktop or phone alert, add a notification hook in ~/.copilot/hooks/ that matches permission_prompt and elicitation_dialog, then restart the CLI.

### How do I stop Copilot CLI asking for permission every time?

Choose "don't ask again in this repo" on the prompt, start with --allow-tool rules such as --allow-tool='shell(git:*)', or switch to /permissions assisted so a model approves eligible requests. --allow-all or --yolo removes the prompts entirely; GitHub recommends that only in an isolated environment.

### Can I approve Copilot CLI prompts from my phone?

Yes, with remote control. Turn on Accept remote connections under /environments > Incoming connections, run /remote on, then open the session from the printed link or its QR code in GitHub Mobile and respond to the permission request there.

## Sources

- [GitHub docs: allowing and denying tool use in Copilot CLI](https://docs.github.com/en/copilot/how-tos/copilot-cli/use-copilot-cli/allowing-tools), checked 2026-11-23
- [GitHub docs: Copilot CLI command reference (status indicators, /permissions, plan then autopilot)](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-command-reference), checked 2026-11-23
- [GitHub docs: Copilot CLI configuration directory (beep, terminalNotifications, permissions-config.json)](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-config-dir-reference), checked 2026-11-23
- [GitHub docs: hooks reference (notification hook and types)](https://docs.github.com/en/copilot/reference/hooks-reference), checked 2026-11-23
- [GitHub docs: using hooks with Copilot CLI (user-level hooks)](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/use-hooks), checked 2026-11-23
- [GitHub docs: steering a Copilot CLI session from another device](https://docs.github.com/en/copilot/how-tos/copilot-cli/use-copilot-cli/steer-remotely), checked 2026-11-23
- [GitHub docs: using Autopilot mode in Copilot CLI](https://docs.github.com/en/copilot/how-tos/copilot-cli/use-copilot-cli/use-autopilot-mode), checked 2026-11-23

## Related

- [Use Taskhold with GitHub Copilot CLI](https://taskhold.com/integrations/copilot-cli.md)
- [VS Code Copilot agent waiting for input: the fix](https://taskhold.com/guides/vs-code-copilot-agent-waiting-for-input.md)
- [Answer a blocked coding agent from your phone](https://taskhold.com/guides/answer-a-blocked-coding-agent.md)
- [Claude Code waits for input silently: the fix](https://taskhold.com/guides/claude-code-waiting-for-input.md)
- [Codex stuck on "Awaiting approval": the fix](https://taskhold.com/guides/codex-cli-waiting-for-approval.md)
- [Cursor agent waits for input silently: the fix](https://taskhold.com/guides/cursor-agent-waiting-for-input.md)
- [Use Taskhold with GitHub Copilot's cloud agent](https://taskhold.com/integrations/copilot-coding-agent.md)

## About Taskhold

Taskhold is a hosted task list shared by a person and their AI coding agents over MCP. Agents break tasks into steps and report progress, and the person watches a live board. $12/month or $120/year per person, 7-day trial with a card, no free plan. Made by Great Work LLC.

To try it, add the MCP server https://taskhold.com/api/mcp to your agent. It connects with no sign-up, and the first time the agent uses Taskhold it gives you a link to start the trial.

- Pricing: https://taskhold.com/pricing.md
- Agent index: https://taskhold.com/llms.txt
