baron_scm_write
Manage source-control workflows: create branches and pull requests, comment, mark ready, and merge with explicit failure feedback.
Instructions
Change source-control state. ops: branch_create (name, optional fromBranch — idempotent); pr_create (title, sourceBranch, optional targetBranch/body/draft/assignees/autoComplete, plus linkedIssueKey and linkedIssueRelation — closes finishes the item on merge, relates only references it); pr_thread (pullRequestId, body); pr_ready (pullRequestId) — take it out of draft; pr_merge (pullRequestId, optional strategy/deleteSourceBranch). A provider that declines a merge surfaces as MERGE_FAILED rather than a false success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | Which operation to perform. | |
| body | No | ||
| name | No | ||
| draft | No | ||
| title | No | ||
| strategy | No | ||
| assignees | No | ||
| fromBranch | No | ||
| autoComplete | No | ||
| sourceBranch | No | ||
| targetBranch | No | ||
| pullRequestId | No | ||
| linkedIssueKey | No | ||
| deleteSourceBranch | No | ||
| linkedIssueRelation | No |