anthropics / anthropics/claude-code

[BUG] False positive safeguard trigger on safe coding conversation (reasoning_extraction)

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

Nobody has claimed this yet.

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

Description

Preflight Checklist
  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code
What's Wrong?

Normal coding session (building pixel art project), no sensitive content. Asked about progress and got flagged. Error spreads to every new conversation window. Both Opus 5 and Fable 5.1 affected.

What Should Happen?

Normal coding conversations should not trigger safeguards.

Error Messages/Logs
API Error: Opus 5's safeguards flagged this message. Details: [reasoning_extraction]

fable5.1
Steps to Reproduce
  1. Have custom user preferences set (in Chinese) 2. Work on a normal coding project 3. Ask about progress 4. Get blocked on all subsequent conversations
Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

v2.1.277

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

No response

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

No file or test is named. Start by reproducing the safeguard trigger on Claude Code v2.1.277 with the stated Chinese preferences and a normal coding project, then compare behavior across new conversation windows. Done means safe coding conversations no longer trigger reasoning_extraction or block subsequent windows.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, security
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.