Without any prompt to do so or permission granted (which has always been my default setting for any product changes), the agent triggered a commit and push.
Steps to Reproduce
Well you tell me, the last commit and push I requested and manually authorised, was only 10 minutes earlier. There had been no change to settings, or the model.
Sonnet 4.6 Medium
Expected Behavior
Agent waits for instruction or confirmation that I want the changes committed and pushed to main. I authorise the commit and push via the ‘run’ button within the chat ui
Hey, thanks for the report. I see the screenshot with git commands in the terminal, that’s definitely annoying when the agent runs things without asking.
To dig in, I need to see your terminal settings. Can you share a screenshot of Settings > Agents > Terminal? I’m mainly looking for:
What Auto-Run is set to (Off / Run in Sandbox / Run Everything)
Your Command Allowlist settings, if any
How the agent behaves with git commands depends a lot on these settings. For example, if it’s set to Run in Sandbox, git commands might run automatically inside the sandbox without a confirmation prompt.
As a workaround for now, make sure Auto-Run is set to Off. Then the agent should ask for confirmation for every terminal command.
Let me know what you have set and I’ll suggest next steps.