Plan mode build stop and says plan mode should not build any code

Hey, thanks for the report.

We’ll need a bit more info to diagnose this:

  • Cursor version: Help > About Cursor > Copy
  • Which model are you using in Plan mode?
  • Settings: Cursor Settings > Agents > Auto-Run Mode (is it enabled?), plus the status of External-File Protection and Dotfile Protection
  • Console logs: Help > Toggle Developer Tools > Console: screenshot or copy the errors right when it stops
  • Request ID for the latest request (Chat context menu > Copy Request ID)

Also, please confirm:

  • Does the Agent fully stop after each TODO, or is it asking for confirmation before editing files?
  • Did this start after a Cursor update?

This may be related to a known Plan mode issue. See: Running an agent from a plan now treats edits as external files and require conformation for each edit