Risk-triggered differential tests for agent-authored pull requests
Open-source maintainers can map each contribution risk class to an executable testing obligation in the repository manifest. For ordinary library changes, the agent would identify modified functions and public entry points, generate old-versus-new tests, and attach the observed behavioral differences plus union coverage. Compiler or toolchain changes could instead trigger region-level fuzzing that records the program structures and options needed to reach relevant coverage gaps. DiffTestGen exposed differences in 78.2% of 463 pull requests, while GapForge’s coverage-gap targeting found 12 compiler failures; the Agent Governance Manifest separately showed that explicit risk and evidence rules improved reviewers’ exact risk-label recovery.
The concrete change is to add fields such as affected execution targets, permitted behavioral changes, required test mode, coverage evidence, and unresolved gaps to the manifest, with maintainers retaining the acceptance decision. A low-cost check is to replay recent agent-authored pull requests through this policy and compare newly exposed behavior and review time with the project’s current generic CI evidence.