Skip to content

Files are being edited while in plan mode & displaying plan mode state #23858

@jfietz

Description

@jfietz

What happened?

My chat.json contains a few too many details, but here a redacted version of rg plan\|tool chat.json.

chat.txt

I was in planning mode and noticed the model was modifying files. When challenged, it said it was no longer in planning mode:

Image

What did you expect to happen?

Not modify files when in read-only

Client information

  • CLI Version: 0.34.0
  • Git Commit: N/A
  • Session ID: 7ba69486-0838-4672-8d97-d996640a048c
  • Operating System: linux v22.22.1
  • Sandbox Environment: no sandbox
  • Model Version: auto-gemini-3
  • Auth Type: oauth-personal
  • Memory Usage: 542.0 MB
  • Terminal Name: kitty(0.46.0)
  • Terminal Background: #1e1e2e
  • Kitty Keyboard Protocol: Supported

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

Labels

area/agentIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent Qualitystatus/needs-infoworkstream-rollupLabel used to tag epics and features that are associated with one of the three primary workstreams🔒 maintainer only⛔ Do not contribute. Internal roadmap item.

Type

No fields configured for Task.

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions