chore: add check-models skill + CI gate (tooling only)#67
Merged
Conversation
Skill + scanner that find outdated OpenAI / Anthropic / Google (Gemini) model references and migrate them to current size-tier equivalents. The CI gate scans only the lines a PR changes (paths: python typescript), so it flags newly introduced outdated models and fails the check, without blocking on pre-existing references. Notebook/code migrations land separately as themed PRs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…sting CI gate now scans the whole of each touched file and tags findings by whether the PR changed the line — introduced fails, pre-existing (unchanged line of a touched file) is a non-blocking warning. `python typescript` scan paths. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Nancy-Chauhan
approved these changes
Jun 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the
check-modelsskill and a CI gate that flags outdated OpenAI / Anthropic / Google (Gemini) model references.Scope: tooling only — 4 files. The CI gate (
check-models.yml) scans only the lines a PR changes (--diff <base>), so it fails the check when a PR introduces an outdated model ID on a changed line, without blocking on pre-existing references elsewhere.The bulk model-reference migrations (done and live-verified separately) are parked on the
chore/check-modelsbranch and will land as small, themed follow-up PRs (gpt-5, Claude, gpt-4.1, phoenix.evals API, Gemini) for easier review.To see this gate in action, here is a throwaway demo PR (now closed) that edited one line containing an outdated model:
gpt-4o-miniline in an airflow DAG.The
check-modelscheck failed with 1 introduced (the touched line →gpt-4o-mini→gpt-5.4-mini) and listed 6 pre-existing outdated models elsewhere in the same file as non-blocking warnings. The bot comment on #68 shows the two tiers.