Skip to content

Make Voice Mode execute and recover within its conversation - #4466

Closed
reachjalil wants to merge 14 commits into
devfrom
codex/voice-session-reliability
Closed

reachjalil wants to merge 14 commits into
devfrom
codex/voice-session-reliability

Conversation

@reachjalil

@reachjalil reachjalil commented Sep 4, 2026 •

Copy link
Copy Markdown
Member

Voice Mode now sends finalized speech through the same conversation sender as typed requests, so the focused task keeps its workspace, selected execution model, tools, and permissions. Follow-ups steer that task; spoken results follow an observed completed response. This replaces the separate realtime UI executor.

Audio defaults to GPT Realtime 2.1 and offers GPT Realtime 2.1 Mini under Audio and privacy → Audio model. Both use the existing managed or direct broker request. Check provider requests the current default; a mismatched broker response stops capture. Input transcription retains GPT-4o Transcribe for the WebRTC and confidence-review contract.

Resulting behavior

  • One call belongs to the focused task, including split panes. Switching tasks releases audio and isolates pending callbacks. Ending voice leaves accepted work running.
  • Stop talking, Mute, End voice, and Cancel operation have distinct effects. Reconnect never replays accepted requests. Uncertain transcripts stay reviewable in text; permissions and sign-in stay onscreen.
  • Voice and the composer share draft construction, preserving @cloud/@desktop routing and discovered MCP capability names and script paths. Remote task handoff is not reported as task completion.
  • Completed results produce a generic spoken notification by default. Read replies aloud explicitly shares a bounded reply excerpt with OpenAI for playback. The full written answer remains in the conversation.
  • Capture stays disabled until session configuration is acknowledged. Media tracks, peers, audio, listeners, and timers are released on end, failure, or task change. Device selection and typed fallback remain available.

Verification

Overall: Incomplete. Current head: a724481ecb468f6d538c7c5134643977b58a8594. Fresh canonical base: 2a3b4296fd9566e07410ab1eeaff9e0da51ec205.

Deterministic integration: Passed. OPENWORK_EVAL_REF=a724481ecb468f6d538c7c5134643977b58a8594 pnpm evals:e2e voice-conversation exited 0 with 1 passed, 0 failed, 0 skipped, 12 passing journey steps, and 12 passing assertion witnesses. Placement: daytona (daytona CLI authenticated). The server and desktop both checked out this exact commit. Published test evidence records the run created September 5, 2026 at 01:23:50 UTC.

The app typecheck and 3 focused runtime checks passed. Repository build, core tests, code analysis, and current-head automated security/sync clearance passed. Human review remains required. The four screenshots are supplementary and have no visual expectations; they are not claimed as visual passes.

The journey uses controlled audio/signalling with the real app and engine. It checks file effects, interruption, active-task steering, cancellation, reconnection, task isolation, default/opt-in readback, namespaced MCP calls, computer mentions, both audio-model choices, and broker-model mismatch cleanup. Controlled providers prove the integration boundary, not recognition accuracy, model availability, acoustic quality, real Cloud completion, or CodeMode execution.

Physical microphones/speakers, echo cancellation, semantic-VAD latency, provider acceptance, device recovery, and the supported OS matrix remain unverified. No live audio-quality claim is made. Screenshots are supplementary.

Model research and integration

The official Realtime 2.1 model page and Realtime 2.1 Mini model page, checked September 4, 2026, establish the current audio models. Provider descriptions of quality, speed, and cost are not measured OpenWork results; managed session accounting is unchanged.

Realtime transcription guidance documents the compatibility limits: GPT Transcribe's committed-turn workflow needs WebSocket, and GPT Live Transcribe lacks confidence scores. They require a separately verified transport or review interaction before replacing this transcription path. Voice design notes contain the architecture, official sources, and overlap review.

No unmerged branch is imported. Separate #3189 owns broker input validation; its proposed single-model validator must admit both 2.1 variants when integrated. This PR changes only broker default constants and uses the existing model field. Local dictation, managed inference routing, WebMCP, and native computer-use implementations remain independently owned.

Privacy and limits

Microphone audio goes to OpenAI while Voice is active, including when the task uses another execution provider. Read replies aloud intentionally shares completed reply excerpts, including sensitive content in them; automatic secret/PII filtering is not implemented. An earlier privacy-review thread requested such filtering even after opt-in and remains a human-review consideration. Disabling readback stops playback and clears queued excerpts; switching tasks resets it.

Confidence gating is a heuristic, not speaker authentication. Permissions and sensitive input stay onscreen. External tools may not cancel immediately, and cancellation never promises to undo completed effects. Calls and idle capture are bounded; there is no automatic audio-model substitution or automatic replay.

Rollback

Disable the Voice Mode extension to stop new calls while preserving typed conversations. No schema or data migration is included.

@vercel

vercel Bot commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

4 Skipped Deployments
Project Deployment Actions Updated
openwork-app Skipped Skipped Sep 5, 2026 7:54pm UTC
openwork-den Skipped Skipped Sep 5, 2026 7:54pm UTC
openwork-diagnostics Skipped Skipped Sep 5, 2026 7:54pm UTC
openwork-landing Skipped Skipped Sep 5, 2026 7:54pm UTC

Comment thread evals/worlds/voice.ts Resolved
diff-warden[bot]
diff-warden Bot previously approved these changes Sep 5, 2026

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (9a45a83349f56fcbc9ca2a692df6f6d736311975). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

