Skip to content

fix(pr-verify): stop failing a Refs: pull request that names no remaining work - #17669

Merged
kyle-sexton merged 2 commits into
mainfrom
fix/pr-verify-refs-remaining
Nov 20, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
fix/pr-verify-refs-remaining

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Closes #17671

Summary

pr-verify failed a Refs: pull request (one that delivers part of an issue) whenever its body did not list the issue's remaining work. That list copies the issue's own done-when items, goes stale as sibling pull requests merge, and nothing reads it: sibling credit reads what a pull request delivered, not what remains. Both judges now drop that one fail reason. They still fail a Refs: body that names no delivered part, claims the whole issue, or delivers a part outside the issue's scope.

Fix

  • .github/scripts/pr-verify/prompt.md (the chunk verifiers) and .github/scripts/pr-verify/spec-prompt.md (the final judge): the refs rule no longer requires the body to name what remains, and "names no remaining work" is no longer a fail reason. The main-red-incident exception and every other rule are unchanged.
  • .github/scripts/pr-verify/spec-prompt-text.test.mjs: the refs test now pins the new fail reasons under both judges, and asserts that neither prompt still requires remaining work.
  • docs/conventions/pr-pipeline/README.md (Verifier verdict): states the same rule.
  • plugins/source-control/skills/pull-request/reference/create.md: create still writes ## Remaining for a Refs: pull request, now described as being for reviewers rather than required by pr-verify.
  • .changes/pr-pipeline/ and .changes/source-control/: patch fragments.

Verification

Related

🤖 Generated with Claude Code

https://claude.ai/code/session_01KeBVgdbwavfuWZGmKnMhWX

…ning work

Both judges still fail a Refs: body that names no delivered part, claims
the whole issue, or delivers a part outside the issue's scope. What stays
open is the issue's own done-when list, so the body need not restate it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KeBVgdbwavfuWZGmKnMhWX
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 20, 2026 16:33
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T16:34:48.405037Z 0cc7d15 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed cc7ad00e4d6d867e2bf931d168050153c245b3e2: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Security review (incremental, blocking only): no findings

This review covers only the change since 0cc7d15a. Because this lane already reviewed an earlier head, it reports CRITICAL and IMPORTANT findings only.

What changed: docs/conventions/pr-pipeline/README.md:2742-2744 in the Verifier verdict section. The push adds a parenthetical that says the owner decision of 2026-11-20 on #17671 dropped the earlier remaining-work requirement, and reflows the sentences around it. No rule changes in that text. The pr-verify prompts and test are unchanged since the last review.

What I checked

  • Trust controls. The change is README prose only. It touches no trusted-actor list, trusted-trigger check, lane token request, kill switch, token-broker config (docs/conventions/pr-pipeline.yaml is unchanged), or merge-hold script.
  • Instruction-surface lens. The push removes no rule and narrows none. It adds a citation to a sentence that already said the same thing. The narrowing itself was judged at the last head against the register's protected classes and matched none.
  • Settled thread. The loosened-check thread on .github/scripts/pr-verify/prompt.md:101-103 is marked lines changed since resolution: no, and this push leaves those lines alone, so I did not raise it again.
  • PR context. The description contains no directives aimed at this lane. The closing issue pr-verify: stop failing a Refs: pull request that names no remaining work #17671 is listed with its title and body omitted, because its author is not on the allowed-author list. That bears on whether the cited decision record counts as trusted spec evidence, which is a question for the spec and code-review lanes. A citation in docs prose gates nothing, so it has no security impact.
  • Manifests. No plugin manifest changed.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 0cc7d15a8271690ac35b0b73b3e2583cdcea468e; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread .github/scripts/pr-verify/prompt.md Resolved
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed cc7ad00e4d6d867e2bf931d168050153c245b3e2: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #17669 (incremental, blocking only)

