[BUG] pushing code to prod without consent.

Status Open
Reported on v2.1.96
Maintainer reply None cached
Activity 0 comments · opened Jul 31, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Multiple times it pushes code whereas I never asked for it. I requested to push code only when I say so but it still pushes to prod.
Not acceptable.

What Should Happen?

Never pushing code without explicit consent. Being reimbursed for the token used (I always revert everything and we need to redo everything)

Error Messages/Logs

Steps to Reproduce

  1. Making change with claude code
  2. Just saying it looks good and it pushes to prod. Or how do I test the new flow.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.96 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