address-pr-comments
Address PR comments
Every review comment is a thread. Your job is done when every open thread has reached a terminal state — either fixed (a change plus a reply naming it) or answered (a reply, then resolved) — and the repo's instructed check scripts pass locally. No thread is left untouched.
A comment is not always a change request. Triage each thread before acting:
- Change — the reviewer wants a code change. Implement it, then reply describing what you changed.
- Answer — the reviewer is asking a question, wanting your opinion, or flagging something for discussion. Reply with the answer or your take; do not invent a code change. If it genuinely needs the author's call, say so in the reply and leave the thread for them.
When a thread's intent is ambiguous, treat it as Answer and ask in the reply rather than guessing at a change.
Steps
-
Collect every open thread. Fetch all unresolved review threads on the PR (see Mechanics). List each one: file, line, comment body, and your triage verdict (Change / Answer). Completion: every open thread appears in the list with a verdict — none skimmed over.
-
Implement the Change threads. Hand the collected Change threads to
/implementas the spec. It runs typecheck/tests,/code-review, and commits. Completion: every Change thread has a corresponding change in the commit(s). -
Reply to and resolve every thread. For each thread: post a reply — what you changed (Change) or the answer/opinion (Answer) — then resolve it, unless you deliberately left it for the author (say why in the reply). Completion: every thread from step 1 has a reply; each is resolved or explicitly left open with a reason.