Skip to content

Voice input fails persistently because the active Codex host generation is retired #4588

Closed

Description

@brsbl

Summary

Voice input fails because the server keeps calling a Codex host-plugin generation that the daemon has already retired. Reproduced through the live CLI; the same generation UUID appears in the reporter's screenshot and daemon logs. The only registered AI service is marked unavailable, so this also removes the available service for thread titles and commit messages.

Versions and environment

  • CLI, Linux server package, and Linux host-daemon package: 0.44.1-nightly.36184725653.1.
  • Linux host host_q7quxdditd (bb-worker-1), x86_64, kernel 6.8.0-124-generic; Node v24.19.0. Server and enrolled host communicate through bb Connect.
  • Provider: provider-codex; failure occurs at host-plugin dispatch/status, before the transcription backend. Codex CLI version was not needed to trigger this failure and was not verified.
  • Source inspected: current fetched origin/main and checkout both 0162e533eecea2b6dffe105c0f3c83c35bc3ca53. No clean-source runtime reproduction was run, so whether a newer source build repairs the already-retired live state remains unverified.

Steps to reproduce

On the affected installation:

  1. Run bb settings ai-services show --json.
  2. Generate a disposable non-empty WAV and submit it:
python3 - <<'PYTHON'
import wave
with wave.open('/tmp/bb-voice-repro.wav', 'wb') as w:
    w.setnchannels(1)
    w.setsampwidth(2)
    w.setframerate(16000)
    w.writeframes(bytes(32000))
PYTHON
bb voice transcribe /tmp/bb-voice-repro.wav
rm /tmp/bb-voice-repro.wav

This is an affected-state reproduction, not a recipe for creating the initial retirement. The CLI default MIME type was used; the request fails at service availability before audio decoding. No microphone, UI automation, or private recording is needed.

Expected vs actual

Expected: the active Codex AI service can answer its readiness probe and accept recordings. Server and daemon agree on which host generation is active.

Actual CLI output:

Error: HTTP 501: Codex: host plugin provider-codex generation 787de758-e29b-4b8c-911d-0217b2993e63 is retired

The screenshot shows Voice input failed, the same error without the CLI HTTP prefix, and a Download recording recovery link.

bb settings ai-services show --json independently reports:

{"selections":{"thread-title":{"mode":"automatic"},"commit-message":{"mode":"automatic"},"voice":{"mode":"automatic"}},"services":[{"id":"codex","pluginId":"provider-codex","status":{"ready":false,"message":"host plugin provider-codex generation 787de758-e29b-4b8c-911d-0217b2993e63 is retired"}}]}

Evidence and diagnosis

Confirmed: persistent server/daemon disagreement over this generation; pre-transcription failure. Unconfirmed: which disposal/reconnect/reload ordering originally created that disagreement. Do not remove the retired-generation guard as a speculative fix. Investigate the authoritative generation lifecycle and ensure recovery selects a valid generation without allowing stale callers to resurrect disposed workers.

What was ruled out / remaining gaps

Suggested priority

High: voice is blocked persistently for the affected installation; the sole AI service also becomes unavailable for other helper tasks. The screenshot offers a recording download, but no generation recovery. Scope and initial trigger need confirmation.

Originating investigation: @thread:thr_viny65aip2 (reporter screenshots and live CLI evidence).

AGENT GENERATED

Activity

  1. added theissue type on Sep 30, 2026
  2. added
    host
    plugins
    provider-codex
    on Sep 30, 2026
  3. SawyerHood commented on Oct 1, 2026

    @SawyerHood
    Collaborator

    This is fixed on main!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    hostpluginsprovider-codex

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions