Implement, test, push, open PR, fix CI until all checks pass.
Start the "Ship PR Until Green" loop. - Goal: PR is open with all CI checks passing and ready to merge. - Max iterations: 10 - Between iterations run: `gh pr checks` - Exit when: all PR checks show "pass" status. Steps: 1. Implement the change following project conventions 2. Run the test suite locally — fix any failures 3. Push to the branch and open a PR (or update the existing one) 4. Wait for CI checks to report 5. If any check fails, read the failure logs with `gh pr checks` and `gh run view` 6. Fix the root cause of the first failing check 7. Push the fix and repeat from step 4 Self-pacing instructions: After each iteration, run the check command, read the output, and only continue if the exit condition is not met. Stop when exit condition passes or max iterations reached. Give a short status update each pass.
How it works