Skip to content

fix(drift): classify gpt-image-2.6 models; move Anthropic probe off retiring claude-sonnet-4-5 - #603

Merged
jpr5 merged 3 commits into
mainfrom
fix/drift-image-models-anthropic-probe
Nov 6, 2026
Merged

jpr5 merged 3 commits into
mainfrom
fix/drift-image-models-anthropic-probe

Conversation

@jpr5

@jpr5 jpr5 commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

What failed

The nightly Drift Tests run 41978509138 (Nov 4, 10:09 PM PST) failed live /models contains no unclassified family. OpenAI's /v1/models started listing gpt-image-2.6-flare and gpt-image-2.6-sunburst. The failure held on all 3 attempts. The same run's preflight warned that claude-sonnet-4-5-20250929 and claude-sonnet-4-5 retire on Nov 30, 2026.

Changes

  1. fix(drift): add both ids to excludeFamilies.openai (image models, same as gpt-image-2.5-* in 68e9253) and to the static OpenAI wave. Re-pin the excludeFamilies.openai freeze hash. The membership changed only by these two additions.
  2. chore(drift): move the count, K5 and K9 Anthropic probes to claude-sonnet-4-6, not the recommended claude-sonnet-5-5. Per the Claude thinking docs, Sonnet 5.5 returns a 400 for K9's thinking: {type: "enabled", budget_tokens}. It also turns thinking on by default, which would change the K5/count shapes. Sonnet 4.6 keeps today's behavior and is Active, not sooner than Feb 17, 2027. Moving to 5.5 means reworking K5/K9 with live captures (follow-up).
  3. fix(drift) gemini-omni-1.2-flash: Fix Drift run 42174168128 (needs-human chore(drift-sync): needs-human model-family decision (2026-11-10) #602) also flagged gemini-omni-1.2-flash. Excluded, following gemini-omni-1.1-flash (video generation; Google lists 1.2 as its stable successor). Re-pinned excludeFamilies.gemini. Also added the three drift-proposals/ notes from chore(drift-sync): needs-human model-family decision (2026-11-10) #602, resolved as EXCLUDE, as the precedent commits did.

Red / green (local)

Check main this branch
assertNoUnclassifiedFamilies on the ids from the run's drift-report.json RED: ["gpt-image-2.6-flare","gpt-image-2.6-sunburst"] unclassified GREEN: []
models.drift.ts OpenAI wave with the 2.6 ids RED GREEN
logic-pin.test.ts after the registry edit RED (hash) GREEN (re-pinned)
runPreflight over the real DRIFT_PROBE_MODELS (Anthropic lifecycle replayed from the run and the deprecations page, no live call) RED: 2 × "retires on 2026-11-30 (in 25 days)" GREEN: no Anthropic pin warned
unclassifiedFamilies over the 3 ids drift-sync routed in run 42174168128 RED: all 3 (branch head before commit 3: gemini-omni-1.2-flash only) GREEN: none

Format, lint, typecheck and build are clean. Unit suite: 0 new failures. 6 CLI/doc-sample files need dist/ and passed once rebuilt (222/222).

Not changed: the Bedrock pin us.anthropic.claude-sonnet-4-5-20250929-v1:0 (test-drift.yml, bedrock-misbehavior-live.drift.ts). Bedrock lists it as Legacy since Oct 8, 2026, with extended access (higher pricing) from Jan 8, 2027 and EOL on Apr 8, 2027.

After merge, #602 can be closed: no new family is left for drift-sync to route. drift-sync will still record the 17 deprecatedFamilies.openai entries #602 carries and open a mechanical ok-applied PR for them. That is out of scope here.

jpr5 added 2 commits November 5, 2026 22:11
OpenAI's live /v1/models started listing gpt-image-2.6-flare and
gpt-image-2.6-sunburst on Nov 4. The nightly Drift Tests run 41978509138
failed "live /models contains no unclassified family" on both ids,
confirmed across all 3 attempts.

They are the 2.6 point release of the gpt-image-2.5 flare/sunburst pair:
image generation, not chat. Add both to excludeFamilies.openai beside
gpt-image-2.5-*, and to the static OpenAI /models wave in models.drift.ts
so the offline coverage test grades them (same as 68e9253).

Re-pin the excludeFamilies.openai DATA_FROZEN hash. The membership delta
against main is exactly these two additions, nothing removed; the hash
was recomputed from the module, not copied from the failure.

Red-green:
- assertNoUnclassifiedFamilies on the ids from the run's
  drift-report.json: RED on main (both ids unclassified), GREEN after.
- models.drift.ts OpenAI wave: RED with the ids added and unclassified,
  GREEN after the excludes.
- logic-pin.test.ts: RED on the registry edit, GREEN after the re-pin.
…aude-sonnet-4-5 retires

claude-sonnet-4-5-20250929 (and its claude-sonnet-4-5 alias) retires on
the Claude API on Nov 30, 2026. The probe-model preflight has warned
about both pins since the Nov 4 run.

Move the count, K5 and K9 probes to claude-sonnet-4-6 (Active, not
sooner than Feb 17, 2027), not the recommended replacement
claude-sonnet-5-5. On Sonnet 5.5 the K9 request (thinking "enabled" with
budget_tokens) returns a 400, and thinking is on when the field is
omitted, which would add thinking blocks to the K5 and count probes.
Sonnet 4.6 keeps both behaviors: thinking off by default, and manual
extended thinking still accepted. Moving to 5.5 means reworking K5/K9,
which needs live captures.

Dateless ids are pinned snapshots from 4.6 on, so the alias and dated
entries in probe-models.ts collapse to one.

Red-green (runPreflight over the real DRIFT_PROBE_MODELS, Anthropic
lifecycle replayed from the Nov 4 run and the deprecations page, no live
call): RED on main, both 4-5 pins "retires on 2026-11-30 (in 25 days)";
GREEN after, no Anthropic pin warned.
@pkg-pr-new

pkg-pr-new Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 0e57517

Fix Drift run 42174168128 (Nov 5) routed three new families to needs-human
PR #602: gpt-image-2.6-flare, gpt-image-2.6-sunburst (classified earlier
in this branch) and gemini-omni-1.2-flash.

