Optional project setting: require an AO review approval on the current PR head before AO marks it merge-ready
Split from #4530. Workers can already request AO reviews with ao review trigger (#6262).
Still open: an optional per-project setting so AO only marks a PR merge-ready after an AO review approved the current head commit. A new push would need a fresh approval.
@Rishet11 Can I work on this? I’m mapping the existing review/head-fencing and readiness paths.
Proposed scope: a default-off project setting that prevents AO from marking a PR merge-ready without a completed AO approval for its current head; pushes make the previous approval insufficient, and leaving the setting off preserves current behavior.
Please confirm the policy scope: should this also guard AO’s merge command, and does one current-head AO approval suffice or must all configured AO reviewers approve? I’ll wait for core-team approval before implementing the feature.