diff-warden[bot]
diff-warden Bot previously approved these changes Sep 5, 2026

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (5ae85508fa486393c3e00b6eaaddd729e94538a1). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

Comment thread evals/worlds/voice.ts Resolved
diff-warden[bot]
diff-warden Bot previously approved these changes Sep 5, 2026

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (8c5254c26d85ae2b2652fe3aebc131bf071020b4). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (2deb18732f221cf40b78a3d76367dd50acea0707). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

Comment thread evals/worlds/voice.ts Resolved

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (a724481ecb468f6d538c7c5134643977b58a8594). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

@reachjalil

Copy link
Copy Markdown
Member Author

Test evidence — voice-sends-and-steers-real-conversation-work-interrupts-speech-cancels-reconnec — ✅ passed

✅ 0/4 screenshots passed · 12 assertions · 12 expectations passed · 0 failed · 0 pending

screenshots not attached (gh < 2.99; run brew upgrade gh)

[world] mock(mcp) · den(daytona) · desktop(as admin) · workspace(/tmp/openwork-voice-conversation-1788571733830) · [seed:raw] evalIn() ×2 · session("Voice conversation A") · session("Voice conversation B") · [seed:raw] evalIn() ×3
[user] see(testId=voice-task-title, text="Attached to Voice conversation A") · click(Start voice)
[probe] eventually(1 active microphone tracks)
[user] see(testId=voice-capture-state, text="Microphone on")
[probe] eventually(1 accepted user turns in conversation A) · eventually(real engine created the requested file) · eventually(default speech is only a response notification) · eventually(1 accepted user turns in conversation A)
[user] screenshot · click(label=/Read replies aloud/)
[probe] eventually(2 accepted user turns in conversation A) · eventually(follow-up executed in the original workspace) · eventually(playback receives the completed engine response)
[user] see(label=Voice request, value="Uncertain words") · click(text=/^Mute$/) · click(text=/^Unmute$/)
[probe] eventually(1 active microphone tracks) · eventually(3 accepted user turns in conversation A) · eventually(real slow tool is running) · eventually(4 accepted user turns in conversation A)
[user] see(text=/Cancellation requested./)
[probe] eventually(cancelled tool is no longer running)
[user] screenshot
[probe] eventually(0 active microphone tracks)
[user] click(text=Audio and privacy) · see(testId=voice-audio-model, value="gpt-realtime-2.1") · click(testId=voice-audio-model) · press(End) · press(Enter) · see(testId=voice-audio-model, value="gpt-realtime-2.1-mini") · click(Reconnect voice)
[probe] eventually(1 active microphone tracks)
[user] click(text=Audio and privacy)
[agent] run(session.open)
[probe] eventually(0 active microphone tracks)
[agent] run(voice.panel.open)
[user] notSee(text=Uncertain words) · see(label=Voice request, value="") · click(Start voice) · see(text=Microphone access was denied.) · click(Reconnect voice) · click(End voice)
[probe] eventually(0 active microphone tracks)
[user] screenshot · type(label=Voice request, "Create a note in this workspace.", replace) · click(Send request)
[probe] eventually(typed fallback submitted to conversation B)
[user] click(text=Audio and privacy) · see(testId=voice-audio-model, value="gpt-realtime-2.1") · click(testId=voice-audio-model) · press(End) · press(Enter) · see(testId=voice-audio-model, value="gpt-realtime-2.1-mini") · click(text=Audio and privacy) · click(Start voice)
[probe] eventually(1 active microphone tracks)
[user] click(label=/Read replies aloud/)
[probe] eventually(search and script reach the MCP witness) · eventually(spoken completion follows the connected tool response)
[user] type(label=Voice request, "@cloud Summarize the project notes.", replace) · click(Send request)
[probe] eventually(Cloud task handoff reached Connect) · eventually(handoff does not announce task completion) · eventually(Desktop task handoff reached Connect)
[user] type(label=Voice request, "Explain person@cloud and the word desktop.", replace) · click(Send request)
[probe] eventually(ordinary text finishes without a computer handoff)
[user] screenshot · press(Control+K) · type(placeholder=Search actions, settings, and sessions…, "new split", replace) · see(label=/^New split/) · press(Enter)
[probe] eventually(new task is focused in the split) · eventually(0 active microphone tracks)
[user] see(testId=voice-task-title, text="Attached to New session") · click(Start voice)
[probe] eventually(1 active microphone tracks) · eventually(speech submitted only to focused split task)
[agent] run(workbench.session.focus)
[probe] eventually(0 active microphone tracks)
[user] click(Start voice) · see(text=The voice provider returned a different audio model.)
[probe] eventually(0 active microphone tracks)
steps 1 ✅ start with acknowledged controls and capture a spoken request through real execution (4.1s) · 2 ✅ barge-in stops only speech and a follow-up updates the same task (3.6s) · 3 ✅ uncertain and muted audio cannot send or approve a request (1.7s) · 4 ✅ cancellation reaches the running engine and does not claim to undo completed work (2.1s) · 5 ✅ a lost connection releases audio and reconnect never resubmits accepted requests (3.7s) · 6 ✅ switching conversations ends the call and discards delayed callbacks (4.9s) · 7 ✅ denied permission and a late capture grant recover without a live microphone (2.8s) · 8 ✅ typed interaction remains usable after voice ends (1.7s) · 9 ✅ spoken connected-app work preserves discovered connection namespaces (5.6s) · 10 ✅ voice text and transcripts use the same Cloud and Desktop task routing as the composer (6.6s) · 11 ✅ voice follows the focused split task and releases the previous call (6.1s) · 12 ✅ a broker model mismatch releases capture without submitting work (2.3s)
verdict passed · 18 user observations (see ×13, screenshot ×4, notSee ×1) · 31 probes · steps 12/12

