You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Triage prior review comments — [§2.5](#25-prior-comment-follow-up). *(`pr-local` / `pr-ci` only; further skip conditions in the sibling skill.)*
49
+
2. Triage prior review comments — [§2.5](#25-prior-comment-follow-up). *(`pr-local` / `pr-ci` only; further skip conditions in §2.5.)*
50
50
3. Classify diff paths and load conditional context — [§3](#3-conditional-context).
51
51
4. Build a targeted codemap — [§4](#4-codemap-phase).
52
52
5. Synthesize the context block — [§5](#5-context-synthesis).
@@ -97,15 +97,17 @@ If no linked issue is referenced, proceed without one. Do not manufacture one.
97
97
98
98
## 2.5 Prior-comment follow-up
99
99
100
-
*(Skip in `diff` mode — there is no PR yet.)*
100
+
Skip when any of these holds — no output, the section is omitted from the report:
101
101
102
-
When a PR has prior inline review comments and the author has pushed new commits since, the reviewer's first question is *"did the author address what I asked last round?"* — not *"is this PR sound from scratch?"*. Surfacing that delta up front lets the reviewer resolve threads (or push back) without re-reading the whole conversation cold.
102
+
-`mode == diff` (no PR yet).
103
+
- No prior human inline reviews on the PR.
104
+
- For every human reviewer, their latest review's `commit_id` already equals `<head_sha>` — no new commits since their last round.
103
105
104
-
Follow the [`pr-followup-triage`](skills/pr-followup-triage.md) skill with `<PR_NUMBER>`, `<owner>`, `<repo>` from [§2](#2-metadata-fetch), and `<head_sha>` = `commits[-1].oid` from the same metadata.
106
+
Otherwise, for each prior inline comment from a human reviewer (use `gh api repos/<owner>/<repo>/pulls/<PR_NUMBER>/reviews` and `/comments`, GET only), surface one entry in the "Prior-comment follow-up" block ([§7](#7-report-templates)). Cite the new code at `<path>:<line>` that addresses it, the author's reply, or note that nothing has changed since `<prior_sha>`. Use stable identifiers `[A]`, `[B]`, ... so findings raised in this review can chain context with `Re: [A]`.
105
107
106
-
The skill's own [When to skip](skills/pr-followup-triage.md#when-to-skip) gates apply — most PRs (no prior reviews, or no commits since) will produce no output and the section is omitted from the report. Do not synthesise a follow-up block for a first-pass review.
108
+
**Be conservative.**When the diff doesn't make the answer obvious, say so explicitly — false *"addressed"* tricks the reviewer into closing a thread that should stay open. Don't infer satisfaction from emoji reactions or short acknowledgements; the reviewer makes that call.
107
109
108
-
The output is the "Prior-comment follow-up" section in [§7](#7-report-templates). Findings raised in this PR may reference a prior comment by its bracketed identifier with `Re: [A]` to chain context.
110
+
**Read-only.** No `gh pr review`, no `gh api` mutating verbs (`POST`/`PATCH`/`DELETE`), no comment-resolution endpoints. The reviewer resolves threads, not you.
109
111
110
112
---
111
113
@@ -254,7 +256,17 @@ Codemap
254
256
255
257
Prior-comment follow-up — @<reviewer> at <prior_sha_short>
0 commit comments