I have noticed that Cursor started to commit and push automatically after each change.
I have explicit rule to not do that. I also have a command /push specifically for that.
If I to believe Cursor agent - it seems command stuck and being added to context each time.
Steps to Reproduce
I am not sure how to reproduce this reliably
Expected Behavior
Do not execute commands I didn’t instruct to execute
Hey, thanks for the report. Based on your screenshot, the Cursor /push command you used at the start of the conversation got “stuck” in the <cursor_commands> section and was automatically attached to every message after that. Because of this, the agent ran commit and push after every change, even though your rules say it shouldn’t.
This looks like a real bug in how Cursor Commands are passed through a conversation. I’ll share it with the team.
For now, a workaround is to start a new chat if this happens again. That should clear the “stuck” command. We also want to understand if this happens every time or if it was only in that session.
A couple questions to help us debug:
Can you share the contents of your /push command definition?
Can you reproduce this by starting a new chat and running /push once?