Skip to content

Update expert-reviewer models: Opus 5, GPT-5.6 Sol, Gemini 3.6 Flash - #14532

Merged
JanProvaznik merged 1 commit into
dotnet:mainfrom
JanProvaznik:copilot/update-reviewer-models
Jul 27, 2026
Merged

JanProvaznik merged 1 commit into
dotnet:mainfrom
JanProvaznik:copilot/update-reviewer-models

Conversation

@JanProvaznik

Copy link
Copy Markdown
Member

Problem

Two of the three models named in the expert-review pipeline have been retired by GitHub Copilot, and the third is three generations behind.

Location Was Status
expert-reviewer.agent.md:573 (24 dimension sub-agents) claude-opus-4.6 Superseded by Opus 5
expert-reviewer.agent.md:629 (consensus validation) gpt-5.2-codex ❌ Retired
expert-reviewer.agent.md:629 (consensus validation) gemini-3-pro-preview ❌ Retired
review-shared.md:38 (reviewer sub-agent) claude-opus-4.6 Superseded by Opus 5

Retirement confirmed in the Copilot changelog (2026-05-20). Because two of the three IDs in Wave 2 are invalid, the cross-model consensus step ("keep findings confirmed by >=2/3") could not run as written.

Change

-2. Launch one sub-agent per dimension (..., model: "claude-opus-4.6").
+2. Launch one sub-agent per dimension (..., model: "claude-opus-5").

-4. ... run the same validation on 3 models (`claude-opus-4.6`, `gpt-5.2-codex`, `gemini-3-pro-preview`).
+4. ... run the same validation on 3 models (`claude-opus-5`, `gpt-5.6-sol`, `gemini-3.6-flash`).

-2. Call the `expert-reviewer` agent ... (..., model: "claude-opus-4.6").
+2. Call the `expert-reviewer` agent ... (..., model: "claude-opus-5").

Three lines, two files. The >=2/3 consensus rule is deliberately kept — the third slot stays filled (Gemini 3.6 Flash) so the arithmetic still works, and it keeps provider diversity in the validation step.

Why no .lock.yml regeneration

Both edited files reach the agent through {{#runtime-import}} (review.agent.lock.yml:309-310), i.e. they are read from the checked-out repo at run time rather than baked into the compiled workflow. Only body prose changed; no frontmatter (permissions, tools, safe-outputs, engine) was touched, so the compiled output is unchanged. Confirmed no CI job verifies lock freshness.

Follow-up (not in this PR)

The gh-aw orchestrator that calls the reviewer still defaults to claude-sonnet-4.6 (vars.GH_AW_MODEL_AGENT_COPILOT || vars.GH_AW_DEFAULT_MODEL_COPILOT || 'claude-sonnet-4.6'). That can be raised without recompiling any lock file by setting the repo variable GH_AW_MODEL_AGENT_COPILOT.

Separately, an audit of the reviewer's rules turned up several checks that produce guaranteed false positives regardless of model quality (e.g. requiring PublicAPI.Unshipped.txt, which does not exist in this repo; listing a Diagnostic MessageImportance, which does not exist in the enum). Those are worth a separate PR — raising model quality will not help while the rules themselves are wrong.

Two of the three models used by the review pipeline have been retired by
GitHub Copilot, and the third is three generations behind.

- `gpt-5.2-codex` and `gemini-3-pro-preview` were retired (Copilot
  changelog, 2026-05-20). The Wave 2 consensus-validation step named both,
  so that step could not run as written.
- `claude-opus-4.6` is superseded by Claude Opus 5.

Changes:
- expert-reviewer.agent.md: dimension sub-agents now use `claude-opus-5`.
- expert-reviewer.agent.md: consensus validation now uses `claude-opus-5`,
  `gpt-5.6-sol` and `gemini-3.6-flash`; the >=2/3 rule is unchanged.
- review-shared.md: the reviewer sub-agent now uses `claude-opus-5`.

No `.lock.yml` regeneration is needed: both files are pulled in through
`{{#runtime-import}}` and read from the checked-out repo at run time, and
no frontmatter changed.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: d205cff8-23b3-4dd7-9b51-416173f342b0
Copilot AI review requested due to automatic review settings July 27, 2026 10:12
@JanProvaznik
JanProvaznik requested a review from a team as a code owner July 27, 2026 10:12
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Skill Validator Results

✅ All checks passed

Scope Checked
Skills 0
Agents 1
Total 1
Severity Count
--- ---:
❌ Errors 0
⚠️ Warnings 0
ℹ️ Advisories 0

Summary

Level Finding
ℹ️ Found 1 agent(s)
ℹ️ Validated 1 agent(s)
ℹ️ ✅ All checks passed (1 agent(s))
Full validator output ```text Found 1 agent(s) Validated 1 agent(s) ✅ All checks passed (1 agent(s)) ```

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

This PR updates the documented model IDs used by the .github/agents/expert-reviewer workflow instructions so the expert-review pipeline no longer references retired models and can continue to run its multi-model “≥2/3” validation step.

Changes:

  • Update the per-dimension sub-agent model from claude-opus-4.6 → claude-opus-5.
  • Update the Wave 2 borderline consensus model set to claude-opus-5, gpt-5.6-sol, gemini-3.6-flash.
  • Update the shared review workflow guidance to call expert-reviewer using claude-opus-5.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/shared/review-shared.md Updates the documented model used to invoke the expert-reviewer agent.
.github/agents/expert-reviewer.agent.md Updates the documented model IDs for per-dimension review and multi-model validation.

@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.

✅ 24/24 dimensions clean — no findings.

This PR makes a targeted fix to update three retired model names in the CI review pipeline agent configuration. No MSBuild source code, tests, targets, or public API is changed. All 24 review dimensions are clean.

Warning

Firewall blocked 2 domains

The following domains were blocked by the firewall during workflow execution:

  • awmgmcpg
  • patchdiff.githubusercontent.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "awmgmcpg"
    - "patchdiff.githubusercontent.com"

See Network Configuration for more information.

Generated by Expert Code Review (on open) for #14532 · sonnet46 · 59.9 AIC · ⌖ 4.95 AIC · ⊞ 4.9K

Comment thread .github/agents/expert-reviewer.agent.md Resolved
@JanProvaznik
JanProvaznik merged commit b2dfab3 into dotnet:main Jul 27, 2026
20 checks passed

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 7721530f Deployed Jul 27, 2026 by JanProvaznik via conclusion #561
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.

3 participants