Diagnose and complete Azure DevOps Pull Request merges via REST API when the UI is unavailable or when scripting bulk merges. Handles the three most common failure modes — unresolved comment threads, reviewer vote at "waiting for author", and stale branch-policy CI gate — with explicit recovery for each. Includes the full sequence (vote → close threads → complete) and the conditions under which bypassPolicy:true will or won't work. Triggers: ADO PR completion via API, 403 "must succeed" or "must be addressed" on PR PATCH, automating PR merges.
$npx -y skills add carloscape/octorato --skill ado-pr-merge-via-apiInstalls into the current project.
Run `npx skills use "https://github.com/carloscape/octorato" --skill "carloscape/octorato/ado-pr-merge-via-api"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/carloscape/octorato" that are relevant to the current task. Run `npx skills add "https://github.com/carloscape/octorato"` and select the relevant skills, then follow their instructions.