-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Description
What happened?
When using the /plan command, the agent successfully generates the markdown plan and prompts for approval. Upon approval, it registers the "Plan approved" event and saves the file. However, instead of transitioning into the execution phase, the agent silently drops its context loop and returns to the standard interactive prompt > without producing any code or error messages.
Steps to Reproduce
- Launch
gemini-cli. - Enter plan mode by typing
> /plan. - Provide a task prompt (e.g.,
Make a tmux config file focusing on improving usability...). - Wait for the agent to generate the plan and approve it.
- Observe the output: the CLI outputs
Plan approved: [file path]but immediately drops back to the empty>prompt.
What did you expect to happen?
After the plan is approved and saved, the agent should automatically transition into the execution phase, following the steps outlined in the generated markdown plan to write the code.
Client information
Client Information
Run gemini to enter the interactive CLI, then run the /about command.
> /about
│ About Gemini CLI │
│ │
│ CLI Version 0.33.1 │
│ Git Commit f59f9e931 │
│ Model Auto (Gemini 3) │
│ Sandbox no sandbox │
│ OS linux │
│ Auth Method Logged in with Google (b######t@gmail.com) │
│ Tier Gemini Code Assist in Google One AI Pro │ Login information
Google Account
Anything else we need to know?
Environment:
OS: Fedora Linux
CLI Version: v0.33.1
Workaround:
Currently, the generated plan is saved but the agent drops the context. To proceed, I have to manually feed the generated plan back into the prompt to force execution using:
@/path/to/generated/plan.md Implement the steps outlined in this plan.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status