What problem does it solve?
Ensures completed bug work is published to the team by pushing the bug branch, creating a GitLab merge request targeting the development branch, and cleaning up the local branch only after required artifacts are present.
Core Features & Use Cases
- Verifies completeness of required artifacts (scope.md, analysis.md, plan.md, retro.md) and a clean working tree before closing.
- Pushes the bug branch and creates a merge request using the glab CLI, with a fallback to provide a push URL for manual MR creation.
- Enforces strict scope constraints to avoid modifying files outside the bug branch and prevents local merges to the development branch.
- Use case: finalize a developer's bugfix by ensuring governance artifacts exist, opening the MR for review, and removing the local branch.
Quick Start
Push the current bug branch, create a GitLab merge request targeting the development branch, and delete the local bug branch after verifying all required artifacts and a clean working tree.