Skip to content

fix(drift): classify claude-fable-5-2 as an included Anthropic family - #610

Merged
jpr5 merged 1 commit into
mainfrom
fix/drift-classify-claude-fable-5-2
Nov 10, 2026
Merged

jpr5 merged 1 commit into
mainfrom
fix/drift-classify-claude-fable-5-2

Conversation

@jpr5

@jpr5 jpr5 commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Fix Drift run 42768106181 (Nov 9, 10:22 PM PST) routed anthropic/claude-fable-5-2 to 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, as claude-fable-5-1 is.

This PR does what #603 did for the earlier #602 notes, so #602 itself is not merged (it also re-adds the 17 deprecatedFamilies.openai entries already on main from #606).

  • includeFamilies.anthropic gets claude-fable-5-2. The includeFamilies.anthropic pin is re-pinned. The old pin hashes the new membership minus this id, so the delta is exactly one addition.
  • The Anthropic /models wave in models.drift.ts and a new behavioral block in text-drift.test.ts. The old claude-fable-5-2 negative control moves to claude-fable-5-3.
  • drift-proposals/anthropic-claude-fable-5-2-new-family.md, resolved with Decision: include.
  • No src/ change. src/model-utils.ts lists no Fable family, and an unlisted id defaults to reasoning-capable.

Red / green

The check is unclassifiedFamilies over the Anthropic id drift-sync routed in the run's drift-sync.log.

RED (registry as on main, tests added):

× recorded /models family waves are classified > Anthropic: every live family is classified (zero unclassified)
  → expected [ 'claude-fable-5-2' ] to deeply equal []
× the 2026-11-10 model-family wave is classified > claude-fable-5-2 is INCLUDED in a /models-shaped payload

GREEN (after):

models.drift.ts  Anthropic wave   1 passed
text-drift.test.ts + logic-pin.test.ts   68 passed (68)
pnpm test:drift   564 passed | 131 skipped
pnpm test   20061 passed, 0 failed

Typecheck, lint, prettier and build are clean.

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.
@pkg-pr-new

pkg-pr-new Bot commented Nov 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@copilotkit/aimock@610

commit: cdc76c4

@jpr5
jpr5 merged commit 5be4434 into main Nov 10, 2026
35 checks passed
@jpr5
jpr5 deleted the fix/drift-classify-claude-fable-5-2 branch November 10, 2026 21:40
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)
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