[5/12] feat: capture & dictation core — storage/privacy, hotkey state machine - #14
[5/12] feat: capture & dictation core — storage/privacy, hotkey state machine#14Mvkd108 wants to merge 2 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…ecks Centralises where captured audio lives and when it is deleted, adds an explicit retention policy for dictation scratch audio, surfaces the Windows microphone privacy setting, and adds per-process loopback capture. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…chine Replaces ad-hoc hotkey handling with an explicit gesture type, a probe that detects conflicts with other applications, and a state machine that models push-to-talk and toggle dictation deterministically. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
3673024 to
f69bae7
Compare
|
Claude finished @Mvkd108's task in 5m 59s —— View job Review: capture & dictation core — storage/privacy, hotkey state machineTodo list
🔴 High:
|
This PR (5/12): capture & dictation core — storage/privacy, hotkey state machine
Commits:
f9a8d68feat: capture storage, temp-audio policy and microphone access checks —Services/CaptureStorageService.cs,Services/DictationTemporaryAudioPolicy.cs,Services/WindowsMicrophoneAccessService.cs,Services/WindowsProcessLoopbackCapture.cs3673024feat: hotkey gesture model, conflict probe and dictation state machine —Services/HotkeyGesture.cs,Services/HotkeyConflictProbe.cs,Services/DictationHotkeyStateMachine.cs7 files, +870.
Review focus
DictationHotkeyStateMachine— press/hold/release/cancel transitions, debounce, and edge cases (focus loss mid-dictation, rapid re-press).HotkeyConflictProbe— how conflicts with other apps/OS shortcuts are detected and surfaced.DictationTemporaryAudioPolicy+CaptureStorageService— temp audio lifecycle and deletion guarantees (privacy-sensitive: nothing may linger after paste/discard).WindowsMicrophoneAccessService— Windows privacy-setting detection (mic disabled at OS level vs no device).Expected — do not flag: wiring into the app shell arrives in PR 9; dictation end-to-end runs through PR 9/10 code.
Known limits
Test evidence
--no-restore); 484/484 passing.Phase2DictationTests,HotkeyAndPasteTests,CapturePrivacyAndRuntimeTests.Previous: #13 | Next: #15