Skip to content

fix(drift): classify gpt-live-1 as excludeFamilies (full-duplex voice) - #426

Merged
jpr5 merged 2 commits into
mainfrom
classify/gpt-live-1
Sep 10, 2026
Merged

jpr5 merged 2 commits into
mainfrom
classify/gpt-live-1

Conversation

@jpr5

@jpr5 jpr5 commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Decision: EXCLUDE

OpenAI shipped GPT-Live-1, a full-duplex voice model on the NEW v1/live/sessions endpoint. Its model page marks Realtime as "Not supported", so it is a sibling of the Realtime API, not a successor.

It never answers on /v1/chat/completions, and aimock implements no /v1/live surface, so it can never be text-generation drift. Every other voice/audio/realtime family in the registry is already excluded — gpt-realtime*, gpt-audio*, gpt-transcribe, gpt-live-transcribe, tts-1, whisper-1 — and this gets the same treatment.

Classifying it now is the point: without it the nightly drift pipeline flags gpt-live-1 as an unclassified new family and opens a needs-human PR, exactly as it did for the two OpenAI image families in #422.

Mocking /v1/live is explicitly NOT proposed — no demand (no open issue; the only realtime ask closed in May), and a real mock needs a new route, a sideband socket and full-duplex framing.

Changes

  • model-registry.ts — gpt-live-1 added to excludeFamilies.openai's voice cluster, with a dated rationale comment naming the paired entry
  • voice-models.ts — gpt-live-1 added to knownVoiceModelFamilies (the second, disjoint surface)
  • logic-pin.test.ts — both membership pins re-pinned: excludeFamilies.openai (46 -> 47) and knownVoiceModelFamilies (22 -> 23)
  • models.drift.ts — id added to the static OpenAI /models wave so the offline coverage test grades it
  • models.drift.ts / text-drift.test.ts — the two assertions that used gpt-live-1 as the "single-digit tail stays unknown" exemplar now use the still-unclassified gpt-live-9, plus gpt-live-1-mini to prove the new exclude key does not swallow families that merely EXTEND it
  • ws-realtime-canary.test.ts / logic-pin.test.ts / model-family.ts — canary negative controls and docblocks re-pointed at gpt-live-1-mini
  • drift-proposals/openai-gpt-live-1-new-family.md — decision recorded in prose (no Decision: marker), status RESOLVED

The pin was reviewed, not chased: each sorted-membership delta printed by the red freeze test is exactly this one addition, and each new hash was recomputed from the module rather than pasted out of the failure message.

