@@ -74,6 +74,30 @@ Use this to release your assignment from an issue/PR without automatically assig
7474@guidelines-bot /release Need to focus on other priorities
7575```
7676
77+ ### Rectify Review State
78+
79+ ```
80+ @guidelines-bot /rectify
81+ ```
82+
83+ Use this when GitHub review activity and reviewer-bot state appear out of sync.
84+ This is most common on cross-repository PRs where a review event may not have had
85+ permission to persist reviewer-bot state.
86+
87+ Who can run it:
88+ - The currently assigned reviewer
89+ - A maintainer with triage+ permission
90+
91+ What it does (for the current PR only):
92+ - If the latest review by the assigned reviewer is ` APPROVED ` , it marks the review complete.
93+ - If the latest review by the assigned reviewer is ` COMMENTED ` or ` CHANGES_REQUESTED ` , it refreshes reviewer activity.
94+ - Otherwise, it reports that no reconciliation transition applies.
95+
96+ ** Example:**
97+ ```
98+ @guidelines-bot /rectify
99+ ```
100+
77101### Assign a Specific Reviewer
78102
79103```
@@ -159,6 +183,7 @@ Life happens! Any of these actions will reset the 14-day clock:
159183- ** Post a review comment** - Any substantive feedback counts
160184- ** Use ` /pass [reason] ` ** - Pass the review to the next person if you can't review it
161185- ** Use ` /away YYYY-MM-DD [reason] ` ** - Step away temporarily (e.g., "On vacation until 2025-02-15")
186+ - ** Use ` /rectify ` ** - Reconcile PR review state when review activity happened but bot state is stale
162187
163188#### Before You Pass: Consider the Learning Opportunity
164189
0 commit comments