Claude Code's AGENTS.md support is gated behind a remote flag and silently fails when telemetry is off
What happened
Claude Code 2.1.277 说支持 AGENTS.md 了,但作者实测发现,这个功能被一个叫 tengu_agents_md_mod 的远程开关控制,默认是关的。只要你在环境变量里关了遥测或非必要流量,本地的 AGENTS.md 文件就会被跳过,而且没有任何提示。作者用金丝雀词测试确认了这一点,并指出在 Bedrock、Vertex 等第三...
Coverage
Follow the reports to see the story from different sides.
- Hacker News front pagePickClaude Code's AGENTS.md support is gated behind a remote flag and silently fails when telemetry is off
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.