Repository navigation
Description
Summary
Codex Voice, thread titles, and commit messages bypass Account Pooler and require a separate login on BB's primary machine. Let these helpers use pool-owned credentials and refresh handling, as pooled agents do.
Versions and environment
Observed 2026-10-16 on npm-installed BB 0.46.2-ariofrio.9 (fork build), builtin account-pool and provider-codex 0.1.0. The primary host runs Linux 6.18.55, Node 24.21.0, Codex CLI 0.163.0; the agent executes on macOS 26.5.1.
Workflow and current behavior
- Use a working pooled Codex session.
- Inspect
bb pool status --json: Codex routing enabled and account ready. - Run
bb voice transcribe ./non-sensitive-recording.webm --json.
Observed Voice returned expired-token HTTP 401 wrapped in HTTP 502 while pooled agents worked. Installed-bundle tests also confirmed text completion goes directly upstream with local credentials.
- Agent launch configures the pool as its Responses provider.
- Text and Voice helpers select the primary host. Text completion reads local auth and calls Responses directly, ignoring the existing pool Responses route.
- Pool routes do not include transcription. Responses availability does not establish transcription capability.
Verified workaround
In the original thread, an authenticated POST to the pool's /v1/audio/transcriptions returned HTTP 404: plugin "account-pool" has no POST route for "/v1/audio/transcriptions".
A user-authorized direct ChatGPT request using that pool account's unexpired OAuth credential transcribed the same recording (3,798 characters). The credential stayed in memory; audio and transcript contents remain private. This proves account-level acceptance, bypassing the missing route. Evidence: @thread:thr_jqwrr7qjer, event 7792 and terminal term_u7jwn88b9n.
Requested behavior
- Route text helpers through the existing pool Responses capability; add explicit transcription support. Reuse pool-owned account selection and coordinated refresh.
- Map multipart audio to the correct upstream endpoint: ChatGPT
/backend-api/transcribe, outside the pool's existing Codex upstream base. - Make availability reflect each operation, including parent pools. Keep direct-login mode explicit about its host.
- Verify pool-only authentication, expired/rejected credentials, cancellation, and remote-host behavior. Expose configuration consistently through UI, SDK, and CLI.
Related reports and validation limits
Companion bug: expired credentials reported ready. Refreshing that login can restore direct helpers; this request removes their separate host-login requirement.
#4484 covers custom-provider/command auth; #3323 covers broader helper-provider support. This request integrates Codex helpers with Account Pooler; Voice additionally needs a new route. Targeted open/closed searches on 2026-10-16 and 2026-10-17 found no exact report.
Inspected upstream: 6a639cf. Native pooled transcription remains unsupported; direct acceptance is verified only for this account/recording. Text integration was checked offline, not end to end. Live logins, routing, and configuration were unchanged.
Investigation: @thread:thr_4wnubgxk72; original failure: @thread:thr_jqwrr7qjer.
Written by Codex
AGENT GENERATED
Activity
bb-slop-cop commentedon Oct 17, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotApplied missing classification: Type: Feature · Priority: Medium · Effort: High.
Labels:
providers,provider-codex. No existing classifications were replaced.This adds pooled authentication support to helper operations, including a new transcription capability. Medium priority reflects the separate-login workaround; High effort reflects cross-plugin credential routing, refresh coordination, and operation-specific availability.
No reproduction report or pull request: the final Type is Feature, so this rule skips bug reproduction and fixes.
trotterdylan commentedon Oct 24, 2026
Adding a case where pooled credentials alone would not be enough: a server with no primary host at all.
Setup. bb 0.46.0 (npm) running alone in a Kubernetes pod with no local host daemon; one remote Linux machine connected;
account-poolandprovider-codex0.1.0; Codex signed in through Account Pooler and pooled Codex threads working on the remote machine.Observed.
bb settings ai-services:bb settings showreports"primaryHostId": null. Voice input in the app fails withCodex: No primary machine is connected.Cause, from the code. The Codex AI service requires a primary host before it does anything and sends the audio to that host's daemon over RPC:
bb/plugins/provider-codex/src/ai-service.ts
Lines 24 to 33 in 6a639cf
Ruled out. Signing in to Codex through the Providers page (goes to the pool, not a host). Installing Codex on the remote machine (it is not and cannot be the primary host).
Ask. When routing helpers through the pool, let them run from the server process without a primary host, or fall back to any connected machine, as #5161 did for gh credential forwarding.