Inconsistent CLAUDE.md Loading and Instruction Handling

Resolved 💬 5 comments Opened Jun 29, 2025 by edwin-anderson Closed Aug 20, 2025

Bug Description
Title: CLAUDE.md not loaded with @ symbol and ignored when loaded

Description:
Two related issues with CLAUDE.md handling:

  1. Inconsistent loading: When referencing files with @ symbol (e.g., @src/components/ui/sidebar.tsx), CLAUDE.md is not loaded. When using natural language (e.g., "Please explain sidebar.tsx"), CLAUDE.md is loaded as shown in the output.
  1. Instructions ignored: Even when CLAUDE.md is successfully loaded, Claude Code does not follow the instructions within it. Tested with simple imperative instructions like "start every response with a joke" - the instruction was completely ignored despite the file being read.

Expected behavior:

  • CLAUDE.md should load consistently regardless of reference method
  • Instructions in CLAUDE.md should be followed when loaded

Actual behavior:

  • With @: Only the referenced file is read
  • Without @: Both file and CLAUDE.md are read, but instructions ignored

This affects context awareness and makes CLAUDE.md unreliable for project-specific guidelines.

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 1.0.35
  • Feedback ID: 981096f6-0d37-4ba1-b8d2-a13e58257aa4

View original on GitHub ↗

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