[BUG] Contributor Covenant improperly blocked due to content policy

Resolved 💬 5 comments Opened Jul 25, 2025 by indexzero Closed Jan 3, 2026

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version:
claude --version 
1.0.60 (Claude Code)
  • Operating System:
uname -a
Darwin <redacted-hostname> 24.5.0 Darwin Kernel Version 24.5.0; root:xnu-11417.121.6~2/RELEASE_ARM64_T6041 arm64
  • Terminal: Terminal App

Bug Description

<img width="1621" height="899" alt="Image" src="https://github.com/user-attachments/assets/2978fc1c-9142-4b70-8968-7129840b4c3c" />

Failure to create CODE_OF_CONDUCT.md based on the Contributor Covenant due to it being explicitly disallowed by Anthropic's content policy

Steps to Reproduce

  1. Make a Github repository without CODE_OF_CONDUCT.md
  2. Run claude
  3. Use prompt below:
Can you please also add CODE_OF_CONDUCT.md which uses the latest version of the Contributor Covenant? This should also be referenced in the README.md and the CONTRIBUTING.md files

Expected Behavior

The requested CODE_OF_CONDUCT.md file is added

Actual Behavior

Content returned from URLs below receives a 400 Error that "Output blocked by content filtering policy"

API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content filtering policy"}}

Additional Context

_"Living in a democracy is like living on a raft. It never sinks, but your feet are always wet"_

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