Skip to content

Use router model values in equivalent workflows - #78865

Merged
rabeckett merged 3 commits into
mainfrom
copilot/gh-78864-use-model-router-values
Nov 18, 2026
Merged

rabeckett merged 3 commits into
mainfrom
copilot/gh-78864-use-model-router-values

Conversation

@rabeckett

@rabeckett rabeckett commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Replace equivalent engine.model-routing settings in 74 workflows with the model: router convention, preserving routing behavior and leaving the 11 smoke workflows with candidate shortlists unchanged. Legacy routing syntax remains supported.

  • Migrate workflows: 56 to router/economy, 17 to router/balanced, and one to router for auto.
  • Regenerate locks: Update source fingerprints and the recorded router value.
# Before
engine:
  model-routing:
    goal: cost
    mode: economy

# After
model: router/economy

Co-authored-by: copilot-swe-agent[bot] <[email protected]>

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.

🔵 Needs a closer look

The generic secret scan did not complete, so the changes require human review.

No open issues 🎉

What changed in this PR

This PR adopts the shorter engine.model router syntax in gh-aw’s repository workflows, supporting the migration requested in #78864 without changing compiler support for the legacy syntax.

Changes:

  • Replaces explicit cost-routing settings with router/economy, router/balanced, or router, preserving the selected routing mode.
  • Updates the included generated locks with new source fingerprints and the requested router value; their effective routing settings remain unchanged.
  • Leaves workflow prompts, permissions, and tool configurations unchanged in the supplied diffs.
