Repository navigation
feat(pr-pipeline): answer trusted top-level PR comments in the pr-unblock lane - #16941
Conversation
…lock lane A trusted person's top-level comment on a lanes App PR that addresses the lane (a line starting `PR-fix lane:`) and that the lanes App has not answered now gets one top-level answer from address-feedback. - feedback-dispatch: the half-hourly sweep sends such a head after its fix requests under the same bounds; a review completion dispatches a head with one even with no unresolved thread. - address-feedback select: lists up to ten as pr_comments (data, never direction), none on a needs-human PR or one a person opened. - feedback-thread.sh: `comments` action; `record PRC_<id>` takes only `answered`. - publish-feedback: posts one top-level answer per comment, first line `<!-- pr-unblock:answered-comment <id> -->`, after thread replies and only when they escalate nothing; a comments-only round posts no round marker. No new trigger, token, permission or trusted-actor source. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- A round that answers only comments posts its round marker, so the round cap still bounds it. - No comment item on a PR that changes .github/workflows/, where the round would escalate. - The comment sweep skips a held or human-gated PR before any read. - Pin that a review-threads patch with no kept thread or note is refused before any push. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nswer A comments-only round makes no edit; one that wrote a patch posts no answer and escalates feedback-invalid. The publish-feedback activity rule names the comment answers it may post. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d7d44ce8b5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
claude-security-review reviewed Security review: no security issues found (incremental, blocking only)This review covers only what changed since What changed: one trailing space was removed from the end of an Prior findings: the only earlier entry is the summary of the last review. It reported no findings, so there is nothing to restate. critical-findings: 0 |
A round takes at most ten lane-addressed comments. The rest are older than that round's check run, so the sweep never sent them again. The newest lanes App answer now also counts as the request time, so a round that answered a batch lets the next sweep send the remainder, and a round that answered nothing is still not resent. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
claude-review reviewed Code review (incremental, blocking only):
|
A comment edited while its round ran is skipped at publish and was never sent again. The sweep now keys each asked comment on its last edit, so an edit after the last round sends the head once more, within the round cap. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
No related issue: this is an owner-decided item from a session, filed in no tracker.
Summary
The pr-unblock lane answers a top-level comment on a lanes App PR the way it answers review-thread replies. It does this through the existing half-hourly sweep. There is no new trigger, token, permission or trusted-actor source.
Fix
feedback-dispatch.mjs: a new sweep pass,sweepAsked, runs after the fix requests. It sends a head that has a lane-addressed comment newer than the head's last round, under the same bounds as a fix request: send-once andSWEEP_HEAD_CAP. A review completion now also dispatches a lanes App PR that has such a comment and no unresolved thread. A comment is keyed on its last edit, and the newest lanes App answer also counts, so a comment edited after its round, or left over when a round answered its ten, sends the head again within the same bounds.address-feedback.mjsselect:askedCommentskeeps up to ten comments, oldest first, aspr_comments. Each is written by a trusted human (type: User, on the trusted-actor list), has a line startingPR-fix lane:outside a fence, and has no answer yet. An answer is a lanes App comment whose first line is<!-- pr-unblock:answered-comment <id> -->. The comment text is untrusted data, never direction. No comment is kept on a needs-human PR, an owner PR, or a PR that changes.github/workflows/.feedback-thread.sh: a newcommentsaction.record PRC_<id>accepts onlyanswered.publish-feedback.mjs: posts one top-level answer per comment. It posts only after the thread replies, and only when they escalate nothing. It skips a comment that was edited or answered since select read it. A round with only comments that wrote a patch posts no answer and escalatesfeedback-invalid.comments-ci.md, the SKILL.md table row, the pr-pipeline README, thepublish-feedbackactivity rule, and two changelog fragments.Design decisions:
PR-fix lane:line are answered, not every trusted human's comment. Basis: sessions post under the owner's login. Every owner-login top-level comment sampled on fix(prototype): print the level report line before building without asking #16890, feat(app-control): bring map refresh in line with the maintain-verification-skill upkeep pass #16481, feat(review): fail a change that loosens a check, wherever it appears #16372, feat(architecture): add a layout lens that checks whether files that change together live together #16351, fix(verification): give confirm's Observation check entry an exact form #16354 and fix(prototype): keep shared-interview build sources out of mktemp directories #16219 was a session status note. Each of those would draw a lane reply if every comment were answered. Two side effects:PR-fix lane: please fix this findingnow gets an answer, not a fix. Fixes still go through a review thread.PR-fix lane:text under the owner's login counts as the owner.countCheckRoundseither way. So two answered comments can bring a later thread round to the round cap. Basis: judgment. The alternative, excluding comment-only rounds from both counts, needs a new marker shape for the check-run count. Commitb1455792ae's message says these rounds post no marker.1fd11cd121reverses that.Verification
node --test --test-concurrency=4over the pr-unblockfeedback-dispatch,publish-feedback,address-feedback,adjudicate-feedbackandworkflow-gatestests,collect-base-activity,seal-lane-output,apply-patch, and all ofresolve-config: 2,674 tests, 0 failures.feedback-thread.test.sh: 212 pass.report-escalation.test.sh: 0 failures.check-changelog-fragments.sh --checkpasses.Related
issue_commentevent.Follow-ups
report-escalation.shcopies onlyPRRT_lines from the round marker. APRC_item left with no disposition is named in the marker but not in thefeedback-incompleteescalation.🤖 Generated with Claude Code