Oracle-strength checks for agent-authored test files
Teams accepting pull requests from coding agents can add a CI or review bot that classifies new and modified test files by oracle strength before review. The first useful version can flag tests with no assertions, non-null checks, boolean-only checks, mock-only checks, and snapshot-only checks, then require a reviewer note or stronger assertion for risky changes.
The case is concrete because agent tests often create a verification illusion. All Smoke, No Alarm studied 86,156 test-file patches from 33,596 agent-authored PRs and found that 80.2% had weak or no explicit oracle signals. The same study found that stronger multi-signal oracles were associated with higher merge likelihood after controlling for agent, PR size, repository stars, task type, and language.
A cheap pilot is to run the classifier only on agent-labeled PRs for two weeks and report three numbers: share of changed test files with no behavior check, share with value or error assertions, and reviewer override rate. The tool does not need to block every weak test. It gives reviewers a targeted warning when a patch adds test files that execute code without checking expected behavior.