PC waking from sleep: `/yolo` no longer works; have to approve every request until I restart session
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 11.2k
- Forks
- 1.9k
- Avg merge
- 14h 16m
- Merged PRs (30d)
- 6
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the session lifecycle in Windows Terminal on Windows 11: start a session, let the PC sleep, wake it, and retry /yolo on. Trace the session permission state before and after sleep and verify that permissions persist and /yolo on takes effect without restarting the session.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100