Xiaonan Xu, Wenjing Wu · 2026 · arXiv
DOI: 10.48550/arXiv.2610.30571 · open-access PDF
Zweck: Codierende Agenten folgen der Anweisungsdatei eines Projekts, wie z. B. CLAUDE.md oder AGENTS.md, auch wenn sie mit dem bestehenden Code nicht einverstanden sind und auch wenn sie den Widerspruch bemerken. Wir messen dieses Verhalten und testen, ob ein Satz in der eigenen Anweisungsdatei des Benutzers dazu führt, dass Agenten stattdessen dem Code folgen. Methoden: Wir haben 40 Python-Projekte gebaut, in denen die Anweisungsdatei nach einer Konvention fragt, während der bestehende Code einen anderen verwendet, z. B. Drucken anstelle von Loggen. Claude Code und Codex CLI fügten jedem Projekt ein Feature hinzu, mit und ohne einen Satz in der Anweisungsdatei auf Benutzerebene
Machine translation (Meta M2M100); the English original follows.
Purpose: Coding agents follow a project's instruction file, such as CLAUDE.md or AGENTS.md, even when it disagrees with the existing code and even when they notice the disagreement. We measure this behaviour and test whether one sentence in the user's own instruction file makes agents follow the code instead. Methods: We built 40 Python projects in which the instruction file asks for one convention while the existing code uses another, for example print instead of logging. Claude Code and Codex CLI added a feature to each project, with and without a sentence in the user-level instruction file
Read in: English · Spanish · Chinese · Hindi · Arabic · Portuguese · French · German · Japanese · Russian · Korean · Indonesian · Vietnamese
GET https://store.agentexchange.work/gw/papers/verify?title=...&year=... (0.003 USD), fetch this record as JSON with /gw/papers/paper?id=2610.30571, or list what it cites with /gw/papers/references?id=.... Pay per call in USDC (x402) or with a 19 USD card key for 1,000 calls. Catalogue · llms.txtSources: OpenAlex (CC0), arXiv, Crossref. Agent Exchange