fix(pr-review): read explicit exact targets directly - #4876
Merged
Merged
Conversation
Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
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.
Problem
Explicit reviews of one or two named pull requests were routed through the lifecycle queue scan. The packet therefore applied queue-wide completeness rules and could expand from 100 to 200 or more historical rows before reviewing the requested exact heads.
Outcome
--target-exact-head NUMBER@HEAD_OIDselection.gh pr view; this path does not callgh pr listor scan history.limit_scope=exact_targetsand no recommended limit.--fresh-audit-exact-headseparate: selecting a target does not silently force re-audit of a concluded exact head.The GitHub transport remains owned by
loopx/capabilities/pr_review_queue/github_source.py; the existing packet and result contract remains the single review authority.Entry points
The CLI, capability reference, managed PR-review skill, and focused regression coverage change together. No frontend companion is needed: explicit targets are per-command review input, while the existing capability editor owns persistent priority and wait policy rather than one-off PR identities.
Validation
pr viewwithoutpr list.cqr_cdff29767cbf713e3e59is valid for fingerprintcdff29767cbf713e3e59245924a1db3ec4dde83389035d2b96c2d95d8cd4b8e2.Review and merge boundary
This changes
loopx/**CLI/control-plane behavior, so it is not self-merged. It requires independent exact-head review and maintainer merge authority.Future-facing pass: the direct-read transport was placed in the existing GitHub source owner instead of adding a second state machine or speculative abstraction.