run-parity
Installation
SKILL.md
Run pull request parity
Run the pull request base and head against the same repository commits. Write deterministic newline-delimited JSON (NDJSON) artifacts and compare them.
Prepare the run
Require DAYTONA_API_KEY, authenticated gh, and a pushed pull request head. Do not push changes without permission. Use ni and nr in this repository.
Resolve the pull request:
gh pr view <pr-number-or-url> \
--json number,url,baseRefOid,headRefOid,headRepository,headRepositoryOwner
Derive the base repository from the pull request URL. Derive the head repository from headRepositoryOwner.login and headRepository.name. Use the returned commit hashes, not branch names.
Create tmp/parity-pr-<number>-<head-short-sha> and preserve it after the run. Run ni before evaluation.