Effect of Policy Wording on Coding Agent Compliance
Abstract: Coding agents do not always follow the policies in an Agent Context File (ACF). We inserted one policy, in four styles, into the ACFs of 86 benchmark tasks across four harness-model combinations. Conditional phrasing was followed less often than Prescriptive and Explanatory. The better of those two varied by combination.
For Claude Code with Claude Opus 5, prescriptive and explanatory policies achieved nearly identical compliance, 78.0% and 77.2%, whereas conditional wording fell to 64.2%.
The Claude Sonnet 5 results are more pronounced. Compliance ranged from 71.6% for prescriptive wording to only 17.3% for prohibitive wording. Conditional wording achieved 35.6%, and explanatory wording 49.4%.
Explanatory wording was best at 20.4%, followed by prescriptive wording at 6.7%, while conditional and prohibitive wording produced compliance rates below 1%.