Skip to content

feat(routing): add the routing configuration surface and contracts - #8853

Merged
lpcox merged 3 commits into
mainfrom
model-routing-contracts
Sep 22, 2026
Merged

lpcox merged 3 commits into
mainfrom
model-routing-contracts

Conversation

@lpcox

@lpcox lpcox commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add the typed apiProxy.routing configuration surface and carry it through config parsing, mapping, and WrapperConfig
  • recognize the digest-pinned router image role with the published upstream fallback
  • add closed AJV 2020 routing contracts, strict opt-in configuration parsing, sanitized failure records, and the recorded router corpus
  • document the configuration and pin ajv 8.20.0 in the API proxy

This PR intentionally does not stage routing input, register a router service, alter Compose topology, or import the new routing modules from the running API proxy. Configurations without apiProxy.routing retain the existing runtime behavior.

Closes #8851

Validation

  • npm --prefix containers/api-proxy test -- --runInBand --runTestsByPath routing-errors.test.js routing-config.test.js routing-contract.test.js
  • npx jest --runInBand --runTestsByPath src/config-file-mapping.test.ts src/commands/build-config.test.ts src/image-resolver.test.ts src/config-file-validation.test.ts src/commands/predownload.test.ts
  • npm run generate:schema
  • cmp docs/awf-config.schema.json src/awf-config-schema.json
  • npm run type-check
  • npm run lint (passes with existing warnings)
  • npm run build
  • npx jest --runInBand (376 suites, 6,051 passed, 4 skipped)
  • npm --prefix containers/api-proxy test -- --runInBand (87 suites, 1,717 passed)
  • npm --prefix containers/cli-proxy test -- --runInBand (1 suite, 78 passed)
  • npx markdownlint-cli2 docs/awf-config-spec.md

The repository-wide Markdown command also scans pre-existing archived files under .github/aw/logs and reports existing violations there; the changed documentation passes directly.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 21, 2026 21:42
@github-actions

github-actions Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Documentation Preview

Documentation has been built for this PR.

Download preview artifact

To view locally:

  1. Download the docs-preview-pr-8853 artifact from the workflow run
  2. Unzip and open index.html in your browser

Built from commit ae5f928

@github-actions

github-actions Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

⚠️ Coverage Regression Detected

This PR decreases test coverage. Please add tests to maintain coverage levels.

Overall Coverage

Metric Base PR Delta
Lines 93.28% 93.13% 📉 -0.15%
Statements 91.94% 91.72% 📉 -0.22%
Functions 92.00% 91.83% 📉 -0.17%
Branches 85.64% 85.27% 📉 -0.37%
📁 Per-file Coverage Changes (5 files)
File Lines (Before → After) Statements (Before → After)
src/nvx/filesystem-builder.ts 88.4% → 88.5% (+0.05%) 87.5% → 87.6% (+0.05%)
src/nvx/one-shot-adapter.ts 80.1% → 80.4% (+0.30%) 77.4% → 77.7% (+0.29%)
src/nvx/cleanup-record.ts 83.3% → 85.1% (+1.77%) 82.5% → 84.4% (+1.82%)
src/log-directory-setup.ts 96.2% → 100.0% (+3.78%) 96.3% → 100.0% (+3.71%)
src/commands/predownload.ts 93.3% → 100.0% (+6.67%) 91.3% → 100.0% (+8.70%)
✨ New Files (1 files)
  • src/nvx/runtime-lifecycle.ts: 84.5% lines

Coverage comparison generated by scripts/ci/compare-coverage.ts

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.

Copilot review overview

🟡 Changes recommended

Failure serialization may expose arbitrary exception details, and two closed response contracts lack regression coverage.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 1 High severity · 1 Medium severity

Open (2)
What changed in this PR

Adds the currently dormant task-level model-routing configuration and validation contracts without changing runtime topology.

Changes:

  • Threads routing configuration and router images through host configuration.
  • Adds strict API-proxy routing validators, failure records, and fixtures.
  • Updates schemas, documentation, dependencies, and tests.
