Agent should edit/create only mentioned by '@' files

How to setup Cursor to edit, scan or create ONLY files which are mentioned by ‘@’ not others.

Hey, are you using the Agent? If you need control over the files, use Edit or Ask mode.