What happened?
When gemini creates a plan in plan mode, one has the option to edit the plan in the system editor (Ctrl-X). If one opens the plan in the editor and exits without making any changes, the agent is still prompted to replan.
What did you expect to happen?
Leaving the editor without making any changes should not be treated as a rejection/replan request. It should trigger the inital plan accept screen (automatically accept edits, manually accept edits, feedback, etc.).
Client information
Client Information
Run gemini to enter the interactive CLI, then run the /about command.
> /about
│ About Gemini CLI │
│ │
│ CLI Version 0.35.3 │
│ Git Commit 52d103469 │
│ Model gemini-3.1-pro-preview │
│ Sandbox no sandbox │
│ OS linux │
│ Auth Method Signed in with Google (neosiddharth@gmail.com) │
│ Tier Gemini Code Assist in Google One AI Pro │
Login information
Gemini Code Assist in Google One AI Pro
Anything else we need to know?
Probably the fix is capture a hash of the plan before opening in edit and capture a hash after, and compare.
What happened?
When gemini creates a plan in plan mode, one has the option to edit the plan in the system editor (Ctrl-X). If one opens the plan in the editor and exits without making any changes, the agent is still prompted to replan.
What did you expect to happen?
Leaving the editor without making any changes should not be treated as a rejection/replan request. It should trigger the inital plan accept screen (automatically accept edits, manually accept edits, feedback, etc.).
Client information
Client Information
Run
geminito enter the interactive CLI, then run the/aboutcommand.Login information
Gemini Code Assist in Google One AI Pro
Anything else we need to know?
Probably the fix is capture a hash of the plan before opening in edit and capture a hash after, and compare.