@file in the rules file (.mdc) does not work in manual mode as expected

I have the following situation: I have a rules file called “app-frontend.mdc” with the following content:

@file1.js
@file2.js
@file3.js
@file4.js

In manual mode using gemini-2.5.pro-max and adding @app-frontend.mdc does not seem to work properly.

Test 1:
I add @app-frontend.mdc in the chat and make a request.
The response does not work as expected; it does not make the necessary changes to the files.

Test 2:
I manually add the context “@file1.js @file2.js @file3.js @file4.js” in the chat and make a request.
Everything works as expected.

Could you check this?
Thanks.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.