PulseAugur
EN
LIVE 12:20:28

Codex and Claude Code struggle with nested instructions in monorepos

A technical analysis reveals that both Codex and Claude Code exhibit inconsistent behavior when loading instructions from nested directories within a monorepo. Across 76 test runs, neither CLI reliably loaded all instructions, with Claude Code sometimes failing to load AGENTS.md and Codex not loading files in subdirectories by default. The analysis proposes simple fixes, including creating symbolic links for Claude Code and configuring fallback filenames for Codex, to ensure consistent instruction loading. AI

IMPACT Highlights potential issues in how code agents interpret and load instructions from complex project structures.

RANK_REASON Analysis of specific tool behavior and proposed fixes.

Read on dev.to — Claude Code tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Codex and Claude Code struggle with nested instructions in monorepos

COVERAGE [1]

  1. dev.to — Claude Code tag TIER_1 English(EN) · Jangwook Kim ·

    AGENTS.md vs CLAUDE.md loading across 76 runs

    <p>An empty repository, a root <code>AGENTS.md</code>, and one line in <code>packages/api/note.txt</code>. If you maintain Codex and Claude Code instructions in a monorepo, half may not load where you think. Across 76 runs on 2026-08-16, I measured how both CLIs walk the filesyst…