Repository navigation
fix(poteto-mode): exclude PR recaps from review acknowledgments - #305
Conversation
acknowledgment() accepted any trusted non-bot comment that linked a bot review, so a recap comment with that link cleared the review-findings blocker in watch-pr and merge-gate without triage. A comment whose trimmed body starts with <!-- pstack-recap:start --> now never acknowledges a review. Babysit steps 6 and 8 and pr-recap step 4 state the exception.
…thoritative guidance
|
The PR 303 verifier found that a pr-recap comment containing a bot review's URL counted as acknowledging that review, so watch-pr and merge-gate would clear its findings with no one triaging them. Now Not covered. Both new tests use fixture comments, so no run has checked a live bot review, and a PR whose findings only a recap acknowledged now stays blocked until a separate trusted comment links the review. Details for reviewersRisk. Low. The change adds one condition to Base Start here. Then.
Proof. On head These pointers are a start, not the review. Read the whole diff, because a defect can sit in a file this recap ranks low. |
|
Verdict: PASS+NOTES Independent verdict (trail reviewer, opus@xhigh), base 0bc7cf9.
|
…nt claim (#321) The ledger claim for `babysit-body-only-finding-acknowledged-in-pr-comment` said any PR comment with the review's URL acknowledges a bot review. Since #305, the watcher skips a comment that opens with the pr-recap start marker, so the claim and the code disagreed. - The claim now says the acknowledging comment must not open with the pr-recap start marker. - The claim's script check adds an author pr-recap comment that the watcher must reject. Closes #315

Why
A PR recap that linked a bot review could accidentally acknowledge its findings and clear a review blocker. Recap comments now leave those findings pending for separate triage.
What changed
Scope
Covers recap comments in the shared acknowledgment logic used by watch-pr and merge-gate. Existing author and repository-association trust requirements remain unchanged.
Blast Radius
Touches GitHub bot-review readiness checks. PRs whose findings were acknowledged only through a recap will remain blocked until a separate trusted comment acknowledges the review.
Verification
Inspected the full branch diff. Tests were not run in this drafting phase; the diff adds regression tests in review-bodies.test.ts and merge-gate-cli.test.ts.
✅ Low: The change adds one predicate to acknowledgment(). That function is the only acknowledgment path used by both watch-pr's flagReviewBodies and merge-gate's unread-review gate. The predicate rejects only comments whose trimStart'd body begins with the recap start marker, matching the intent exactly and leaving every other acknowledgment rule unchanged.
Updates from git push no-mistakes