workflow_requirement_to_delivery
Runs the complete GitLab workflow from requirement to delivery: creates issue, branch, commits, merge request, issue comment, local sync, and updates issue log. Requires a preparation key from prior call.
Instructions
Use when requirement text should run the full chain once: create issue, then continue in the same workflow through branch, commit, MR, issue comment, local sync, and issue log. Before composing commit_actions, first call workflow_prepare_delivery_workspace and use its preparation_key here. Do not combine this with workflow_requirement_to_issue or workflow_issue_to_delivery for the same user request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requirement_text | Yes | Raw user requirement text. | |
| preparation_key | Yes | Required key returned by workflow_prepare_delivery_workspace. Delivery is rejected if the prepared base branch is no longer current. | |
| delivery_method | No | Delivery implementation mode. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_DELIVERY_METHOD overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| source_text | No | Optional extra background text for the default issue template. | |
| issue_template | No | Optional full issue markdown template. Supported built-in variables include {{summary}}, {{requirement_text}}, {{source_text}}, {{expected_change}}, {{issue_project_id}}, {{code_project_id}}, {{issue_project_path}}, {{code_project_path}}, {{branch_name}}, {{work_type}}, {{label}}. | |
| template_variables | No | Optional custom variables map merged into issue_template rendering. | |
| english_slug | No | Optional branch slug. | |
| work_type | No | Optional git/conventional work type override like feat, fix, docs, refactor, hotfix, feature. | |
| summary | No | Optional short summary used for issue and MR title. | |
| issue_project_id | No | Issue project ID. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_ISSUE_PROJECT_ID overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| issue_project_path | No | Issue project path. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_ISSUE_PROJECT_PATH overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| code_project_id | No | Code project ID. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_CODE_PROJECT_ID overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| code_project_path | No | Code project path. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_CODE_PROJECT_PATH overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| labels | No | Issue labels list. | |
| label | No | Issue title prefix and fallback issue label. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_LABEL overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| auto_create_labels | No | Whether to auto-create missing labels. | |
| assignee_username | No | Single assignee username. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_ASSIGNEE_USERNAME overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| assignee_usernames | No | Assignee usernames list. | |
| assign_to_current_user_if_missing | No | Whether to assign issue to current user when no assignee is provided. | |
| target_branch | No | MR target branch. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_TARGET_BRANCH overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| branch_name | No | Optional branch name override. | |
| commit_message | No | Optional commit message. | |
| commit_actions | No | Commit actions list. Required when delivery_method=remote_api. | |
| change_summary | Yes | Change summary used in MR/log. | |
| test_plan | Yes | Test/acceptance plan used in MR description and issue comment. | |
| checkout_local_branch | No | Whether to sync and switch local repo to created branch. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_CHECKOUT_LOCAL_BRANCH overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| issue_comment_body | No | Direct issue comment body. | |
| implementation_summary | No | Implementation summary for generated issue comment. | |
| acceptance_steps | No | Acceptance steps for generated issue comment. | |
| update_log | No | Whether to update local issue log. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_UPDATE_ISSUE_LOG overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| log_path | No | Issue log path. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_ISSUE_LOG_PATH overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. This field matters only when update_log=true. | |
| log_status | No | Issue log status text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded. | |
| tool | Yes | Tool name. | |
| data | No | Requirement to delivery full workflow result. | |
| error_type | No | Error type when ok=false. | |
| message | No | Error message when ok=false. |