GitLab Duo CLI takes a task fr... Note
GitLab

GitLab Duo CLI takes a task from goal to done

Traditional turn-by-turn chat for developers leads to significant delays due to constant handoffs and the need for manual prompting at each step. This "continue button" approach is inefficient for complex, open-ended tasks like fixing failing tests or cleaning lint errors. GitLab addresses this with the new /goal slash command in GitLab Duo CLI, offering a governed, goal-driven workflow. Developers can describe a desired outcome, such as "Fix the failing tests. Ensure CI is fully green," and delegate the work. The system then autonomously iterates, makes changes, and performs verifications against the defined goal. A separate model checks progress, deciding if further action is needed or if the task is genuinely complete. This eliminates the need for constant human supervision, allowing developers to focus elsewhere and return to a verified result. The /goal command provides full transparency, allowing users to stop a run, set new goals, and review verification steps. This capability will extend beyond the CLI, with a GitLab Duo Slack agent coming soon, enabling conversational delegation within communication platforms. GitLab aims to transform repetitive, manual fixes into automated, governed flows without requiring developers to change their existing work environment. This marks a shift from simple AI assistance to practical, goal-driven automation, significantly improving development speed and efficiency.