Skip to content

fix(aw): enable capability-aware model routing - #1636

Merged
BenjaminMichaelis merged 1 commit into
mainfrom
bmichaelis-aw-issue-triage
Nov 14, 2026
Merged

BenjaminMichaelis merged 1 commit into
mainfrom
bmichaelis-aw-issue-triage

Conversation

@BenjaminMichaelis

Copy link
Copy Markdown
Member

Summary

Relates to #1634, including the consolidated CI Failure Doctor report #1630.

  • Enable explicit Copilot model routing (goal: cost, mode: auto) for Repo Assist and CI Failure Doctor.
  • Recompile both production locks with the existing gh-aw v1.2.2 / AWF v0.29.11 runtime family. No older model pin, fabricated pricing fallback, or compiler upgrade.
  • Preserve workflow triggers, prompts, permissions, safe outputs, network isolation, memory behavior, and the existing per-run credit cap.

The current provider auto alias resolves to a non-picker Decisions-only model and fails with 400 reasoning.effort "medium" is not supported. The deployed AWF router already excludes non-picker candidates and chooses a supported endpoint/effort; this change activates that path instead of the unrouted alias fallback.

Evidence: latest failed Repo Assist run, CI Doctor failure, and version-specific routing documentation.

Accessibility startup and its corresponding routing configuration are excluded from this PR. That separate candidate remains blocked at security review because the pinned compiler/runtime cannot establish an evidenced port-scoped host route or supported private app peer. No replacement for #1425 has been published.

Security review

The single read-only reviewer returned PASS (10/10 YES) for the unchanged authored sources and generated locks after resolving three narrowly scoped evidence gaps in the pinned runtime implementations. No confirmed vulnerabilities were found. Routing activates the existing pinned classifier/router path and its diagnostic artifacts; existing permissions, network isolation, allowed destinations, and per-run budget remain unchanged.

This is a static verdict, not evidence of hosted workflow recovery or authorization to dispatch a run.

Validation

  • gh aw compile repo-assist ci-doctor --shellcheck --json --no-check-update passed with zero compiler warnings; built-in AST lint and shellcheck covered the production locks (125 run-step resources).
  • Standalone actionlint passed using gh-aw's standard compatibility filters. Nested shellcheck/pyflakes were disabled there; shellcheck ran separately through the compiler.
  • Generated-config checks confirmed the router objective/input/image and preserved network allowlists, budget, and model aliases.
  • CI Doctor strict dry-run passed source/model validation and shellcheck; its diagnostic lock was preserved privately and the production lock restored.
  • Repo Assist dry-run remains blocked by its existing on.steps host-side PR-count gate. That behavior was not removed or weakened to make diagnostic compilation pass.
  • The initial optional actionlint dry-run scan timed out in nested tooling; that failed attempt remains recorded, not presented as passed.

MCP compile discovery initially returned no available tool; validation used the installed trusted CLI. No agentic workflow runs were dispatched or rerun. Matching-source inference, tool activity, and terminal safe outputs must still be observed for both workflows before #1634 is resolved.

@BenjaminMichaelis
BenjaminMichaelis merged commit 24bec9d into main Nov 14, 2026
21 checks passed
@BenjaminMichaelis
BenjaminMichaelis deleted the bmichaelis-aw-issue-triage branch November 14, 2026 06:21
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.

1 participant