-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Gemini made changes in /plan mode. #21709
Copy link
Copy link
Labels
area/agentIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent QualityIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent Qualitystatus/need-triageIssues that need to be triaged by the triage automation.Issues that need to be triaged by the triage automation.status/possible-duplicateworkstream-rollupLabel used to tag epics and features that are associated with one of the three primary workstreamsLabel used to tag epics and features that are associated with one of the three primary workstreams🔒 maintainer only⛔ Do not contribute. Internal roadmap item.⛔ Do not contribute. Internal roadmap item.
Metadata
Metadata
Assignees
Labels
area/agentIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent QualityIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent Qualitystatus/need-triageIssues that need to be triaged by the triage automation.Issues that need to be triaged by the triage automation.status/possible-duplicateworkstream-rollupLabel used to tag epics and features that are associated with one of the three primary workstreamsLabel used to tag epics and features that are associated with one of the three primary workstreams🔒 maintainer only⛔ Do not contribute. Internal roadmap item.⛔ Do not contribute. Internal roadmap item.
Type
Fields
Give feedbackNo fields configured for Task.
Projects
StatusShow more project fields
Closed
What happened?
I did have YOLO toggled on previously, but then I switched to plan mode (/plan) which was visually confirmed. I asked for a specific plan, but instead of providing the plan, Gemini made the changes directly.
[ACTION REQUIRED] 📎 PLEASE ATTACH THE EXPORTED CHAT HISTORY JSON FILE TO THIS ISSUE IF YOU FEEL COMFORTABLE SHARING IT.
gemini_bug.json
What did you expect to happen?
When I switch to /plan, I expect to be presented with a plan to approve, deny, or alter prior to any changes being made, even if previously I had been in YOLO.
Client information
Login information
No response
Anything else we need to know?
No response
https://geminicli.com/docs/reference/policy-engine/#approval-modes
The rule will only be active if the CLI is running in one of its specified modes. If a rule has no modes specified, it is always active.If don't want the rules to apply to Plan mode, you need to specify the modes it should apply to: