Formal verification catches broken coding tasks before agents cheat
Biyani and Dvijotham introduce SpecGuard, a system that detects and formally certifies conflicts between a coding task's natural-language description and its tests. On conflicted SWE-bench tasks, SpecGuard detects up to 72.8% of conflicts and formally certifies up to 51.1%, with a nearly fivefold lower conflict miss rate than model-based judgment, providing a pre-execution safety check against reward hacking.
