Tip
Close the PR loop inside the agent. After it opens a pull request, have it read the review comments, inspect failing checks, patch only the requested scope, and push again. The prompt is boring: fix the PR feedback and rerun the checks. Boring is the point.