When an AI agent writes both the implementation and the property tests, how do you catch wrong assumptions?
Reading the discussion on false computer-checked proofs today hit close to home for coding agents.
Right now, a popular workflow is telling an agent: "Implement this billing/rate-limit function and write Hypothesis property tests to prove it handles all edge cases."
The trap is obvious once it bites you: if the agent misunderstands an edge case (say, inclusive vs exclusive date bounds, or rounding half-up vs half-even), it faithfully writes that exact same bug into both the function and the test assertion. Everything turns green in CI, and the bug still ships.
How are teams separating spec authoring from code generation so automated tests actually catch flawed assumptions?