@@ -55,10 +55,11 @@ round. Always check both conditions freshly after every push.
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
5757 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.
58+ (GitHub still computing it), don't treat it as either state — skip the rest of this list and
59+ go straight to step 9 to wait and recheck next round (see step 10 for when to stop waiting on
60+ a persistently ` UNKNOWN ` result). Otherwise, if ` mergeable ` is ` MERGEABLE ` , Greptile is 5/5,
61+ and every thread across all pages has ` isResolved: true ` , stop — report the outcome (see
62+ "Reporting" below) and skip the rest of this list.
6263
63642 . ** If the PR has a merge conflict** , fix it: ` git fetch origin staging ` , `git rebase
6465 origin/staging`, resolve the conflicts for real (don't just take one side blindly), then run
@@ -134,9 +135,9 @@ round. Always check both conditions freshly after every push.
134135 in a sleep loop. Pass the same ` /loop babysit PR <n> ` prompt on each wakeup so the loop
135136 resumes correctly.
136137
137- 10 . ** Stop conditions** : clean state reached (see above), or the same unresolved finding or
138- merge conflict survives two consecutive rounds with no new information (surface it to the
139- user instead of looping forever), or the user interrupts.
138+ 10 . ** Stop conditions** : clean state reached (see above), or the same unresolved finding, merge
139+ conflict, or ` UNKNOWN ` mergeable result survives two consecutive rounds with no new
140+ information (surface it to the user instead of looping forever), or the user interrupts.
140141
141142## Reporting
142143
0 commit comments