Cursor edited a file while in plan mode

Hi Carlos,

Thank you for reporting this with the request ID and screenshot. This is a known issue where the agent can occasionally make edits while in Plan mode instead of restricting itself to planning only. Our team is aware of this and investigating.

In the meantime, a few workarounds that may help:

  • Start a fresh chat when entering Plan mode, especially if you’ve been in a longer conversation. The mode constraint is more reliable at the start of a new session.

  • Use explicit plan-oriented phrasing like “update the plan to include X” rather than general action language, which can help reinforce the boundary.

You may also find this related thread helpful: Plan mode triggers code changes

Best,
Mohit