PDFCLOUD-5585 Update PR Review Auditor to use merge base#28
Merged
datalogics-cgreen merged 1 commit intopdfrest:mainfrom Feb 17, 2026
Merged
Conversation
- Changed references from `<base_remote>/<base>..HEAD` to `<merge_base>..HEAD` across documentation, scripts, and prompts to align with Git best practices. - Updated `SKILL.md`, `review-checklist.md`, and agent configuration to reflect this change. - Revised shell scripts (`collect_pr_context.sh` and `review_range.sh`) to compute and use `merge-base` for the review range. Assisted-by: Codex
datalogics-cgreen
approved these changes
Feb 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PDFCLOUD-5585
Summary
This change fixes the PR review skill so it audits only the commits that actually belong to the PR branch.
Before this, the audit range was based on
<base_remote>/<base>..HEAD, which can include unrelated changes whenever the base branch advances after the feature branch is cut.Problem Solved
Using the moving tip of the base branch as the start of the diff creates noisy review context:
What Changed
The PR review auditor now computes merge-base and uses
<merge_base>..HEADas the review range end-to-end:Benefits