github / github/copilot-cli

Autopilot on PowerShell does not ask for permission and keeps looping forever and discussing with itself how it doesnt have access rights

オープン
#3,120 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:agents area:permissions area:platform-windows
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

### Describe the bug

At least Copilot is saying that this might be a PowerShell issue. It is not completing the task because it keeps failing for permission reasons to change files but doesnt ask for permission. In background agent it fails silently without giving any feedback. It keeps up draining tokens by infinitely looping on this issue (as recently on any issue)

### Affected version

GitHub Copilot CLI 1.0.40

### Steps to reproduce the behavior

1. Open PowerShell
2. Go into autopilot mode
3. Especially terrible Anthropic models work recently on Copilot, so maybe select "Sonnet 4.6"
4. Give it some but to fix
5. Also ideally something that starts a background agents
6. Both wont fix anything

### Expected behavior

Asks for permission or terminate immediate after recognizing that it does not have the correct permissions, instead of draining tokens

### Additional context

_No response_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。