ddflow_merge
Land an item's branch without ever switching a checkout's branch. With [flow].integration = 'pr' it pushes and opens (or updates) a pull request instead, releases your lease and parks the item in REVIEW — take the next item…
Instructions
Land an item's branch without ever switching a checkout's branch. With [flow].integration = 'pr' it pushes and opens (or updates) a pull request instead, releases your lease and parks the item in REVIEW — take the next item; ddflow_pr_sync completes it once a person merges it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Item id. | |
| keep | No | Keep the worktree after merging, for inspection. | |
| model | No | The AUTHOR's model. In PR mode the item completes at `ddflow_pr_sync`, which needs it for reviewer independence. | |
| queue | No | Enqueue (ddflow_queue add) instead of landing. | |
| branch | No | no_worktree items: the branch to land (default: the one checked out where this runs). Changes outside the item's globs come back as outside_globs. | |
| message | No | Merge commit message. | |
| as_agent | No | Subagent name, this call only. | |
| allow_dirty | No | Merge although the worktree is dirty; uncommitted changes are NOT included. Only once you know it is build output. | |
| allow_empty | No | Land a branch with no commits ahead of its target (refused by default: usually the wrong tree; rebind with ddflow_update worktree). |