Skip to content

Cline is Writing and Changing Code In Plan Mode #3934

@fracka

Description

@fracka

What happened?

Cline is writing and changing code while in Plan mode. No feedback or questions were asked, just direct code modifications. This is unexpected behavior as Plan mode is intended for planning and information gathering, not for making direct code changes. I expected Cline to only discuss the plan and ask clarifying questions in Plan mode, and only make code changes in Act mode.

Steps to reproduce

  1. Select Plan mode.
  2. Start a task describing what you want to create.
  3. Observe Cline making code changes (e.g., using write_to_file or replace_in_file) without explicit approval or switching to Act mode.
    (Additional context: This seems to be happening more often. The model used was Google Gemini.)

Relevant API REQUEST output

N/A

Provider/Model

gemini / gemini-2.5-flash-preview-05-20

Operating System

darwin 24.5.0

System Info

VSCode: 1.100.2, Node.js: v20.19.0, Architecture: arm64

Cline Version

3.17.8

Additional context

The user provided a video demonstrating this behavior: https://share.zight.com/OAu17po6. When asked directly about this behavior, Cline responded, "I am not suppose to be able to so if it is happening it is not my fault."

It was weird, it didn't want to submit this report and tried to go off and install some npm install package also will in plan mode??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions