feat(reviewer): self-retracting verdicts (WO-3) - #257
Merged
ProtocolWarden merged 1 commit intoJun 8, 2026
Conversation
"Needs human attention" and "Self-review concerns" comments are now automatically struck through when the blocking condition clears: PR merged, PR closed with receipt, or escalation cleared by a new push. Root cause of 5 operator-confusion incidents: stale flag comments persisted on merged/resolved PRs indefinitely. - Add `update_comment()` to GitHubPRClient (PATCH issues/comments/:id) - Add `_retract_flag()` helper to reviewer; edit comment in-place with strikethrough header and resolution annotation - `_escalate_needs_human()` now stores `escalation_comment_id` in state - First CONCERNS post stores `concerns_comment_id` in state - Retraction sites: merge, close-with-receipt, escalation-cleared paths - 8 new tests; 73/73 reviewer tests pass; 15/15 golden tests pass Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ProtocolWarden
deleted the
oc-watchdog/20260608-0645-wo3-self-retracting-verdicts
branch
June 8, 2026 07:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
update_comment()toGitHubPRClient(PATCHissues/comments/:id)._retract_flag()helper; stores comment IDs in per-PR state (escalation_comment_id,concerns_comment_id); retracts at merge, close-with-receipt, and escalation-cleared paths.Test plan
🤖 Generated with Claude Code