ℹ️ ASSERTION — 1. A spoken request uses Realtime 2.1 for audio and the selected task model for real execution; the other conversation stays empty

{"audioSessions":[{"model":"gpt-realtime-2.1"}],"userTurns":["Create a note in this workspace."],"file":{"status":200,"body":"{&quot;path&quot;:&quot;voice-note.txt&quot;,&quot;content&quot;:&quot;created by spoken request&quot;,&quot;bytes&quot;:25,&quot;updatedAt&quot;:1788571745069.937}"},"otherConversation":[],"model":[{"user":"Create a note in this workspace.","model":"voice-task-model","tools":["bash","browser_click","browser_eval","browser_fill","browser_list","browser_navigate","browser_screenshot","browser_snapshot","browser_version","edit","glob","grep","list_mcp_resource_templates","list_mcp_resources","openwork_context","openwork_docs_read","openwork_docs_search","openwork_execute","openwork_pdf_pages","openwork_query","openwork-cloud_connection_action","openwork-cloud_create_skill","openwork-cloud_execute_capability","openwork-cloud_execute_capability_script","openwork-cloud_plugin_flow","openwork-cloud_render_dynamic_artifact","openwork-cloud_render_workflow_artifact","openwork-cloud_search_capabilities","openwork-cloud_update_skill","read","read_mcp_resource","skill","spreadsheet_inspect","spreadsheet_read","spreadsheet_write","task","todowrite","voice_cloud_execute_capability","voice_cloud_execute_capability_script","voice_cloud_search_capabilities","webfetch","write"]},{"user":"Create a note in this workspace.","model":"voice-task-model","tools":["bash","browser_click","browser_eval","browser_fill","browser_list","browser_navigate","browser_screenshot","browser_snapshot","browser_version","edit","glob","grep","list_mcp_resource_templates","list_mcp_resources","openwork_context","openwork_docs_read","openwork_docs_search","openwork_execute","openwork_pdf_pages","openwork_query","openwork-cloud_connection_action","openwork-cloud_create_skill","openwork-cloud_execute_capability","openwork-cloud_execute_capability_script","openwork-cloud_plugin_flow","openwork-cloud_render_dynamic_artifact","openwork-cloud_render_workflow_artifact","openwork-cloud_search_capabilities","openwork-cloud_update_skill","read","read_mcp_resource","skill","spreadsheet_inspect","spreadsheet_read","spreadsheet_write","task","todowrite","voice_cloud_execute_capability","voice_cloud_execute_capability_script","voice_cloud_search_capabilities","webfetch","write"]}]}

  • ✅ PASS A spoken request uses Realtime 2.1 for audio and the selected task model for real execution; the other conversation stays empty — {"audioSessions":[{"model":"gpt-realtime-2.1"}],"userTurns":["Create a note in this workspace."],"file":{"status":200,"body":"{&quot;path&quot;:&quot;voice-note.txt&quot;,&quot;content&quot;:&quot;created by spoken request&quot;,&quot;bytes&quot;:25,&quot;updatedAt&quot;:1788571745069.937}"},"otherConversation":[],"model":[{"user":"Create a note in this workspace.","model":"voice-task-model","tools":["bash","browser_click","browser_eval","browser_fill","browser_list","browser_navigate","browser_screenshot","browser_snapshot","browser_version","edit","glob","grep","list_mcp_resource_templates","list_mcp_resources","openwork_context","openwork_docs_read","openwork_docs_search","openwork_execute","openwork_pdf_pages","openwork_query","openwork-cloud_connection_action","openwork-cloud_create_skill","openwork-cloud_execute_capability","openwork-cloud_execute_capability_script","openwork-cloud_plugin_flow","openwork-cloud_render_dynamic_artifact","openwork-cloud_render_workflow_artifact","openwork-cloud_search_capabilities","openwork-cloud_update_skill","read","read_mcp_resource","skill","spreadsheet_inspect","spreadsheet_read","spreadsheet_write","task","todowrite","voice_cloud_execute_capability","voice_cloud_execute_capability_script","voice_cloud_search_capabilities","webfetch","write"]},{"user":"Create a note in this workspace.","model":"voice-task-model","tools":["bash","browser_click","browser_eval","browser_fill","browser_list","browser_navigate","browser_screenshot","browser_snapshot","browser_version","edit","glob","grep","list_mcp_resource_templates","list_mcp_resources","openwork_context","openwork_docs_read","openwork_docs_search","openwork_execute","openwork_pdf_pages","openwork_query","openwork-cloud_connection_action","openwork-cloud_create_skill","openwork-cloud_execute_capability","openwork-cloud_execute_capability_script","openwork-cloud_plugin_flow","openwork-cloud_render_dynamic_artifact","openwork-cloud_render_workflow_artifact","openwork-cloud_search_capabilities","openwork-cloud_update_skill","read","read_mcp_resource","skill","spreadsheet_inspect","spreadsheet_read","spreadsheet_write","task","todowrite","voice_cloud_execute_capability","voice_cloud_execute_capability_script","voice_cloud_search_capabilities","webfetch","write"]}]}

ℹ️ ASSERTION — 2. Interruption clears playback and the follow-up changes the same workspace without duplicating its user turn

{"userTurns":["Create a note in this workspace.","Change the note to the updated text."],"file":{"status":200,"body":"{&quot;path&quot;:&quot;voice-note.txt&quot;,&quot;content&quot;:&quot;updated by follow-up&quot;,&quot;bytes&quot;:20,&quot;updatedAt&quot;:1788571747870.9685}"},"audioCleared":true,"completedResponsePlayback":["[{&quot;type&quot;:&quot;message&quot;,&quot;role&quot;:&quot;user&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;input_text&quot;,&quot;text&quot;:&quot;Your task has a response. Read it in the conversation.&quot;}]}]","[{&quot;type&quot;:&quot;message&quot;,&quot;role&quot;:&quot;user&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;input_text&quot;,&quot;text&quot;:&quot;The note now contains the updated text.&quot;}]}]"],"otherConversation":[]}

  • ✅ PASS Interruption clears playback and the follow-up changes the same workspace without duplicating its user turn — {"userTurns":["Create a note in this workspace.","Change the note to the updated text."],"file":{"status":200,"body":"{&quot;path&quot;:&quot;voice-note.txt&quot;,&quot;content&quot;:&quot;updated by follow-up&quot;,&quot;bytes&quot;:20,&quot;updatedAt&quot;:1788571747870.9685}"},"audioCleared":true,"completedResponsePlayback":["[{&quot;type&quot;:&quot;message&quot;,&quot;role&quot;:&quot;user&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;input_text&quot;,&quot;text&quot;:&quot;Your task has a response. Read it in the conversation.&quot;}]}]","[{&quot;type&quot;:&quot;message&quot;,&quot;role&quot;:&quot;user&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;input_text&quot;,&quot;text&quot;:&quot;The note now contains the updated text.&quot;}]}]"],"otherConversation":[]}

ℹ️ ASSERTION — 3. Uncertain and muted audio stay unsubmitted; unmute reacquires capture

Reviewed textarea value was Uncertain words; mute left zero live tracks; muted approval produced no turn; user count stayed 2; unmute restored one active track.

  • ✅ PASS Uncertain and muted audio stay unsubmitted; unmute reacquires capture — Reviewed textarea value was Uncertain words; mute left zero live tracks; muted approval produced no turn; user count stayed 2; unmute restored one active track.

ℹ️ ASSERTION — 4. A follow-up enters the running conversation; cancellation stops the real tool without undoing completed work

{"messages":[{"role":"user","text":"Create a note in this workspace.","routing":[],"tools":[]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"bash","status":"completed","input":{"command":"printf '%s' 'created by spoken request' > voice-note.txt","description":"Write the requested note"},"output":"(no output)"}]},{"role":"assistant","text":"The note was created in this workspace.","routing":[],"tools":[]},{"role":"user","text":"Change the note to the updated text.","routing":[],"tools":[]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"bash","status":"completed","input":{"command":"printf '%s' 'updated by follow-up' > voice-note.txt","description":"Write the requested note"},"output":"(no output)"}]},{"role":"assistant","text":"The note now contains the updated text.","routing":[],"tools":[]},{"role":"user","text":"Start a slow operation.","routing":[],"tools":[]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"bash","status":"completed","input":{"command":"sleep 30; printf 'finished' > voice-slow.txt","description":"Create the slow note"},"output":"(no output)\n\n<shell_metadata>\nUser aborted the command\n</shell_metadata>"}]},{"role":"user","text":"When this finishes, change the note again.","routing":[],"tools":[]}],"cancelledFile":{"status":404,"body":"{&quot;code&quot;:&quot;file_not_found&quot;,&quot;message&quot;:&quot;File not found&quot;}"},"completedFile":{"status":200,"body":"{&quot;path&quot;:&quot;voice-note.txt&quot;,&quot;content&quot;:&quot;updated by follow-up&quot;,&quot;bytes&quot;:20,&quot;updatedAt&quot;:1788571747870.9685}"}}

  • ✅ PASS A follow-up enters the running conversation; cancellation stops the real tool without undoing completed work — {"messages":[{"role":"user","text":"Create a note in this workspace.","routing":[],"tools":[]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"bash","status":"completed","input":{"command":"printf '%s' 'created by spoken request' > voice-note.txt","description":"Write the requested note"},"output":"(no output)"}]},{"role":"assistant","text":"The note was created in this workspace.","routing":[],"tools":[]},{"role":"user","text":"Change the note to the updated text.","routing":[],"tools":[]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"bash","status":"completed","input":{"command":"printf '%s' 'updated by follow-up' > voice-note.txt","description":"Write the requested note"},"output":"(no output)"}]},{"role":"assistant","text":"The note now contains the updated text.","routing":[],"tools":[]},{"role":"user","text":"Start a slow operation.","routing":[],"tools":[]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"bash","status":"completed","input":{"command":"sleep 30; printf 'finished' > voice-slow.txt","description":"Create the slow note"},"output":"(no output)\n\n<shell_metadata>\nUser aborted the command\n</shell_metadata>"}]},{"role":"user","text":"When this finishes, change the note again.","routing":[],"tools":[]}],"cancelledFile":{"status":404,"body":"{&quot;code&quot;:&quot;file_not_found&quot;,&quot;message&quot;:&quot;File not found&quot;}"},"completedFile":{"status":200,"body":"{&quot;path&quot;:&quot;voice-note.txt&quot;,&quot;content&quot;:&quot;updated by follow-up&quot;,&quot;bytes&quot;:20,&quot;updatedAt&quot;:1788571747870.9685}"}}