File Description
src/​types/​container-image-options.ts Adds the router image role.
src/​types/​api-proxy-routing-options.ts Defines routing option types.
src/​image-resolver.ts Resolves router images.
src/​image-resolver.test.ts Tests router resolution.
src/​config-mapper.ts Maps routing configuration.
src/​config-file.ts Types routing file configuration.
src/​config-file-validation.test.ts Tests routing validation.
src/​config-file-mapping.test.ts Tests routing mapping.
src/​commands/​predownload.test.ts Tests router predownload behavior.
src/​commands/​build-config.ts Carries routing into WrapperConfig.
src/​commands/​build-config.test.ts Tests routing pass-through.
src/​awf-config-schema.json Adds generated routing schema.
docs/​awf-config.schema.json Adds canonical routing schema.
docs/​awf-config-spec.md Documents routing configuration.
containers/​api-proxy/​routing-errors.test.js Tests failure records.
containers/​api-proxy/​routing-errors.js Defines routing failures.
containers/​api-proxy/​routing-contract.test.js Tests routing contracts.
containers/​api-proxy/​routing-contract.js Implements AJV contracts.
containers/​api-proxy/​routing-contract.d.ts Exposes conversation validation typing.
containers/​api-proxy/​routing-config.test.js Tests environment parsing.
containers/​api-proxy/​routing-config.js Parses routing configuration.
containers/​api-proxy/​package.json Pins AJV 8.20.0.
containers/​api-proxy/​package-lock.json Locks AJV dependencies.
containers/​api-proxy/​fixtures/​routing-corpus.js Loads routing fixtures.
containers/​api-proxy/​fixtures/​routing-contract/​cases.json Records router corpus cases.
Files not reviewed (1)
  • containers/api-proxy/package-lock.json: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread containers/api-proxy/routing-errors.js Outdated
Comment on lines +43 to +49
const detail = error && typeof error.message === 'string'
? error.message
: 'Model routing failed';
return Object.freeze({
schema: 'awf-routing-failure/v1',
code,
detail: sanitizeFailureDetail(detail),
{ goal: 'cost', mode: 'balanced' },
{ version: '9.9.9' },
)).toThrow('The router version does not match the tested artifact');
});
@github-actions

github-actions Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

✅ Copilot review passed with no inline comments.

@lpcox Add the ready-for-aw label to this PR to trigger agentic CI smoke tests.

@lpcox

lpcox commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator Author

@copilot address review feedback

Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>

Copilot AI commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

@copilot address review feedback

Addressed in 7dc1583: non-RoutingError failures now serialize with a generic code/detail, and the API proxy tests cover secret-bearing plain errors plus top-level unknown-field rejection for classifier-plan and route responses.

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Smoke Claude passed

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • api.anthropic.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "api.anthropic.com"

See Network Configuration for more information.

Generated by Smoke Claude for #8853

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Smoke Cloud Hypervisor reports failed. Cloud Hypervisor + Copilot failed.

Cloud Hypervisor + Copilot smoke test by Smoke Cloud Hypervisor

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤

📰 BREAKING: Report filed by Smoke Copilot

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Security Guard failed. Please review the logs for details.

Generated by Security Guard for #8853

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Chroot tests passed! Smoke Chroot - All security and functionality tests succeeded.

Tested by Smoke Chroot

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Build Test Suite completed successfully!

Generated by Build Test Suite for #8853

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Smoke Gemini reports failed. Facets need polishing...

💎 Faceted by Smoke Gemini

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

📡 Smoke OTel Tracing reports failed. OTel tracing regression detected. ⚠️

Smoke Test: API Proxy OTEL Tracing — all scenarios pass.
✅ Scenario 1 (Module Loading): otel.js loads cleanly, exports 14 functions incl. startRequestSpan, setTokenAttributes, setBudgetAttributes, endSpan, endSpanError, shutdown, isEnabled.
✅ Scenario 2 (Test Suite): 3 suites (otel.test.js, otel-fanout.test.js, otel-workload-identity.test.js), 68/68 tests passed.
✅ Scenario 3 (Env Var Forwarding): env-passthrough.ts forwards GITHUB_AW_OTEL_TRACE_ID/GITHUB_AW_OTEL_PARENT_SPAN_ID to agent container; api-proxy-env-config.ts's buildOtelEnv() forwards OTEL_EXPORTER_OTLP_ENDPOINT/HEADERS and trace context to api-proxy container.
✅ Scenario 4 (Token Tracker Integration): onUsage and onSpanEnd callbacks present in token-tracker-http.js (used as OTEL hook points for usage attrs and span completion).
✅ Scenario 5 (OTEL Diagnostics): not independently re-verified in this pass (relies on prior CI step output); no errors observed in local module/test validation, consistent with graceful degradation when OTEL is unconfigured.

Overall: OTEL tracing integration for the api-proxy sidecar is working as designed. No issues filed. Not a PR-triggered run, so reporting via noop.

📡 OTel tracing validated by Smoke OTel Tracing

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟

Warning

Firewall blocked 8 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • msfeed25.pkgs.visualstudio.com
  • update.googleapis.com
  • www.google.com
  • www.gstatic.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "msfeed25.pkgs.visualstudio.com"
    - "update.googleapis.com"
    - "www.google.com"
    - "www.gstatic.com"

See Network Configuration for more information.

🔮 The oracle has spoken through Smoke Codex

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Smoke Copilot BYOK AOAI (api-key) reports failed. AOAI BYOK (api-key) mode investigation needed...

🔑 BYOK (AOAI api-key) report filed by Smoke Copilot BYOK AOAI (api-key)

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓

