Skip to content

Make the model routing guide easier to use - #79124

Merged
rabeckett merged 2 commits into
mainfrom
docs/routing-guide-for-authors
Nov 18, 2026
Merged

rabeckett merged 2 commits into
mainfrom
docs/routing-guide-for-authors

Conversation

@rabeckett

Copy link
Copy Markdown
Collaborator

Follow-up to #79117. Start the model routing guide with an issue triage workflow, then show how to choose a level, narrow the main agent's choices without restricting sub-agents, opt out, and check what a run selected. All guide examples use the top-level syntax.

Move migration advice to the workflow upgrade page so authors with a compiler warning can still find it. Align the frontmatter, glossary, and audit pages with the guide. Documentation only; no workflow, lock, compiler, or runtime changes.

Validation

  • gh-aw compile --no-emit --no-check-update passed for the quickstart, shortlist, and opt-out examples extracted from the guide.
  • npm --prefix docs run test:titles passed all 33 tests. Verified the guide's links and incoming documentation fragments, and compiled the edited upgrade MDX.
  • make agent-report-progress passed. No live workflow was dispatched.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@rabeckett
rabeckett marked this pull request as ready for review November 18, 2026 22:21
Copilot AI adaptive review requested due to automatic review settings November 18, 2026 22:21
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Warning

Threat detection engine error

Threat detection could not complete its analysis due to a tooling error. This is not a security finding.

What happened

The threat detection engine failed to produce results.

Review the workflow run logs to troubleshoot the error.

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 · ⊞ 7.2K · ◷

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.

🟡 Changes recommended

The migration guidance still risks dropping a single legacy model shortlist and unintentionally broadening router candidates, so the documentation requires correction.

1 open issue
What changed in this PR

This pull request reorganizes the model-routing documentation around a practical issue-triage workflow, moves legacy migration guidance to the workflow upgrade page, and aligns related reference pages with the top-level routing syntax.

Changes:

  • Reworks the routing guide with examples for levels, shortlists, opt-out behavior, and run auditing.
  • Adds migration guidance for deprecated nested routing settings.
  • Updates glossary, frontmatter, and audit references.
File Description
docs/​src/​content/​docs/​setup/​working-with-workflows.mdx Adds migration guidance for deprecated nested model-routing settings.
docs/​src/​content/​docs/​reference/​model-routing.md Reorganizes the model-routing guide around setup, levels, shortlists, opt-out behavior, supported routing, and auditing.
docs/​src/​content/​docs/​reference/​glossary.md Updates model policy and model-routing definitions for the top-level syntax.
docs/​src/​content/​docs/​reference/​frontmatter.md Aligns frontmatter documentation and examples with top-level routing configuration.
docs/​src/​content/​docs/​reference/​audit.md Updates model-downgrade audit guidance to use current routing terminology and selectors.

Review effort: Lite (adaptive)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@rabeckett
rabeckett merged commit 2394457 into main Nov 18, 2026
13 checks passed
@rabeckett
rabeckett deleted the docs/routing-guide-for-authors branch November 18, 2026 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants