New files are created instead of changing existing ones

Hey everyone. First post of mine. :slight_smile:

I am facing a frustrating issue lately, cursor is creating new files with the same name, instead of changing existing ones. I’ve tried setting up rules and stating in the prompt to only modify existing files, but nothing works.

One potential reason could be that I am working in a workspace with two Swift projects inside. Could that be the source of the problem?

Did anyone face the same issue and have you found a way to fix it?

Here is the structure: