Skip to content

feat(presets-parity): assert contextWindows against /model/info; align presets (OPS-732)#43

Merged
todie merged 1 commit into
mainfrom
feat/ops-732-promote-assertion
Jul 18, 2026
Merged

feat(presets-parity): assert contextWindows against /model/info; align presets (OPS-732)#43
todie merged 1 commit into
mainfrom
feat/ops-732-promote-assertion

Conversation

@todie

@todie todie commented Jul 18, 2026

Copy link
Copy Markdown
Member

Summary

  • /v1/model/info is now authoritative (unsigned-paas#1449, chart 0.4.13 deployed + live-verified 41/41 enriched) — the weekly live parity run now asserts preset contextWindows equal max_input_tokens (was warn-only), with a ≥30-id coverage floor.
  • Preset windows aligned to the live surface: 17 corrections in pi + omp each, including real fixes (qwen3.6-35b was wrongly 262144 → 131072; GLM-5.2 lanes → 1M / 199984 short-tier; Kimi-K2.6 → 262144; DeepSeek V3-0324 → 163840, V4 → 1M).
  • README updated; pi/models.json reformatted by the alignment round-trip.

Closes OPS-732 (both halves).

Test plan

  • Offline bun test 3 pass/2 skip; PARITY_LIVE=1 5/5 green with the assertion active (zero drift against the live gateway); harness-pi:test + harness-omp:test green.

View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

… align presets to /model/info (OPS-732)

The gateway's /v1/model/info is authoritative for all 41 catalog models
since unsigned-paas#1449 (chart 0.4.13, live-verified 41/41 enriched).
Preset windows aligned to it in pi + omp (17 corrections each — incl.
fixing the qwen3.6-35b 262144 guess to the real 131072, GLM-5.2 lanes to
1M/199984, Kimi-K2.6 to 262144, DeepSeek V3/V4 to real windows). The
live parity test now fails on drift (with a >=30-id coverage floor so a
metadata collapse can't make it vacuous). pi models.json reformatted by
the alignment script (json round-trip); content-identical otherwise.
@todie
todie merged commit 966abb6 into main Jul 18, 2026
2 checks passed
@todie
todie deleted the feat/ops-732-promote-assertion branch July 18, 2026 12:07
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