Repository navigation
SCA-4440: Remove phone microphone conversation recording - #26345
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ac124c8e0f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| _stopInProgressConversationRefresh(); | ||
| await _closeBleStream(disableNativeBackground: disableNativeBackground); | ||
| _activeSource = null; | ||
| updateRecordingState(RecordingState.pause); |
There was a problem hiding this comment.
Preserve failed-start detection when cleaning up capture
When an unmuted device start cannot obtain a connection or audio subscription, _initiateDeviceAudioStreaming() returns without updating recordingState. Setting it to pause here now makes _startDeviceSessionBody() accept that failed start as successful, because it accepts either deviceRecord or pause. The coordinator consequently commits pendant ownership without an audio stream; repeated DeviceStartRequested events then short-circuit because that device already owns capture, and the keep-alive reconnect predicate requires deviceRecord. For devices without native ingress verification, this can also display Listening despite capturing nothing. Keep cleanup from assigning a successful paused state unconditionally; the existing _commitMutedStartAsPaused() already handles genuinely muted starts.
Useful? React with 👍 / 👎.
| } else if (capture.listening()) { | ||
| await capture.stop(); |
There was a problem hiding this comment.
Forward Siri stop requests while a call suspends capture
If a connected pendant's capture is suspended for an Omi phone call, _reduceCall() clears the active owner, so liveCaptureSource is null and isPendantBatchRecording is false. This guard therefore skips pauseCapture(), yet StopOmiListeningIntent reports “Omi stopped listening.” When the call ends, _reduceCall() restores the suspension's unchanged wasPaused: false and recording resumes despite that stop request. Forward the stop intent to the coordinator even when capture is temporarily suspended: _reducePause() already handles this case by updating the suspended pendant's pause intent without interrupting the call.
Useful? React with 👍 / 👎.
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
Resolve conflicts with the one-model Home (#26548) and later capture changes. Keep main's Home model and drop the new phone-mic code paths main added: pause analytics, the vendor live-word phone listener, phone batch geolocation, the record button, the recording bar and their tests. The wearable pairing prompt moves into Home's single prompt slot, after payment. Failure-Class: FC-merge-drops-branch-change Co-Authored-By: Claude Opus 5.5 <[email protected]>
David, 2026-11-30: remove the "Keep recordings on this phone" (Transcribe Later) opt-in, and stop recordings it already kept from uploading on their own. - Settings drops the switch and its search entry. On iOS the Recording section is gone; Android keeps Background Mode. - Startup turns batchModeEnabled and any onboarding suspension off once, before capture reads them. Kept recordings stay held for the user by their file marker (holdForUser) and wait in Activity for Upload or Delete. - Home loses the Transcribe Later live row and the batch card and controls in ConversationCaptureWidget. - Tests: remove phone-only and batch-card cases (including ones that already failed on this branch's head). Device stubs report a paired wearable, so Home's new connect prompt stays out of layout tests. Add a retirement test and an iOS Recording settings render. The coordinator's batch transport and the native batch writer remain. They stay off once the preference is false, and the on-device overflow path still uses the writer, so removing them is a separate cleanup. Failure-Class: FC-optin-hold-never-uploads Co-Authored-By: Claude Opus 5.5 <[email protected]>
…(SCA-4440) ConversationCaptureWidget's only production caller was Home's Transcribe Later row (#26548 moved the call and capture rows to HomeRowShell). Remove it and its unused status indicators, the tests that only drove them, and the stale references in the addressability baseline, e2e flow covers, the telemetry inventory and the ring firmware note. The LiveCaptureCard pill and battery glyph tests stay. The stale dead-code allowlist entry for the deleted phone_mic_interface.dart is dropped. Failure-Class: FC-dead-ui-after-feature-removal Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tchAuto pref (SCA-4440) Failure-Class: FC-line-count-ratchet Co-Authored-By: Claude Opus 5.5 <[email protected]>
Failure-Class: FC-format-drift Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
…h docs (SCA-4440) Panel review-20261130t225455-3078: - F1: the prompt tested `pairedDevice == null`, which is unset at cold start and is `BtDevice.empty()` after Forget. It now uses `DeviceProvider.hasRememberedDevice`. Tests cover a remembered pendant that is off (no prompt) and a forgotten device (prompt). Home test fakes gain the getter. - F4/F5: CAPTURE_ARCHITECTURE, e2e SKILL and docs/home.md no longer describe Transcribe Later or ConversationCaptureWidget as live. Failure-Class: FC-hydration-sentinel-misread Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
…only Main added a phone-microphone fallback to the voice page and the onboarding voice step. Under the phone-mic removal (SCA-4440) both now listen only through an Omi; without one the voice page asks to connect it first. Failure-Class: none Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Scoped review of the merge-resolution hunks in aa11829 (voice teaching and onboarding voice step are now Omi-only; main had added a phone-mic fallback). omi-panel had used its one ordinary round on this PR and fix-checked F1 (PASS, |
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
Keeps main's onboarding live words (the phone's speech recogniser shown over the Omi's transcript) and drops the phone microphone tap it reset. Failure-Class: none Co-Authored-By: Claude Opus 5.5 <[email protected]>
With the phone Record button gone, Home's bottom bar was a lone 62 pt "Ask anything" pill unlike the Listening page's bar. It is now that bar's Ask Omi pill at full width: 56 pt raised glass, headline label, resting at max(32, inset), the same in the default and experimental designs. Pause and End stay on the Listening page (SCA-4440, David 2026-11-30). Failure-Class: none Co-Authored-By: Claude Opus 5.5 <[email protected]>
The pill's semantics label merged with its Text, so VoiceOver read "Ask Omi" twice. The node keeps the label and its own tap and excludes the child's semantics (scoped review of 605a25f). Failure-Class: none Co-Authored-By: Claude Opus 5.5 <[email protected]>
Keeps main's dictation finishing on the server's words (#26852) and drops its phone-mic labels: onboarding listens only through an Omi (SCA-4440). Failure-Class: none Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
|
/approve-ui 0c31896 |
…hone capture was removed #26875 added a phone-microphone case to one_capture_transport_test.dart and #26345 then removed phone microphone capture (and phone_mic_pigeon.g.dart) without that case, so Dart Analyze fails on main. Phone capture no longer exists, so the case goes; the pendant cases are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Summary
Mobile capture is now wearable-only, and recordings always upload automatically (SCA-4440; David's rulings 2026-11-30 are recorded on the issue).
source=phonefrom older builds.holdForUser) and wait in Activity → On this phone for Upload or Delete.This PR stacks on the C1 capture contract revision (#26343, merged). Store rollout and seven days of zero phone-mic listen hours from current builds remain release checks. Rollback is the previous build.
Takeover and merge from main (2026-11-30)
The m5 Claude session took this PR over from the m1 lane at
b825a6f.bfab1edmerges main, which had moved 1,351 commits. It resolves the conflicts with the one-model Home (app: Home is one v3 model with one row shape (SCA-5226) #26548) by keeping main's Home, and it removes the phone paths main had added since: pause analytics, the vendor live-word phone listener, phone batch geolocation, the record button, the recording bar and their tests. The pairing prompt moves into Home's prompt slot.e4fda30retires Transcribe Later.The next commit deletes
ConversationCaptureWidget(processing_capture.dart), which Transcribe Later's removal left dead: its only production caller was Home's Transcribe Later row (app: Home is one v3 model with one row shape (SCA-5226) #26548 moved the call and capture rows toHomeRowShell). Tests that drove only that widget go with it, and theLiveCaptureCardpill and battery glyph tests stay. The addressability baseline, e2e flow covers and two docs drop their references to it.preferences.dartstays within its line budget by dropping the now-unusedphoneBatchAutopreference.Tests that cover only phone-mic behaviour are deleted, including six in
capture_provider_testand five intranscription_paused_warning_test. Those were already failing onb825a6f; one STT-failure case is kept on the device path instead.aa118296dcband8c469fcafdcmerge main again. The first makes main's new voice-teaching fallback Omi-only (scoped review in the PR comments: no blocking findings); the second keeps main's onboarding live words (the phone's speech recogniser shown over the Omi's transcript) and drops the phone-mic tap it reset.605a25f24a2makes Home's bottom bar the Listening page's Ask Omi pill (David, 2026-11-30).4af928d721emakes VoiceOver read that pill's label once (scoped review: no blocking findings).0c318969b81merges main again, keeping its dictation finishing on the server's words (app: onboarding dictation completes on the server's words (#26833 review fixes) #26852) without the phone-mic labels.The coordinator's batch transport and the native batch writer remain. They stay off once the preference is false, and the on-device overflow path still uses the writer, so removing them is a separate cleanup.
Product invariants affected
Verification
flutter analyzeonlib,testandintegration_test: no errors or warnings, apart from the locally ungenerated env and Firebase files.test/services/capture,test/unit,test/pages,test/providers,test/widgets/home,test/widgets/settings, Siri, first capture and the Finish flow. The rest oftest/widgets,test/services,test/spine,test/visual_auditandtest/perfalso pass, apart from two suites that need the generated env files locally (listen_custody_test,production_shell_gate_test).scripts/pr-preflight: all 56 checks pass, including dead-code, line-count and addressability.retire_transcribe_later_test(startup turns the opt-in off; kept recordings stay held) andrecording_settings_render_test.app/scripts/l10n.py checkpasses.UI evidence
Line-Count-Exception: app/lib/services/capture/capture_coordinator.dart | 3261 -> 3269 | Preserve system-audio reconnect on its own stage when the phone recorder retires.
🤖 Generated with Claude Code