ddflow_promote_add
File a promotion to an environment branch, merging the upstream branch, running the promotion pipeline, and landing via merge or merge request.
Instructions
File a PROMOTION to an environment branch ([flow].environments, e.g. pre-production, production): a task that merges the branch immediately upstream into it, runs the promotion pipeline, and lands by merge or merge request. Always one step downstream -- production receives only what the environment before it has. Exit 2 = nothing to promote; exit 3 = refused (unknown environment, one already open, a branch missing).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | Yes | The environment to promote TO. | |
| force | No | File it even with nothing to carry. | |
| as_agent | No | Subagent sharing the parent's connection: your own stable name, for this call only (see ddflow_identify). |