Claude Code ignores memory/CLAUDE.md instructions for mandatory post-change steps (version bump + tag)
Bug Description
Claude Code repeatedly forgets to perform mandatory post-change steps (version bump + git tag + push) despite:
- CLAUDE.md explicitly documenting the version bump and release process
- Auto-memory containing a feedback memory titled "Always tag after version bump" marked as MANDATORY
- Being corrected multiple times across conversations
The memory file literally says "Do NOT present results to the user until this is complete" and lists the exact steps, yet Claude consistently commits and pushes code changes without bumping the version or creating a tag.
Expected Behavior
When CLAUDE.md and memory files contain mandatory workflow steps tied to code changes, Claude should follow them automatically on every commit — not just when reminded.
Actual Behavior
Claude makes the code change, commits, pushes, and responds to the user — completely skipping the version bump and tagging steps documented in both CLAUDE.md and memory. User has to correct this every time.
Steps to Reproduce
- Set up a project with CLAUDE.md containing version bump + tag instructions
- Save a feedback memory reinforcing this as mandatory
- Ask Claude to make a code change and commit/push
- Observe that Claude commits and pushes without bumping version or tagging
Additional Context
This has happened at least 3 times in this project. The memory system and CLAUDE.md are supposed to provide persistent instructions, but they don't seem to be reliably consulted before completing git workflows.
🤖 Generated with Claude Code
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