Claude Code refuses commits with 'OpenClaw': I reproduced it on my real repo and the behavior is weirder than the viral post describes
The article details how Claude Code blocks git commits containing the string 'OpenClaw' in the message, with no error or explanation, sparking concerns about censorship and transparency. The author reproduces the behavior in a real repository and finds it's not a simple string match—case sensitivity, position in the commit, and capitalization affect whether a commit is blocked. The author argues this reflects active alignment at the agent action level, not just a text filter, suggesting deeper content control mechanisms in AI coding tools.
- ▪Claude Code blocks commits with 'OpenClaw' in the message without error or explanation.
- ▪Lowercase 'openclaw' and all-caps 'OPENCLAW' are allowed, but 'OpenClaw' and 'openClaw' are blocked.
- ▪The commit body is scanned for the string, but filenames containing 'openclaw' do not trigger the block.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 885942) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Juan Torchia Posted on May 1 • Originally published at juanchi.dev Claude Code refuses commits with 'OpenClaw': I reproduced it on my real repo and the behavior is weirder than the viral post describes #english #typescript #claudecode #anthropic Claude Code refuses commits with 'OpenClaw': I reproduced it on my real repo and the behavior is weirder than the viral post describes Something was nagging at me when I read the original post.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).