anthropics / anthropics/claude-code

[Bug] Anthropic API Error: Opus 5 (1M context) safeguards incorrectly flagging git configuration requests

Open
#95,451 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

api:anthropic area:model bug duplicate platform:linux
Dominant language
TypeScript
Stars
147k
Forks
24k
PR merge metrics
PR metrics pending

Description

Bug Description

I asked:

  • git init and stage everything so I can review; also set origin to github byjg/remotecontrol-webgame

then I edit to

  • I am asking you to git init the current code you changed already, stage the code in the git init you did and the set the git origin to the git repository I am the owner (byjg) names remotecontrol-webgame. Is that difficult?

Environment Info

  • Platform: linux
  • Terminal: vte-based
  • Version: 2.1.276
  • Feedback ID: 2e53b0aa-e421-4ded-883c-67021a970ad2

Errors

API Error: Opus 5 (1M context)'s safeguards flagged this message (https://www.anthropic.com/legal/aup). This sometimes happens with safe, normal conversations. Claude Code can't respond to this message with Opus 5 (1M context).

  Double press esc to edit your last message, or try a different model with /model.

  Send feedback with /feedback or learn more: https://support.claude.com/en/articles/16049681

  Details: `[reasoning_extraction]`

  Request ID: req_011CfBZub9uRxuUds18PYeqM

also Request ID: req_011CfBa3MQPjj1u3FZQrSiub

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the two reported git configuration requests on Linux with Opus 5 (1M context), using the provided feedback and request IDs for comparison. Check whether the same safeguards error occurs and document a verified outcome where legitimate git requests are no longer incorrectly blocked.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
ai, api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.