Create the PR (or pick up the one just created), mark as ready for review if not yet the case, then relentlessly poll its status in a loop. Do not stop polling until all automatic reviewers (e.g., Bugbot, Cubic, etc) have fully completed their review.
-
Wait for reviewers: Keep polling
/
/ review comments until ALL reviewers have finished. Do not act on partial feedback. If one is still running, keep waiting.
-
Triage their feedback: Once both are done, implement their required changes. Fix everything medium severity and beyond. Only fix low severity issue if they're a DRY violation or if there are other issues to fix already. Strictly skip suggestions/low severity issue if they're the only ones remaining, and they qualify under super minor (nit) or rare edge case. In these cases reply explaining why and continue working autonomously.
-
Commit and push: After implementing changes, commit and push. Then go back to step 1 - the reviewers will automatically re-review your new push.
-
Loop: Repeat until a full cycle passes with nothing meaningful left to address from either reviewer.
-
Double-verify merge-ready: Before declaring the PR merge-ready, verify twice that (a) all reviewers have re-run on the latest commit, (b) no outstanding required changes remain, and (c) CI is green and the PR is mergeable.
-
Stop. Hand off to human. Report that the PR is merge-ready and wait. Do not merge.
"Pushed a fix" is not done. "All green" is not done either - it's the handoff point.
Done is when you've looped through a clean review cycle, double-checked it, reported merge-ready, and the human has explicitly approved the merge.