Problem
PR #662 consolidates remote pushes for workflow runs that have an integration branch, but supported repositories with no commits do not create one. In that path, $integrationBranch remains null for the whole run, so Complete-TaskWorktree is invoked without -SkipRemotePush and each completed task pushes the newly established base branch. A multi-task run in an unborn repository therefore still triggers one remote push/CI run per task.
The same workflow merge logging also falls back to the literal main when no integration branch is present, even though the actual recorded base can be master or a configured git.base_branch.
Follow-up from #662.
Acceptance criteria
Problem
PR #662 consolidates remote pushes for workflow runs that have an integration branch, but supported repositories with no commits do not create one. In that path,
$integrationBranchremains null for the whole run, soComplete-TaskWorktreeis invoked without-SkipRemotePushand each completed task pushes the newly established base branch. A multi-task run in an unborn repository therefore still triggers one remote push/CI run per task.The same workflow merge logging also falls back to the literal
mainwhen no integration branch is present, even though the actual recorded base can bemasteror a configuredgit.base_branch.Follow-up from #662.
Acceptance criteria
main, coveringmasterand configuredgit.base_branch.