Complete routing effort metadata for current OpenAI and Anthropic models

オープン
#10,030 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript, typescript
領域
api, backend

調査の方向性

Start with the routing entries for gpt-5.4 and claude-opus-4 in containers/api-proxy/model-api-mapping.json, then compare them with the lookup logic and tests in model-api-mapping.test.js. Keep docs/model-api-mapping.json identical, and check MAPPING_FAMILIES_NOT_EXPOSED_BY_COPILOT_CLI in src/copilot-model-catalog-sync.test.ts. Done when the sync and routing-catalogue tests pass and the listed model lookups return the stated efforts or null.

索引モデルが issue の本文から書いたものです。

説明

Objective and current status

Complete reviewed exact-model native reasoning/context coverage for Phase 6 (#10296), under #10290. Reconciled 2026-11-10 UTC against main 6454ec273f0289ed5788475495d22a42c606ff15.

Keep this issue open, but do not reassign the shared reasoning migration or GPT-5.4 mini/Opus 4.6-4.8 work: those have landed. Most of the other originally requested native model facts remain staged, not active.

This is a current implementation/data-state review, not a fresh verification of the original October provider tables. Historical effort/context claims must be refreshed from official evidence before further activation.

Delivered and released

  • #11320: shared immutable, scoped exact-model reasoning decisions are consumed by direct validation and automatic routing. Runtime observations take precedence within the applicable scope; maintained facts are the fallback. Raw future efforts/provenance survive, but unknown values are not automatically selectable. Direct unknown-support pass-through remains intentional.
  • #11334: activates reviewed native GPT-5.4 mini/snapshot and Opus 4.6/4.7/4.8 facts through canonical source edits and generated mappings.
  • #11325/#11328: directed executable compatibility contracts and actual-request fallback assessment use shared evidence; a compatible endpoint or accounting family does not independently establish a model's efforts.
  • #11323/#11328: existing /reflect exposes current metadata and captured request decisions. No /reflect/v2 is needed.

These slices are in AWF v0.29.11. This delivery does not activate every row still in sources/target.json.

Active exact-native corrections: do not duplicate
Exact native scope Active efforts Context Mode/default and boundary
OpenAI gpt-5.4-mini, gpt-5.4-mini-2026-03-17 none, low, medium, high, xhigh 400,000 Optional; default metadata none. minimal, max and unrelated variants are not admitted by this record.
Anthropic claude-opus-4-6 low, medium, high, max 1,000,000 Optional; default metadata high. No xhigh. Separate exact routing record.
Anthropic claude-opus-4-7, claude-opus-4-8 low, medium, high, xhigh, max 1,000,000 Optional; default metadata high.

The default fields describe provider metadata, not insertion/substitution instructions. These facts apply to their reviewed native scope, not automatically to Copilot, OpenRouter, Bedrock, custom deployments or siblings sharing an accounting family.

Existing GPT-5.4/base snapshot routing remains unchanged, with exact routing patterns and 1,050,000 context. The mini variant does not inherit base GPT-5.4 facts.

Remaining active gaps

OpenAI native effort/context metadata

The active mapping still has no routing metadata for the following requested exact IDs/variants; their proposed facts remain in sources/target.json:

  • gpt-5.5
  • gpt-5.6, gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna
  • gpt-6-astra, gpt-6-sol, gpt-6-luna, gpt-6.1-sol

The original proposal's effort/context tuples are not verified current authority merely because they are staged. Refresh official per-ID evidence, include only documented aliases/snapshots and retain explicit unknowns. In particular, do not infer specialized gpt-5.6-cyber or gpt-5.5-pro support from broad family patterns.

#11332's exact gpt-6-luna Decisions protocol evidence does not fill the missing reasoning/context metadata or establish unsuffixed Copilot support.

For traceability, these are the historical October 15 proposals, still requiring current official evidence, not active facts:

Proposed native IDs Proposed efforts Proposed context
gpt-5.5 none, low, medium, high, xhigh 1,050,000
gpt-5.6, gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna none, low, medium, high, xhigh, max 1,050,000
gpt-6-astra low, medium, high, xhigh, max 1,050,000
gpt-6-sol, gpt-6-luna none, low, medium, high, xhigh, max 1,050,000
gpt-6.1-sol low, medium, high, xhigh, max; original evidence excluded none and minimal 1,050,000

Recheck OpenAI's official model pages, including any proposed dated snapshot such as gpt-5.5-2026-04-23 and any claim that the gpt-5.6 alias routes to Sol. Do not normalize these into broader routing support without evidence.

Anthropic native xhigh and Haiku coverage

The active Opus 5, Sonnet 5, Fable 5 and Mythos 5 routing records still list low, medium, high, max, without xhigh. Review and activate exact-model evidence for the originally named:

  • Opus 5 / 5.5 and Sonnet 5 / 5.5.
  • Fable 5 / 5.1 and Mythos 5 / 5.1.
  • Haiku 5.5: its native family still has no active routing metadata; reviewed efforts/context remain staged.

Preserve independent negative boundaries for Opus 4.6, Sonnet 4.6 and Mythos Preview. The current Mythos mapping includes Preview in its routing patterns, so adding xhigh to that whole family would incorrectly widen Preview unless exact records/patterns are separated. Marketing names, native endpoint support or accounting-family membership are not per-model evidence.

The existing Copilot CLI Haiku 5.5 entry and native Anthropic claude-haiku-5 mapping are different scopes. An old mapping-family exception comment is not proof of native effort support or current CLI absence; update characterization with the actual scoped activation.

The historical Haiku proposal was low, medium, high, xhigh, max and 1,000,000 context. Recheck the official effort guide and model overview for this and the exact xhigh additions/negative boundaries above before activation.

Acceptance checklist

  • Shared direct/routing reasoning contract, scoped runtime/maintained evidence, request pins and unknown/future-effort semantics are implemented; #11320.
  • GPT-5.4 mini and its documented snapshot have reviewed exact native efforts/context, mode/default and positive/negative fixtures; #11334.
  • Opus 4.6 is separated from 4.7/4.8; 4.7/4.8 gain xhigh, 4.6 rejects it, all retain 1M context and reviewed mode/default metadata; #11334.
  • Shared reasoning outcomes and actual compatibility decisions are exposed through existing /reflect; #11323/#11328.
  • Refresh official per-ID evidence and activate the remaining OpenAI records listed above, including only evidenced snapshots/aliases and exact routing patterns.
  • Refresh and activate the remaining named Anthropic xhigh facts without extending Opus 4.6, Sonnet 4.6 or Mythos Preview.
  • Verify and activate Haiku 5.5 native efforts/context and reconcile relevant scoped mapping/synchronization exceptions.
  • Reconcile only the fulfilled staged rows after activation; preserve unrelated staged pricing, availability, credential, protocol and harness proposals.
  • Update existing explicit gap-characterization fixtures to the reviewed new behavior and cover actual direct validation, automatic choices/fallback and /reflect; do not stop at adding source rows.
  • Regenerate all affected mappings/catalogue/package assets and demonstrate deterministic staleness and built/proxy packaging checks.

Ownership and validation

Author facts in shared/model-information/sources/mapping.json and the appropriate canonical records, not independently in generated docs/model-api-mapping.json or containers/api-proxy/model-api-mapping.json. Use npm run models:generate / npm run models:check; generation remains offline. Read the shared exact-model resolver and existing #11334 fixtures before adding logic.

Update source provenance when facts actually change and regenerate source-derived metadata; do not introduce timestamp-only churn or hand-edit generated lastUpdated fields.

Relevant existing tests include src/copilot-model-catalog-sync.test.ts, containers/api-proxy/model-api-mapping.test.js, model-reasoning.test.js, routing-catalogue.test.js, direct-effort validation/fallback/reflection tests and compiler/packaging checks. The host sync fixtures now correctly exclude mini from their remaining OpenAI gap list and record the still-missing Opus 5/Sonnet 5 xhigh facts. Update those expectations only when reviewed behavior is activated.

Cover exact ID/snapshot/alias scope, forbidden/missing/unknown efforts, raw future-value retention, defaults versus explicit insertion, specialized variant negatives, runtime precedence, direct versus automatic semantics, in-flight request pins and packaged data. Native docs do not establish Copilot availability/pricing, and OpenRouter metadata is not native effort evidence.

Run 42904995184 passed all six real Copilot/Claude/Codex Docker /reflect utilization scenarios. This demonstrates agent use of diagnostics, not capability verification for the remaining model IDs above. No new release/compiler smoke or logging work is required to maintain these canonical facts.

Evidence

Tracking update only: no new model activation, inference, workflow dispatch, policy change or unrelated execution/logging work is authorized.

主要言語
TypeScript
スター
169
フォーク
89
平均マージ
5時間 18分
マージ済み PR(30日)
450

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/gh-aw-firewall のほかの issue

github/gh-aw-firewall の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。