test: re-anchor the review-starts-on-red-validate mutant after the r1 verdict split

The mutant registry pointed at the pre-r1 verdict helper that no longer
exists; the anchor test caught it in CI. The patch now removes the red
branch of the completed-run check.

Issue: #510
User-Visible: no
This commit is contained in:
Codex
2026-09-09 15:14:20 +00:00
committed by claude[bot]
parent 97dfa457a4
commit cbece6324f
+2 -2
View File
@@ -8143,8 +8143,8 @@ const MUTANT_DEFINITIONS = [
+ 'any completed run as green spends the review cycle on code CI already rejected (#510 AC2)',
patches: [{
file: 'scripts/validate-gate.mjs',
find: " result: run.conclusion === 'success' ? 'green' : 'red',",
replace: " result: 'green', // mutant: completed means green",
find: " if (run.conclusion !== 'success') return { result: 'red', url: run.url, note: `dispatch-прогон завершился: ${run.conclusion}` };",
replace: " // mutant: completed means green — a red dispatch falls through to the job check",
}],
},
{