Skip to content

Hands-free thread dispatch from CarPlay and Siri #18273

Closed as duplicate
Closed as duplicate

Description

@ntindle

Problem

Ideas for agent work come up while driving, but starting a thread needs the phone in hand. A driver should be able to say what they want built and have it start in the right project.

What exists today

  • Voice input. Mobile composer dictation records with expo-audio and transcribes on device with Apple's SpeechAnalyzer/SpeechTranscriber (iOS 26+) through @react-native-ai/apple (voiceTranscription.ios.ts, client-runtime/voice-input). Audio never leaves the phone, and nothing is sent until the user submits. Web has no voice input, and the server has no audio or transcription endpoint.
  • Internal inference. The server's TextGeneration service runs one-shot structured prompts through the user's own provider (textGenerationModelSelection, Codex by default) for thread titles, commit messages, PR text and branch names. It has four fixed operations, so a new kind of inference, such as picking a project, means a new operation in every provider's text generation.
  • Starting threads. Clients call orchestration.launchThread (ThreadLaunchService). Mobile's new-task flow resolves project defaults (model, runtime mode, local or worktree, base branch, t3.json) and sends through the offline-capable thread outbox. Agents use the t3_thread_launch MCP tool.

CarPlay constraints (CarPlay Developer Guide, June 2026)

  • iOS 26.4 added a CarPlay category for voice-based conversational apps, entitlement com.apple.developer.carplay-voice-based-conversation. Apple grants it per team after review.
  • Allowed templates: voice control (26.4+, with up to two action buttons and navigation bar buttons), list, grid, tab bar, alert, action sheet, information and point of interest. Template depth is limited to 3.
  • The app must launch into voice, hold its audio session only while voice is in use, and record only alongside the voice control template. There is no wake word; Siri remains the system assistant. Apps shouldn't answer with text or images.
  • CarPlay is often used while the iPhone is locked. Keychain items with WhenUnlocked accessibility can't be read then, and mobile stores connection credentials with expo-secure-store's default, WhenUnlocked.
  • The iOS Simulator accepts the entitlement without a grant. A device build needs it in the provisioning profile.
  • Siri App Intents work in CarPlay without any CarPlay entitlement.

Proposal

v0: the driver picks the project (PR to follow)

  1. CarPlay voice app. It opens straight into "Which project?" and matches the spoken name against connected projects, with a tappable list as fallback. Then "What do you want to build?", on-device transcription, a read-back and "Should I start it?". The thread starts with the project's defaults through the existing outbox, so an offline environment gets it when it reconnects.
  2. Siri. A "Start a thread in T3 Code" App Shortcut takes a project and a request and uses the same dispatch path. It works in the car today, before Apple grants the CarPlay entitlement.
  3. Transcription stays on device, using the same engine as composer dictation. No contract or server changes, so it works with existing servers.

v1: T3 Code picks the project

A server dispatch service takes a voice note and chooses the project (or an existing thread to continue) with internal inference, returning a ranked choice with confidence. Low confidence falls back to asking. It would be a service method exposed as an RPC and an MCP tool, so agents and scheduled tasks can dispatch the same way. It needs a new TextGeneration operation per provider.

Later

  • Spoken status: "what's running?", or a short summary of the latest result.
  • Answering pending agent questions by voice.
  • Android Auto, which has no equivalent conversational category today.

Open questions for maintainers

  1. Can the T3 Tools team (ARK85ZXQ4Z) request the CarPlay voice-based conversation entitlement? Until it's granted, builds opt in with T3CODE_IOS_CARPLAY=1, which only the simulator accepts.
  2. Should connection credentials move to AfterFirstUnlock (Clerk's token cache already uses it) so a cold launch from CarPlay or Siri works while the phone is locked? Without that, voice dispatch needs T3 Code to have run since the phone was last unlocked.
  3. Should voice-started threads always use a worktree, whatever the project default, since nobody is watching the first turn?

Testing notes

  • Xcode 27.0's Device Hub replaced Simulator.app and has no control for the simulator's CarPlay display (FB24785359). -[SimDevice enableCarPlay:error:] still starts a CarPlay session inside the simulator, but nothing on the Mac renders it.
  • The simulator's audio host needs a macOS microphone grant for CoreSimulator before simulator speech input works. Without it, simulator audio stalls.
  • That leaves CarPlay screen testing to Apple's CarPlay Simulator app with a cabled iPhone, or a car, once a team has the entitlement.

Activity

  1. added
    enhancement
    on Oct 11, 2026
  2. juliusmarminge commented on Oct 11, 2026

    @juliusmarminge
    Member

    Note

    Grok responding on behalf of Julius.

    Thanks for the detailed proposal! Feature requests and RFCs like this belong in Ideas, so we'll move this over there for discussion.

  3. ntindle commented on Oct 11, 2026

    @ntindle
    ContributorAuthor

    Moved to an Ideas discussion, where CONTRIBUTING.md puts feature proposals: #18286

  4. juliusmarminge commented on Oct 11, 2026

    @juliusmarminge
    Member

    Note

    Grok responding on behalf of Julius.

    Thanks for moving this to Ideas. Closing this issue in favor of the discussion so the conversation stays in one place: Hands-free thread dispatch from CarPlay and Siri (#18286).

  5. added
    duplicate
    on Oct 11, 2026
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

    duplicateenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions