2026-11-26 15:47 UTC

Claude Code’s Bash-first workflow may bypass nested repository instructions

state: corroboratedheat: lowuncertainty: mediumrelevance: highcoding-agents instruction-loading agent-harnessesmicrolatencyAnthropic

What is this?

A Claude Code user reported that, in their audit of 480 main sessions and about 1,200 subagent transcripts, nested CLAUDE.md instructions were usually loaded only after Claude used the native Read tool in that directory. The user said Auto Mode’s Bash-first guidance coincided with far fewer nested files loading before edits, and that Bash-based edits also bypassed some PostToolUse hooks. This is a firsthand, single-repository report, not a measure of all users; a linked GitHub issue describes a similar reproduction, but the supplied sources do not establish Anthropic’s confirmation or the issue’s current status. Later sources report AGENTS.md support and a separate rollout error, so the instruction-loading behavior may have changed across versions.

Why it matters

The added reports reinforce that coding-agent behavior around repository instructions can silently depend on file layout and configuration, so users should verify loaded rules; they do not establish how prevalent or consequential the original behavior is across installations.

Current assessment

A user reported auditing 480 main Claude Code sessions and about 1,200 subagent transcripts in one repository, finding nested CLAUDE.md files loaded before the first edit in 10% of sessions with Bash-first guidance versus 79% without it and 80% in older sessions. They report that nested rules loaded through native Read but not Bash file access, and that Bash edits bypassed some Edit/Write-matched hooks. A linked GitHub issue offers a similar firsthand reproduction; neither establishes prevalence across users or current-version behavior. Claude Code later added AGENTS.md support, but reports indicate default handling depends on whether CLAUDE.md is present and can be configured to load both. A new HN item titled “In 1 in 6 repos with both files, Claude Code never loads the AGENTS.md” suggests a potentially broader configuration issue, but no methodology or supporting detail is available in this evidence. The original Read-versus-Bash behavior remains unresolved; users should verify loaded instructions in their installed version and mode, and enforce critical constraints through hooks, wrappers, or CI. Discussion is currently quiet.

Measured heat

now 0 pts/hpeak 2 pts/hcomments 0/hpeers p10momentum: steady3 platformsage 2185h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

08-27 14:00⭐ origin echo-reconstructedThe issue reports that Auto Mode tells Claude to use Bash commands such as cat and sed instead of native Read/Edit/Write tools. Its firsthan
Gabriel Gosselin (gabgoss) on github (echo) · attributed from reddit.post.1wj7v4y
—
09-17 22:05first on r/ClaudeAI · published · +512.1hIn auto mode, your nested CLAUDE.md files are probably not being loaded
microlatency
—
09-18 18:26first on hacker news · published · +532.4hAnthropic finally adds AGENTS.md support to Claude Code
deaux
—
09-17 22:05amplified on r/ClaudeAIreddit.post.1wj7v4y
microlatency
peak 20 · 9 comments · 1% of case engagement
09-18 18:26amplified on hacker newshn.story.49758250
deaux
peak 52 · 10 comments · 3% of case engagement
09-18 19:58amplified on hacker newshn.story.49759414
skwashd
peak 3 · 0 comments · 0% of case engagement
09-18 21:00amplified on hacker news 👑hn.story.49760187
datadrivenangel
peak 740 · 283 comments · 53% of case engagement
09-19 11:30amplified on hacker newshn.story.49765635
tosh
peak 3 · 0 comments · 0% of case engagement
09-20 11:58amplified on hacker newshn.story.49774919
thisisfatih
peak 4 · 0 comments · 0% of case engagement
7 more amplifiers in ainews.case_chain
09-17 22:20our radar first saw it · +512.3hdiscovery anchor: reddit.post.1wj7v4y—
09-19 08:26reached heat=high · +546.4h · via ledger——

Evidence (14) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 redditIn auto mode, your nested CLAUDE.md files are probably not being loaded
ClaudeAI
microlatency209
🟧 echo.github ⭐The issue reports that Auto Mode tells Claude to use Bash commands such as cat and sed instead of native Read/Edit/Write tools. Its firsthanGabriel Gosselin (gabgoss)——
🟧 hnAnthropic finally adds AGENTS.md support to Claude Codedeaux522
🟧 hnClaude Code 2.1.277 adds support for AGENTS.mdskwashd30
🟧 hnClaude Code now reads AGENTS.md if there is no Claude.mddatadrivenangel740283
🟧 hnClaude Code Supports AGENTS.mdtosh30
🟧 hnClaude Code is getting native AGENTS.md supportthisisfatih40
🟧 hnWhat Claude Code's AGENTS.md fallback does not coversamplexBro30
🟧 hnClaude Code reads AGENTS.md only when telemetry is onpszypowicz486284
🟠 redditI read my Claude Code transcripts to find where the tokens went. Caveman would have saved 1%. The real leak was 4 things nobody talks about.
ClaudeAI
mudmohammad010
🟠 redditHeads-up: Claude Code ignores your AGENTS.md if you also have a CLAUDE.md (plus the 4-stage workflow I use)
ClaudeAI
bestpromptfinder06
🟠 redditPSA: back up your CLAUDE.md files, they're usually outside git
ClaudeAI
SocietyAdorable1736312
🟠 redditIf your repo has both AGENTS.md and CLAUDE.md, Claude Code ignores AGENTS.md by default
ClaudeAI
vinishkapoor110
🟧 hnIn 1 in 6 repos with both files, Claude Code never loads the AGENTS.mdrshoustak30

Interpretation history

Decision trace