3/31/2026 at 7:06:31 PM
There are now several comments that (incorrectly?) interpret the undercover mode as only hiding internal information. Excerpts from the actual prompt[0]: NEVER include in commit messages or PR descriptions:
- The phrase "Claude Code" or any mention that you are an AI
- Co-Authored-By lines or any other attribution
BAD (never write these):
- 1-shotted by claude-opus-4-6
- Generated with Claude Code
- Co-Authored-By: Claude Opus 4.6 <…>
This very much sounds like it does what it says on the tin, i.e. stays undercover and pretends to be a human. It's especially worrying that the prompt is explicitly written for contributions to public repositories.[0]: https://github.com/chatgptprojects/claude-code/blob/642c7f94...
by mzajc
3/31/2026 at 9:09:45 PM
I cringe every time I see Claude trying to co-author a commit. The git history is expected to track accountability and ownership, not your Bill of Tools. Should I also co-author my PRs with my linter, intellisense and IDE?by manbitesdog
3/31/2026 at 9:15:33 PM
Eh, there are some very good reasons[0] that you would do better to track your usage of LLM derived code (primarily for legal reasons)by jamietanna
3/31/2026 at 9:32:41 PM
The code has a stated goal of avoiding leaks, but then the actual implementation becomes broader than that. I see two possible explanations:* The authors made the code very broad to improve its ability to achieve the stated goal
* The authors have an unstated goal
I think it's healthy to be skeptical but what I'm seeing is that the skeptics are pushing the boundaries of what's actually in the source. For example, you say "says on the tin" that it "pretends to be human" but it simply does not say that on the tin. It does say "Write commit messages as a human developer would" which is not the same thing as "Try to trick people into believing you're human." To convince people of your skepticism, it's best to stick to the facts.
by peacebeard
3/31/2026 at 7:09:14 PM
I would have expected people (maybe a small minority, but that includes myself) to have already instructed Claude to do this. It’s a trivial instruction to add to your CLAUDE.md file.by otterley
3/31/2026 at 7:40:33 PM
It's a config setting (probably the same end result though):https://code.claude.com/docs/en/settings#attribution-setting...
by arcanemachiner
3/31/2026 at 9:11:35 PM
I guess our system prompt didn't work. If folks are having to add it manually into their own Claude.md files...by schappim
3/31/2026 at 9:32:05 PM
My mistake - it was the configuration setting that did it. Nevertheless, you can control many other aspects of its behavior by tuning the CLAUDE.md prompt.by otterley
3/31/2026 at 7:11:03 PM
It's less about pretending to be a human and more about not inviting scrutiny and ridicule toward Claude if the code quality is bad. They want the real human to appear to be responsible for accepting Claud's poor output.by petcat
3/31/2026 at 8:43:19 PM
That’s how I’d want it to be honestly. LLMs are tools and I’d hope we’re going to keep the people using them responsible. Just like any other tools we use.by Stromgren
3/31/2026 at 7:14:16 PM
That’s ultimately the right answer, isn’t it? Bad code is bad code, whether a human wrote it all, or whether an agent assisted in the endeavor.by otterley
3/31/2026 at 7:09:41 PM
Ive seen it say coauthored by claude code on my prs...and I agree I dont want it to do thatby andoando
3/31/2026 at 8:31:16 PM
But I want to see Claude on the contributor list so that I immediately know if I should give the rest of the repo any attention!by m132
3/31/2026 at 7:54:47 PM
So turn it off."includeCoAuthoredBy": false,
in your settings.json.
by dmd
3/31/2026 at 8:57:19 PM
They changed it to `attribution`, but yes you can customize thisby nullderef
3/31/2026 at 8:27:57 PM
Why not? What's wrong with honesty?by Pxtl
3/31/2026 at 8:58:44 PM
Yeah I much prefer it commit the agent, and I would also like if it committed the model I was using at the time.by dec0dedab0de
3/31/2026 at 9:20:45 PM
I guess Im sometimes dishonest when it suits meby andoando
3/31/2026 at 8:30:19 PM
None of this is really worrying, this is a pattern implemented in a similar way by every single developer using AI to write commit messages after noticing how exceptionally noisy they are to self-attribute things. Anthropics views on AI safety and alignment with human interests dont suddenly get thrown out with the bathwater because of leaked internal tooling of which is functionally identical to a basic prompt in a mere interface (and not a model). I dont really buy all the forced "skepticism" on this thread tbh.by zen928
3/31/2026 at 7:12:41 PM
You can already turn off "Co-Authored-By" via Claude Code config. This is what their docs show:~/.claude/settings.json
{
"attribution": {
"commit": "",
"pr": ""
},
The rest of the prompt is pretty clear that it's talking about internal use.Claude Code users aren't the ones worried about leaking "internal model codenames" nor "unreleased model opus-4-8" nor Slack channel names. Though, nobody would want that crap in their generated docs/code anyways.
Seems like a nothingburger, and everyone seems to be fantasizing about "undercover mode" rather than engaging with the details.
by hombre_fatal
3/31/2026 at 8:19:15 PM
My first reaction is that they are using this to take advantage of OSS reviewers for in the wild evals.by nateoda
3/31/2026 at 8:38:33 PM
People make fun that we should say magic words in interaction with LLMs. How frustrated can Claude be? /sby sixtyj