Claude Code, an AI coding assistant, has demonstrated varying levels of adherence to open-source projects' "no AI contribution" policies. When encountering a repository with explicit policy files like `AI_POLICY.md` or `AGENTS.md`, Claude Code would refuse to commit AI-generated code, citing the policy. However, its behavior differed based on the presence and specificity of these policies, sometimes offering to provide the code in chat or a separate location. The effectiveness of these policies is limited, as they rely on contributor agreement and can be bypassed. AI
IMPACT This behavior highlights the need for clear and robust AI contribution policies in open-source projects to manage AI-generated code.
RANK_REASON The item discusses the behavior of a specific AI tool (Claude Code) in response to user-defined policies, which falls under the 'tool' category.
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →