git push or PR creation needed.
Setup
Install GitHub CLI
Install
gh and authenticate:How It Works
When a task completes successfully:Create PR
PR created via
gh pr create with:- Title:
{task_type}: {task_title}(e.g., “feat: Add JWT auth”) - Body: Task description, task key, type, and model used
- Base: Project’s configured base branch
- Head: Task’s feature branch
Branch Cleanup
| Auto PR | Branch Behavior |
|---|---|
| Enabled | Branches are preserved to keep PRs functional |
| Disabled | Completed task branches are automatically deleted (local + remote) |
Requirements
Requirements checklist
Requirements checklist
ghCLI installed and authenticated (gh auth statusto verify)- Repository has a GitHub remote (
git remote -vshould show a GitHub URL) - Auto-branch is enabled (task must have created its own branch)
- Task completed successfully (failed tasks don’t create PRs)
Auto PR works with the orchestration engine. When tasks complete in waves, each task creates its own PR independently.