ℹ️ ASSERTION — 5. Reconnect uses the chosen Realtime 2.1 Mini audio model without replay or task-model changes

{"audioSessions":[{"model":"gpt-realtime-2.1"},{"model":"gpt-realtime-2.1-mini"}],"userTurns":["Create a note in this workspace.","Change the note to the updated text.","Start a slow operation.","When this finishes, change the note again."],"otherConversation":[],"activeTracks":1}

  • ✅ PASS Reconnect uses the chosen Realtime 2.1 Mini audio model without replay or task-model changes — {"audioSessions":[{"model":"gpt-realtime-2.1"},{"model":"gpt-realtime-2.1-mini"}],"userTurns":["Create a note in this workspace.","Change the note to the updated text.","Start a slow operation.","When this finishes, change the note again."],"otherConversation":[],"activeTracks":1}

ℹ️ ASSERTION — 6. Switching conversations releases audio and isolates pending input

Zero live tracks after navigation; the old peer's transcript created no turn in B; A retained 4 turns; B's voice textarea was empty.

  • ✅ PASS Switching conversations releases audio and isolates pending input — Zero live tracks after navigation; the old peer's transcript created no turn in B; A retained 4 turns; B's voice textarea was empty.

ℹ️ ASSERTION — 7. Denied permission and capture granted after End leave no microphone live

Denied access showed recovery; after a delayed permission grant and End, both active and live track counts were zero.

  • ✅ PASS Denied permission and capture granted after End leave no microphone live — Denied access showed recovery; after a delayed permission grant and End, both active and live track counts were zero.

ℹ️ ASSERTION — 8. Typed fallback remains in the new conversation after voice ends

{"originalConversationUsers":["Create a note in this workspace.","Change the note to the updated text.","Start a slow operation.","When this finishes, change the note again."],"newConversationUsers":["Create a note in this workspace."],"liveTracks":0}

  • ✅ PASS Typed fallback remains in the new conversation after voice ends — {"originalConversationUsers":["Create a note in this workspace.","Change the note to the updated text.","Start a slow operation.","When this finishes, change the note again."],"newConversationUsers":["Create a note in this workspace."],"liveTracks":0}

ℹ️ ASSERTION — 9. Voice preserves discovered connection and tool namespaces through normal task execution with Mini audio

{"audioSessions":[{"model":"gpt-realtime-2.1"},{"model":"gpt-realtime-2.1-mini"},{"model":"gpt-realtime-2.1-mini"}],"calls":[{"name":"search_capabilities","args":{"query":"project notes"},"tokenId":null,"at":"2026-09-05T01:29:31.112Z"},{"name":"execute_capability_script","args":{"code":"return await tools.project_notes_2&quot;list-notes&quot;;"},"tokenId":null,"at":"2026-09-05T01:29:31.182Z"}],"playback":["[{&quot;type&quot;:&quot;message&quot;,&quot;role&quot;:&quot;user&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;input_text&quot;,&quot;text&quot;:&quot;Your task has a response. Read it in the conversation.&quot;}]}]","[{&quot;type&quot;:&quot;message&quot;,&quot;role&quot;:&quot;user&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;input_text&quot;,&quot;text&quot;:&quot;The note now contains the updated text.&quot;}]}]","[{&quot;type&quot;:&quot;message&quot;,&quot;role&quot;:&quot;user&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;input_text&quot;,&quot;text&quot;:&quot;Cancellation requested. Queued follow-ups were cleared. Completed effects cannot be undone; check the conversation for the final state.&quot;}]}]","[{&quot;type&quot;:&quot;message&quot;,&quot;role&quot;:&quot;user&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;input_text&quot;,&quot;text&quot;:&quot;The connected app returned Project brief and Release checklist.&quot;}]}]"],"originalTaskUsers":["Create a note in this workspace.","Change the note to the updated text.","Start a slow operation.","When this finishes, change the note again."]}

  • ✅ PASS Voice preserves discovered connection and tool namespaces through normal task execution with Mini audio — {"audioSessions":[{"model":"gpt-realtime-2.1"},{"model":"gpt-realtime-2.1-mini"},{"model":"gpt-realtime-2.1-mini"}],"calls":[{"name":"search_capabilities","args":{"query":"project notes"},"tokenId":null,"at":"2026-09-05T01:29:31.112Z"},{"name":"execute_capability_script","args":{"code":"return await tools.project_notes_2&quot;list-notes&quot;;"},"tokenId":null,"at":"2026-09-05T01:29:31.182Z"}],"playback":["[{&quot;type&quot;:&quot;message&quot;,&quot;role&quot;:&quot;user&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;input_text&quot;,&quot;text&quot;:&quot;Your task has a response. Read it in the conversation.&quot;}]}]","[{&quot;type&quot;:&quot;message&quot;,&quot;role&quot;:&quot;user&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;input_text&quot;,&quot;text&quot;:&quot;The note now contains the updated text.&quot;}]}]","[{&quot;type&quot;:&quot;message&quot;,&quot;role&quot;:&quot;user&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;input_text&quot;,&quot;text&quot;:&quot;Cancellation requested. Queued follow-ups were cleared. Completed effects cannot be undone; check the conversation for the final state.&quot;}]}]","[{&quot;type&quot;:&quot;message&quot;,&quot;role&quot;:&quot;user&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;input_text&quot;,&quot;text&quot;:&quot;The connected app returned Project brief and Release checklist.&quot;}]}]"],"originalTaskUsers":["Create a note in this workspace.","Change the note to the updated text.","Start a slow operation.","When this finishes, change the note again."]}

