Repository navigation
fix(drift): classify claude-fable-5-2 as an included Anthropic family - #610
Merged
Merged
Conversation
Fix Drift run 42768106181 (Nov 9) routed anthropic/claude-fable-5-2 to needs-human PR #602. Maintainer decision: include. aimock mocks this family on the chat surface. Include claude-fable-5-2 in includeFamilies.anthropic. It is the next point release of the included claude-fable-5, as claude-fable-5-1 is. Classified by lineage and the maintainer decision. No live probe was run. Add it to the static Anthropic /models wave and a behavioral test. The old negative control for claude-fable-5-2 in the 2026-09-05 wave block moves to claude-fable-5-3. Re-pin includeFamilies.anthropic. The old pin hashes the new membership minus claude-fable-5-2, so the delta is exactly this one addition; the new hash was recomputed from the module. Add the drift-proposals/ note #602 carries, resolved with "Decision: include", as 0e57517 did for the earlier #602 notes. No src/ change: src/model-utils.ts lists no Fable family, and an unlisted id defaults to reasoning-capable. Red-green (unclassifiedFamilies over the id drift-sync routed in the run's drift-sync.log): - main: models.drift.ts Anthropic wave with the id added is RED (expected ['claude-fable-5-2'] to equal []). After: GREEN. - text-drift.test.ts new block: RED on main, GREEN after. - logic-pin.test.ts: GREEN after the re-pin.
commit: |
This was referenced Nov 10, 2026
jpr5
added a commit
that referenced
this pull request
Nov 13, 2026
## What Classifies the new Gemini family `gemini-4-hydrogen` as **INCLUDE** (`includeFamilies.gemini`), so the live `/models` family canary stops reporting it as unclassified. Supersedes #616 (the Fix Drift needs-human PR, which only added the proposal note with `Decision: pending`). Fixes the critical in scheduled Drift Tests run [43376684576](https://github.com/CopilotKit/aimock/actions/runs/43376684576) (Thu Nov 12, 10:09 PM PST, main `78342949`): `Google Gemini model-family availability — live /models contains no unclassified family` → `models/gemini-4-hydrogen`. ## Why INCLUDE The approved rule: include when the live entry has no preview/EAP/`[Confidential]` marker, lists `generateContent`, and a text generateContent call returns 200 with text. This matches the `gemini-4-argon` precedent. Otherwise exclude, as with `gemini-4-carbon` (#614). Hydrogen meets every include condition. Google's Cloud guide also calls it a "short-term generally available (GA) release", with no allowlist. ## Probe evidence (redacted) There was no Gemini key on the local machine, so the probe ran in CI. Commit `0b8ac15b` added a temporary diagnostic to `models.drift.ts`. It wrote a key-free summary to `drift-evidence/` in the drift-live-pr head artifact (run [43472488931](https://github.com/CopilotKit/aimock/actions/runs/43472488931), Fri Nov 13, 9:27 AM PST). Commit `5acf0bb8` then reverted it, with no force-push. The artifact was checked for key material, and none was found. `GET /v1beta/models/gemini-4-hydrogen` → **200** ```json { "name": "models/gemini-4-hydrogen", "version": "3.0", "displayName": "Gemini 4 Hydrogen", "description": "Gemini 4 Hydrogen", "inputTokenLimit": 1048576, "outputTokenLimit": 65536, "supportedGenerationMethods": ["generateContent", "countTokens", "batchGenerateContent"], "thinking": true } ``` - The paged `/models` list contains `models/gemini-4-argon`, `models/gemini-4-carbon` and `models/gemini-4-hydrogen`. - `POST /v1beta/models/gemini-4-hydrogen:generateContent` ("Reply with the single word: pong") → **200**. The response has the text part `"pong"`, `finishReason: "STOP"`, `modelVersion: "gemini-4-hydrogen"` and `candidatesTokensDetails: [{modality: "TEXT"}]`. - Control: `gemini-4-argon` (already included) returned the same shape in the same run: 200, STOP, TEXT. - The entry has no `bidiGenerateContent`, `embedContent` or `predict`, so it is not a voice/audio family and needs no `knownVoiceModelFamilies` edit. ## Changes (copied from the #610 include and #614 exclude shapes) - `src/__tests__/drift/model-registry.ts`: the `gemini-4-hydrogen` entry in `includeFamilies.gemini`, with an evidence comment. - `src/__tests__/drift/logic-pin.test.ts`: the `includeFamilies.gemini` checksum re-pin (`2ce8c838…` → `7d064a63…`, cross-checked by recomputing sha256 of the sorted members). - `src/__tests__/drift/models.drift.ts`: the static Gemini `/models` wave entry. - `src/__tests__/drift/text-drift.test.ts`: the 2026-11-13 behavioural block, with negative controls (`gemini-4-helium` and `gemini-4-hydrogen-tts` are still reported). - `drift-proposals/gemini-gemini-4-hydrogen-new-family.md`: resolved with `Decision: INCLUDE` and the rationale. ## RED / GREEN (real surface: live Gemini `/models` canary) **RED** (before the fix, on main code): - Scheduled run 43376684576 report: a critical `Unclassified model family "gemini-4-hydrogen" in gemini /models`, path `models/gemini-4-hydrogen`. - drift-live-pr run 43472488931 (diagnostic head, main classification code): the base report (fresh live, 9:27 AM PST) and the head report both contain the same `models/gemini-4-hydrogen` critical. **GREEN** (after the fix): - drift-live-pr run [43473964234](https://github.com/CopilotKit/aimock/actions/runs/43473964234) on head `2017bfdb`: the head report (9:39 AM PST) has **zero** `hydrogen` mentions and no Gemini `/models` family-canary entry. The base report from the same run (fresh live main, 9:36 AM PST) still has the `models/gemini-4-hydrogen` critical, so the canary fired live in the same run and the fix cleared it. drift-live-pr: pass. - The head report has 6 remaining criticals, all native-authentication value divergences (`Anthropic native authentication and version`: status/type/error.type; `Gemini native authentication`: status/error.code/error.status). They are identical in the base report and in scheduled run 43376684576, they predate this PR, and this PR does not touch them. Local, non-live: - `vitest run src/__tests__/drift/`: 20 files, 256 passed, 6 skipped. - `pnpm typecheck`: clean. - eslint and `prettier --check` on the changed files: clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
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.
Fix Drift run 42768106181 (Nov 9, 10:22 PM PST) routed
anthropic/claude-fable-5-2to needs-human PR #602.Decision: include. aimock mocks this family on the chat surface. It is the next point release of the included
claude-fable-5, asclaude-fable-5-1is.This PR does what #603 did for the earlier #602 notes, so #602 itself is not merged (it also re-adds the 17
deprecatedFamilies.openaientries already on main from #606).includeFamilies.anthropicgetsclaude-fable-5-2. TheincludeFamilies.anthropicpin is re-pinned. The old pin hashes the new membership minus this id, so the delta is exactly one addition.models.drift.tsand a new behavioral block intext-drift.test.ts. The oldclaude-fable-5-2negative control moves toclaude-fable-5-3.drift-proposals/anthropic-claude-fable-5-2-new-family.md, resolved withDecision: include.src/change.src/model-utils.tslists no Fable family, and an unlisted id defaults to reasoning-capable.Red / green
The check is
unclassifiedFamiliesover the Anthropic id drift-sync routed in the run'sdrift-sync.log.RED (registry as on main, tests added):
GREEN (after):
Typecheck, lint, prettier and build are clean.