contentrain_merge
Merge a review-mode branch into the contentrain branch using local git operations. Target by exact branch name or resolve by model id with optional locale.
Instructions
Merge a review-mode branch into contentrain. Local git operation — no external platform needed. Merges the feature branch into the contentrain branch, advances the base branch via update-ref, selectively syncs .contentrain/ files to the working tree, and prunes the merged branch. Target by exact "branch" name, or resolve by "model" (+ optional "locale"/"latest").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Exact branch name to merge (e.g. cr/content/blog-post/...). Omit to resolve by model. | |
| model | No | Resolve the branch by model id (e.g. "blog-post"). | |
| locale | No | Narrow model resolution to a locale. | |
| latest | No | When multiple branches match the model, merge the most recently committed one. | |
| confirm | Yes | Must be true to confirm the merge |