Skip to content

Commit ebb3563

Browse files
authored
chore(drift): classify claude-haiku-5-5 in includeFamilies (#515)
Supersedes #502. The nightly drift-sync flags `anthropic/claude-haiku-5-5` as an unclassified family (run 37738956337 on 2026-10-08; same changeset `ee215128e404d464` on 37894774122 on 2026-10-09), so the job stays red with `reason=needs-human`. Merging #502 would only add a `Decision: pending` note, so this PR applies the decision in one commit, following the sonnet-5-5 / opus-5-5 precedent (1d62bf3, 72f85f8). ## Changes - `model-registry.ts`: add `claude-haiku-5-5` to `includeFamilies.anthropic`, with lineage and evidence comment. - `logic-pin.test.ts`: re-pin `DATA_FROZEN["includeFamilies.anthropic"]` (`4e147816…` to `ef73c06f…`), recomputed from the module. No other pin moves. - `drift-proposals/anthropic-claude-haiku-5-5-new-family.md`: RESOLVED note, `Decision: INCLUDE`. - `models.drift.ts`: add the id to the offline Anthropic `/models` wave. - `text-drift.test.ts`: behavioural block with negative controls (`claude-haiku-5`, `claude-haiku-5-6` stay unclassified). ## Evidence Classified by lineage plus Anthropic's official models overview (https://platform.claude.com/docs/en/docs/about-claude/models/overview, fetched 2026-10-09): current model, API id `claude-haiku-5-5`, text and image input, text output, tool use, adaptive thinking, retirement not sooner than 2027-10-07. It is the next Haiku point release after the included `claude-haiku-4-5`. **No live probe was run** (no Anthropic key available locally); the note and comment say so. ## Red / green (local) Probe calls `unclassifiedFamiliesForSync` from `scripts/drift-sync.ts`, the classifier the nightly sync uses, on an Anthropic `/models`-shaped id list: Before (origin/main 2a16646): ``` unclassified(anthropic) = ["claude-haiku-5-5"] exit=1 ``` Plus `models.drift.ts` "Anthropic: every live family is classified": `expected [ 'claude-haiku-5-5' ] to deeply equal []`. After: ``` unclassified(anthropic) = [] exit=0 ``` - `vitest run src/__tests__/drift/`: 18 files, 199 tests passed - `vitest --config vitest.config.drift.ts models.drift.ts`: 22 passed, 3 skipped - full `pnpm test` (after `pnpm build`): 372 files, 13616 passed, 3 skipped - `pnpm typecheck`, `pnpm lint`, `pnpm format:check`: clean After merge, the next nightly fix-drift run is expected to report `ok-no-churn` for anthropic.
2 parents 34891cd + dd7ee51 commit ebb3563

5 files changed

Lines changed: 100 additions & 1 deletion

File tree

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# New / unclassified model family: claude-haiku-5-5
2+
3+
Provider: anthropic
4+
Detected: 2026-10-08
5+
Status: RESOLVED — decision recorded below and applied to the registry
6+
7+
This model family appeared in a live /models listing but matches no classification rule (include, exclude, -preview, gemma). drift-sync never silently classifies a new family.
8+
9+
## Decision
10+
<!-- drift-sync never auto-classifies a new family. A HUMAN decides, by
11+
changing the line below to either:
12+
13+
Decision: include — aimock mocks this family on the chat surface
14+
Decision: exclude — wrong modality / retired / preview; not ours
15+
16+
The NEXT drift-sync run then applies the mechanical registry edit to
17+
includeFamilies or excludeFamilies respectively, and re-pins that
18+
set's membership checksum in the same commit (still zero-LLM: this
19+
is a human-authored decision, not generated code).
20+
21+
ONE EXCEPTION, and it is the common one for `exclude`: a VOICE/AUDIO
22+
family (realtime / audio / live / transcribe / whisper / voice / tts)
23+
is watched by a SECOND canary whose seed set — knownVoiceModelFamilies
24+
in src/__tests__/drift/voice-models.ts — is a deliberately disjoint
25+
surface drift-sync does not write. Classifying such a family in the
26+
registry alone leaves that canary red, so the run would gate-fail and
27+
revert, nightly, forever. drift-sync therefore does NOT auto-apply it:
28+
it drops a `-voice-seed-set.md` note and a human makes both edits in
29+
one reviewed commit. -->
30+
31+
Decision: INCLUDE (applied 2026-10-09 — includeFamilies.anthropic in
32+
`src/__tests__/drift/model-registry.ts`, with the `includeFamilies.anthropic`
33+
re-pin in `src/__tests__/drift/logic-pin.test.ts`, plus the static Anthropic
34+
/models wave in `src/__tests__/drift/models.drift.ts`).
35+
36+
Rationale: Claude Haiku 5.5, the next point release of the Haiku line after
37+
the already-included `claude-haiku-4-5`, as `claude-opus-5-5` and
38+
`claude-sonnet-5-5` (both INCLUDE) are of theirs. Text chat on /v1/messages;
39+
not a voice/audio family, so no knownVoiceModelFamilies pairing.
40+
41+
Evidence: classified by lineage + official docs. No live probe was run. Anthropic's
42+
models overview (https://platform.claude.com/docs/en/docs/about-claude/models/overview,
43+
fetched 2026-10-09) lists Claude Haiku 5.5 as a current model: API id and alias
44+
`claude-haiku-5-5`, text and image input, text output, tool use, adaptive
45+
thinking, 1M context, 128K max output, retirement not sooner than 2027-10-07.
46+
drift-sync first saw it in the live Anthropic /models listing on 2026-10-08
47+
(run 37738956337) and again on 2026-10-09 (run 37894774122).

‎src/__tests__/drift/logic-pin.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ const DATA_FROZEN: Record<string, { members: () => string[]; pin: string }> = {
427427
},
428428
"includeFamilies.anthropic": {
429429
members: () => [...includeFamilies.anthropic].sort(),
430-
pin: "4e147816d4865569f3d9dda8479d1f1654116eac13e27a0ca789919550e447f3",
430+
pin: "ef73c06f7726defa4f09f6aad293807c32fa2522acad83f0f46075b25018999d",
431431
},
432432
"includeFamilies.gemini": {
433433
members: () => [...includeFamilies.gemini].sort(),

‎src/__tests__/drift/model-registry.ts‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,23 @@ export const includeFamilies: Record<Provider, Set<string>> = {
232232
// Decision: INCLUDE, recorded in
233233
// drift-proposals/anthropic-claude-sonnet-5-5-new-family.md.
234234
"claude-sonnet-5-5",
235+
// Claude Haiku 5.5, first listed 2026-10-08 (drift run 37738956337). Point
236+
// release of the Haiku line after the already-included `claude-haiku-4-5`,
237+
// as `claude-opus-5-5` and `claude-sonnet-5-5` are of theirs. There is no
238+
// `claude-haiku-5` family, so it is not a prefix of any included key and
239+
// must be enumerated.
240+
//
241+
// Classified by LINEAGE plus Anthropic's official models overview
242+
// (platform.claude.com/docs/en/docs/about-claude/models/overview, fetched
243+
// 2026-10-09), NOT by a live probe: no probe was run. The overview lists it
244+
// as a current model, API id `claude-haiku-5-5`, text and image input, text
245+
// output, tool use, adaptive thinking, retirement not sooner than
246+
// 2027-10-07. Not a voice/audio family, so no knownVoiceModelFamilies
247+
// pairing.
248+
//
249+
// Decision: INCLUDE, recorded in
250+
// drift-proposals/anthropic-claude-haiku-5-5-new-family.md.
251+
"claude-haiku-5-5",
235252
]),
236253
gemini: familySet("gemini", [
237254
// Gemini 2.0 / 2.5 text families

‎src/__tests__/drift/models.drift.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,8 @@ describe("recorded /models family waves are classified", () => {
382382
"claude-opus-5-5",
383383
// 2026-09-24..30 wave (first listed 09-29): Sonnet 5.5 point release
384384
"claude-sonnet-5-5",
385+
// 2026-10-08 wave: Haiku 5.5 point release
386+
"claude-haiku-5-5",
385387
];
386388
expect(unclassifiedFamilies(anthropicLive, "anthropic")).toEqual([]);
387389
});

‎src/__tests__/drift/text-drift.test.ts‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,3 +495,36 @@ describe("the 2026-09-24..30 model-family wave is classified", () => {
495495
expect(unclassifiedFamilies(["gemini-3.8-pro-tts"], "gemini")).toEqual(["gemini-3.8-pro-tts"]);
496496
});
497497
});
498+
499+
// ---------------------------------------------------------------------------
500+
// The 2026-10-08 wave — BEHAVIOURAL coverage of `claude-haiku-5-5`, in the same
501+
// shape as the blocks above. Classified INCLUDE in model-registry.ts (evidence
502+
// beside the entry and in drift-proposals/).
503+
//
504+
// `claude-haiku-5-5` is NOT a prefix case: no `claude-haiku-5` family exists,
505+
// so the nearest included key is `claude-haiku-4-5`.
506+
// ---------------------------------------------------------------------------
507+
508+
describe("the 2026-10-08 model-family wave is classified", () => {
509+
it("claude-haiku-5-5 is INCLUDED in a /models-shaped payload", () => {
510+
expect(isClassifiedFamily("claude-haiku-5-5", "anthropic")).toBe(true);
511+
expect(
512+
unclassifiedFamilies(
513+
[
514+
"claude-haiku-4-5", // the previous Haiku point release, already included
515+
"claude-haiku-5-5",
516+
"claude-haiku-5-5-20261007", // dated snapshot collapses onto the family
517+
],
518+
"anthropic",
519+
),
520+
).toEqual([]);
521+
});
522+
523+
it("the claude-haiku-5-5 key does not classify a neighbouring family", () => {
524+
// NEGATIVE CONTROLS: without these, `toEqual([])` above is also what a
525+
// neutered `unclassifiedFamilies` would produce.
526+
expect(normalizeModelFamily("claude-haiku-5-5", "anthropic")).toBe("claude-haiku-5-5");
527+
expect(unclassifiedFamilies(["claude-haiku-5"], "anthropic")).toEqual(["claude-haiku-5"]);
528+
expect(unclassifiedFamilies(["claude-haiku-5-6"], "anthropic")).toEqual(["claude-haiku-5-6"]);
529+
});
530+
});

0 commit comments

Comments
 (0)