The automated Decision: exclude path (#423) is INCOMPLETE for voice families — not used

#423 mechanized the exclude verdict (before it, exclude fail-closed to pending). It is not usable here, and the reason is a real defect worth recording:

  • Its apply half writes excludeFamilies[provider] and re-pins that set. It never writes knownVoiceModelFamilies.
  • isVoiceModelId("gpt-live-1") is true, and ws-realtime.drift.ts sits in drift-sync's gate-3 re-collect. A voice family present in one set but not the other still reports UNKNOWN_REALTIME_MODELS= and emits a critical.
  • Gate-3 red reverts both edited files → gate-failed. The automated path would apply and revert, every run, forever — while looking like it worked.

Verified directly, against the real registry, with the entry in excludeFamilies only:

excludeFamilies.openai has gpt-live-1  : true
knownVoiceModelFamilies has gpt-live-1 : false
UNKNOWN_REALTIME_MODELS=gpt-live-1
gate3 (ws-realtime.drift.ts re-collect): RED (critical)

So the decision is recorded in prose and applied by hand to both sets, the way 936b59c did. The note carries no Decision: marker at all — parseProposalDecision on the committed note returns pending, confirmed. A literal Decision: exclude line would be a live hazard, not inert bookkeeping: if the exclude entry were ever removed, the next run would re-add it to excludeFamilies only and wedge the job on gate-3.

Follow-up (not attempted here): #423's apply half should also write and re-pin knownVoiceModelFamilies when isVoiceModelId(family) is true. Any future voice family marked Decision: exclude hits this same wall.

knownVoiceModelFamilies: ADDED — mandatory, not optional

936b59c — the direct precedent, and a voice family — settled this:

Add both families to excludeFamilies.openai's transcribe cluster [...] and to knownVoiceModelFamilies' transcription group. The two sets are deliberately disjoint surfaces, so both need the entry.

c4582e5 did not touch knownVoiceModelFamilies only because image families are not voice. gpt-live-1 is. The two sets silence two different canaries — excludeFamilies → the /models check in models.drift.ts; knownVoiceModelFamilies → the realtime canary in ws-realtime.drift.ts — so a voice family needs both.

Gate-3 proof after the fix, plus a repo-wide half-classification audit:

excludeFamilies.openai has gpt-live-1  : true
knownVoiceModelFamilies has gpt-live-1 : true
UNKNOWN_REALTIME_MODELS=
gate3 (ws-realtime.drift.ts re-collect): GREEN — no critical for gpt-live-1
voice families in excludeFamilies.openai: 21
HALF-CLASSIFIED (exclude but not known-voice): []

gpt-live-1-mini stays deliberately unclassified

Only gpt-live-1 was decided. gpt-live-1-mini has not been observed in a live listing; it exists in this repo solely as the realtime canary's new-family negative control. Leaving it unclassified keeps that control live — it is what still proves the matcher reaches a voice id carrying no realtime substring, and that the new gpt-live-1 key does not swallow families that merely EXTEND it. The controls in ws-realtime-canary.test.ts and logic-pin.test.ts were re-pointed at it, not deleted.

Red-green

1. Offline classification coverage (models.drift.ts) — id added to the wave, not yet classified:

FAIL  src/__tests__/drift/models.drift.ts > full live /models wave is fully classified (2026-07-16 drift) > OpenAI: every live family is classified (zero unclassified)
AssertionError: expected [ 'gpt-live-1' ] to deeply equal []
- []
+ [
+   "gpt-live-1",
+ ]
 Test Files  1 failed (1)
      Tests  1 failed | 24 skipped (25)

Green after the excludeFamilies entry: Test Files 1 passed (1) / Tests 22 passed | 3 skipped (25).

2. Membership freeze (logic-pin.test.ts) — red on the registry edit:

FAIL  freezes excludeFamilies.openai membership
Frozen data set "excludeFamilies.openai" membership changed (now: [... "gpt-image-2.5-sunburst","gpt-live-1","gpt-live-transcribe" ...])
Expected: "f54fe5d9552e4149cb7178fce6316c702fb5f0b00293c2299dfc9f7c64e02baa"
Received: "ccf086b3e7f07b6698f0c875088bd59f1250833d4248e0d624e87c6f592e4021"

Green after the re-pin: Tests 33 passed (33).

Mutation

A — delete the excludeFamilies.openai entry, everything else left in place:

AssertionError: expected [ 'gpt-live-1' ] to deeply equal []
      Tests  1 failed | 24 skipped (25)

B — delete the knownVoiceModelFamilies entry instead:

→ expected [ 'gpt-live-1', 'gpt-live-1-mini' ] to not include 'gpt-live-1'
→ expected false to be true
→ expected [ 'gpt-live-1', 'gpt-live-1-mini' ] to deeply equal [ 'gpt-live-1-mini' ]
⎯⎯⎯ Failed Tests 3 ⎯⎯⎯

Both halves go red and name gpt-live-1 — neither guard is vacuous, and neither set alone is sufficient. Restored: full suite green.

Gates (raw exit codes)

gate exit
prettier --check . 0
npx eslint . 0
pnpm typecheck 0
npx vitest run 0 — 183 files passed, 5689 tests passed / 46 skipped
npx vitest run --config vitest.config.drift.ts 0 — 19 files passed, 135 tests passed / 57 skipped

Correction note: the first commit on this branch (6962f07) shipped the excludeFamilies-only half-classification described above, and its CI was green — because ws-realtime.drift.ts is a live-gated canary that does not run as a required PR check. 388c0b6 pairs the entry into knownVoiceModelFamilies and removes the Decision: marker. The end state is what this description documents.

OpenAI shipped GPT-Live-1, a full-duplex voice model on the NEW
`/v1/live/sessions` endpoint. Its model page marks Realtime as "Not
supported", so it is a SIBLING of the Realtime API, not a successor.

It never answers on /v1/chat/completions, and aimock implements no
`/v1/live` surface, so it can never be text-generation drift. Every other
voice/audio/realtime family here is already excluded — gpt-realtime*,
gpt-audio*, gpt-transcribe, gpt-live-transcribe, tts-1, whisper-1 — and
this gets the same treatment. Classifying it now is what keeps the nightly
drift pipeline from opening a needs-human PR for it.

Mocking /v1/live is explicitly NOT proposed: no demand, and a real mock
needs a new route, a sideband socket and full-duplex framing.

Changes:

- model-registry.ts — `gpt-live-1` added to excludeFamilies.openai's
  voice cluster with a dated rationale comment
- logic-pin.test.ts — excludeFamilies.openai membership pin re-pinned
- models.drift.ts — id added to the static OpenAI /models wave so the
  offline coverage test grades it
- models.drift.ts / text-drift.test.ts — the two assertions that used
  `gpt-live-1` as the "single-digit tail stays unknown" exemplar now use
  the still-unclassified `gpt-live-9`, plus `gpt-live-1-mini` to prove the
  new exclude key does not swallow families that merely EXTEND it
- drift-proposals/openai-gpt-live-1-new-family.md — decision recorded

The pin was reviewed, not chased: the sorted-membership delta printed by
the red freeze test is exactly this one addition (46 -> 47), and the new
hash was recomputed from the module rather than pasted out of the failure.
@pkg-pr-new

pkg-pr-new Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 388c0b6

…are disjoint)

