@@ -54,14 +54,18 @@ round. Always check both conditions freshly after every push.
5454 stopping on a partial page would silently miss unresolved ones past the cutoff.
5555 If ` mergeable ` comes back ` CONFLICTING ` , go fix that first (step 2) before evaluating review
5656 state — a conflicting PR can't run CI, and this can happen mid-loop even on a PR that was
57- clean at creation, since staging moves several times a day. Otherwise, if Greptile is 5/5 and
58- every thread across all pages has ` isResolved: true ` , stop — report the outcome (see
59- "Reporting" below) and skip the rest of this list.
57+ clean at creation, since staging moves several times a day. If ` mergeable ` is ` UNKNOWN `
58+ (GitHub still computing it), don't stop and don't treat it as either state — just wait for
59+ the next round (step 9) and recheck then. Otherwise, if ` mergeable ` is ` MERGEABLE ` , Greptile
60+ is 5/5, and every thread across all pages has ` isResolved: true ` , stop — report the outcome
61+ (see "Reporting" below) and skip the rest of this list.
6062
61632 . ** If the PR has a merge conflict** , fix it: ` git fetch origin staging ` , `git rebase
62- origin/staging`, resolve the conflicts for real (don't just take one side blindly), then push
63- with ` --force-with-lease ` . Continue on to step 8 to trigger a fresh review of the resolved
64- code.
64+ origin/staging`, resolve the conflicts for real (don't just take one side blindly), then run
65+ the same pre-push checks as step 6 (lint, boundary validation, and the conditional
66+ cleanup/db-migrate gates) before pushing with ` --force-with-lease ` , and verify the push
67+ landed the same way step 7 does. Skip steps 3–7 and go straight to step 8 to trigger a fresh
68+ review of the resolved code.
6569
66703 . ** If no review has run yet** (fresh PR, no Greptile/Cursor comments): they usually run
6771 automatically on PR open — confirm via ` gh pr checks <n> ` (look for ` Cursor Bugbot ` /
0 commit comments