Autopilot on PowerShell does not ask for permission and keeps looping forever and discussing with itself how it doesnt have access rights
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 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_
貢獻指南
研究方向
首先,在 PowerShell 中使用 GitHub Copilot CLI 1.0.40,並啟用 autopilot 模式,執行一個會變更檔案或啟動背景代理程式的工作,以重現此行為。記錄權限失敗發生的位置,以及迴圈如何繼續。CLI 要求權限或及時終止並提供回饋,而不是繼續消耗 tokens,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- powershell
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100