Mergehand

What happens after an AI opens a merge request

Most coding agent demos end at the exact moment a pull request appears. In day-to-day team engineering, opening the merge request is not the finish line — it is the halfway mark where collaboration with CI pipelines, reviewers, QA, and shared branches begins.

Fixing failing CI pipelines and review comments

In how Mergehand works, Step 8 pushes your approved branch and opens a merge request (a pull request on GitHub, Bitbucket, and Forgejo, opened as a draft unless you choose otherwise). In a real repository, that is when external checks and teammates weigh in: an integration job fails in GitHub Actions, GitLab CI, Bitbucket Pipelines, or Forgejo Actions, or a reviewer asks for an edge case to be handled differently.

One-shot agent tools often leave you on an orphaned branch at this point, forcing you to re-explain the ticket from scratch or check out the branch locally to finish the job by hand. Mergehand keeps the full task context alive — the tracker issue, the approved acceptance criteria from your pre-code plan, the test report, and the existing branch.

When you ask the AI coding agent to address review comments or fix a failing CI pipeline, it adds new commits on top of the branch rather than overwriting existing commits. Reviewers keep a clean incremental diff from their last pass instead of having to re-read the entire change.

What happens to each post-MR event

Once a merge request is open, the same task handles five recurring engineering chores without losing history or changing commit authorship:

Post-MR eventWhat Mergehand doesStandard vs. Pro
Failing CI pipelineReads the failed job context, fixes the issue on your runner, runs repository quality checks, and pushes new commits on top.Manual trigger on Standard; automatic on Pro.
Colleague review commentApplies the requested change with new commits on top so reviewers inspect only the follow-up diff.Manual trigger on Standard; automatic on Pro.
Target branch conflictRebases the task branch onto the updated target branch, resolves conflicts, and re-runs repository quality checks.Manual trigger on Standard; automatic on Pro.
Staging on dev or testMerges the task branch into your configured dev or test branch via Send to …, resolving conflicts and checking quality.One click on both Standard and Pro.
Colleague takeoverGenerates a structured brief via Handover for a colleague covering scope, decisions, branch state, and open items.One click on both Standard and Pro.

Target branch movement and commit hygiene

While a merge request is under review, the target branch rarely stands still. Colleagues merge their own work, shared modules shift, and merge conflicts appear. Mergehand resolves target-branch conflicts by rebasing the task branch onto the updated target branch and running the repository's quality checks again before pushing the updated branch.

Commit hygiene stays predictable throughout that lifecycle. Every commit carries your own name and email with no trace of the agent, and the Combine commits action rewrites branch history only when you explicitly ask for it — for example, when you want a tidy commit log right before your team merges.

Shared integration branches with Send to

Many teams validate several tasks together on a shared dev or test branch before anything lands on the main branch. Manually merging feature branches into a busy staging branch — and untangling conflicts between tasks still in flight — eats up steady engineering attention.

Each task in Mergehand includes a “Send to …” action that merges the task branch into your configured dev or test branch. If that shared branch conflicts with your change, the AI coding agent resolves the merge conflict and runs the repository's quality checks; once the checks pass, the merged result goes out cleanly.

Testing guides for QA and handovers for teammates

Shipping a task also requires clear context for the people who verify or inherit it. Unless a change is purely internal, the testing agent prepares a practical testing guide for QA or product before you approve the result — outlining what state or test data to prepare and which user scenarios to click through.

When priorities shift, someone goes on leave, or a branch needs manual follow-up from another engineer, the “Handover for a colleague” action writes a concise brief covering the goal, architectural choices, current branch state, and open items so a teammate can continue on the task branch right away. And when you are on the other side reviewing a teammate's branch, private AI code review prepares candidate findings as draft comments visible only to you.

Approval boundaries and automations on Pro

Post-merge-request workflows still need clear safety boundaries. In Mergehand, the first push happens only after your explicit approval in Step 7, and every push executes on your runner in a separate container without the agent, on the server's instruction — the agent never pushes, and Mergehand never merges.

Once the merge request is open, routine maintenance — fixing a failing CI pipeline, a rebase that does not change the content, sending the branch to your dev or test branch, and a conflict resolved by the agent during a rebase once the checks pass — proceeds without waiting for another approval gate. On Standard, you start those actions with a click; with automations on Pro, CI fixes, conflict resolution, and rework from review comments on the merge request can also start automatically.