Repository navigation
Make the model routing guide easier to use - #79124
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
✅ 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 happenedThe threat detection engine failed to produce results. Review the workflow run logs to troubleshoot the error. 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.
|
There was a problem hiding this comment.
🟡 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>

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-updatepassed for the quickstart, shortlist, and opt-out examples extracted from the guide.npm --prefix docs run test:titlespassed all 33 tests. Verified the guide's links and incoming documentation fragments, and compiled the edited upgrade MDX.make agent-report-progresspassed. No live workflow was dispatched.