Skip to content

chore: refresh canonical model sources - #11806

Merged
lpcox merged 3 commits into
mainfrom
automation/model-source-maintenance-44431437237
Nov 19, 2026
Merged

lpcox merged 3 commits into
mainfrom
automation/model-source-maintenance-44431437237

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Bounded evidence-backed proposal; full source upkeep remains incomplete. Ref #10298. Related Copilot tariff completion evidence: #11225 and #10029. This does not close these issues or complete feed-publication gates.

Proposed changes

Pin the approved openrouter-models response captured on 2026-11-19T00:46:00.562Z, SHA-256 950377d2ab8ee2bc15cf83980b6cd6f589c608553e9a1f3115cf64dd304ce076, with its real retrieval metadata. The complete envelope contains 480 records: 453 accepted, 27 explicit routing-alias/variable-price exclusions, zero collisions (previously 443 accepted). Its historically named models.dev.catalog.json remains an OpenRouter observation, not verified models.dev provenance, native-provider billing, deployment support or model-license evidence.

There are 13 added source-qualified IDs: google/gemini-4-neon, google/gemini-4-neon:batch, openai/gpt-6.2-astra, openai/gpt-6.2-astra-pro, openai/gpt-6.2-astra-pro:batch, openai/gpt-6.2-astra:batch, openai/gpt-6.2-sol, openai/gpt-6.2-sol-pro, openai/gpt-6.2-sol-pro:batch, openai/gpt-6.2-sol:batch, qwen/qwen4-max, tencent/hy4-flash and z-ai/glm-5.2:batch. Three prior listings are missing: qwen/qwen3-vl-30b-a3b-thinking, stepfun/step-3.5-flash and tencent/hunyuan-a13b-instruct. Disappearance is not retirement.

Preserve exact captured decimal prices, including decreases. For example, the OpenRouter-scoped openai/gpt-5.6-sol input/output observations change from $4.40/$22 to $4/$20 per million tokens, with cached input $0.44 → $0.40 and cache write $5.50 → $5. These are not new native or Copilot tariffs. All other exact price, cache, context/output and parameter changes are in the committed machine report.

Add one conditional canonical Decisions feature for native OpenAI gpt-6-luna: GET /v1/organization/usage/decisions, its admin API key plus api.usage.read requirement, time/bucket/filter/group controls, and request-not-question counting semantics. Evidence is the approved openai-decisions guide capture, SHA-256 bdb39f11dfccf5be1c8795f3b73b31b07b2af4ac24aa4254619716f17f6de773, captured at 2026-11-19T00:45:58.385Z. The report embeds the ordinary exact-quotation/before/after-hash receipt. Only the added fact gets new provenance. Generation projects it into modelProtocols in both API mapping copies and the catalogue snapshots; no projection was authored independently.

Source health and incomplete coverage

All 16 approved source captures have successful retrieval status. Successful retrieval does not resolve every fact or exact identity. refresh-copilot-pricing ran before source edits and proposed no tariff changes. Its unresolved exact-ID diagnostics cover Claude Fable 5.2, Opus 4.8 fast preview, GPT-6.2 Astra/Sol, Gemini 4 Carbon/Hydrogen/Neon, Grok 4.5/4.6/4.7, Kimi K3 and MAI Code 2/2 Flash. claude-sonnet-4 is not unambiguously GA in both Copilot sources. Prior facts remain unchanged instead of assigning IDs from display names, native documentation or OpenRouter namespaces. These gaps have also been submitted through report_incomplete; this draft is not a successful full refresh.

Last committed legacy Copilot provenance remains revision bc0dd2262f448c89a70a186a2732dc526acecd9d31f77c620e200b67a7e583b4 at 2026-10-20T00:22:04.000Z, estimated. New ambiguous display names have no corresponding exact active maintained record at the sealed base. Remaining scoped lifecycle reconciliation is not completed: Copilot retirement history includes past effective dates and annual-plan exceptions for Opus 4.8/Sonnet 4.6. No blanket retirement, replacement or CLI availability change is introduced.

Gemini 3.8 Flash's documented promotion remains through December 31, 2026; Gemini 4 Argon's remains until December 1, 2026. Neither has a verified successor in this evidence. Existing tariff provenance stays at 5f07cb3b59251688d15d46aca7b8e8c2e72678f8173b9337781c96b705d9129d, captured 2026-11-07T12:52:50.618Z. Preserve expiry into ordinary fallback/estimate/unpriced accounting, not an indefinite promotion or estimated doubled Flash rate. Explicitly unavailable cache-write remains unavailable, not zero. All unrelated staged availability, reasoning, routing and Grok corrections remain untouched.

