baron_scm_read
Check pull request status or find a PR for a branch. Use pr_status to get review, mergeability, and checks details. Use pr_for_branch to locate an open, merged, or closed PR before creating or verifying changes.
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 |