🔑 BYOK report filed by Smoke Copilot BYOK

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

🔌 Smoke Services — All services reachable! ✅

🔌 Service connectivity validated by Smoke Services

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

🛡️ Smoke Copilot Network Isolation confirmed the egress allowlist is enforced. ✅

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • example.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "example.com"

See Network Configuration for more information.

🛡️ Egress verdict from Smoke Copilot Network Isolation

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Smoke Copilot BYOK AOAI (Entra) reports failed. AOAI BYOK (Entra) mode investigation needed...

🪪 BYOK (AOAI Entra) report filed by Smoke Copilot BYOK AOAI (Entra)

@github-actions

This comment has been minimized.

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Security Guard failed. Please review the logs for details.

Generated by Security Guard for #8853

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Smoke Gemini reports failed. Facets need polishing...

💎 Faceted by Smoke Gemini

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Smoke Claude passed

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • api.anthropic.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "api.anthropic.com"

See Network Configuration for more information.

Generated by Smoke Claude for #8853

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤

📰 BREAKING: Report filed by Smoke Copilot

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓

🔑 BYOK report filed by Smoke Copilot BYOK

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟

Warning

Firewall blocked 7 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • msfeed25.pkgs.visualstudio.com
  • update.googleapis.com
  • www.google.com
  • www.gstatic.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "msfeed25.pkgs.visualstudio.com"
    - "update.googleapis.com"
    - "www.google.com"
    - "www.gstatic.com"

See Network Configuration for more information.

🔮 The oracle has spoken through Smoke Codex

@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Chroot tests passed! Smoke Chroot - All security and functionality tests succeeded.

Tested by Smoke Chroot

@github-actions

Copy link
Copy Markdown
Contributor

EGRESS_RESULT allow=pass deny=pass

✅ Allowed domain (github.com) reachable: allowed=200
✅ Blocked domain (example.com) denied: CONNECT tunnel failed, 403

Overall: PASS

@copilot the network isolation egress enforcement smoke test passed.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • example.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "example.com"

See Network Configuration for more information.

🛡️ Egress verdict from Smoke Copilot Network Isolation
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor

Smoke Test: Cloud Hypervisor + Copilot

  1. GitHub API (list_pull_requests): PASS — call succeeded
  2. github.com reachable (200/301): PASS — got 200
  3. File write/read in /tmp/gh-aw/agent/: PASS
  4. example.com blocked (000/403): PASS — got 000

Result: ALL CHECKS PASSED

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • example.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "example.com"

See Network Configuration for more information.

Cloud Hypervisor + Copilot smoke test by Smoke Cloud Hypervisor
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor

Smoke Test: Copilot Engine@lpcox

Overall: PASS

📰 BREAKING: Report filed by Smoke Copilot
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor

Smoke Test: Services Connectivity

  • Redis PING: ✅ (PONG)
  • PostgreSQL pg_isready: ✅ (accepting connections)
  • PostgreSQL SELECT 1: ✅ (1)

Overall: PASS

🔌 Service connectivity validated by Smoke Services
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor

Smoke Test: Claude Engine Validation

Check Status
API ✅ PASS
GitHub CLI ✅ PASS
File access ✅ PASS

Overall result: PASS

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • api.anthropic.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "api.anthropic.com"

See Network Configuration for more information.

Generated by Smoke Claude for #8853 · claude · haiku45 · 55.8 AIC · ⊞ 4.7K ·
Add label ready-for-aw to run again

@lpcox
lpcox deployed to aoai-model September 22, 2026 02:22 — with GitHub Actions Active
@github-actions

Copy link
Copy Markdown
Contributor

Smoke Test: Copilot BYOK (Direct) Mode ✅

  • MCP Connectivity: 2 recent PRs fetched successfully
  • GitHub.com: HTTP 200 confirmed
  • File Write/Read: Verified
  • BYOK Inference: Running in direct BYOK mode via api-proxy → api.githubcopilot.com

Overall: PASS

Direct BYOK mode (COPILOT_PROVIDER_API_KEY) routing through api-proxy sidecar is operational.

🔑 BYOK report filed by Smoke Copilot BYOK
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor

🏗️ Build Test Suite Results

Ecosystem Project Build/Install Tests Status
Bun elysia 1/1 passed ✅ PASS
Bun hono 1/1 passed ✅ PASS
C++ fmt N/A ✅ PASS
C++ json N/A ✅ PASS
Deno oak N/A 1/1 passed ✅ PASS
Deno std N/A 1/1 passed ✅ PASS
.NET hello-world N/A ✅ PASS
.NET json-parse N/A ✅ PASS
Go color pass ✅ PASS
Go env pass ✅ PASS
Go uuid pass ✅ PASS
Java gson 1/1 passed ✅ PASS
Java caffeine 1/1 passed ✅ PASS
Node.js clsx pass ✅ PASS
Node.js execa pass ✅ PASS
Node.js p-limit pass ✅ PASS
Rust fd 1/1 passed ✅ PASS
Rust zoxide 1/1 passed ✅ PASS