The four Decisions captures were checked against docs/auth-matrix.md. Native gpt-6-luna is not evidence for unsuffixed Copilot gpt-6-luna; the pinned Copilot observation used gpt-6-luna-decisions. /decisions relative to /v1 and full /v1/decisions are unchanged. Existing typed-question/input/cache facts and their provenance remain unchanged. The native usage-reporting credential restriction does not establish inference credentials. PAT rejection remains separate from model compatibility; the historical Actions success remains limited to its recorded copilot-requests: write/agentic-workflows context, and other credential acceptance stays unknown. No lossless translation or broader endpoint/model support is inferred.

Review gates and runtime effects

Review shared/model-information/maintenance-report.json for the exact field deltas, source evidence, prior provenance, explicit exclusions and runtime resolution effects. The report records 279 raw-catalogue field changes and 114 runtime price/lookup-resolution field changes, including latest-alias prices and missing-model lookup removal. These bundled runtime inputs can change fallback accounting after merge. The runtime retirement guard is unchanged. Generated maintained pricing retains its existing lower-priority role; no provider, central-feed or operator precedence is changed.

Human review is mandatory for all facts, especially pricing decreases, missing records, cache component disappearance, changed limits and runtime lookup effects. This draft must not be merged as a claim that unresolved Copilot coverage is complete. No auto-merge, external feed/cache refresh, legacy pricing activation, resolver/schema/compiler/workflow change or new isolation architecture is included. Gate 5 and all Gate 8 work are not declared complete. A maintainer may need to enable CI for the workflow-created PR.

Validation

Ran the required sequence: generate, report, test, test-api-proxy, check, verify. Canonical suites: 204 tests passed. API-proxy suites: 366 passed, 2 skipped. The standalone post-commit verify passed. Commit 836f93e includes the source, exact import/metadata, machine report and every affected generated projection; the worktree was clean after committing.

Generated by 🗺️ Model source maintenance · copilot · routed: gpt61 high · ~74 AIC · ⌖ ~3 AIC · ⊞ 6.3K · ◷

Refs #10298; related Copilot tariff completion evidence: #11225 and #10029. These issues and feed-publication gates remain open.

Pin the approved 2026-11-19 OpenRouter response 950377d2ab8ee2bc15cf83980b6cd6f589c608553e9a1f3115cf64dd304ce076: 453 accepted records, 27 explicit routing/sentinel exclusions and zero collisions; 13 additions and three disappearances, not retirements. Preserve exact decimal source prices. Bundled price and alias lookup changes affect runtime fallback accounting and require human review.

Record native gpt-6-luna Decisions organization usage endpoint, reporting permissions, filters and request-count semantics from captured guide bdb39f11dfccf5be1c8795f3b73b31b07b2af4ac24aa4254619716f17f6de773 with a field-scoped evidence receipt. Generate both API mappings and all affected catalogue/pricing projections; commit exact deltas and runtime effects in shared/model-information/maintenance-report.json.

All 16 approved captures succeeded, but full upkeep remains incomplete: Copilot pricing diagnostics cannot resolve several exact model IDs and Sonnet 4 is not GA in both sources. Retain prior tariffs, annual-plan lifecycle exceptions, unknown endpoint/credential coverage and all unrelated staged corrections. No Copilot CLI or native-provider mapping inference, translation activation, auto-merge or external feed refresh.

Co-authored-by: Copilot <[email protected]>
Copilot AI adaptive review requested due to automatic review settings November 19, 2026 01:01

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.

🟡 Changes recommended

The change publishes out-of-scope organization-level authentication requirements as a per-model protocol feature, conflicting with the documented separation of protocol and authentication concerns.

1 open issue
What changed in this PR

Refreshes AWF’s canonical model information through the existing evidence-backed import and generation pipeline. This is a bounded update, not completion of the unresolved Copilot pricing and lifecycle coverage.

Changes:

  • Pins the newer OpenRouter capture, with 453 accepted records and 27 explicit exclusions.
  • Adds native OpenAI gpt-6-luna Decisions organization-usage metadata with fact-specific provenance.
  • Synchronizes generated mappings, comparison data and manifest metadata.
File Description
shared/​model-information/​sources/​decisions.json Adds the conditional organization-usage feature and evidence.
shared/​model-information/​manifest.generated.json Updates catalogue revision, capture time, import hash and accepted count.
shared/​model-information/​imported/​legacy-models-dev.metadata.json Pins the OpenRouter retrieval hash and timestamp.
shared/​model-information/​baseline-to-target.generated.json Synchronizes imported provenance and the new Decisions feature.
docs/​model-api-mapping.json Projects the Decisions metadata into the documentation mapping.
containers/​api-proxy/​model-api-mapping.json Keeps the bundled API mapping aligned with the generated documentation copy.