ℹ️ ASSERTION — 10. Cloud/Desktop routing preserves the intended computer and does not reroute ordinary text

{"calls":[{"name":"search_capabilities","args":{"query":"project notes"},"tokenId":null,"at":"2026-09-05T01:29:31.112Z"},{"name":"execute_capability_script","args":{"code":"return await tools.project_notes_2&quot;list-notes&quot;;"},"tokenId":null,"at":"2026-09-05T01:29:31.182Z"},{"name":"search_capabilities","args":{"query":"remote-session:create"},"tokenId":null,"at":"2026-09-05T01:29:35.211Z"},{"name":"execute_capability","args":{"name":"remote-session:create","body":{"target":"cloud","prompt":"Summarize the project notes."}},"tokenId":null,"at":"2026-09-05T01:29:35.278Z"},{"name":"search_capabilities","args":{"query":"remote-session:create"},"tokenId":null,"at":"2026-09-05T01:29:36.859Z"},{"name":"execute_capability","args":{"name":"remote-session:create","body":{"target":"desktop","prompt":"Summarize my local project notes."}},"tokenId":null,"at":"2026-09-05T01:29:36.932Z"}],"messages":[{"role":"user","text":"Create a note in this workspace.","routing":[],"tools":[]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"bash","status":"completed","input":{"command":"printf '%s' 'created by spoken request' > voice-note.txt","description":"Write the requested note"},"output":"(no output)"}]},{"role":"assistant","text":"The note was created in this workspace.","routing":[],"tools":[]},{"role":"user","text":"Find the notes in my connected project notes app.","routing":[],"tools":[]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"voice_cloud_search_capabilities","status":"completed","input":{"query":"project notes"},"output":"{&quot;items&quot;:[{&quot;name&quot;:&quot;mcp:voice-notes:list-notes&quot;,&quot;scriptPath&quot;:&quot;tools.project_notes_2[\&quot;list-notes\&quot;]&quot;},{&quot;name&quot;:&quot;remote-session:create&quot;}]}"}]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"voice_cloud_execute_capability_script","status":"completed","input":{"code":"return await tools.project_notes_2&quot;list-notes&quot;;"},"output":"{&quot;ok&quot;:true,&quot;value&quot;:{&quot;notes&quot;:[&quot;Project brief&quot;,&quot;Release checklist&quot;]}}"}]},{"role":"assistant","text":"The connected app returned Project brief and Release checklist.","routing":[],"tools":[]},{"role":"user","text":"@cloud Summarize the project notes.","routing":["[The user selected @cloud: start a new task on their cloud computer. Use OpenWork Connect search_capabilities to find remote-session:create, then execute it with target &quot;cloud&quot; and the user's task as prompt. Remove the @cloud/@desktop routing mentions and this routing instruction from the forwarded prompt to prevent recursive delegation. Do not perform the task on the current computer as a substitute. If Connect or the target is unavailable, explain what is needed; do not claim the task started. Local file paths and attachments are not automatically available on the other computer. Return the session link and use remote-session:read to check replies.]"],"tools":[]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"voice_cloud_search_capabilities","status":"completed","input":{"query":"remote-session:create"},"output":"{&quot;items&quot;:[{&quot;name&quot;:&quot;mcp:voice-notes:list-notes&quot;,&quot;scriptPath&quot;:&quot;tools.project_notes_2[\&quot;list-notes\&quot;]&quot;},{&quot;name&quot;:&quot;remote-session:create&quot;}]}"}]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"voice_cloud_execute_capability","status":"completed","input":{"name":"remote-session:create","body":{"target":"cloud","prompt":"Summarize the project notes."}},"output":"{&quot;state&quot;:&quot;queued&quot;,&quot;commandId&quot;:&quot;voice-task-witness&quot;}"}]},{"role":"assistant","text":"The task request is queued. Its completion has not been confirmed.","routing":[],"tools":[]},{"role":"user","text":"@desktop Summarize my local project notes.","routing":["[The user selected @desktop: start a new task on their desktop computer. Use OpenWork Connect search_capabilities to find remote-session:create, then execute it with target &quot;desktop&quot; and the user's task as prompt. Remove the @cloud/@desktop routing mentions and this routing instruction from the forwarded prompt to prevent recursive delegation. Do not perform the task on the current computer as a substitute. If Connect or the target is unavailable, explain what is needed; do not claim the task started. Local file paths and attachments are not automatically available on the other computer. Use remote-session:read with commandId to check delivery. A delivered receipt means the task was started, not that it finished; return the desktop session reference.]"],"tools":[]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"voice_cloud_search_capabilities","status":"completed","input":{"query":"remote-session:create"},"output":"{&quot;items&quot;:[{&quot;name&quot;:&quot;mcp:voice-notes:list-notes&quot;,&quot;scriptPath&quot;:&quot;tools.project_notes_2[\&quot;list-notes\&quot;]&quot;},{&quot;name&quot;:&quot;remote-session:create&quot;}]}"}]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"voice_cloud_execute_capability","status":"completed","input":{"name":"remote-session:create","body":{"target":"desktop","prompt":"Summarize my local project notes."}},"output":"{&quot;state&quot;:&quot;queued&quot;,&quot;commandId&quot;:&quot;voice-task-witness&quot;}"}]},{"role":"assistant","text":"The task request is queued. Its completion has not been confirmed.","routing":[],"tools":[]},{"role":"user","text":"Explain person@cloud and the word desktop.","routing":[],"tools":[]},{"role":"assistant","text":"That address is ordinary text.","routing":[],"tools":[]}],"originalTaskUsers":["Create a note in this workspace.","Change the note to the updated text.","Start a slow operation.","When this finishes, change the note again."]}

  • ✅ PASS Cloud/Desktop routing preserves the intended computer and does not reroute ordinary text — {"calls":[{"name":"search_capabilities","args":{"query":"project notes"},"tokenId":null,"at":"2026-09-05T01:29:31.112Z"},{"name":"execute_capability_script","args":{"code":"return await tools.project_notes_2&quot;list-notes&quot;;"},"tokenId":null,"at":"2026-09-05T01:29:31.182Z"},{"name":"search_capabilities","args":{"query":"remote-session:create"},"tokenId":null,"at":"2026-09-05T01:29:35.211Z"},{"name":"execute_capability","args":{"name":"remote-session:create","body":{"target":"cloud","prompt":"Summarize the project notes."}},"tokenId":null,"at":"2026-09-05T01:29:35.278Z"},{"name":"search_capabilities","args":{"query":"remote-session:create"},"tokenId":null,"at":"2026-09-05T01:29:36.859Z"},{"name":"execute_capability","args":{"name":"remote-session:create","body":{"target":"desktop","prompt":"Summarize my local project notes."}},"tokenId":null,"at":"2026-09-05T01:29:36.932Z"}],"messages":[{"role":"user","text":"Create a note in this workspace.","routing":[],"tools":[]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"bash","status":"completed","input":{"command":"printf '%s' 'created by spoken request' > voice-note.txt","description":"Write the requested note"},"output":"(no output)"}]},{"role":"assistant","text":"The note was created in this workspace.","routing":[],"tools":[]},{"role":"user","text":"Find the notes in my connected project notes app.","routing":[],"tools":[]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"voice_cloud_search_capabilities","status":"completed","input":{"query":"project notes"},"output":"{&quot;items&quot;:[{&quot;name&quot;:&quot;mcp:voice-notes:list-notes&quot;,&quot;scriptPath&quot;:&quot;tools.project_notes_2[\&quot;list-notes\&quot;]&quot;},{&quot;name&quot;:&quot;remote-session:create&quot;}]}"}]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"voice_cloud_execute_capability_script","status":"completed","input":{"code":"return await tools.project_notes_2&quot;list-notes&quot;;"},"output":"{&quot;ok&quot;:true,&quot;value&quot;:{&quot;notes&quot;:[&quot;Project brief&quot;,&quot;Release checklist&quot;]}}"}]},{"role":"assistant","text":"The connected app returned Project brief and Release checklist.","routing":[],"tools":[]},{"role":"user","text":"@cloud Summarize the project notes.","routing":["[The user selected @cloud: start a new task on their cloud computer. Use OpenWork Connect search_capabilities to find remote-session:create, then execute it with target &quot;cloud&quot; and the user's task as prompt. Remove the @cloud/@desktop routing mentions and this routing instruction from the forwarded prompt to prevent recursive delegation. Do not perform the task on the current computer as a substitute. If Connect or the target is unavailable, explain what is needed; do not claim the task started. Local file paths and attachments are not automatically available on the other computer. Return the session link and use remote-session:read to check replies.]"],"tools":[]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"voice_cloud_search_capabilities","status":"completed","input":{"query":"remote-session:create"},"output":"{&quot;items&quot;:[{&quot;name&quot;:&quot;mcp:voice-notes:list-notes&quot;,&quot;scriptPath&quot;:&quot;tools.project_notes_2[\&quot;list-notes\&quot;]&quot;},{&quot;name&quot;:&quot;remote-session:create&quot;}]}"}]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"voice_cloud_execute_capability","status":"completed","input":{"name":"remote-session:create","body":{"target":"cloud","prompt":"Summarize the project notes."}},"output":"{&quot;state&quot;:&quot;queued&quot;,&quot;commandId&quot;:&quot;voice-task-witness&quot;}"}]},{"role":"assistant","text":"The task request is queued. Its completion has not been confirmed.","routing":[],"tools":[]},{"role":"user","text":"@desktop Summarize my local project notes.","routing":["[The user selected @desktop: start a new task on their desktop computer. Use OpenWork Connect search_capabilities to find remote-session:create, then execute it with target &quot;desktop&quot; and the user's task as prompt. Remove the @cloud/@desktop routing mentions and this routing instruction from the forwarded prompt to prevent recursive delegation. Do not perform the task on the current computer as a substitute. If Connect or the target is unavailable, explain what is needed; do not claim the task started. Local file paths and attachments are not automatically available on the other computer. Use remote-session:read with commandId to check delivery. A delivered receipt means the task was started, not that it finished; return the desktop session reference.]"],"tools":[]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"voice_cloud_search_capabilities","status":"completed","input":{"query":"remote-session:create"},"output":"{&quot;items&quot;:[{&quot;name&quot;:&quot;mcp:voice-notes:list-notes&quot;,&quot;scriptPath&quot;:&quot;tools.project_notes_2[\&quot;list-notes\&quot;]&quot;},{&quot;name&quot;:&quot;remote-session:create&quot;}]}"}]},{"role":"assistant","text":"","routing":[],"tools":[{"tool":"voice_cloud_execute_capability","status":"completed","input":{"name":"remote-session:create","body":{"target":"desktop","prompt":"Summarize my local project notes."}},"output":"{&quot;state&quot;:&quot;queued&quot;,&quot;commandId&quot;:&quot;voice-task-witness&quot;}"}]},{"role":"assistant","text":"The task request is queued. Its completion has not been confirmed.","routing":[],"tools":[]},{"role":"user","text":"Explain person@cloud and the word desktop.","routing":[],"tools":[]},{"role":"assistant","text":"That address is ordinary text.","routing":[],"tools":[]}],"originalTaskUsers":["Create a note in this workspace.","Change the note to the updated text.","Start a slow operation.","When this finishes, change the note again."]}