Corrects a HALF-CLASSIFICATION in the previous commit. `gpt-live-1` went into
`excludeFamilies.openai` only, which silences the /models check in
models.drift.ts but NOT the realtime canary in ws-realtime.drift.ts.

936b59c settled this for the gpt-transcribe / gpt-live-transcribe pair: "the
two sets are deliberately disjoint surfaces, so both need the entry." A voice
family — and `isVoiceModelId("gpt-live-1")` is true — needs both or the half it
is missing from stays red. Observed directly: with the entry in
excludeFamilies only, detectVoiceModelDrift(["gpt-realtime","gpt-live-1"])
returned unknown = ["gpt-live-1"], the exact value ws-realtime.drift.ts asserts
is empty. With both, it returns []. A repo-wide audit now shows zero of the 21
voice families in excludeFamilies.openai missing from knownVoiceModelFamilies.

This also makes the decision note's marker a hazard rather than bookkeeping.
#423 mechanized `Decision: exclude`, but its apply half writes only
`excludeFamilies` — never `knownVoiceModelFamilies` — and ws-realtime.drift.ts
sits in the gate-3 re-collect, so a voice family marked that way applies, reds
gate-3, and reverts, every run. The marker is removed; the note now records
EXCLUDE in prose and explains why, and parseProposalDecision reads it as
`pending`. Fixing #423's apply half is noted as follow-up, not attempted here.

`gpt-live-1-mini` stays deliberately unclassified: it has not been observed,
and it is what keeps the canary's new-family negative control live — proving
the matcher reaches a voice id with no "realtime" substring, and that the new
`gpt-live-1` key does not swallow families that merely EXTEND it. The controls
in ws-realtime-canary.test.ts and logic-pin.test.ts were re-pointed at it
rather than deleted.

- voice-models.ts — `gpt-live-1` added, with the disjoint-surfaces rationale
- logic-pin.test.ts — knownVoiceModelFamilies pin re-pinned (22 -> 23, delta is
  exactly this addition); hash recomputed from the module, not pasted
- ws-realtime-canary.test.ts / logic-pin.test.ts — negative controls re-pointed
- model-registry.ts, voice-models.ts, model-family.ts — docblocks corrected
@jpr5
jpr5 merged commit 66ab3d8 into main Sep 10, 2026
33 checks passed
@jpr5
jpr5 deleted the classify/gpt-live-1 branch September 10, 2026 23:27
@jpr5 jpr5 mentioned this pull request Sep 11, 2026
jpr5 added a commit that referenced this pull request Sep 11, 2026
Cuts the accumulated `[Unreleased]` work. **MINOR** — a new provider
surface (BytePlus Ark video) and new endpoints, no breaking changes.

