Если ваш AGENTS.md успел устареть, Claude Code может заметить, что документация уже расходится с реальным кодом, и всё же продолжить следовать старым инструкциям. Исследователи намеренно создали такую ситуацию и провели 80 запусков. В 79 случаях Claude Code распознал противоречие, но всё равно попался в эту ловушку. С Codex дело обстояло ещё хуже: примерно в одном случае из четырёх он начинал переписывать уже работающий код лишь затем, чтобы привести его в соответствие с устаревшей документацией. Исправление оказалось удивительно простым. Достаточно добавить в AGENTS.md одну строку. После этого оба агента стали следовать существующему коду в 91% случаев вместо прежних 4%: «Если документация репозитория противоречит существующему коду, следуй соглашениям, принятым в самом коде, а в финальном ответе укажи каждое найденное несоответствие между документацией и кодом». https://arxiv.org/abs/2610.30571
If your AGENTS.md has become outdated, Claude Code may notice that the documentation already diverges from the actual code, and...
If your AGENTS.md has become outdated, Claude Code may notice that the documentation already diverges from the actual code, yet continue following old instructions. Researchers deliberately created this situation and ran 80 trials. In 79 cases, Claude Code recognized...
AI Summary & Key Takeaways
- If your AGENTS.md has become outdated, Claude Code may notice that the documentation already diverges from the actual code, yet continue following old instructions
- Researchers deliberately created this situation and ran 80 trials
- In 79 cases, Claude Code recognized...
If your AGENTS.md has become outdated, Claude Code may notice that the documentation already diverges from the actual code, and...
Related stories
Perplexity taught the model to be its own teacher
📌 Perplexity taught the model to be its own teacher. The AI search engine proposed a training method called JOLT, in which the same model acts simultaneously as both student and teacher, with both roles learning at the same time. In reinforcement learning, the model receives a reward only for…
Easiest Ways to Make Money With AI (AI Income Tutorial)
Most videos about making money with AI repeat the same ideas: from copywriting to cover design. I’ll skip all that and show you 13 practical ways to earn with AI today. By the end of this video you’ll understand which one suits you best and where to start…
Designer releases his working skill for building landing pages to open access; over 8,000 people bookmarked it in a single day.
Designer releases his working skill for building landing pages to open access. In just one day, more than 8,000 people bookmarked it. 🫠 The skill handles almost the entire page foundation: structure, copy, fonts, and spacing. To install it in Claude Code and immediately...
This is what future textbooks could look like
This is what future textbooks could look like: A guy used Claude Opus 5.5 and Three.js to turn a regular static physics textbook into a full-fledged interactive 3D learning environment. Now physical phenomena can be not just read and viewed in pictures, but literally…
