Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(mobile): keep dictation running across navigation behind an edge pill #15502

Mergedjuliusmarmingemerged 11 commits intomain fromrefs/pull/15502/headmerged by juliusmarminge View on GitHub

juliusmarmingecommented

Supersedes #14923. It carries @Bil0000's commits unchanged and adds a redesign of the floating dictation control.

Mobile dictation belonged to each prompt screen, so leaving that screen stopped the recording. #14923 moved the recorder above navigation so one recording survives navigation and returns its transcript to the prompt where it started (fixes #13743). Its floating bar for an off-screen recording spanned the top of every screen, covered the first thread row, and did not say which draft it was recording into.

The off-screen recording is now a small pill on the screen's trailing edge, just above the bottom toolbar on iOS and above the new-thread button on Android. Collapsed, it shows a recording dot and the elapsed time. Tapping it widens it into one row: cancel, the target's name, a compact waveform with the time, and finish. The name is the thread title, "New task in ", or the scheduled task's title. Any touch that starts outside the pill, including a scroll, collapses it without consuming the touch. The pill hides while the starting prompt is on screen, as before.

Verification:

  • Mobile typecheck passes. Voice-input and dependency-graph tests pass (34). Targeted lint reports no errors.
  • Tried on device through an EAS preview build with OTA updates.

https://github.com/user-attachments/assets/2b6bcb35-c3a4-42a7-97d1-bf0e69f05a03

Model: Claude Opus 5.5. Harness: Claude Code in T3 Code. Original global-dictation commits: GPT-6.1-Sol in T3 Code Codex.

🤖 Generated with Claude Code


Devin Review
    1. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted

    2. juliusmarminge added labelsmacroscope-review

    3. Approvability

      Verdict: Not approved

      Macroscope's review found this PR not approvable — This PR adds a new app-wide dictation workflow with a persistent edge pill and changes microphone, audio-session, draft synchronization, and navigation lifecycles across multiple mobile surfaces. Its broad user-facing runtime and native-resource impact warrants human review despite the included tests.

      You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    4. Thread transfer impact

      ✅ Thread transfer remains within every enforced ceiling.

      ProviderMetricMain baselineThis PRImpactPR ceiling
      CodexTotal thread wire4.9 KiB4.9 KiB0 B (0.0%)6.8 KiB✅
      CodexThread snapshot wire3.7 KiB3.7 KiB0 B (0.0%)4.9 KiB✅
      CodexLive turn WebSocket wire1.2 KiB1.2 KiB0 B (0.0%)2.0 KiB✅
      CodexLive turn WebSocket decoded20.4 KiB20.4 KiB0 B (0.0%)29.3 KiB✅
      CodexLive turn messages220 (0.0%)8✅
      ClaudeTotal thread wire4.9 KiB4.9 KiB−41 B (−0.8%)6.8 KiB✅
      ClaudeThread snapshot wire3.7 KiB3.7 KiB0 B (0.0%)4.9 KiB✅
      ClaudeLive turn WebSocket wire1.2 KiB1.2 KiB−41 B (−3.4%)2.0 KiB✅
      ClaudeLive turn WebSocket decoded20.8 KiB20.7 KiB−41 B (−0.2%)29.3 KiB✅
      ClaudeLive turn messages21−1 (−50.0%)8✅

      Baseline: ee7b49d · PR result: 166f2eb · Source CI: success

      Scenario and decoded snapshot size

      10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

      • Codex decoded thread snapshot: 106.1 KiB
      • Claude decoded thread snapshot: 106.4 KiB

      Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

    5. juliusmarminge merged thisbf5c146

    6. juliusmarminge closed this

Sign in to join this conversation.