Reviewing AI-Generated Code: Start With the Spec | Certora
As AI-generated code outpaces human reading capacity, Certora CEO Mooly Sagiv argues that engineering review must shift its focus from the code diff to the formal specification. In a demonstration using an ERC-4626 USDC vault, an AI agent inferred specifications from a prompt, translated them into Certora's formal verification language, and helped uncover a subtle rounding bug. Sagiv notes that while frontier models can effectively translate informal specs into formal ones, defining what the system should do remains the hardest part and requires human oversight. Open article →