Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more
feat(meeting): remove the voice-processing setting - decision table is the only gate
Shreeraman A K7f5549841c15
diff --git a/MIC_CAPTURE_MIGRATION_PLAN.md b/MIC_CAPTURE_MIGRATION_PLAN.mdindex 8f4b9c1d..0903e5ca 100644--- a/MIC_CAPTURE_MIGRATION_PLAN.md+++ b/MIC_CAPTURE_MIGRATION_PLAN.md@@ -232,7 +232,16 @@ SCStream path); AirPods mid-recording → route listener fired instantly with thclean interrupted state, audio preserved, retry offered. Post-meeting dictation normal.Not yet measured: start latency p50/p95, `silentForSeconds` under AGC over a long quiet stretch.-**Phase 4 — attribution. BUILT 2026-08-17, gate PENDING.** Marks VPIO turns scored-clean+**Phase 4 — attribution. DONE 2026-08-17, gate PASSED (v7 reprocess elected the same You with an+identical transcript; two-voice-in-room abstained correctly with both voices labeled; monitor+echo=0 with real coverage 67.6s and 4/15 delay locks).**++**Flag removed 2026-08-17 (product decision):** echo cancellation is not a setting — the pre-flight+decision table is the only gate (mode, role, output route, bindable mic). VPIO engages+automatically whenever viable; otherwise the session runs the SCStream path and logs the decline+reason. The `meetingVPIOMicCapture` toggle and backup key are gone.++**Phase 4 detail:** Marks VPIO turns scored-clean(`echoScored` widened to every turn, forced after the existing text-classification loop) and lets theexisting election run; text detector and signal veto both kept (measurement-driven reversal of theoriginal "not consulted / not applied" plan, see §5). Decider now requires `role == .personal`diff --git a/Sources/Fluid/Persistence/BackupService.swift b/Sources/Fluid/Persistence/BackupService.swiftindex deec1849..0dfdd165 100644--- a/Sources/Fluid/Persistence/BackupService.swift+++ b/Sources/Fluid/Persistence/BackupService.swift@@ -64,8 +64,6 @@ struct SettingsBackupPayload: Codable, Equatable {let showHistoryPerformanceMetrics: Bool?// Optional so backups created before the silence filter still decode.let skipSilentRecordingsEnabled: Bool?- // Optional so backups created before Phase 3 voice-processing capture still decode.- let meetingVPIOMicCapture: Bool?let enableAIStreaming: Boollet copyTranscriptionToClipboard: Boollet textInsertionMode: SettingsStore.TextInsertionModediff --git a/Sources/Fluid/Persistence/SettingsStore.swift b/Sources/Fluid/Persistence/SettingsStore.swiftindex 0ac2d214..866db0b7 100644--- a/Sources/Fluid/Persistence/SettingsStore.swift+++ b/Sources/Fluid/Persistence/SettingsStore.swift@@ -1865,15 +1865,6 @@ final class SettingsStore: ObservableObject {}}- /// Routes online-call meeting mic capture through AVAudioEngine voice processing; opt-in.- var meetingVPIOMicCapture: Bool {- get { self.defaults.object(forKey: Keys.meetingVPIOMicCapture) as? Bool ?? false }- set {- objectWillChange.send()- self.defaults.set(newValue, forKey: Keys.meetingVPIOMicCapture)- }- }-var enableAIStreaming: Bool {get {let value = self.defaults.object(forKey: Keys.enableAIStreaming)@@ -3338,7 +3329,6 @@ final class SettingsStore: ObservableObject {experimentalParakeetUnifiedFinalEnabled: self.experimentalParakeetUnifiedFinalEnabled,showHistoryPerformanceMetrics: self.showHistoryPerformanceMetrics,skipSilentRecordingsEnabled: self.skipSilentRecordingsEnabled,- meetingVPIOMicCapture: self.meetingVPIOMicCapture,enableAIStreaming: self.enableAIStreaming,copyTranscriptionToClipboard: self.copyTranscriptionToClipboard,textInsertionMode: self.textInsertionMode,@@ -3478,9 +3468,6 @@ final class SettingsStore: ObservableObject {if let skipSilentRecordingsEnabled = payload.skipSilentRecordingsEnabled {self.skipSilentRecordingsEnabled = skipSilentRecordingsEnabled}- if let meetingVPIOMicCapture = payload.meetingVPIOMicCapture {- self.meetingVPIOMicCapture = meetingVPIOMicCapture- }self.enableAIStreaming = payload.enableAIStreamingself.copyTranscriptionToClipboard = payload.copyTranscriptionToClipboardself.textInsertionMode = payload.textInsertionMode@@ -5495,7 +5482,6 @@ private extension SettingsStore {static let experimentalParakeetUnifiedFinalEnabled = "ExperimentalParakeetUnifiedFinalEnabled"static let showHistoryPerformanceMetrics = "ShowHistoryPerformanceMetrics"static let skipSilentRecordingsEnabled = "SkipSilentRecordingsEnabled"- static let meetingVPIOMicCapture = "MeetingVPIOMicCapture"static let enableAIStreaming = "EnableAIStreaming"static let copyTranscriptionToClipboard = "CopyTranscriptionToClipboard"static let textInsertionMode = "TextInsertionMode"diff --git a/Sources/Fluid/Services/Meeting/MeetingCaptureEngine.swift b/Sources/Fluid/Services/Meeting/MeetingCaptureEngine.swiftindex 4c085227..822458d8 100644--- a/Sources/Fluid/Services/Meeting/MeetingCaptureEngine.swift+++ b/Sources/Fluid/Services/Meeting/MeetingCaptureEngine.swift@@ -67,22 +67,18 @@ actor MeetingCaptureEngine: MeetingCaptureControlling {let microphoneWriter = writersByKind[.microphone]else { throw MeetingCaptureError.applicationNotSelected }- let flag = SettingsStore.shared.meetingVPIOMicCapturelet decision = MeetingCapturePathDecider.decide(- flag: flag,mode: configuration.mode,microphone: configuration.microphone,outputRoute: Self.currentOutputRouteSnapshot())switch decision {case let .screenCaptureKit(reason):- if flag {- DebugLogger.shared.log(- "Meeting voice-processing capture declined: \(reason)",- source: "MeetingCaptureEngine"- )- eventHandler(.interrupted(kind: .voiceProcessingDeclined, trackID: nil, detail: reason))- }+ DebugLogger.shared.log(+ "Meeting voice-processing capture declined: \(reason)",+ source: "MeetingCaptureEngine"+ )+ eventHandler(.interrupted(kind: .voiceProcessingDeclined, trackID: nil, detail: reason))runtime = try await ScreenCaptureMeetingRuntime.make(application: application,microphone: configuration.microphone,@@ -360,7 +356,7 @@ private final nonisolated class ScreenCaptureMeetingRuntime: NSObject, MeetingCaprivate let application: MeetingApplicationIdentityprivate let microphone: MeetingMicrophoneIdentity- /// Immutable for the runtime's lifetime: a mid-run flag flip never drops/adds the mic.+ /// Immutable for the runtime's lifetime: a rebuild never drops/adds the mic.private let includeMicrophone: Boolprivate let applicationWriter: MeetingAudioChunkWriterprivate let microphoneWriter: MeetingAudioChunkWriter@@ -963,14 +959,10 @@ nonisolated struct MeetingOutputRouteSnapshot: Sendable, Equatable {/// would capture cleanly but never attribute.nonisolated enum MeetingCapturePathDecider {static func decide(- flag: Bool,mode: MeetingCaptureMode,microphone: MeetingMicrophoneIdentity,outputRoute: MeetingOutputRouteSnapshot) -> MeetingCapturePathDecision {- guard flag else {- return .screenCaptureKit(reason: "Voice-processing meeting capture is disabled in Settings.")- }guard mode == .onlineCall else {return .screenCaptureKit(reason: "Voice-processing capture only applies to online-call recordings.")}diff --git a/Sources/Fluid/UI/SettingsView.swift b/Sources/Fluid/UI/SettingsView.swiftindex 3afe6074..49ccd857 100644--- a/Sources/Fluid/UI/SettingsView.swift+++ b/Sources/Fluid/UI/SettingsView.swift@@ -948,17 +948,6 @@ struct SettingsView: View {.settingsSearchTarget(.skipSilentRecordings)Divider().opacity(0.2)- self.optionToggleRow(- title: "Voice-Processing Meeting Mic Capture",- description: "Use echo-cancelling voice processing for the microphone in online-call meeting recordings. Lowers other audio volume while active.",- isOn: Binding(- get: { SettingsStore.shared.meetingVPIOMicCapture },- set: { SettingsStore.shared.meetingVPIOMicCapture = $0 }- ),- allowsDescriptionWrapping: true- )- Divider().opacity(0.2)-self.optionToggleRow(title: "Pause Media During Transcription",description: "Automatically pause currently playing audio/video when transcription starts. Resumes only if FluidVoice paused it.",diff --git a/Tests/FluidDictationIntegrationTests/MeetingVoiceProcessingCaptureTests.swift b/Tests/FluidDictationIntegrationTests/MeetingVoiceProcessingCaptureTests.swiftindex 4fde88a9..5e2215a4 100644--- a/Tests/FluidDictationIntegrationTests/MeetingVoiceProcessingCaptureTests.swift+++ b/Tests/FluidDictationIntegrationTests/MeetingVoiceProcessingCaptureTests.swift@@ -21,50 +21,45 @@ final class MeetingVoiceProcessingCaptureTests: XCTestCase {}func testDecisionSucceedsWhenEveryConditionIsMet() {- let decision = MeetingCapturePathDecider.decide(flag: true, mode: .onlineCall, microphone: self.mic(), outputRoute: self.viableRoute())+ let decision = MeetingCapturePathDecider.decide(mode: .onlineCall, microphone: self.mic(), outputRoute: self.viableRoute())XCTAssertEqual(decision, .voiceProcessing)}- func testDecisionDeclinesWhenFlagIsOff() {- let decision = MeetingCapturePathDecider.decide(flag: false, mode: .onlineCall, microphone: self.mic(), outputRoute: self.viableRoute())- guard case .screenCaptureKit = decision else { return XCTFail("expected decline") }- }-func testDecisionDeclinesForInRoomMode() {- let decision = MeetingCapturePathDecider.decide(flag: true, mode: .inRoom, microphone: self.mic(), outputRoute: self.viableRoute())+ let decision = MeetingCapturePathDecider.decide(mode: .inRoom, microphone: self.mic(), outputRoute: self.viableRoute())guard case .screenCaptureKit = decision else { return XCTFail("expected decline") }}func testDecisionDeclinesWithoutCoreAudioUID() {- let decision = MeetingCapturePathDecider.decide(flag: true, mode: .onlineCall, microphone: self.mic(uid: nil), outputRoute: self.viableRoute())+ let decision = MeetingCapturePathDecider.decide(mode: .onlineCall, microphone: self.mic(uid: nil), outputRoute: self.viableRoute())guard case let .screenCaptureKit(reason) = decision else { return XCTFail("expected decline") }XCTAssertTrue(reason.contains("UID"))}func testDecisionDeclinesWithoutOutputDevice() {let route = MeetingOutputRouteSnapshot(deviceExists: false, isBluetooth: false, isBuiltIn: false, isHeadphonesDataSource: false)- let decision = MeetingCapturePathDecider.decide(flag: true, mode: .onlineCall, microphone: self.mic(), outputRoute: route)+ let decision = MeetingCapturePathDecider.decide(mode: .onlineCall, microphone: self.mic(), outputRoute: route)guard case let .screenCaptureKit(reason) = decision else { return XCTFail("expected decline") }XCTAssertTrue(reason.contains("output device"))}func testDecisionDeclinesForBluetoothOutput() {let route = MeetingOutputRouteSnapshot(deviceExists: true, isBluetooth: true, isBuiltIn: false, isHeadphonesDataSource: false)- let decision = MeetingCapturePathDecider.decide(flag: true, mode: .onlineCall, microphone: self.mic(), outputRoute: route)+ let decision = MeetingCapturePathDecider.decide(mode: .onlineCall, microphone: self.mic(), outputRoute: route)guard case let .screenCaptureKit(reason) = decision else { return XCTFail("expected decline") }XCTAssertTrue(reason.contains("Bluetooth"))}func testDecisionDeclinesForNonBuiltInOutput() {let route = MeetingOutputRouteSnapshot(deviceExists: true, isBluetooth: false, isBuiltIn: false, isHeadphonesDataSource: false)- let decision = MeetingCapturePathDecider.decide(flag: true, mode: .onlineCall, microphone: self.mic(), outputRoute: route)+ let decision = MeetingCapturePathDecider.decide(mode: .onlineCall, microphone: self.mic(), outputRoute: route)guard case let .screenCaptureKit(reason) = decision else { return XCTFail("expected decline") }XCTAssertTrue(reason.contains("built-in"))}func testDecisionDeclinesForHeadphonesDataSource() {let route = MeetingOutputRouteSnapshot(deviceExists: true, isBluetooth: false, isBuiltIn: true, isHeadphonesDataSource: true)- let decision = MeetingCapturePathDecider.decide(flag: true, mode: .onlineCall, microphone: self.mic(), outputRoute: route)+ let decision = MeetingCapturePathDecider.decide(mode: .onlineCall, microphone: self.mic(), outputRoute: route)guard case let .screenCaptureKit(reason) = decision else { return XCTFail("expected decline") }XCTAssertTrue(reason.contains("headphones"))}@@ -73,14 +68,14 @@ final class MeetingVoiceProcessingCaptureTests: XCTestCase {func testDecisionSucceedsForPersonalRole() {let decision = MeetingCapturePathDecider.decide(- flag: true, mode: .onlineCall, microphone: self.mic(role: .personal), outputRoute: self.viableRoute()+ mode: .onlineCall, microphone: self.mic(role: .personal), outputRoute: self.viableRoute())XCTAssertEqual(decision, .voiceProcessing)}func testDecisionDeclinesForSharedRole() {let decision = MeetingCapturePathDecider.decide(- flag: true, mode: .onlineCall, microphone: self.mic(role: .shared), outputRoute: self.viableRoute()+ mode: .onlineCall, microphone: self.mic(role: .shared), outputRoute: self.viableRoute())guard case let .screenCaptureKit(reason) = decision else { return XCTFail("expected decline") }XCTAssertTrue(reason.contains("personal"))@@ -88,7 +83,7 @@ final class MeetingVoiceProcessingCaptureTests: XCTestCase {func testDecisionDeclinesForUnknownRole() {let decision = MeetingCapturePathDecider.decide(- flag: true, mode: .onlineCall, microphone: self.mic(role: .unknown), outputRoute: self.viableRoute()+ mode: .onlineCall, microphone: self.mic(role: .unknown), outputRoute: self.viableRoute())guard case let .screenCaptureKit(reason) = decision else { return XCTFail("expected decline") }XCTAssertTrue(reason.contains("personal"))