github / github/copilot-cli

Failure to write to file

未关闭
#3,049 3 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
area:permissions area:tools
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

Consistent failure to write/edit when telling it to create a plan but don't make any code changes yet.

### Affected version

GitHub Copilot CLI 1.0.39

### Steps to reproduce the behavior

I run copilot cli.
I switch to 'autopilot'
I select my model and I enable all permissions.

I have a prompt ready, this prompt will do some research on a feature I want to implement.
The prompt is a research and planning prompt.
The aim is to create a detailed plan.md file in my project folder.

It does the research it creates the plan, but it cannot save the plan.
It tries to write to various different files, locations (session-state, project location), etc
All writes fail

I see red text how it is failing to make any writes.

This used to work a couple of versions back (1.0.24 etc)

If I run the same prompt again in a new session and I change this text:

"This is only a planning task. Do **not** implement the code yet."

to

"This is a planning task."

Then it works 100% and it creates the plan.md without a single issue.

It is as if the instruction to not make code changes suddenly restricts it from making any file edits.

This use to work fine.

I have a personal and a business github copilot account and I have had the same happen on both accounts on different machines, both are v1.0.39

### Expected behavior

_No response_

### Additional context

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。