PC waking from sleep: `/yolo` no longer works; have to approve every request until I restart session
まだ誰も着手していません。
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
Describe the bug
I've noticed several times that if a session is running when pc goes to sleep (e.g. I leave and forgot to /keep-alive) then when I wake it up and return to a session, suddenly /yolo is no longer working: it's asking me to approve every action and entering /yolo has no effect, it keeps requesting permissions for everything. I have to restart the session and then it returns to normal.
Affected version
1.0.81-8
Steps to reproduce the behavior
- Have a session going
- Put PC to sleep
- Wake it up and return to the session to see it in a weird state
- Try forcing
/yolo onagain and see it not apply
I think this is what is causing it, but not 100% sure.
Expected behavior
It should have same set of permissions before/after sleep and should recover gracefully if pc falls asleep on it. Also /yolo on should ALWAYS work.
Additional context
Windows Terminal on Windows 11 x64
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Windows 11 の Windows Terminal でセッションのライフサイクルを再現します。セッションを開始し、PC をスリープさせ、復帰させてから、/yolo on を再試行します。スリープの前後でセッションの権限状態を追跡し、権限が保持され、セッションを再起動せずに /yolo on が有効になることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100