Automatically tuning repository guidance through synthetic bug probes improves coding agent performance by 7.5 percentage points, primarily by helping agents locate correct files rather than improving code quality.
This paper shows that repository guidance files (like AGENTS.md) help coding agents fix bugs, but only if created the right way. The authors introduce probe-and-refine tuning: a method that tests guidance against synthetic bugs and automatically improves it.