Overall: 8/8 ecosystems passed — PASS

Notes:

  • All repos cloned successfully; no CLONE_FAILED cases.
  • Java: initial mvn runs failed with Could not create local repository at /home/runner/.m2/repository because ~/.m2 had been pre-created with root ownership (not writable by the runner user), and the ~/.m2/settings.xml proxy config needed by Maven to reach repo.maven.apache.org via squid-proxy:3128 had been overwritten empty during setup. Worked around by pointing Maven at an alternate writable local repo path and restoring the proxy settings.xml; both gson and caffeine then compiled and tested successfully.

Generated by Build Test Suite for #8853 · copilot · auto · 59.1 AIC · ⊞ 11.8K ·
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor

Chroot Version Comparison Results

Runtime Host Version Chroot Version Match?
Python Python 3.12.14 Python 3.12.14 ✅ YES
Node.js v24.21.0 v22.23.2 ❌ NO
Go go1.22.12 go1.22.12 ✅ YES

Overall: FAILED — Node.js version mismatch detected between host and chroot environment (host v24.21.0 vs chroot v22.23.2). The smoke-chroot label was not added since not all tests passed.

Tested by Smoke Chroot
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor

Add NVX Phase 3b lifecycle foundations and KVM evidence workflow ✅
Replace Docker SBX CI smoke tests with Cloud Hypervisor ✅
PR detail lookup ✅
Playwright title check ✅
File write/read ✅
Build AWF ✅
Discussion comment ✅
Overall: PASS

Warning

Firewall blocked 7 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • msfeed25.pkgs.visualstudio.com
  • update.googleapis.com
  • www.google.com
  • www.gstatic.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "msfeed25.pkgs.visualstudio.com"
    - "update.googleapis.com"
    - "www.google.com"
    - "www.gstatic.com"

See Network Configuration for more information.

🔮 The oracle has spoken through Smoke Codex
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor

📡 Smoke Test: API Proxy OpenTelemetry Tracing — Results

Scenario Result
1. Module Loading otel.js loaded successfully, isEnabled()true. Exports: startRequestSpan, setTokenAttributes, setBudgetAttributes, endSpan, endSpanError, shutdown, isEnabled + internals.
2. Test Suite ✅ 68/68 tests passed (3 suites: otel.test.js + split modules) — covers span creation, header parsing, token/budget attributes, OTLP export, FileSpanExporter fallback.
3. Env Var Forwarding env-passthrough.ts forwards GITHUB_AW_OTEL_TRACE_ID/GITHUB_AW_OTEL_PARENT_SPAN_ID to the agent; api-proxy-env-config.ts forwards GH_AW_OTLP_ENDPOINTS, OTEL_EXPORTER_OTLP_ENDPOINT, and both trace context vars to the api-proxy.
4. Token Tracker Integration onUsage callback present in token-tracker-http.js as the OTEL hook point.
5. OTEL Diagnostics ✅ Real OTLP endpoint (Sentry) was configured for this run, so spans exported live via OTLP rather than the local file fallback — confirmed by 10 successful CONNECT 200 TCP_TUNNEL entries from the api-proxy sidecar (172.30.0.30) to o205451.ingest.us.sentry.io:443 in the Squid access log. Local otel.jsonl fallback path correctly not used (as designed: file fallback only activates when no OTLP endpoint is set).

Overall: ✅ All 5 scenarios validated — no regressions detected.

📡 OTel tracing validated by Smoke OTel Tracing
Add label ready-for-aw to run again

@lpcox
lpcox enabled auto-merge (squash) September 22, 2026 02:26
@lpcox
lpcox merged commit dc3f31d into main Sep 22, 2026
152 of 159 checks passed
@lpcox
lpcox deleted the model-routing-contracts branch September 22, 2026 02:30
github-actions Bot added a commit that referenced this pull request Sep 22, 2026
PR #8853 added apiProxy.routing (ModelRoutingConfig) to the JSON schema,
docs/awf-config-spec.md, TypeScript types (config-file.ts, config-mapper.ts,
api-proxy-routing-options.ts), and build-config.ts, but never wired the
resulting modelRouting config value to an env var for the api-proxy sidecar.
Added AWF_MODEL_ROUTING wiring in buildModelPolicyEnv alongside the existing
AWF_MODEL_FALLBACK pattern, updated the spec's CLI mapping table entry, and
added a regression test.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

This branch was successfully deployed

1 active deployment
aoai-model 95b75d21 Deployed Sep 22, 2026 by lpcox via conclusion #1727
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.

feat(routing): add the routing configuration surface and contracts

3 participants