File Description
.github/​workflows/​windows-grower.md Uses router/economy.
.github/​workflows/​windows-grower.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​weekly-otel-reference.md Uses router/economy.
.github/​workflows/​weekly-otel-reference.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​weekly-network-domains-audit.md Uses router/balanced.
.github/​workflows/​weekly-network-domains-audit.lock.yml Refreshes hashes and records balanced router.
.github/​workflows/​weekly-git-simulator-dreaming.md Uses router/economy.
.github/​workflows/​weekly-git-simulator-dreaming.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​update-astro.md Uses router/economy.
.github/​workflows/​update-astro.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​unbloat-docs.md Uses router/economy.
.github/​workflows/​unbloat-docs.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​typist.md Uses router/economy.
.github/​workflows/​test-quality-sentinel.md Uses router/economy.
.github/​workflows/​test-quality-sentinel.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​terminal-stylist.md Uses router/economy.
.github/​workflows/​step-name-alignment.md Uses router/economy.
.github/​workflows/​step-name-alignment.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​spec-enforcer.md Uses router/balanced.
.github/​workflows/​spec-enforcer.lock.yml Refreshes hashes and records balanced router.
.github/​workflows/​sighthound-security-scan.md Uses router/economy.
.github/​workflows/​sighthound-security-scan.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​sergo.md Uses router/balanced.
.github/​workflows/​semantic-function-refactor.md Uses router/economy.
.github/​workflows/​semantic-function-refactor.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​safe-output-health.md Uses router/economy.
.github/​workflows/​refactoring-cadence.md Uses router/economy.
.github/​workflows/​refactoring-cadence.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​purelock.md Uses router/economy.
.github/​workflows/​prompt-clustering-analysis.md Uses router/economy.
.github/​workflows/​pr-sous-chef.md Uses router/economy.
.github/​workflows/​pr-sous-chef.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​ponytail-reviewer.md Uses router/economy.
.github/​workflows/​ponytail-reviewer.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​mattpocock-skills-reviewer.md Uses router/economy.
.github/​workflows/​lockfile-stats.md Uses router/economy.
.github/​workflows/​linter-miner.md Uses router/economy.
.github/​workflows/​issue-triage-agent.md Uses router/economy.
.github/​workflows/​issue-triage-agent.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​issue-arborist.md Uses router/economy.
.github/​workflows/​instructions-janitor.md Uses router/balanced.
.github/​workflows/​impeccable-skills-reviewer.md Uses router/economy.
.github/​workflows/​gpclean.md Uses router/economy.
.github/​workflows/​go-logger.md Uses router/balanced.
.github/​workflows/​go-fan.md Uses router/economy.
.github/​workflows/​github-mcp-tools-report.md Uses router/economy.
.github/​workflows/​github-mcp-structural-analysis.md Uses router/economy.
.github/​workflows/​front-page-copy-guard.md Uses router/economy.
.github/​workflows/​front-page-copy-guard.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​feature-grower.md Uses router/economy.
.github/​workflows/​feature-grower.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​example-workflow-analyzer.md Uses router/economy.
.github/​workflows/​eslint-monster.md Uses router/economy.
.github/​workflows/​eslint-monster.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​duplicate-code-detector.md Uses router for auto mode.
.github/​workflows/​developer-docs-consolidator.md Uses router/balanced.
.github/​workflows/​designer-drift-audit.md Uses router/economy.
.github/​workflows/​designer-drift-audit.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​design-decision-gate.md Uses router/balanced.
.github/​workflows/​design-decision-gate.lock.yml Refreshes hashes and records balanced router.
.github/​workflows/​daily-vulnhunter-scan.md Uses router/balanced.
.github/​workflows/​daily-vulnhunter-scan.lock.yml Refreshes hashes and records balanced router.
.github/​workflows/​daily-tlc-test-expert.md Uses router/balanced.
.github/​workflows/​daily-tlc-test-expert.lock.yml Refreshes hashes and records balanced router.
.github/​workflows/​daily-storify.md Uses router/economy.
.github/​workflows/​daily-spending-forecast.md Uses router/economy.
.github/​workflows/​daily-safeoutputs-git-simulator.md Uses router/economy.
.github/​workflows/​daily-safeoutputs-git-simulator.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​daily-safe-outputs-conformance.md Uses router/balanced.
.github/​workflows/​daily-safe-outputs-conformance.lock.yml Refreshes hashes and records balanced router.
.github/​workflows/​daily-safe-output-optimizer.md Uses router/balanced.
.github/​workflows/​daily-rendering-scripts-verifier.md Uses router/balanced.
.github/​workflows/​daily-reliability-review.md Uses router/economy.
.github/​workflows/​daily-grader-audit.md Uses router/economy.
.github/​workflows/​daily-go-test-parallelizer.md Uses router/economy.
.github/​workflows/​daily-go-test-parallelizer.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​daily-function-namer.md Uses router/economy.
.github/​workflows/​daily-evals-report.md Uses router/economy.
.github/​workflows/​daily-elixir-credo-snippet-audit.md Uses router/economy.
.github/​workflows/​daily-elixir-credo-snippet-audit.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​daily-documentation-diagram.md Uses router/economy.
.github/​workflows/​daily-doc-updater.md Uses router/balanced.
.github/​workflows/​daily-code-metrics.md Uses router/economy.
.github/​workflows/​daily-cli-tools-tester.md Uses router/economy.
.github/​workflows/​daily-aw-cross-repo-compile-check.md Uses router/economy.
.github/​workflows/​daily-astrostylelite-markdown-spellcheck.md Uses router/economy.
.github/​workflows/​daily-arxiv-researcher.md Uses router/economy.
.github/​workflows/​daily-action-setup-security-audit.md Uses router/balanced.
.github/​workflows/​daily-action-setup-security-audit.lock.yml Refreshes hashes and records balanced router.
.github/​workflows/​copilot-session-insights.md Uses router/economy.
.github/​workflows/​contribution-check.md Uses router/economy.
.github/​workflows/​contribution-check.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​constraint-solving-potd.md Uses router/economy.
.github/​workflows/​cloclo.md Uses router/balanced.
.github/​workflows/​claude-code-user-docs-review.md Uses router/economy.
.github/​workflows/​claude-code-user-docs-review.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​chaos-pr-bundle-fuzzer.md Uses router/economy.
.github/​workflows/​chaos-pr-bundle-fuzzer.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​changeset.md Uses router/economy.
.github/​workflows/​changeset.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​avenger.md Uses router/balanced.
.github/​workflows/​avenger.lock.yml Refreshes hashes and records balanced router.
.github/​workflows/​auto-triage-issues.md Uses router/economy.
.github/​workflows/​auto-triage-issues.lock.yml Refreshes hashes and records economy router.
.github/​workflows/​agent-persona-explorer.md Uses router/economy.
.github/​workflows/​agent-job-health.md Uses router/economy.
.github/​workflows/​ab-testing-advisor.md Uses router/balanced.

Review effort: Balanced

@rabeckett rabeckett changed the title [WIP] Update workflows to use model: router values Use router model values in equivalent workflows Nov 18, 2026
@rabeckett

Copy link
Copy Markdown
Collaborator Author

@copilot /pr-finisher Please make one scoped revision while this stays in draft. The PR description shows top-level model, but all 74 sources at 253f0cd8 put it under engine. Use the top-level field immediately before engine, as in the prepared migration. I compared all 74 generated locks with that migration: their only difference is the frontmatter fingerprint, and the 56 economy, 17 balanced and one auto values match. Balanced review found no code issues.

Please regenerate the locks, leave the 11 shortlisted smoke workflows and legacy support alone, and report the exact validated head SHA and the results of make recompile and make agent-report-progress on Linux. Keep other files out of the diff. If a gate fails for an unrelated reason on main, stop and report the failing step with evidence rather than fixing it here. No workflow dispatches or additional review requests, please.

Co-authored-by: copilot-swe-agent[bot] <[email protected]>

Copilot AI commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

@copilot /pr-finisher Please make one scoped revision while this stays in draft. The PR description shows top-level model, but all 74 sources at 253f0cd8 put it under engine. Use the top-level f...

