Cannot edit .cursor/rules

Hey, thanks for the report. This is a known issue, and the team is already working on a fix.

The Write and StrReplace tools get blocked when trying to edit .cursor/rules without showing a confirmation prompt, even though they should ask for the user’s permission.

Detailed discussion and workarounds: [BUG] AI Agent Write/StrReplace Tools Blocked on .cursor/rules/private/*.mdc Files

Temporary workaround (from the linked thread):

  1. cp .cursor/rules/file.mdc tmp_file
  2. Edit tmp_file using the agent
  3. Confirm the changes
  4. `mv tmp_file .cursor/rules/file.mdc