baron_scm_read
Check pull request status, review decisions, mergeability, and CI checks, or find the latest PR for a branch to detect drift before creating or merging.
Instructions
Read source-control state. ops: pr_status (pullRequestId) → normalized state, review decision, mergeability and a checks rollup; pr_for_branch (sourceBranch, optional state — open default / merged / closed / all) → the most recent matching PR or null. open is the idempotency probe before creating one; merged is the drift probe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | Which operation to perform. | |
| state | No | ||
| sourceBranch | No | ||
| pullRequestId | No |