Repository navigation
Description
What to build
Add a product History pane backed by a dedicated owner-only history store, separate from diagnostic Activity events. Record stable entries for successful dictations and Voice Actions with raw transcript, final output, timestamp, mode, application identity, processing trail, latency, and paste outcome. Never retain captured audio through this feature.
Ship one narrow complete workflow: browse and search retained text, inspect raw versus final output, copy or paste again, delete one entry, and clear all history. Add a persisted retention setting with Off, 24 hours, 7 days, 30 days, and Forever; enforce internal entry and byte caps regardless of the selected duration.
Store application name and bundle identity where available, but do not retain full browser URLs or window titles by default. When history is Off, keep only the existing in-memory last-dictation behavior needed for immediate re-paste.
Acceptance criteria
- Successful dictations and Voice Actions receive stable history IDs and durable entries; cancelled, discarded, and failed captures do not appear as successful history.
- History is a separate pane and store from Activity diagnostics.
- Users can search, inspect raw/final text, copy, paste again, delete one entry, and clear all entries.
- Retention supports Off, 24 hours, 7 days, 30 days, and Forever and prunes on startup and writes.
- Every retention mode remains bounded by hard entry, text, metadata, and storage limits.
- No audio, full browser URL, or window title is retained by default.
- Files are owner-only and updates/deletion are crash-safe.
- Tests cover retention boundaries, deletion, restart recovery, search, malformed/truncated storage, and history-disabled behavior.
Blocked by
None - can start immediately
Activity
kitlangton commentedon Jul 24, 2026
Shipped across three commits on main:
src/history.rs) + recording from the ordered output worker for successful Paste, Send, and Voice Action results (raw + final text, application, processing trail, latency). Hard caps: 2,000 entries / 16 KiB per text field / 4 MiB total, atomic 0600 writes, corrupt-file preservation, monotonic IDs across restart.history_retentionsetting (default 7 days).historypreview target.Deliberately out of scope, per the issue set: MCP exposure (#8) and reprocessing (#17). Application identity is the app name from the context snapshot; bundle identity can join when something needs it.
iOS: Send feedback form (Bellhop), email decides anonymous (#2575)