Repository navigation
fix: browser voice stays unavailable after OpenAI login - #133048
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 29, 2026, 11:34 PM ET / August 30, 2026, 03:34 UTC. ClawSweeper reviewWhat this changesThe PR starts the bundled OpenAI plugin at Gateway boot and refreshes the Control UI microphone capability catalog when the browser regains focus after sign-in. Merge readinessKeep open for normal maintainer validation. The patch correctly repairs the default post-login browser-voice path and preserves plugin opt-outs, but its new default startup activation still needs the scoped build and OpenAI import-memory evidence recorded before merge. Priority: P2 Review scores
Verification
How this fits togetherBrowser Talk reads a capability catalog from the Gateway, whose fully registered OpenAI plugin owns the OAuth browser-session broker. The chat microphone uses that catalog to decide whether it can start a voice session. flowchart LR
Login[OpenAI sign-in] --> Gateway[Running Gateway]
Gateway --> Plugin[OpenAI plugin broker]
Plugin --> Catalog[Talk capability catalog]
Catalog --> Picker[Chat microphone picker]
Focus[Browser focus returns] --> Picker
Picker --> Ready[Updated voice readiness]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +5, Tests +97, Docs +7. Total +109 across 5 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain manifest-owned broker startup and the picker’s focus refresh, then record a clean exact-head build and the scoped OpenAI extension memory profile before merge. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible with high confidence: fetched main leaves the default OpenAI plugin out of startup while full registration is the owner of the browser broker, and the picker only refreshed on connection changes. Is this the best way to solve the issue? Yes. Manifest-owned startup registration is the narrowest way to provide the broker without adding core provider policy, and the picker mirrors the existing Talk Settings focus-refresh lifecycle. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against a93a015a5695. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
Closes #133047
Related: #126594
What Problem This Solves
Fixes an issue where users signing in with OpenAI could still find browser Talk unavailable without manually configuring a Talk provider. The chat microphone could also retain its pre-login unavailable state on the same Gateway connection.
Why This Change Was Made
The OpenAI plugin now declares startup ownership for its existing browser-session broker, including when login happens after Gateway boot. The composer refreshes Talk readiness when the user returns focus from sign-in, following the existing Talk Settings behavior. Listener disposal and stale-request fencing remain owned by the picker.
User Impact
An enabled OpenAI plugin no longer needs unrelated Talk settings to provide its OAuth browser broker. Returning from sign-in refreshes the microphone's readiness. Plugin disable/deny/allow rules, microphone permissions, explicit session start, credentials, and model defaults are unchanged: GA Realtime remains the default, and GPT-Live remains an explicit model choice.
Evidence
pnpm buildpassed in the native review worktree with its ownpnpm install --frozen-lockfile(7m 1.8s, including UI budgets). The first build in the shared-dependency checkout failed because its workspace packages resolve to an unrelated branch; the clean native build removes that environment mismatch.profile-extension-memory.mts --extension openai --skip-combined --concurrency 1passed: 403.9 MiB peak RSS, 43.0 MiB empty-Node baseline, +360.9 MiB isolated-import delta; zero failures/timeouts. This includes shared SDK/runtime imports and is not incremental Gateway RSS. Earlier registration is an intentional startup cost for the existing broker capability; plugin opt-outs remain available. This addresses the latest ClawSweeper build/profile Rank-up move.Separate follow-up: OAuth-only
agents.defaults.voiceModelselection still checks backend/Platform readiness when no Talk provider is explicit (src/gateway/server-methods/talk-shared.ts:247). Explicit Talk provider/model selection is unaffected; this PR does not claim to repair that selector.AI-assisted implementation and verification. Release-note context: OpenAI login activates browser voice without hidden provider setup, and the web microphone refreshes readiness after sign-in.