Repository navigation
fix(drift): classify gpt-live-1 as excludeFamilies (full-duplex voice) - #426
Merged
Merged
Conversation
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.
commit: |
…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
Merged
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 `#`, `[`, ` https://claude.ai/code/session_01AvkmhXVLqSSEW6FvPQHSu5
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.
Decision: EXCLUDE
OpenAI shipped GPT-Live-1, a full-duplex voice model on the NEW
v1/live/sessionsendpoint. 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/livesurface, 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-1as an unclassified new family and opens a needs-human PR, exactly as it did for the two OpenAI image families in #422.Mocking
/v1/liveis 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-1added toexcludeFamilies.openai's voice cluster, with a dated rationale comment naming the paired entryvoice-models.ts—gpt-live-1added toknownVoiceModelFamilies(the second, disjoint surface)logic-pin.test.ts— both membership pins re-pinned:excludeFamilies.openai(46 -> 47) andknownVoiceModelFamilies(22 -> 23)models.drift.ts— id added to the static OpenAI/modelswave so the offline coverage test grades itmodels.drift.ts/text-drift.test.ts— the two assertions that usedgpt-live-1as the "single-digit tail stays unknown" exemplar now use the still-unclassifiedgpt-live-9, plusgpt-live-1-minito prove the new exclude key does not swallow families that merely EXTEND itws-realtime-canary.test.ts/logic-pin.test.ts/model-family.ts— canary negative controls and docblocks re-pointed atgpt-live-1-minidrift-proposals/openai-gpt-live-1-new-family.md— decision recorded in prose (noDecision:marker), status RESOLVEDThe 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: excludepath (#423) is INCOMPLETE for voice families — not used#423 mechanized the
excludeverdict (before it,excludefail-closed topending). It is not usable here, and the reason is a real defect worth recording:excludeFamilies[provider]and re-pins that set. It never writesknownVoiceModelFamilies.isVoiceModelId("gpt-live-1")istrue, andws-realtime.drift.tssits in drift-sync's gate-3 re-collect. A voice family present in one set but not the other still reportsUNKNOWN_REALTIME_MODELS=and emits a critical.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
excludeFamiliesonly:So the decision is recorded in prose and applied by hand to both sets, the way
936b59cdid. The note carries noDecision:marker at all —parseProposalDecisionon the committed note returnspending, confirmed. A literalDecision: excludeline would be a live hazard, not inert bookkeeping: if the exclude entry were ever removed, the next run would re-add it toexcludeFamiliesonly and wedge the job on gate-3.Follow-up (not attempted here): #423's apply half should also write and re-pin
knownVoiceModelFamilieswhenisVoiceModelId(family)is true. Any future voice family markedDecision: excludehits this same wall.knownVoiceModelFamilies: ADDED — mandatory, not optional936b59c— the direct precedent, and a voice family — settled this:c4582e5did not touchknownVoiceModelFamiliesonly because image families are not voice.gpt-live-1is. The two sets silence two different canaries —excludeFamilies→ the/modelscheck inmodels.drift.ts;knownVoiceModelFamilies→ the realtime canary inws-realtime.drift.ts— so a voice family needs both.Gate-3 proof after the fix, plus a repo-wide half-classification audit:
gpt-live-1-ministays deliberately unclassifiedOnly
gpt-live-1was decided.gpt-live-1-minihas 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 norealtimesubstring, and that the newgpt-live-1key does not swallow families that merely EXTEND it. The controls inws-realtime-canary.test.tsandlogic-pin.test.tswere re-pointed at it, not deleted.Red-green
1. Offline classification coverage (
models.drift.ts) — id added to the wave, not yet classified:Green after the
excludeFamiliesentry:Test Files 1 passed (1) / Tests 22 passed | 3 skipped (25).2. Membership freeze (
logic-pin.test.ts) — red on the registry edit:Green after the re-pin:
Tests 33 passed (33).Mutation
A — delete the
excludeFamilies.openaientry, everything else left in place:B — delete the
knownVoiceModelFamiliesentry instead: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)
prettier --check .npx eslint .pnpm typechecknpx vitest runnpx vitest run --config vitest.config.drift.tsCorrection note: the first commit on this branch (
6962f07) shipped theexcludeFamilies-only half-classification described above, and its CI was green — becausews-realtime.drift.tsis a live-gated canary that does not run as a required PR check.388c0b6pairs the entry intoknownVoiceModelFamiliesand removes theDecision:marker. The end state is what this description documents.