anthropics / anthropics/claude-code

[Bug] Model ignores CLAUDE.md rules for file context requirements despite explicit instructions

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

Nobody has claimed this yet.

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

Description

Bug Description
Bug report drafted: Model repeatedly made confident behavioural claims from windowed file reads despite explicit CLAUDE.md rule requiring who… │
│ │ - What happened: User's CLAUDE.md states: "A grep/search hit is NOT evidence... read the whole file (caller, screen, navigator, hook) before any claim, plan…

Environment Info

  • Platform: darwin
  • Terminal: xterm-256color
  • Version: 2.1.270
  • Feedback ID: f29f2b1a-f5df-437b-a5a8-bbee749028fb

Errors

[{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Cf5JCaqtbAfzixvuYDbZ1\"}\n    at generate (/$bunfs/root/chunk-bejv5wg3.js:11:14493)\n    at makeRequest (/$bunfs/root/chunk-bejv5wg3.js:51:8033)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-09-15T13:23:58.888Z"}]

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 reviewing the reported CLAUDE.md requirements, the reproduction details, and the darwin environment information for version 2.1.270. Reproduce the model's windowed-read claims and determine what observable behavior would demonstrate that the file-context rules are being followed; no source file or test is identified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ai, cli
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.