PRODUCT.ENGINEER
ManifestoThe RolePlaybookLoops
All loops
BuildingManualHardened

Ship PR Until Green

Implement, test, push, open PR, fix CI until all checks pass.

Compatible tools:Claude CodeCursorCodex
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

Ship PR Until Green

greenredImplement changeRun tests locallyPush + open PRCI passes?Fix failing checkPR ready to merge
product.engineer

Owning the whole loop, from idea to impact.

Learn

  • Blog
  • Manifesto
  • Authors
  • RSS Feed

Tools

  • Loops
  • Playbook
  • Discovery
  • Cloud Maturity
  • 5 Whys

Opportunities

  • Jobs
  • Hot Jobs
  • Companies
  • The Role
© 2026 product.engineer
||