Repository navigation
Route nine Claude Code workflows still on claude-sonnet-5 through Copilot model routing - #74666
Conversation
Co-authored-by: SivaKesava1 <[email protected]>
Co-authored-by: SivaKesava1 <[email protected]>
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ PR Code Quality Reviewer completed the code quality review.
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft. Design Decision Gate 🏗️Outcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
Comment MemoryPeek at saved memory (pr-code-quality-reviewer)Note This comment is managed by comment memory.Expand the saved memory block to view or edit the persistent context for this thread.
|
There was a problem hiding this comment.
The routing migration retains known-incompatible sub-agent aliases.
Highlights
small/largealiases can resolve to non-Claude models under the new Claude routing configuration.- The compiler warnings documented in the PR and the repository routing guidance indicate possible endpoint/tool incompatibility and startup failure.
Please pin Claude-compatible sub-agent models (or remove those overrides), then recompile and verify the routed workflows.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.6K
Comment /review to run again
There was a problem hiding this comment.
🔵 Needs a closer look
Five preserved sub-agent aliases resolve to non-Claude model families under the new provider, triggering compatibility warnings that require runtime validation, while first-run cost and output-quality checks remain outstanding.
No open issues 🎉
What changed in this PR
Moves nine Claude Code workflows to cost-focused Copilot model routing, implementing the configuration changes in #74661 while retaining Claude Code as the agent engine.
Changes:
- Enables GitHub-backed inference and
copilot-requests: write, usingeconomyfor seven workflows andbalancedfor VulnHunter and Developer Docs Consolidator. - Removes two explicit Sonnet 5 pins while preserving prompts, tools, sub-agents, and safe outputs.
- Regenerates lock files with routing setup, GitHub-token authentication, runtime model metadata, and telemetry protocol settings from #74594.
Cost savings and output quality remain subject to the planned first-run audits.
| File | Description |
|---|---|
.github/workflows/step-name-alignment.md |
Enables economy routing and Copilot permission. |
.github/workflows/semantic-function-refactor.md |
Removes the Sonnet pin and enables economy routing. |
.github/workflows/lockfile-stats.md |
Replaces engine shorthand with economy routing. |
.github/workflows/lockfile-stats.lock.yml |
Generates routing, token authentication, and Copilot threat detection. |
.github/workflows/github-mcp-tools-report.md |
Enables economy routing for tools reporting. |
.github/workflows/github-mcp-tools-report.lock.yml |
Generates routing and updates sub-agent model-resolution metadata. |
.github/workflows/developer-docs-consolidator.md |
Enables balanced routing for documentation consolidation. |
.github/workflows/daily-vulnhunter-scan.md |
Removes the Sonnet pin and enables balanced routing. |
.github/workflows/daily-safeoutputs-git-simulator.md |
Enables economy routing for Git simulation. |
.github/workflows/daily-elixir-credo-snippet-audit.md |
Enables economy routing for Credo audits. |
.github/workflows/daily-elixir-credo-snippet-audit.lock.yml |
Generates routing and GitHub-token authentication for inference and evaluations. |
.github/workflows/daily-astrostylelite-markdown-spellcheck.md |
Enables economy routing for spelling fixes. |
Review effort: Balanced (auto)
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /codebase-design and /grill-with-docs. Requesting changes because the new Claude routing leaves five inline sub-agent model warnings that can become runtime delegation failures.
📋 Key themes
daily-safeoutputs-git-simulator.md:largecan resolve outside the Claude family.github-mcp-tools-report.md: twosmallworkers can resolve outside the Claude family.developer-docs-consolidator.md: twosmallworkers can resolve outside the Claude family.
The compiler reproduced all five warnings. Claude CLI sessions use one wire API for the parent and sub-agents, so replace these broad aliases with Claude-family aliases such as sonnet/haiku or exact claude-* IDs, then recompile. The PR description already records these warnings, but retaining them risks failed or silently degraded workers.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: gpt56 max · ~15 AIC · ⌖ ~1 AIC · ⊞ 5.4K
Comment /matt to run again
|
Note The pull request was not created — a fallback review issue was created instead due to protected file changes: #74703 PR finisher pass: pinned the routed sub-agents to Claude models ( PR_FINISHER_WORK_SUMMARY: PR finisher dispatch requested for the listed outstanding work.
|
|
Note The pull request was not created — a fallback review issue was created instead due to protected file changes: #74706 PR finisher pass: changed the flagged sub-agent aliases to Claude ids (
PR_FINISHER_WORK_SUMMARY:
2-5. Review threads on sub-agent aliases (developer-docs-consolidator, github-mcp-tools-report, daily-safeoutputs-git-simulator). Sous-chef head: 1b0c62b
|
|
Note The pull request was not created — a fallback review issue was created instead due to protected file changes: #74709 PR finisherSubmitted for publication (not confirmed pushed): the sub-agent aliases flagged in the review threads ( Limits: merging PR finisher dispatch requested for the following outstanding work: Sous-chef head: 1b0c62b
|
PR finisher: no changes submitted
CI is not re-triggered. PR finisher dispatch requested for the following outstanding work: merge main, and review threads on sub-agent aliases.
|
Addressed: the sub-agent alias warnings were checked with routed runs of all nine workflows on this branch (all requests 200; small resolved to Claude Haiku 5.5). #74661 keeps the aliases unchanged. Threads answered and resolved.
|
🎉 This pull request is included in a new release. Release: |
Nine Claude Code workflows still run on the default model,
claude-sonnet-5. This moves them to Copilot model routing, the same way as Sergo, Static Analysis Report and Instructions Janitor. Estimated saving is about 2,000–2,500 AIC/week.Workflow changes (
.github/workflows/*.md)engine: claudeshorthand: replaced with the block above.engine:blocks: gainedmodel-providerandmodel-routing; their other fields are unchanged.model: claude-sonnet-5: removed fromdaily-vulnhunter-scanandsemantic-function-refactor.small/largealiases), experiments and safe outputs. No model pins orallowed-modelswere added.balancedbalancedeconomyeconomyeconomyeconomyeconomyeconomyeconomyLock files (only these nine were recompiled)
COPILOT_GITHUB_TOKEN: ${{ github.token }};secrets.ANTHROPIC_API_KEY.daily-vulnhunter-scanandsemantic-function-refactor: threat detection moves from theclaude-sonnet-5pin to its default model.mainalready has lock drift from Add dependency-free OTLP protobuf support for Azure Monitor #74594, so each of the nine locks also gainsOTEL_EXPORTER_OTLP_PROTOCOLlines. No other locks are touched.Review notes
small/largealiases can resolve to non-Claude models (mini,gpt-*,gemini-pro). The aliases are kept as the issue asks.make agent-finishhits failures in code and workflows this PR doesn't touch, so these are believed to fail onmaintoo; that hasn't been confirmed on a cleanmaincheckout.golint: from [avenger] Fix update handling of conflicted workflows #74552.test-integration:TestDownloadWorkflowLogsForTargets*.test-js: send_otlp_span, awf_reflect_summary, copilot_sdk_mcp_config, and model_pin_check onagent-persona-explorer.md.test-scripts: USE-001.validate-otel-contract,fix,security-govulncheck.high/xhighpicks, and comparing PR acceptance and VulnHunter findings with recent runs.