github / github/copilot-cli

Compaction happens at low context usage (e.g. 20%) and don't get reported as an actual checkpoint?

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

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

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

説明

Describe the bug

I keep seeing gpt-5.6 sol getting compacted at like 20% context usage. It shows a message like this and if I run /session checkpoints like it says in the message it says no checkpoints. Well, which is it, did you just add a checkpoint to the session or not?

Image
Affected version

1.0.81

Steps to reproduce the behavior
  1. Use GPT-5.6 Sol for awhile and see it auto-decide to compact
  2. See the session compact message
  3. Type /session checkpoints
Expected behavior

What's the point of having 80% available context when you force compaction at 20%.
I also expect that if you do a compaction it shows up in the list instead of this gaslighting message about there being a checkpoint and then doing the exact recommended command shows nothing.

Additional context

Windows Terminal on x64 win11

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

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

はじめの一歩

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

調査の方向性

まず GPT-5.6 Sol で動作を再現します。自動コンパクションメッセージを確認し、説明どおりに /session checkpoints を実行します。コンパクションとチェックポイント報告のエントリーポイントを追跡し、コンパクションのしきい値とメッセージの整合性が取れ、結果として生成されたチェックポイントが一覧に表示されれば、issue は完了とみなします。

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

評価

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

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

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