Pre-edit abstention checks for stale and duplicate bug reports
Agent-maintained issue workflows should add a required pre-edit step that proves the reported bug still exists before the agent changes executable code. A cheap version is a small harness that asks the agent to reproduce the failure, inspect recent commits touching the same area, and return a signed “no code change” result when the repository already satisfies the issue.
FixedBench gives a concrete reason to test this. In already-fixed SWE-bench Verified tasks, agents still made unwanted executable-code edits in 35% to 65% of cases. A direct “Abstain or Fix” prompt improved abstention for some models, but it also caused heavy under-repair on partially fixed issues, with GPT-5.4 mini incorrectly abstaining 93.6% of the time in that setting. The check should therefore score two cases together: stale reports where the right result is no patch, and partial fixes where a patch is still needed.
The first users are teams letting agents open or update maintenance PRs from issue queues. The workflow change is small: require a reproduction note and a “why no edit is safe” path before the agent can push a code diff. Human reviewers still keep merge authority, which matches current GitHub evidence: in 29,585 AI-agent-related PRs, agent-approved PRs totaled only 14 and stayed below 0.1% per tool.