**Prepared, not merged.** `publish-release.yml` fires on push-to-main,
so merging this publishes to npm, tags `v1.41.0`, cuts the GitHub
Release, dispatches the Docker build, and posts to Slack. Merge when you
want it live.

## What ships

Only **#424** (plus its follow-up **#429**, which fixes the same
never-released BytePlus code) touches the published package. Verified
against `package.json` `files` + `tsconfig` include/exclude:

```
git log v1.40.0..origin/main --oneline -- src/ ':(exclude)src/__tests__/' fixtures/ .claude-plugin/ skills/ CHANGELOG.md
```

…returns byteplus commits only. #422, #423, #425, #426, #427, #428 touch
scripts/, .github/ and docs/ exclusively and are deliberately **not** in
the CHANGELOG.

### Added
- BytePlus Ark (Seedance) video record/replay — submit, poll and
retrieve, stored as the raw Ark task envelope
- `--provider-byteplus` flag

### Changed
- `/api/v3` chat and image requests are attributed to the `byteplus`
provider
- `aimock-pytest` pin moves to 1.41.0

### Fixed
- Startup error when a BytePlus provider base already ends in `/api/v3`

## Version surfaces — seven, all bumped

Found by grepping the tree for `1.40.0`, not from a checklist. **Zero
occurrences of the old string remain** (excluding `CHANGELOG.md`
history, `fixtures/` and `pnpm-lock.yaml`):

| File | Field | 1.40.0 → 1.41.0 |
| --- | --- | --- |
| `package.json` | `version` | ✔ |
| `charts/aimock/Chart.yaml` | `appVersion` (chart `version` stays
`0.1.0`) | ✔ |
| `.claude-plugin/plugin.json` | `version` | ✔ |
| `.claude-plugin/marketplace.json` | `plugins[0].source.version`
(`^1.41.0`) | ✔ |
| `docs/index.html` | demo banner `aimock v…` | ✔ |
| `packages/aimock-pytest/src/aimock_pytest/_version.py` |
`AIMOCK_VERSION` npm pin | ✔ |
| `packages/aimock-pytest/README.md` | `--aimock-version` default | ✔ |

`AIMOCK_VERSION` **must** move this release:
`/api/v3/contents/generations/tasks` is a new server route, so a
default-download pytest user on the 1.40.0 pin would run a server
without it. `packages/aimock-pytest/pyproject.toml` is deliberately
untouched — that package versions on its own PyPI cadence.

There is **no version constant in `src/cli.ts`** and **no
`metadata.version` in `marketplace.json`** in this tree; both surfaces
exist only in the release checklist, not in the repo.

## Drive-by: the npm description has been `<div align="center">` since
the README got a centered header

`npm view @copilotkit/[email protected] description` returns the literal
string `<div align="center">`.

Both README-subtitle extractors — the inline `node -e` in
`publish-release.yml` and `syncDescriptionFromReadme()` in
`scripts/drift-sync.ts` — skip `#`, `[`, `![` and `http` lines but not
raw HTML, so they latch onto the README's opening `<div>` wrapper
instead of the bold subtitle two lines below. Both now also skip `<`,
and `package.json.description` is synced to what the fixed extractor
yields:

> Mock infrastructure for AI application testing — point your SDK at one
local port and every provider, protocol, and service answers
deterministically.

Without this the v1.41.0 npm page ships the same broken description.

## Gates (raw exit codes, local)

| Gate | Exit |
| --- | --- |
| `prettier --check .` | 0 |
| `npx eslint .` | 0 |
| `pnpm typecheck` | 0 |
| `npx vitest run` (5794 passed, 46 skipped, 189 files) | 0 |
| `pnpm build` | 0 |
| `npx commitlint --from origin/main --to HEAD` | 0 |

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01AvkmhXVLqSSEW6FvPQHSu5
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