Committed the scoped revision as 1242225 (validated head 1242225d6b1feaa25a37863f367e402c6b87cbcb). All 74 sources now place model: router... immediately before top-level engine; values remain 56 economy, 17 balanced, and one auto. The 11 smoke shortlists are unchanged, and the diff contains only those 74 sources plus their 74 locks.

On Linux, make recompile succeeded: 366/366 workflows compiled (259 warnings). make agent-report-progress passed after 641s, including impacted tests, formatting/lint, and workflow lock checks (366/366 compiled; 233 warnings). Secret scan found no secrets. CodeQL was attempted after commit but cancelled due to timeout; the tool explicitly says not to rerun.

@rabeckett
rabeckett marked this pull request as ready for review November 18, 2026 01:19
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt56 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.5K · ◷

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~11 AIC · ⌖ ~2 AIC · ⊞ 6.6K · ◷

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

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 analysis by Test Quality Sentinel · copilot · routed: haiku55 xhigh · ~2 AIC · ⌖ ~2 AIC · ⊞ 7.2K · ◷

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

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.

Generated by Ponytail Reviewer for #78865 · codex · routed: gpt61 medium · ~5 AIC · ⌖ ~1 AIC · ⊞ 185 · ◷

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Specification Reviewer completed successfully!

PR Specification Reviewer

Outcome: reported_action

The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated by PR Specification Reviewer for #78865 · copilot · gpt56 · ~3 AIC · ⌖ ~2 AIC · ⊞ 1.7K · ◷

@rabeckett
rabeckett requested a review from pelikhan November 18, 2026 01:20
@rabeckett

Copy link
Copy Markdown
Collaborator Author

@pelikhan, please review this before merge and merge if it looks good to you. At 1242225d6b1f, all 74 workflow/lock pairs match the validated migration byte for byte; the 11 smoke workflows with candidate shortlists are unchanged. Linux validation passed (make recompile, 366/366, and make agent-report-progress). No live workflows were dispatched. The stale-lock and CodeQL checks passed; some automated PR reviews are still running.

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (spec-review-history)
{"id":"ldg-4b623a21-25d0-4ea4-9a3e-e9e4d07e1c4e","parents":[],"payload":{"id":"ldg-c65c6ca3-361f-47c0-b8df-2601d6aa90c9","operation":"append","value":{"finding_count":0,"head_sha":"1242225d6b1feaa25a37863f367e402c6b87cbcb","outcome":"aligned"}},"sha":"sha256:88e8dc22b1f6dabaa909efc2e57e069af0c0931ad809ce43591cf716074c7f7b","timestamp":"2026-11-18T01:26:54.789Z","type":"ledger_append","version":1}
History

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

Review summary

No actionable correctness, performance, or maintainability issues found in the changed workflow routing declarations. The migrations consistently replace equivalent engine.model-routing values with the documented model: router/... forms, and the explicit router mapping preserves the prior auto mode.

Static review only; tests were not run. The specialist pass was unavailable because its output was not valid JSONL and its tool access was denied.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.5K
Comment /review to run again

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (review-history)
{"id":"ldg-718cc05d-6df4-49ae-af72-28441314b4f7","parents":[],"payload":{"id":"ldg-34f8cca9-4d01-432c-8f53-e4e99b3157f7","operation":"append","value":{"finding_count":0,"head_sha":"1242225d6b1feaa25a37863f367e402c6b87cbcb","outcome":"no_findings"}},"sha":"sha256:3b5e9d257cd9695745c0aa7f7bfa4d011e76253af8ae4b44ce9f27bf65aba407","timestamp":"2026-11-18T01:27:49.038Z","type":"ledger_append","version":1}
History

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

Skills-Based Review 🧠

Applied /codebase-design (triage recommendation; change type config). No blocking issues found, so no inline comments. Posting as COMMENT rather than APPROVE because make recompile drift and go test were not run locally.

📋 Verification and Notes

Verified

  • All 74 migrated workflows map correctly: 56 economy to router/economy, 17 balanced to router/balanced, and 1 auto to router (duplicate-code-detector.md).
  • No leftover engine.model-routing in migrated frontmatter and no duplicate keys. No file sets engine.model alongside a top-level router model, so nothing silently overrides the new value.
  • All 74 lock files record the matching requested router value.
  • The 11 smoke-routed workflows keep legacy model-routing, as the PR description states.
  • Router values are rejected for threat-detection, sub-agent, and eval models, and model_router_value_test.go covers those cases.

Not Verified Here

  • The CI lock-drift gate (make recompile) at head, and go test ./pkg/workflow/....

Non-Blocking

  • Placement: model: sits above engine: in most files and nowhere directly above it. This is cosmetic.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~11 AIC · ⌖ ~2 AIC · ⊞ 6.6K
Comment /matt to run again

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.3.1

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.

Use model: router values in workflows with equivalent routing settings

3 participants