Allow cursor to read files but not edit them

Feature request for product/service

Chat

Describe the request

The only way to prevent Agent from WRITE-ing files is to append candidates in .cursorignore. That however also prevents Agent from READ-ing them.

pls fix

Operating System (if it applies)

MacOS

1 Like

Agreed! For context, we disable code writing in sensitive parts of our code to avoid issues around AI generated code and IP, not due to fear of leaking the data.

A READ/WRITE pattern would be beneficial.

Just use ask mode! Try clicking the “agent” button and switch to ask.

Does that ignore .cursorignore? We have global cursorignore in place in a large monorepo to avoid AI generated code leaking into certain parts.

This is not a solution. I want to use Agent mode.

bump