model-routing-as-code explores how to represent model/provider/local/cloud selection rules, correctness gates, cost routing, fallback policy, and eval thresholds as version-controlled, reviewable, testable, auditable, and agent-operable source material.
Model Routing-as-Code means treating model/provider/local/cloud selection rules, correctness gates, cost routing, fallback policy, and eval thresholds as canonical operational state expressed through files, schemas, examples, tests, and reviewable change history.
- Define the domain clearly.
- Collect prior art and examples.
- Provide reusable schemas and templates.
- Support human review and agent execution.
- Preserve auditability, provenance, and governance boundaries.
- This repo is not a universal standard.
- This repo is not legal, security, compliance, or operational advice.
- This repo does not canonize HUMMBL/BaseN/Ownward concepts unless explicitly marked and audited.
seed->v0.1-draft
- Boundary:
docs/v0.1-boundary.md - Schema:
schemas/model-routing-as-code-v0.1.json - Example:
examples/route-manifest-v0.1.example.json - Fixtures:
fixtures/valid/route-manifest-v0.1.valid.json,fixtures/invalid/route-manifest-v0.1.invalid.json
- GPT-5.6 Sol Ultra evidence packet (search-bounded, checked 2026-07-11):
docs/evaluations/2026-07-11-gpt-5.6-sol-ultra-evidence-packet.md - Provisional reasoning-effort route policy:
docs/route-policy/reasoning-effort-route-policy.v0.1.md - Controlled xhigh–Max–Ultra protocol:
docs/evaluations/ultra-evaluation-protocol.v0.1.md - Machine benchmark inventory and sanitized chart provenance:
data/gpt-5.6-sol-ultra/benchmark_dataset.v0.1.json - Governed execution-receipt contract:
schemas/ultra_evaluation_receipt.v0.1.schema.json - Mandatory deterministic receipt validator:
tools/validate_ultra_evaluation_receipt.py - Sanitized publication rebuild receipt:
receipts/2026-07-11-gpt-5.6-sol-ultra-publication-rebuild.json - Promotion and review-closure receipt:
receipts/2026-07-11-gpt-5.6-sol-ultra-promotion.json
These artifacts are evidence and experiment scaffolding, not adopted universal routing policy.
Full receipt conformance requires the deterministic validator. Draft 2020-12 schema validation covers the portable structural contract; the validator also enforces cross-field route, lane, telemetry, timestamp, and observation semantics.
Public seed repository. Initial executable packet in progress as seed -> v0.1-draft.