github / github/copilot-cli

Copilot CLI loses todos and edits the wrong plan after forked

オープン
#4,324 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

area:context-memory area:sessions
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

Describe the bug

If Copilot is asked to update the plan and the todo list, it will update the old plan in the forked session and reports the todo list being empty.

This is likely a problem not only for the plan mode, but whenever it needs to edit a file in the session folder.

Affected version

1.0.78

Steps to reproduce the behavior
  1. Ask the agent to create a plan with todos
  2. Fork the session
  3. Ask it to update the plan and todos
Expected behavior

The agent should edit the plan file and the todo list under the new session folder. The todo list should be copied over for the new session

Additional context

No response

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

todosを含むプランを作成してセッションをフォークし、エージェントに両方を更新するよう依頼することで、問題を再現します。新しいセッションフォルダーで、フォークされたセッションがプランファイルとtodoリストをどのように選択するかを追跡し、その後、todoリストがコピーされ、元のセッションではなくフォークされたセッションで両方のファイルが更新されることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

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

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