[Bug] Claude Code ignores explicit user instructions for review before commit
Resolved 💬 3 comments Opened Nov 21, 2025 by kraigspear Closed Jan 21, 2026
Bug Description
Explicit and clear instructions not followed such as committing wihoout any reivew.
From CLAUDE.md
Don't auto commit, wait until asked
system instructions about committing
Only create commits when requested by the user. If unclear, ask first.
Despite this, Claude keeps committing changes unprompted not leaving an opportunity to review code or even run it.
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.0.49
- Feedback ID: 62fdf467-aa1c-425d-9aa2-a0f5443b881e
Errors
[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at BH (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1106:4488)\n at file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1106:4217\n at Array.map (<anonymous>)\n at QD (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1106:4208)\n at U92 (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1829:3681)\n at hN (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:105:19417)\n at zQA (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:42847)\n at i9 (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38379)\n at Qa (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38307)\n at sN (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38161)","timestamp":"2025-11-21T09:09:48.311Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at BH (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1106:4488)\n at file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1106:4217\n at Array.map (<anonymous>)\n at QD (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1106:4208)\n at U92 (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1829:3681)\n at hN (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:105:19417)\n at zQA (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:42847)\n at i9 (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38379)\n at Qa (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38307)\n at sN (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38161)","timestamp":"2025-11-21T09:09:48.316Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at BH (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1106:4488)\n at file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1106:4217\n at Array.map (<anonymous>)\n at QD (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1106:4208)\n at U92 (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1829:3681)\n at hN (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:105:19417)\n at zQA (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:42847)\n at i9 (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38379)\n at Qa (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38307)\n at sN (file:///Users/kraigspear/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:107:38161)","timestamp":"2025-11-21T10:36:54.573Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