Unwanted features created secretly

Hey,

i have sometimes the situation, that the agent with sonet 3.7 creates unasked features without telling me.

For example:
It was working on a change of a button and did this as expected. But as i checked the fronend and the code, i noticed, that cursor has created a complete health check component for my api endpoints. :thinking:

I ask the model were does it come from. And then it apologized for adding it secretly and unasked. :lying_face:

How can i prevent such behavior?

I just started using Cursor today and it was adding some things in that I did not recognize so I started to tell it “document each package and why it’s required and where it’s used in the readme.md”

It’s interesting and helpful …

I want it to do that ANY time it adds a package reference but haven’t figured that out yet :wink: