/rewind reports nothing to rewind in forked sessions
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
### describe the bug
after forking a session with `/fork`, running `/rewind` inside the forked session reports:
```text
nothing to rewind yet. start a conversation first.
```
this happens even though the forked session visibly contains the copied conversation history from the original session.
### steps to reproduce
1. create a clean git repository.
2. start copilot cli with experimental mode enabled.
3. ask copilot to make a small file change.
4. run `/fork`.
5. in the forked session, run `/rewind`.
### expected behavior
`/rewind` should either rewind the last turn available in the forked session, or clearly explain that rewind history is intentionally not copied into forked sessions.
### actual behavior
the forked session shows:
```text
nothing to rewind yet. start a conversation first.
```
### notes
i reproduced this locally with copilot cli 1.0.46 in a temporary git repository. this was originally noticed by @seanf while discussing #2058.
コントリビューションガイド
調査の方向性
関連するエントリポイントは /fork コマンドと /rewind コマンドです。実験モードを有効にしたクリーンなリポジトリでシーケンスを再現し、その後、fork されたセッションが会話履歴と rewind 履歴をどのように公開するかを追跡してください。完了条件は、/rewind が利用可能な直前のターンまで巻き戻すか、rewind 履歴がコピーされていないことを明確に報告することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- github, shell
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100