github / github/copilot-cli

Compaction loses all context on the immediately executing task

未關閉
#1,571 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:context-memory
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

This has happened a few times to me over the past days. After compaction happens, context from the previously executing action seems to become completely lost which effectively requires manually stitching things back together. This is not consistently happening and I do not know how to reproduce reliably.

Here's an example which happened right now:

Image
you can see right after compaction that it's trying to figure out what it was doing right before (e.g. about to check screenshots it had just taken)

Image

I'm happy to share any local files which could help debug this.

### Affected version

GitHub Copilot CLI 0.0.413-0.

### Steps to reproduce the behavior

_No response_

### Expected behavior

Expected behavior would be for copilot to continue with ongoing work after compaction without needing to reinfer everything from repo state.

### Additional context

Let me know what would be useful to debug.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。