github / github/copilot-cli

Autopilot permissions don't reset after cycling off of autopilot mode

Aberta
#1,835 1 comentário 0 reações 0 responsáveis Ver no GitHub
area:agents area:permissions
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

### Describe the bug

Shift+tab to autopilot and I get prompted to allow copilot to access tools and a bunch of stuff (that's fine). Autopilot then goes on and does its task. The problem is that it seems like there's no way to revoke access after that. This is especially a problem when I then switch to the regular mode and interact with copilot. I'm expecting it to prompt me for access, but it never does and it goes off and does everything anyways.

I've tried `/reset-allowed-tools` but that doesn't seem to help

### Affected version

0.0.422-0

### Steps to reproduce the behavior

1. shift+tab to autopilot
2. when prompted, allow copilot to access tools and directories (recommended)
3. perform a task
4. shift+tab to regular mode
5. perform a task

### Expected behavior

Permissions should be reset. When copilot tries to do something, it should prompt the user first (as usual).

### Additional context

_No response_

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.