Claude Code's AGENTS.md support is gated behind a remote flag and silently fails when telemetry is off
Claude Code reads AGENTS.md only when telemetry is on
Claude Code 2.1.277 announced AGENTS.md support, but the loader is controlled by a remote feature flag (tengu_agents_md_mod) that defaults to false. The author found that setting DISABLE_TELEMETRY=1 or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 silently prevents the local AGENTS.md from being read, with no warning. Setting the variables to 0 doesn't help, and project-level settings.json can't override it. The only workaround is a one-line CLAUDE.md containing @AGENTS.md. The author argues that reading a local file should never depend on telemetry, and at minimum a skipped file should trigger a visible message.
Why it matters: This is a product behavior exposé backed by concrete code evidence, not a rant. The author traced the silent skip to the remote flag tengu_agents_md_mod and confirmed AGENTS.md is ignored when telemetry is off. HKR all hit, but the blast radius is limited to Claude Code users ...