Skip to content

Voice mode: distinguish direct answers and app actions from coding requests #329490

Closed

Description

Problem

Voice mode sometimes submits a new coding request when the user intended a lightweight spoken answer or an application action. It can also answer conversationally when the user intended to create or control a session.

This is especially disruptive while another coding request is already running.

Desired routing

Answer or act in the voice backend

  • Application state: current session, session counts/status, current model, attachments.
  • Application actions: create/focus a session, select a model, attach a file.
  • Lightweight general questions that do not require workspace context or durable chat history.
  • Examples: "What does polymorphism mean?" or "While that runs, what is the difference between TCP and UDP?"

Submit to the coding agent

  • Requests requiring workspace context, tools, repository inspection, or project changes.
  • Answers the user is likely to need in the session history.
  • Examples: debug a test, explain a compiler error, refactor code, search the repository, review a PR, create a migration, or investigate a build.

Acceptance criteria

  • Direct voice answers do not create a chat request.
  • App-action utterances invoke the matching frontend tool and do not become prompt text.
  • "Start a new session" consistently invokes session creation.
  • A lightweight question can be answered while a coding request continues in another session.
  • Tool failures and ambiguities cause a clarification or honest failure response.
  • The backend routing prompt/tool definitions document this boundary explicitly.

Frontend context and structured action results are supplied by #329493.

Activity

  1. added
    feature-request
    on Aug 6, 2026
  2. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Aug 18, 2026
  3. 7 remaining items

  4. added
    verification-found
    verification-steps-needed
    on Aug 31, 2026
  5. removed
    verification-found
    verification-steps-needed
    on Aug 31, 2026
  6. removed
    insiders-released
    on Aug 31, 2026
  7. meganrogge commented on Aug 31, 2026

    @meganrogge
    CollaboratorAuthor

    This is actually not working for me

  8. pwang347 commented on Sep 4, 2026

    @pwang347
    Contributor

    Verified on macOS with Code OSS Dev 1.137.0 at 55af5cecaa4dd821e366537461b01e95cf4a1b33 against the hosted Voice Mode backend.

    • A direct app-state question ("What session am I in right now?") produced a voice-only answer and did not create a coding request.
    • "Start a new session" opened a fresh composer and emitted send_to_chat(text="", new_session=true) instead of adding prompt text to the active session.
    • While a separate Gamma session remained In Progress, "While that request runs, what is the difference between TCP and UDP?" was answered directly in Beta; Gamma stayed in progress and Beta chat history was unchanged.
    • A repository-search request emitted send_to_chat(text=...), created a coding-agent request, searched the repository, and returned the result in session history.
    • A session-focus request whose target was unavailable produced an honest failure instead of claiming navigation succeeded.

    Marking verified.

  9. added
    verified
    on Sep 4, 2026
  10. locked and limited conversation to collaborators on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestverification-neededverifiedvoice-mode

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions