What problem does it solve? Reviewing a Bitbucket pull request requires gathering PR metadata, confirming the local checkout matches the PR head, and assembling specification sources before any review can start. This delegate automates that preparation so the review-pr workflow receives a complete, verified input record. ## Core Features & Use Cases - PR Metadata Fetching: Retrieves PR id, title, description, URL, source and destination branches, and head commit in a single Bitbucket API call. - HEAD Verification: Compares the local HEAD against the PR's head commit using a prefix test and fails closed with a checkout suggestion on mismatch. - Ticket and Spec Resolution: Resolves tickets via override or PR-body parsing (closes/fixes/resolves patterns, Jira-style keys) and builds an ordered spec-source list. - Use Case: A reviewer runs review-pr on a Bitbucket pull request; this delegate returns merge_base_sha, diff_base, spec_sources, and pr_metadata so review-branch can execute the actual review. ## Quick Start Ask the agent to review Bitbucket pull request 42 and it will fetch the PR metadata, verify your checkout, and prepare the specification sources.