[BUG] claude code keeps creating branches even though my claude.md and memory rules tell explicitly not to do this

Resolved 💬 1 comment Opened May 22, 2026 by mlaass Closed Jun 21, 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?

This is a harness injected message I want to disable.
People have different workflows for different projects.

What Should Happen?

Allow users to disable harness injected rules such as to always create new branches!

Error Messages/Logs

Steps to Reproduce

anytime you create a new feature.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Claude Code v2.1.148

Platform

Anthropic API

Operating System

Other

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