ℹ️ ASSERTION — 11. Voice uses the focused split task and closes audio when focus changes

{"splitUsers":["Create a note in this workspace."],"originalTaskUsers":["Create a note in this workspace.","Find the notes in my connected project notes app.","@cloud Summarize the project notes.","@desktop Summarize my local project notes.","Explain person@cloud and the word desktop."],"liveTracks":0}

  • ✅ PASS Voice uses the focused split task and closes audio when focus changes — {"splitUsers":["Create a note in this workspace."],"originalTaskUsers":["Create a note in this workspace.","Find the notes in my connected project notes app.","@cloud Summarize the project notes.","@desktop Summarize my local project notes.","Explain person@cloud and the word desktop."],"liveTracks":0}

ℹ️ ASSERTION — 12. An unexpected broker model stops capture and creates no task turn

{"liveTracks":0,"originalTaskUsers":["Create a note in this workspace.","Change the note to the updated text.","Start a slow operation.","When this finishes, change the note again."],"focusedTaskUsers":["Create a note in this workspace.","Find the notes in my connected project notes app.","@cloud Summarize the project notes.","@desktop Summarize my local project notes.","Explain person@cloud and the word desktop."]}

  • ✅ PASS An unexpected broker model stops capture and creates no task turn — {"liveTracks":0,"originalTaskUsers":["Create a note in this workspace.","Change the note to the updated text.","Start a slow operation.","When this finishes, change the note again."],"focusedTaskUsers":["Create a note in this workspace.","Find the notes in my connected project notes app.","@cloud Summarize the project notes.","@desktop Summarize my local project notes.","Explain person@cloud and the word desktop."]}

