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: Testing showed Claude Code's AGENTS.md loading sits behind a remote flag and is silently skipped when telemetry is off, plus a CLAUDE.md import trick to get around it.