Skip to content

PR Modes

Each squad has a configurable PR mode that determines how completed work is delivered.

Available Modes

ModeBehavior
branch-onlyPush branch, no PR created
draft-prPush branch + create draft PR
ready-prPush branch + create ready-for-review PR
auto-mergePush branch + create PR + auto-merge if CI passes

Branch Always Pushed

Regardless of PR mode, the working branch is always pushed to the remote. This ensures:

  • Work is never lost
  • You can inspect the branch manually
  • You can create a PR yourself later

Configuring PR Mode

Per Squad

bash
# Via chat
"Set the my-app squad to draft-pr mode"

# Via API
curl -X PUT http://localhost:7777/api/squads/:id \
  -H "Content-Type: application/json" \
  -d '{"config": {"prMode": "draft-pr"}}'

Default

New squads default to draft-pr mode — work is visible but requires human approval before merge.

PR Content

Generated PRs include:

  • Title — Derived from the objective
  • Description — Objective, plan summary, agent work summaries
  • QA Status — Approval details and test results
  • Labels — Auto-applied based on the type of work

Recommendations

ScenarioRecommended Mode
Learning/experimentingbranch-only
Active developmentdraft-pr
Trusted squad, good CIready-pr
Fully automated workflowsauto-merge

Released under the MIT License.