6 ms·
technically you're correct, but look at the prompt https://github.com/alex000kim/claude-code/blob/main/src/utils/undercover.ts#L39-L69 https://github.com/alex00
by alex000kim 6mo ago
technically you're correct, but look at the prompt https://github.com/alex000kim/claude-code/blob/main/src/utils/undercover.ts#L39-L69 https://github.com/alex000kim/claude-code/blob/main/src/util...
it's written to _actively_ avoid any signs of AI generated code when "in a PUBLIC/OPEN-SOURCE repository".
Also, it's not about you. Undercover mode only activates for Anthropic employees (it's gated on USER_TYPE === 'ant', which is a build-time flag baked into internal builds).
- simianwords 6mo agoI don’t know what you mean. It just informs to not use internal code names.
- giancarlostoro 6mo agoI agree with you, I think people are overthinking this.
- robflynn 6mo agoIt also says don't announce that you are AI in any way including asking it to not say "Co-authored by Claude". I read the file myself. I'm still inclined to think people might be overreacting to that bit since it seems to be for anthropic-only to prevent leaking internal info. But I did read the prompt and it did say hide the fact that you are AI.
- simianwords 6mo agoWhy does that matter though
- robflynn 6mo agoThere are probably different reasons for different people. I can definitely see the angle that trying to specifically pretend to not be AI when contributing to open source could be seen as a bad thing due to the open source supply chain attacks, some AI-driven, that we've been having, not to mention the AI-slop PR spam. But, I also get Anthropic's side that when they're contributing they don't want their internals leaked. If it had been left at that, that's fine, but having it pretend like it's not AI at all rubs me a little bit the wrong way. Why try to hide it?
- simianwords 6mo ago>There are probably different reasons for different people. I can definitely see the angle that trying to specifically pretend to not be AI when contributing to open source could be seen as a bad thing due to the open source supply chain attacks, some AI-driven, that we've been having, not to mention the AI-slop PR spam. But none of the other agents advertise that the commit was done by an agent. Like Codex. Your panic should apply equally to already existing agents like Codex no?
- deleted 6mo ago[deleted]