codemerge_start
Start a merge session for a Git branch with a unique session ID and branch name. Optionally add base commit and description to track code review, requirements, or releases.
Instructions
Start a new merge session for a branch.
Args:
session_id: Unique identifier for this merge session
branch: Git branch name being merged
description: Human-readable description of the work
base_commit: Git commit SHA this branch diverged from
repo_root: Repo root path (default: cwd)
allow_restart: If True, reuse this session_id when its previous session is finished — 'abandoned' or 'done'. Restarting DELETES that session's file claims, so re-claim anything you still need. It does NOT restart a live one: starting over an 'active' or 'merging' session is an error whether or not this is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | ||
| repo_root | No | ||
| session_id | Yes | ||
| base_commit | No | ||
| description | No | ||
| allow_restart | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||