Skip to content

openPrSteer

openPrSteer(draftMode, baseBranch): string

Defined in: src/autopilot.ts:44

Returns the open-PR steer for a session whose PR base is baseBranch, appending the draft-mode note when draftMode is true. The explicit --base keeps a session that opens its PR from the steer (rather than proactively) targeting the right branch — load-bearing for epic children whose base is the integration branch, harmless/correct for regular sessions (base = default branch).

boolean

string

string