Exclude gemini-omni-1.2-flash, following gemini-omni-1.1-flash (EXCLUDE,
video generation). Google's Gemini Omni Flash model card lists 1.2 as the
stable current version and says 1.1 routes to it on Dec 3. It generates
and edits video. Its output adds text beside the video, which 1.1 did
not. That text belongs to a video turn, not a chat turn, so it is excluded
like gemini-nano-banana-2.1 (image AND text output).

Add it to the static Gemini /models wave and a behavioral test. Re-pin
excludeFamilies.gemini. The membership delta against the old pin is
exactly this one addition; the hash was recomputed from the module.

Add the three drift-proposals/ notes #602 carries, resolved with the
EXCLUDE decision in prose, as the precedent commits did (68e9253,
936b59c). drift-sync reads a note only while its family is unclassified.

Red-green (unclassifiedFamilies over the 3 ids drift-sync routed in the
run's drift-sync.log):
- main: all 3 unclassified. Branch head before this commit: only
  gemini/gemini-omni-1.2-flash. After: none.
- models.drift.ts Gemini wave: RED with the id added, GREEN after.
- logic-pin.test.ts: GREEN after the re-pin.
@jpr5
jpr5 merged commit 26f55a9 into main Nov 6, 2026
34 checks passed
@jpr5
jpr5 deleted the fix/drift-image-models-anthropic-probe branch November 6, 2026 06:57
jpr5 added a commit that referenced this pull request Nov 10, 2026
…#610)

Fix Drift run
[42768106181](https://github.com/CopilotKit/aimock/actions/runs/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.
jpr5 added a commit that referenced this pull request Nov 11, 2026
## What

Gemini's live /models started listing `gemini-4-carbon` on Nov 10. It
was absent from the scheduled Drift Tests run 42766538763 (Nov 9, 10:08
PM PST) and present in drift-live-pr runs since 12:53 PM PST (e.g. #613,
run 42941450176). It shows up as a base-present critical: `Unclassified
model family "gemini-4-carbon"`. Without a fix, tonight's Drift Tests
and Fix Drift runs go red.

## Decision: EXCLUDE

Gemini 4 Carbon is access-restricted: it is offered to cyber defenders
in the Fairwind Program first, then trusted partners, with no GA date.
aimock does not mock pre-GA surfaces, so this follows the
`gemini-3.7-flash-video-understanding-eap` precedent (excluded for
access status, not capability). It is a text chat/reasoning model, so at
GA flip it to include, like `gemini-4-argon`.

## Changes

- `excludeFamilies.gemini` gets `gemini-4-carbon` (`model-registry.ts`).
- Re-pin the `excludeFamilies.gemini` freeze hash in
`logic-pin.test.ts`. The only membership change is this addition.
- Resolved note `drift-proposals/gemini-gemini-4-carbon-new-family.md`
(Decision: EXCLUDE), as #603 did.

## Red / green (local)

| Check | main | this branch |
|---|---|---|
| `assertNoUnclassifiedFamilies` (gemini) on the ids from #613's
`drift-report-head.json` plus known Gemini ids | RED: `[critical]
Unclassified model family "gemini-4-carbon"` | GREEN: passes |
| `logic-pin.test.ts` after the registry edit | RED (hash) | GREEN
(re-pinned) |

Format, lint, typecheck and build are clean. Drift + drift-sync tests:
227/227. Full unit suite: 0 new failures. 7 CLI/doc-sample files need
`dist/` and passed once rebuilt (238/238).
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