This review covers only the commit pushed since 0cc7d15a. It changes one file, docs/conventions/pr-pipeline/README.md, in the "Verifier verdict" section. The commit adds a parenthetical saying that the owner decision of 2026-11-20 on #17671 dropped the earlier remaining-work requirement. The new sentence matches the closing issue's Decision section and the rest of the paragraph. It changes no rule.

Blocking: none. This lane had already reviewed an earlier head, so it reported blocking findings only.

Earlier loosened-check finding: it no longer applies. My one earlier finding said pr-verify was loosened with no trusted spec allowing it (.github/scripts/pr-verify/prompt.md:101-103). The PR now closes #17671. That issue names this exact fail reason ("names no remaining work"), says outright that dropping it loosens pr-verify, and gives the reason: the remaining work is the issue's own done-when list. Under the criterion's "Verdict" section, a loosening passes when the spec names it and says why, and #17671 does both. The thread is resolved and its lines are unchanged, so I have not raised it again.

#17671's done-when items: the three items (both prompts, the test and the README) match the full diff that was reviewed earlier. The test item is covered by the updated spec-prompt-text.test.mjs. I could not run the tests; the 319-test pass is the author's claim and is unverified.

The PR context file holds no text that tries to instruct this lane.

Advisory and manifest lines (1)
  • Loosened checks would be marked: fail (the default, because the prompt has no loosened_check_verdict: or loosened_check_patterns: line); patterns: 0. The prompt has no loosened_check_decision_record: line either, so I did not check whether the spec must cite the owner's decision.

No verifier subagent was dispatched because there were no candidate findings.

Verifier dropped 0 of 0 candidates.

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head 0cc7d15a8271690ac35b0b73b3e2583cdcea468e. What it wrote, as data:

Summary: Issue #17671 asks to remove the "names no remaining work" fail reason from both pr-verify
  judges, pin the new rule in spec-prompt-text.test.mjs, and update the README's Verifier verdict
  section. The diff does all three. The delivered-part, whole-issue, scope and main-red-incident
  rules stay as they were. The new test checks the new wording and also checks that the old wording
  is gone, so it can fail. The changelog fragments and the create.md wording are in line with the
  change. Still, the issue itself says the change loosens a pr-verify check. A spec only counts as
  asking for a loosened check when it links a line of the owner-decisions record
  (docs/owner-decisions.md#L<line>) and quotes the owner's words after `verbatim:` in double quotes.
  #17671 has neither. It only describes an in-session decision ("go w/ recomendations"), so the
  loosening is not authorised. I have no CI evidence either way: Select Tests was skipped, which
  marks a label or body-edit re-run, so the list does not show whether the pr-verify Node suite ran
  on this head. Nothing in the text tries to steer the reviewer.
- Issue #17671 body: this PR loosens a pr-verify check (it drops the "names no remaining work" fail
  reason), but the issue has no line link to the owner's decision
  (https://github.com/melodic-software/architecture/blob/<commit or
  main>/docs/owner-decisions.md#L<line>) and no owner's words after `verbatim:` in double quotes.
  Record the decision in owner-decisions.md and add both to the issue body, then re-judge.
- .github/scripts/pr-verify/prompt.md:39: this check is loosened without the owner-decision link and
  verbatim quote the spec needs (see Issue #17671). Keep the line as it is until the issue has that
  record.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass removes the label, at a new commit or at this same head: once a trusted person edits the body, and only trusted people have edited it since the fail, this head is judged again, so a fail on the body or the issues it links needs only the body fixed, no new commit.

@github-actions github-actions Bot added the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 20, 2026
…-work rule

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KeBVgdbwavfuWZGmKnMhWX
@github-actions github-actions Bot removed the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 20, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 20, 2026
Merged via the queue into main with commit b86329a Nov 20, 2026
50 checks passed
@kyle-sexton
kyle-sexton deleted the fix/pr-verify-refs-remaining branch November 20, 2026 17:10
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pr-verify: stop failing a Refs: pull request that names no remaining work

1 participant