Data, history, and personalization
FluidVoice keeps selected data on the Mac to preserve user output, improve recognition for each user, and measure product use. Separate controls govern saved history, microphone audio, recognition training, and detailed analytics so each data path follows its own privacy choice.
Data boundaries
The data system separates content that supports local product features from metrics about product use. Transcriptions, sessions, file results, saved audio, dictionary terms, pronunciation samples, and small product-state markers support local features. Analytics uses approved counts, labels, model outcomes, timing summaries, and coarse device details instead of dictated content. Provider credentials remain in the macOS Keychain rather than in normal settings data.
This diagram shows how one user action can create local content data, local recognition data, or privacy-gated product metrics.
flowchart LR
A[User action] --> B{Data purpose}
B --> C[Recover output]
B --> D[Improve recognition]
B --> E[Measure product use]
C --> C1[Local history]
C --> C2[Optional local audio]
D --> D1[Local dictionary]
D --> D2[Local pronunciation samples]
E --> E1[Local aggregate metrics]
E1 --> E2{Detailed analytics enabled?}
E2 -->|Yes| E3[Send approved metrics]
E2 -->|No| E4[Remove detailed metrics]
The local stores are independent. Clearing transcription history does not clear dictionary data or analytics data. Turning off detailed analytics affects the metrics path rather than saved user output.
References: Sources/…/TranscriptionHistoryStore.swift• L307-353 Sources/…/KeychainService.swift• L21-24 Sources/…/SettingsStore.swift• L1519-1532 Sources/…/AnalyticsService.swift• L513-539
Output history
Output history preserves completed work for later review, search, copy, and local statistics. Dictation history can keep raw and final text with time and target-app context. File transcription and Command Mode keep their own forms of past work.
The main data choices are:
- Transcription history: Saves dictation results when
saveTranscriptionHistoryis enabled. This history also supplies local word, time-saved, streak, and activity views. - Saved dictation audio: Saves microphone audio only when
saveAudioWithTranscriptionHistoryis enabled together with transcription history. A separate budget can remove old audio while keeping its transcript. - File and chat history: Keeps completed file-transcription results and Command Mode sessions available after their workflows end. These histories have their own retention and clear actions.
History remains available across app navigation and relaunch. Dictation history uses a durable local store and moves older saved records into it before retiring the earlier copy. File results and chat sessions retain user-facing titles and dates. Chat sessions can be archived without making them active. If one saved history item is unreadable in the current build, the history loader skips that item instead of discarding the readable items.
The history view lets users search dictations, filter to pinned entries, select a result from shared sidebar search, copy raw or final text, and clear all history. It also shows whether linked audio is available and lets users open or export that audio. A user can separately report a selected example; only the text and model fields shown in the report form are sent after the user chooses Send Example.
The shared sidebar search is a derived view over dictation history, file transcripts, and active chats. It starts when search is requested, groups results by source, and updates from store snapshots after changes. A rename, restore, archive, or delete advances the source state so stale results can be replaced or removed. The search index can be rebuilt because the history stores remain the source of truth.
Audio is linked to a history entry after the transcript is saved. If that entry is cleared or becomes invalid before the link is complete, the unlinked audio is removed. Users can export available audio with a manifest that includes the related transcript and recording details. The Transcription history and backups page describes the history views, audio exports, retention rules, and backup behavior.
References: Sources/…/TranscriptionHistoryView.swift• L29-193 Sources/…/TranscriptionHistoryView.swift• L228-276 Sources/…/TranscriptionHistoryView.swift• L406-478 Sources/…/TranscriptionHistoryView.swift• L747-797 Sources/…/TranscriptionHistoryView.swift• L817-917 Sources/…/SettingsStore.swift• L3651-3689 Sources/…/TranscriptionHistoryStore.swift• L307-405 Sources/…/FileTranscriptionHistoryStore.swift• L13-28 Sources/…/ChatHistoryStore.swift• L56-64 Sources/…/PersistedHistory.swift• L10-28 Sources/…/SearchIndex.swift• L4-15 Sources/…/SearchIndexCoordinator.swift• L97-138 Sources/…/SearchIndexRecord.swift• L3-20
Recognition personalization
Recognition personalization gives the speech system user-specific terms and pronunciation examples. A custom dictionary maps spoken triggers to the intended replacement. Optional learning can detect a correction to inserted text and offer that pair as a new dictionary entry.
Automatic learning observes only a short edit around text that FluidVoice inserted. It skips secure text fields and rejects edits that are too long, contain too many words, or do not show a meaningful correction. Suggestions appear after the configured number of repeated corrections. Local policy records accepted, ignored, and dismissed pairs so the same prompt does not interrupt the user again.
Personalization has two related paths:
- Vocabulary boosting: Combines built-in terms with the custom dictionary so the speech recognizer can favor important words and aliases.
- Pronunciation matching: Uses local pronunciation profiles when enabled and when enough samples exist for the selected recognition model.
Language choice is part of the recognition setting that shapes these paths. The language catalog presents only languages with a route through an available speech model, maps one language choice to the model-specific setting, and keeps unsupported saved choices from being treated as valid. A selected route carries both the speech model and its language binding, such as automatic detection, a provider language value, or a locale. Whisper keeps automatic detection until the user selects a language. These choices are included in settings backup and restore.
The Custom dictionary training page explains manual entries, automatic learning, pronunciation enrollment, and the training experience.
References: Sources/…/SettingsStore.swift• L5168-5300 Sources/…/SettingsStore.swift• L3568-3685 Sources/…/SettingsStore.swift• L3877-3888 Sources/…/SettingsStore.swift• L6246-6313 Sources/…/VoiceEngineLanguageCatalog.swift• L59-176
Usage measurement
Usage measurement helps the product team understand feature adoption, onboarding progress, model use, insertion reliability, and active installations without an account. It records daily totals for dictation, Command Mode, Edit Mode, and meeting transcription. It also records the model selected for each use path, model-download outcomes, onboarding outcomes, aggregated insertion timing by path and result, and coarse device details such as installed RAM and chip. Command Mode measurement follows the effective provider and model route: it uses the global selection while linked or its own verified chat selection when independent.
Beta builds can also produce one daily aggregate of speech-recognition and Fluid Intelligence timing distributions. These are grouped summaries rather than individual timing samples.
The app first writes approved aggregate events to local storage. A background flush sends them in batches only when detailed analytics is enabled and an analytics service is configured. A random installation ID persists across app updates. The analytics path does not send transcription text, audio, prompts, AI responses, terminal data, app names, window titles, file paths, clipboard contents, or individual transcription events.
Local stats are a separate user-facing feature. They calculate words, time saved, streaks, top apps, and other summaries from saved history. They stop changing when transcription history is disabled even if detailed analytics remains enabled.
The Analytics and privacy page describes event limits, local storage, identity, upload rules, system details, and statistics views.
References: Sources/…/AnalyticsEvent.swift• L3-17 Sources/…/AnalyticsDatabase.swift• L77-235 Sources/…/AnalyticsDatabase.swift• L476-577 Sources/…/AnalyticsService.swift• L281-360 Sources/…/SettingsStore.swift• L1521-1532 Sources/…/SettingsStore.swift• L4643-4658 Sources/…/SettingsStore+CommandMode.swift• L21-81
Privacy controls
Privacy controls apply when each data type is created or shared. History and audio settings control local content retention. Recognition settings control local training. The detailed analytics setting controls the separate metrics path.
The detailed analytics choice is enabled by default for existing installs that have no saved value. The daily activity signal remains enabled when detailed analytics is off. Beta timing summaries also remain enabled for eligible beta builds. When the user turns off detailed analytics, FluidVoice stops detailed uploads, cancels an active upload, and purges queued and aggregated detailed analytics from the Mac. A consent-generation check prevents work started under an older choice from being accepted after the choice changes.
These choices are part of the settings backup. Restoring a backup can therefore change the analytics choice and the local retention or training settings. The restored analytics choice is applied to the running service. The Settings screen provides the Share Anonymous Analytics switch and a What we collect view that states the collection boundary in user terms.
References: Sources/…/SettingsStore.swift• L1521-1532 Sources/…/SettingsStore.swift• L3568-3674 Sources/…/SettingsStore.swift• L3762-3888 Sources/…/AnalyticsService.swift• L22-30 Sources/…/AnalyticsService.swift• L535-539 Sources/…/AnalyticsDatabase.swift• L651-689 Sources/…/AnalyticsPrivacyView.swift• L32-58
Backup scope
Backup and restore provide a portable copy of the settings and user data that shape the local experience. A backup includes settings, prompt profiles, app prompt bindings, transcription history, dictionary entries, pronunciation-related choices, selected recognition model and language choices, and Command Mode's provider, model, and link choice. Saved microphone audio uses a separate archive because the normal settings backup carries history metadata rather than audio files. Provider API keys stay outside this backup because they are held in the macOS Keychain.
Restore replaces the included state instead of merging it. Import validates the backup before restore. Older backups can omit newer optional fields, so restore keeps current values for those fields. A legacy backup without pronunciation profiles clears the current profiles so they cannot remain attached to restored dictionary entries. Unknown saved recognition choices remain visibly unavailable rather than being silently mapped to a different choice.
The Transcription history and backups page describes the complete backup and audio-export behavior.
References: Sources/…/BackupService.swift• L10-13 Sources/…/BackupService.swift• L193-210 Sources/…/BackupService.swift• L220-249 Sources/…/BackupService.swift• L280-301 Sources/…/SettingsStore.swift• L3728-3853 Sources/…/SettingsStore.swift• L3856-3911 Sources/…/SettingsStore.swift• L4012-4070 Sources/…/SettingsStore+CommandMode.swift• L6-49
Change checklist
When these files or sections are changed, remember to consider these:
- Keep the history setting, the point where output is saved, and the local stats source aligned. A new output path can silently create content that the user cannot clear or that stats do not count.
- Keep the audio file link and history entry link in step. A failed or cancelled attach must not leave audio that appears in storage use but cannot be reached from history.
- Keep per-item decode tolerance aligned with the save format. A new field or type must not turn one unreadable history item into an empty history view.
- Keep history selection and filter behavior aligned with shared sidebar search. A selected item hidden by a search or pinned filter must be revealed without losing the source selection.
- Keep the history report boundary aligned with its consent text. The report form must send only the example the user sees after an explicit send action.
- Keep dictionary entry identifiers aligned with pronunciation profile identifiers. A renamed or deleted entry must not leave a profile that cannot be matched to a term.
- Keep automatic-learning limits and suggestion policy aligned with the user-facing training controls. A change can expose secure-field text or create repeated prompts without changing the dictionary format.
- Keep language catalog routes aligned with model availability and settings restore. A new or removed route must not produce a language choice that cannot run or restore to the wrong model-specific setting.
- Keep Command Mode's linked and independent provider selections aligned with the verified chat catalog, effective model resolution, analytics descriptor, and backup restore. A saved choice must not silently use an unverified provider or a model that the chat path cannot run.
- Keep search revisions aligned with every rename, restore, archive, and delete path. A stale revision can leave old text in the sidebar or keep a deleted record searchable.
- Keep search namespaces derived from authoritative stores. A change to source records must remain recoverable through reconciliation after an index reset or failed update.
- Keep backup payload fields and restore behavior compatible with older backup schema versions. New local data needs a clear migration or optional decode path.
- Keep credentials outside portable settings backups. A provider setting change must not turn an API key into ordinary exported user data.
- Keep analytics event names, allowed properties, and system details aligned with the privacy text. A new property can change the user-facing collection promise even when the event still looks anonymous.
- Keep consent checks on queued writes and uploads. A setting change must prevent detailed data created under the old choice from being sent while preserving only the signals that the privacy contract allows.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| Transcription history is disabled | New dictation output is not available to history or local stats, and audio saving does not start | The output and audio paths check saveTranscriptionHistory before creating local records |
| History persistence reports an error | The view can show stale or incomplete saved output until persistence succeeds | The history view displays the error and offers Retry saving history instead of hiding the problem |
| A selected history item is hidden by search or the pinned filter | Sidebar selection can appear to point to an empty or wrong list | The view clears restrictive filters before revealing an externally selected entry |
| Saved audio exceeds its budget | Older audio is removed while transcript entries remain | Audio pruning removes unreferenced files first, then clears audio links from older history entries |
| History is cleared while audio is being saved | The new WAV file could become orphaned or attach to removed history | A save generation check rejects stale attaches and deletes the file |
| One saved chat or file record cannot be decoded | That record is missing, but readable history remains available | PersistedHistory decodes each array element separately and reports skipped items |
| Search data is missing, stale, or unreadable | Sidebar results can be delayed or temporarily unavailable, but source history is not lost | The index is derived, reconciled from store snapshots, and reset and rebuilt for unreadable namespaces |
| A user sends a feedback report | The selected raw and processed example is shared outside local history | The report form requires an explicit send and states that only the shown example will be sent |
| Automatic learning is disabled or the target is a secure field | No correction suggestion is offered | The tracker checks the setting before observation and rejects secure text inputs |
| A pronunciation profile has too few or mismatched samples | The recognizer cannot use that profile safely | Profiles require matching model and embedding data, and recognition filters out profiles with fewer than three enrollments |
| A saved language has no route through the selected model | Recognition cannot use the saved language choice | The catalog filters routes by available model, and settings validate Whisper codes before accepting them |
| Command Mode has no verified provider, a private provider route, or a non-chat model selected | Command Mode cannot run with the saved route | The effective selection filters providers and models, and readiness requires a verified chat provider and a supported chat model |
| Detailed analytics is disabled during a queued or active send | Stale detailed metrics could be sent after the user changes the choice | The consent gate rejects old generations, cancels uploads, and purges detailed analytics while retaining the limited activity signal and eligible beta timing summaries |
| A backup has an unsupported major schema version | Import stops instead of applying an unknown state | Backup validation checks the major version before restore |
| A history or chat record changes without a higher search revision | Search can show old text or retain an obsolete result | Each store advances its revision when text or searchable state changes |
Key files
| File | Why to read it |
|---|---|
| Sources/…/TranscriptionHistoryView.swift | Shows the user-facing history search, pinning, selection, copy, audio, clear, and explicit feedback-report actions. |
| Sources/…/TranscriptionHistoryStore.swift | Shows the local dictation record, deletion behavior, audio pruning, backup payload, and user stats derived from history. |
| Sources/…/TranscriptionHistoryDatabase.swift | Shows the durable history boundary and the migration from older local history storage. |
| Sources/…/FileTranscriptionHistoryStore.swift | Shows how completed file transcriptions remain available after the file workflow ends and how titles survive relaunch. |
| Sources/…/ChatHistoryStore.swift | Shows how Command Mode sessions and messages remain available across navigation, including archive state. |
| Sources/…/PersistedHistory.swift | Shows how one unreadable saved item is skipped without losing the rest of a history list. |
| Sources/…/SearchIndexCoordinator.swift | Shows how history snapshots become searchable only when needed and how updates are coalesced. |
| Sources/…/SearchIndex.swift | Shows the derived search index boundary and its rebuild and reconciliation behavior. |
| Sources/…/SearchIndexRecord.swift | Shows how history, file results, and active chats provide a common search view. |
| Sources/…/FluidZeppelinRoot.swift | Shows the independent local namespaces and recovery behavior for the derived search store. |
| Sources/…/SettingsStore.swift | Defines the retention, personalization, analytics, recognition model and language, Command Mode, and backup settings that connect the local data paths. |
| Sources/…/SettingsStore+CommandMode.swift | Defines the linked or independent Command Mode provider route, verified model catalog, and readiness checks. |
| Sources/…/VoiceEngineLanguageCatalog.swift | Defines the user-facing language choices and the model-specific routes that make a selected language usable. |
| Sources/…/SettingsStore+FluidIntelligenceInvitation.swift | Shows the small local product-use markers that support the Fluid Intelligence invitation flow. |
| Sources/…/BackupService.swift | Defines the portable data scope, schema validation, and replacement restore flow. |
| Sources/…/KeychainService.swift | Defines the separate protected storage boundary for provider API keys. |
| Sources/…/AnalyticsService.swift | Shows the privacy-gated path from an app event to local storage and upload. |
| Sources/…/AnalyticsDatabase.swift | Shows daily aggregation, timing summaries, the event queue, retry behavior, and the boundary between detailed purge and retained signals. |
| Sources/…/AnalyticsEvent.swift | Defines the allowed event families and usage, onboarding, model, insertion, and performance labels. |
| Sources/…/AnalyticsPrivacyView.swift | States the user-facing analytics collection and exclusion promises. |