# Readonly files with reasoning

**URL:** <https://forum.cursor.com/t/readonly-files-with-reasoning/146057>\
**Category:** Feature Requests\
**Created:** [December 12, 2025, 9:13am UTC](https://forum.cursor.com/t/readonly-files-with-reasoning/146057 "2025-12-12T09:13:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DerKorb](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/derkorb/32/14772_2.png) [@DerKorb](https://forum.cursor.com/u/DerKorb)\
**Post date:** [December 12, 2025, 9:13am UTC](https://forum.cursor.com/t/readonly-files-with-reasoning/146057/1 "2025-12-12T09:13:33Z")

</div>

### Feature request for product/service

Cursor IDE

### Describe the request

I have a lot of generated files in my project which the agent continuously wants to edit directly, even if I give it instructions about them. It would be very helpfull, if I could set these up directly in cursor via rules, so if the agent tried to edit a file matching a certain glob it would get a matching response aka “do not edit this file directly, you need to modify code generation here: …”
