anthropics / anthropics/claude-code

[Bug] Anthropic API Error: Reasoning extraction safeguard false positive on consecutive tool calls

Open
#88,175 4 comments 3 reactions 0 assignees View on GitHub
area:model bug duplicate platform:windows
Dominant language
Python
Stars
145k
Forks
23.1k
PR merge metrics
PR metrics pending

Description

**Bug Description**
Fable 5 safeguards false-positive, error detail [reasoning_extraction], on two consecutive Agent-tool builder dispatches. The prompt was a normal software-build brief (read a gate record, edit FastAPI code, run pytest, commit) with reporting instructions like "return a short summary, do not paste file bodies". Same prompt ran on Sonnet without a flag. Request IDs: req_011CeDgxtc5NNpyUpNAqBwjE and req_011CeDh2SSLMUvwmRscbjAfS.

**Environment Info**
- Platform: win32
- Terminal: null
- Version: 2.1.237
- Feedback ID: 0a1d729f-a9d5-4e49-ae3b-07ee84951d53

**Errors**
```json
[]
```

Contributor guide

No contributing guide indexed for this repository

Research direction

No repository files or tests are named. Start by reproducing the two consecutive Agent-tool builder dispatches with the reported prompt and compare the reasoning_extraction safeguard behavior across the two request IDs. Done means the normal consecutive-tool-call flow no longer produces a false positive, with a regression check covering that sequence.

Written by the indexing model from the issue text.

Assessment

Tech stack
fastapi, python
Domain
api, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.