⚪ UNVALIDATED — 13. voice-sends-and-steers-real-conversation-work-interrupts-speech-cancels-reconnec artifact 2

  • ⚪ UNVALIDATED — no visual expectations recorded.

⚪ UNVALIDATED — 14. voice-sends-and-steers-real-conversation-work-interrupts-speech-cancels-reconnec artifact 6

  • ⚪ UNVALIDATED — no visual expectations recorded.

⚪ UNVALIDATED — 15. voice-sends-and-steers-real-conversation-work-interrupts-speech-cancels-reconnec artifact 9

  • ⚪ UNVALIDATED — no visual expectations recorded.

⚪ UNVALIDATED — 16. voice-sends-and-steers-real-conversation-work-interrupts-speech-cancels-reconnec artifact 14

  • ⚪ UNVALIDATED — no visual expectations recorded.

Test run created 2026-09-05T01:23:50.177Z · Source: evals/results/test-runs/2026-09-05T01-23-50-176Z-voice-sends-and-steers-real-conversation-work-interrupts-speech-cancels-reconnec/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 4466 --test-run 2026-09-05T01-23-50-176Z-voice-sends-and-steers-real-conversation-work-interrupts-speech-cancels-reconnec

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 5, 2026 •

Copy link
Copy Markdown

Deploying openwork with  Cloudflare Pages  Cloudflare Pages

Latest commit: 84a8626
Status: ✅  Deploy successful!
Preview URL: https://1a61c1a1.openwork.pages.dev
Branch Preview URL: https://codex-voice-session-reliabil.openwork.pages.dev

View logs

@vercel
vercel Bot temporarily deployed to Preview – openwork-landing September 5, 2026 19:54 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-den September 5, 2026 19:54 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-diagnostics September 5, 2026 19:54 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-app September 5, 2026 19:54 Inactive

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (84a862698d65dc9684e8e81058d975b4ab289c71). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

@reachjalil reachjalil closed this Sep 18, 2026

This branch was previously deployed

4 inactive deployments
Preview – openwork-app — 84a86269 Deployed Sep 5, 2026 by vercel[bot]
Preview – openwork-diagnostics — 84a86269 Deployed Sep 5, 2026 by vercel[bot]
Preview – openwork-den — 84a86269 Deployed Sep 5, 2026 by vercel[bot]
Preview – openwork-landing — 84a86269 Deployed Sep 5, 2026 by vercel[bot]
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