Review effort: Max (adaptive)

},
"organization_usage": {
"state": "conditional",
"condition": "GET /v1/organization/usage/decisions reports organization Decisions token usage and request counts using an admin API key with api.usage.read permission. Results support a time range, bucket width, and filtering or grouping by project, API key or model. num_model_requests counts requests, not individual questions. This usage-reporting credential requirement does not establish credential eligibility for inference or Copilot.",
@lpcox
lpcox marked this pull request as draft November 19, 2026 01:44
@lpcox
lpcox marked this pull request as ready for review November 19, 2026 01:44
Reference #10298. Append to the selected source-maintenance PR; do not close publication gates or activate staged corrections.

Pin the exact https://openrouter.ai/api/v1/models response captured 2026-11-19T12:32:01.916Z, SHA-256 17882a4fe1a4ef07ee971ba45f191cd56fcc8f2f33e4af5cf7d24b4aca3a81e2. Accept 453 records; the 27 rejected records are exactly 19 routing aliases and 8 variable-price sentinels. No collisions or exact-model additions/removals relative to the selected HEAD. No catalogue/model license is inferred.

Record exact decimal price changes for deepseek/deepseek-v4-flash-0731, google/gemma-4-26b-a4b-it, minimax/minimax-m3.1-flash, moonshotai/kimi-k2.7-code, qwen/qwen3.5-9b, z-ai/glm-5.1 and z-ai/glm-5.2, plus meta/muse-spark-1.3 web-search pricing and the glm-5.1 provider context. Regenerate all affected projections and shared/model-information/maintenance-report.json, including 37 raw-governed/runtime-resolution field changes and cumulative pending impact. The raw alias deepseek-v4-flash-latest also changes runtime fallback lookup pricing despite being excluded from normalized exact models. Additional raw API components remain observations, not newly activated native tariffs.

All 16 captures report successful retrieval, but overall coverage remains incomplete: copilot-pricing retains prior facts for 14 ambiguous or non-unambiguously-GA model mappings, including Fable 5.2, GPT-6.2 Astra/Sol, Gemini Carbon/Hydrogen/Neon, Grok 4.5/4.6/4.7, Kimi K3 and MAI Code 2/Flash. The Copilot sources do not jointly establish GA for claude-sonnet-4. Keep #11225 and #10029 open for tariff completion and unrelated work. Gemini Flash and Argon retain their documented promotion intervals without invented successors. Annual-plan lifecycle exceptions require scoped review rather than blanket retirement. Decisions exact IDs, endpoint paths, features and credential restrictions remain unchanged; historical Actions success is not fresh or general authentication evidence.

Validation: generation, report, 204 focused tests, 366 API-proxy tests (2 skipped), projection check and evidence verification passed in order. Human review and merge remain mandatory for runtime fallback price changes, decreases, lookup effects, compatibility/limit review and all pending source changes. No auto-merge, external feed/cache refresh, legacy pricing activation, resolver change or feed-publication completion.

Co-authored-by: Copilot <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor Author

Commit pushed: 1353bbe

Generated by Model source maintenance · copilot · routed: gpt61 high · ~65 AIC · ⌖ ~3 AIC · ⊞ 6.3K

@lpcox

lpcox commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

@copilot merge main and resolve conflicts

…ce-maintenance-44431437237

Co-authored-by: copilot-swe-agent[bot] <[email protected]>

Copilot AI commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

@copilot merge main and resolve conflicts

Merged main cleanly; no conflicts needed resolution. Merge commit: bc231cf.

Copilot AI requested a review from lpcox November 19, 2026 14:51
@github-actions

Copy link
Copy Markdown
Contributor Author

✅ Copilot review passed with no inline comments.

@github-actions[bot] Add the ready-for-aw label to this PR to trigger agentic CI smoke tests.

@github-actions

Copy link
Copy Markdown
Contributor Author

Documentation Preview

Documentation has been built for this PR.

Download preview artifact

To view locally:

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

Built from commit 3a0177a

@github-actions

Copy link
Copy Markdown
Contributor Author

⚠️ Coverage Regression Detected

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

Overall Coverage

Metric Base PR Delta
Lines 94.35% 94.34% ➡️ -0.01%
Statements 92.96% 92.95% ➡️ -0.01%
Functions 93.55% 93.55% ➡️ +0.00%
Branches 87.23% 87.22% 📉 -0.01%
📁 Per-file Coverage Changes (3 files)
File Lines (Before → After) Statements (Before → After)
src/nvx/one-shot-process.ts 84.0% → 81.5% (-2.47%) 76.8% → 74.7% (-2.11%)
src/commands/main-action-cleanup.ts 97.9% → 96.9% (-1.03%) 98.0% → 97.0% (-0.99%)
src/enclave/host-executor-socket.ts 95.9% → 95.9% (+0.00%) 91.5% → 90.2% (-1.22%)

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

@lpcox
lpcox merged commit 5c0e944 into main Nov 19, 2026
39 of 40 checks passed
@lpcox
lpcox deleted the automation/model-source-maintenance-44431437237 branch November 19, 2026 16:28
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.

3 participants