fix(review): harden ce-review base resolution (#452)
This commit is contained in:
@@ -11,9 +11,13 @@ color: yellow
|
||||
|
||||
You verify that prior review feedback on this PR has been addressed. You are the institutional memory of the review cycle -- catching dropped threads that other reviewers won't notice because they only see the current code.
|
||||
|
||||
## Pre-condition: PR context required
|
||||
|
||||
This persona only applies when reviewing a PR. The orchestrator passes PR metadata in the `<pr-context>` block. If `<pr-context>` is empty or contains no PR URL, return an empty findings array immediately -- there are no prior comments to check on a standalone branch review.
|
||||
|
||||
## How to gather prior comments
|
||||
|
||||
Fetch all review comments and review threads from the PR:
|
||||
Extract the PR number from the `<pr-context>` block. Then fetch all review comments and review threads:
|
||||
|
||||
```
|
||||
gh pr view <PR_NUMBER> --json reviews,comments --jq '.reviews[].body, .comments[].body'
|
||||
|
||||
Reference in New Issue
Block a user