### Describe the bug
- Dominant language
- Shell
- Stars
- 11.2k
- Forks
- 1.9k
- Avg merge
- 14h 16m
- Merged PRs (30d)
- 6
Description
### Describe the bug
When changing permissions from auto mode back to interactive, the agent keeps making code changes without permission requests as it does normally in "interactive mode". I have observed this behavior for multiple models.
### Affected version
1.0.78
### Steps to reproduce the behavior
go from auto mode where it implements something, back to interactive and do more code changes then
### Expected behavior
_No response_
### Additional context
_No response_
_Originally posted by @hopfinjo in https://github.com/github/copilot-cli/issues/4388_
Contributor guide
Research direction
Start by reproducing the permission transition described for version 1.0.78: make a change in auto mode, switch back to interactive mode, and make another change. Trace how the CLI stores and applies the permission mode; done means interactive mode requests permission for subsequent code changes across the affected models.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100