Skip to content

Align expert reviewer verdicts with safe outputs - #16381

Merged
Jakub Jareš (nohwnd) merged 1 commit into
microsoft:mainfrom
nohwnd:nohwnd-fix-pr-16033-reviewer-ci
Aug 19, 2026
Merged

Jakub Jareš (nohwnd) merged 1 commit into
microsoft:mainfrom
nohwnd:nohwnd-fix-pr-16033-reviewer-ci

Conversation

@nohwnd

Copy link
Copy Markdown
Member

The expert reviewer agent still tells delegated reviews to return APPROVE, while the workflow only permits COMMENT and REQUEST_CHANGES. This made the safe_outputs job fail twice on #16033.

Clean reviews now return COMMENT, matching the enforced workflow policy.

🤖

The delegated reviewer still recommends APPROVE while the workflow rejects it, causing deterministic safe_outputs failures. Return COMMENT for clean reviews.

🤖

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 18, 2026 14:15

Copilot AI 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.

Pull request overview

Updates the expert reviewer agent guidance to match the repository workflow’s enforced safe_outputs policy by removing APPROVE as an allowed verdict, preventing delegated reviews from returning disallowed outputs.

Changes:

  • Removes APPROVE from the documented set of allowed review verdicts.
  • Adds explicit guidance that automated reviewers must only return COMMENT or REQUEST_CHANGES.
  • Clarifies the “no findings” case as COMMENT (NO FINDINGS) while keeping approval as a human maintainer action.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants