hex/docs/features/labs.md
Dax 67ec50e65d
labs: double-tap on a lone modifier (#1589)
* add a labs switch for double-tap on a lone modifier

* keep double-tap on a lone modifier on macos

* say windows and linux gates are unchanged, not their saved files

* dirty a keyless double-tap only on an uncovered modifier

* rebase: give the double-tap lab its own bit and refresh the labs goldens

- the double-tap switch sits above process api transcripts instead of sharing its bit
- mac labs goldens now show transcribe files and process api transcripts as well
2026-11-09 13:00:09 -05:00

2243 lines
154 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Labs
Labs holds features we're unsure about, **especially features people asked
for that we built**: they land in Labs, off by default, instead of shipping
on. Each feature also has an **audience** (`labs::Feature::audience`, one
`match` beside `on_this_os`, so a new feature must choose): `Everyone` ships
in every build; `Dev` exists only in dev builds (`dev_build::is_dev_build`:
debug, local `HEX_LOCAL_BUILD`, test `HEX_TEST_BUILD`, and dev-channel
`HEX_BUILD_CHANNEL=dev` builds). A stable build never lists, accepts
(`hex labs on`, `hex settings set`), or runs a Dev feature: `available()`
drops it, its gate reads false even when `settings.json` says on, and the
saved setting is kept untouched. In dev builds a Dev row carries a quiet
"Dev" tag, and `hex labs` prints each feature's audience. Every feature
below is `Everyone` today unless marked `(Dev)`. Each feature also has a
**group** (`labs::Feature::group` in `src/labs/group.rs`, one exhaustive
`match`, so a new feature must choose): Dictation, Output (paste, formatting,
spoken punctuation), History, Meetings, Annotate, Shortcuts, or Models. There
is no master switch. **Labs** is always the last item in the sidebar (Up and
Down reach it from the last pane; pressing it while it shows keeps it open) and
lists every Labs feature this OS has as a card (name, one-line description, toggle)
under its group's collapsible header, each **off by default**, plus Send
feedback and Run setup again.
```ts
Feature Pane Toggle (settings.json, hex settings) On: what it does
├── Meetings (beta) yes meetings.enabled (macOS) Meetings joins the sidebar: call detection, recording, transcripts
├── Voice Filter (Dev) yes experimental.hex_microphone (macOS, Linux) Voice Filter joins the sidebar; feeds the Hex Microphone (macOS driver, Linux PipeWire source)
│ a stable build never feeds it; with the macOS driver installed it keeps the pane with Uninstall alone
├── Playground (Dev) yes labs.playground a Playground sidebar item and ⇧⌘D open the story browser
├── Live text no labs.live_text provisional words beside the HUD while dictating
├── Failure notices no labs.failure_notices when a dictation fails, its explanation sits beside the HUD for about 6 s, or until the next capture starts
├── Live typing no labs.live_typing (Linux Wayland) provisional words as an underlined input-method preedit in the focused field; the final text is committed there instead of pasted
├── Settings search no labs.settings_search a search field atop General filters its rows, Advanced's included
├── Release notes link no labs.release_notes_link the sidebar footer links this build's release notes: the dev changelog on a dev build, GitHub's release on a stable version
├── Live chapters no labs.live_chapters (macOS) chapters a meeting while it records, boundary pass after Stop
├── Vocabulary biasing no labs.vocabulary_biasing Parakeet transcription biased toward the vocabulary (#452/#457)
├── Switch model with keyboard language no keyboard_model_switching.enabled (macOS, Windows, X11)
│ the input source picks its mapped model (#216); General shows the mappings while on
├── Mouse shortcuts no labs.mouse_shortcuts (macOS) mouse buttons record as shortcuts (#209)
├── Also pause the browser no pause_browser_media (macOS) pause a playing tab too, with Pause media (#301); General shows its permission row
├── Share dictation shortcut no share_dictation_shortcut (Windows) apps such as Discord see the shortcut too (#176)
├── Unload model when idle no labs.unload_idle + labs.unload_idle_minutes (5/15/30/60, default 15)
│ the engine frees the speech model after that long unused (#442)
├── Restore shortcut default no labs.restore_shortcut_default Paste last dictation's row offers its default back (#613)
├── Keep dictation on clipboard no labs.keep_on_clipboard (macOS, Windows) a pasted dictation stays on the clipboard; the previous one is not restored (#200)
├── Copy dictation only no labs.copy_only (macOS, Windows) a dictation goes to the clipboard and is never pasted; Paste last dictation still pastes (#629)
├── Spoken formatting no labs.spoken_formatting spoken "new line"/"line break", "new paragraph", "open/close quote", "quote … unquote" become line breaks and quotation marks; Spanish "nuevo párrafo", "nueva línea", "abre/cierra comillas", … too (#630, #1040)
├── Spoken symbols no labs.spoken_symbols spoken "hashtag", "underscore", "comma", … become symbols joined to their words: "#release", "my_variable", "done, thanks"; Spanish "arroba", "guion bajo", "coma", … too (#678, #1040)
├── Remove filler words no labs.filler_words English dictations lose um, umm, uh, uhh, erm, er, ah, with no model (#631)
├── Subtitle export no labs.subtitle_export (macOS) hex meetings show --srt|--vtt writes a meeting as timed subtitles (#633)
├── Second dictation shortcut no labs.second_dictation_shortcut + second_dictation_hotkey (macOS)
│ another shortcut dictates like the main one (#627); General shows its recorder while on
├── Terminal paste shortcut no labs.terminal_paste_shortcut + terminal_paste_hotkey (Windows, Linux)
│ another shortcut dictates like the main one and always pastes with Ctrl+Shift+V; General shows its recorder while on
├── Caps Lock dictation no labs.caps_lock_dictation + labs.caps_lock_light (macOS) a Caps Lock press starts and stops hands-free dictation; its light waits for the microphone, then shows recording (steady or slow blink), processing, and off
├── Smart spacing no labs.smart_spacing (macOS) a dictation pasted right after a word gets one leading space (#632)
├── Sided modifier chords no labs.sided_modifier_chords (macOS) the recorder keeps each modifier's side in a modifier-only chord: R⌘ R⌥ (#710)
├── Tap or hold no labs.tap_or_hold (macOS, Linux) in Toggle mode, a press held past 300 ms dictates until it lifts; a short tap still locks (#711, #1144)
├── Double-tap on a lone modifier no labs.double_tap_modifiers (macOS) Double-tap shortcut mode takes a shortcut without a key (one or more modifiers), such as Option, Globe, or ⌃⌥; two complete taps start hands-free, one tap or a hold does nothing
├── Sort and filter models no labs.picker_sort_filter the Local transcription picker sorts by recommendation, size, or name and can show only models for the saved language (#645)
├── Benchmark details no labs.benchmark_details picker rows show raw WER/CER (lower is better), language, dataset, source, and conditions; incomparable "Most accurate" badges drop (#647)
├── Parakeet Ultra no labs.parakeet_ultra the picker offers Moondream's Parakeet Ultra (pinned Q8_0, CC BY 4.0) with a details view; stays on while it dictates (#648)
├── Special keys alone no labs.standalone_special_keys (Linux, Windows) Linux: Menu, Pause, Scroll Lock may be a shortcut's key, alone or with modifiers (#767); Windows: Insert, Home, End, Page Up, Page Down may stand alone (#794)
├── Section key alone no labs.section_key_alone (Linux) the § key, left of 1 on ISO keyboards, may be a shortcut with no modifier (#1050)
├── Dictation stats no labs.history_stats History's Stats button opens a summary of retained dictations; hex history stats prints it (#790)
├── Copy recent dictations no labs.recent_dictations (macOS) the menu bar's Copy Recent Dictation submenu copies one of the last five dictations (#877)
├── Skip long pauses no labs.skip_pauses (Linux, Windows) a whole-clip dictation run hears only the head and tail of each long pause (#899)
├── Stop when the call ends no labs.stop_when_call_ends (macOS) a recording Hex started on its own stops 30 s after its call app leaves the microphone and goes quiet (#835)
├── More call apps no labs.more_call_apps (every OS with Meetings) Signal, Telegram, WeChat, LINE, Webex, Element, and Phone calls are offered,
│ and calls on Google Voice, Messenger, Teams, FaceTime, GroupMe, and Webex pages are named
├── Fix results in Output no labs.output_fixes Output's Try card offers Vocabulary and Fix this, which copies an agent prompt naming the wrong result (#989)
├── Process API transcripts no labs.api_processing (every OS) apps using Hex's local API can add process=global to
│ POST /transcriptions and POST /streams/{id}/finish to get the text after Global
│ mode's replacements, corrections, rewrite, and transformations; off, responses
│ stay raw transcripts as before
│ // checks: local_api::processing route tests (409, 403, 400, 429, processed, absent);
│ // not observed on macOS or Windows, and no /transcriptions success without a model
├── Model in use first no labs.picker_active_first the speech model picker shows the model in use first: Compare's first column, Every model's first row (#1019)
├── Use model files where they are no labs.model_in_place the picker adds a model file without copying it, so accounts can share one (#941)
├── Downloaded models only no labs.picker_downloaded the picker's All speech models view can show only downloaded models, with the space Hex's copies take (#1018)
├── Transcribe files no labs.transcribe_files (every OS) `hex transcribe <file>` prints a saved WAV recording's transcript
│ from the selected model (or --model); Hex running sends it to POST /transcriptions with that
│ model named (≤30 s on the dictation engine's loaded copy, longer clips on the service's
│ own), Hex stopped loads the model here on Linux and Windows (macOS answers
│ not-running); the file is capped at 64 MiB and checked as WAV here; no paste, History, or processing
│ // checks: the_lab_off_refuses_and_names_its_toggle,
│ // a_file_that_is_not_wav_is_refused_before_any_transcription,
│ // a_wav_uses_the_selected_model_and_language, an_empty_transcript_is_no_speech,
│ // a_refusal_follows_hexs_code_rather_than_its_status
│ // (control/cli/transcribe.rs); a running service answered model-unavailable for an uninstalled
│ // model, but no transcript answer or offline model load was observed, and nothing ran on macOS or Windows
├── Keep recordings no labs.keep_recordings History entries keep their dictation audio; Transcribe again runs it through another installed model (#1032)
├── Hide menu bar icon no labs.hide_menu_bar_icon (macOS) the menu-bar icon hides while no meeting is under way; shortcuts keep working, reopening Hex shows Settings (#1064)
├── ⌘Q closes Settings no labs.quit_closes_window (macOS) the app menu's Quit Hex (⌘Q) closes the Settings window instead of quitting Hex; dictation keeps running, the menu bar icon still quits (#1473)
├── Notch indicator no labs.notch_indicator (macOS) on a screen with a notch, the HUD widens the notch sideways in the Dynamic Island's compact style at either visible position: an orange mic and level bars, the macOS spinner, a green checkmark; Hidden still hides it, and flat screens keep the Top/Bottom setting
├── Movable meeting capsules no labs.movable_meeting_capsules (macOS) panel capsules (Meeting transcript ready, Recording automatically, offers, reminders) drag to another corner and show in the last one, shared with the recording capsule (#1093)
├── Vocabulary in meeting notes no labs.meeting_notes_vocabulary (every OS with Meetings)
│ final meeting titles and summaries (and Regenerate summary) read the vocabulary ahead of the transcript (#1154)
├── Meeting finished event no labs.meeting_finished_event (every OS with Meetings)
│ the local API's GET /meetings/events sends each finished meeting's id once its final transcript is written (#964)
├── Follow live transcript no labs.follow_live_transcript (every OS with Meetings)
│ a recording meeting's transcript card keeps its newest line in view while scrolled to
│ the bottom; scroll up to read, back to the bottom to follow again (#1332)
│ // check: only_a_recording_transcript_follows_and_only_with_its_lab (rune_ui/meetings.rs,
│ // Linux and Windows); not observed on a real call; Labs page goldens need regenerating
├── Import audio no labs.meeting_import (macOS) Meetings offers Import audio…: a WAV, M4A, MP3, AIFF, or CAF
│ file is decoded locally, transcribed with the selected model, saved as a normal
│ meeting (Speaker turns), exported as Markdown, and given notes as a finished recording
├── Descriptive meeting file names no labs.meeting_descriptive_filenames (every OS with Meetings)
│ once notes or a rename give a meeting a title, its exported Markdown is renamed
│ in place to <date> <time> <title>.md; a taken name adds " (2)", and the
│ manifest follows so Reveal, Trash, and retention see the new path
├── Expire meeting audio separately no labs.expire_meeting_audio (every OS with Meetings)
│ Meetings › Settings adds Keep audio under Keep meetings: finished meetings drop
│ their WAVs on their own schedule (at or beyond Keep meetings it has no effect),
│ keeping transcript, notes, summary, and Markdown
├── Restore clipboard on GNOME no labs.gnome_clipboard_restore (Linux) on a Wayland desktop without data-control (GNOME), a paste snapshots and restores
│ the clipboard through XWayland, only while this user's Xwayland already runs; never starts it (#1111)
├── Transform typed text no labs.typed_text + typed_text_hotkey (Linux) Settings › Output shows a Typed text section whose shortcut is unbound by
│ default; the shortcut or `hex typed-text` takes the clipboard (adopting a paste's pending restore), clears it,
│ sends Ctrl+A then Ctrl+C, runs the focused app's Output steps on the copied text (skipping spoken
│ formatting, spoken symbols, and filler words), clears and re-copies to confirm the selection still holds
│ that text, then pastes the result over it and restores the clipboard 500 ms later unless a newer copy
│ replaced it. A failed paste restores it too. Select-all replaces the whole field; on GNOME text is read
│ through wl-paste and cleared through wl-copy --clear. A clear that leaves text behind aborts.
│ It sends Ctrl+A/Ctrl+C, so it is not meant for terminals, and refuses before any key while
│ Terminal paste is on, because its Ctrl+V would become Ctrl+Shift+V.
│ // checks: typed_text_is_its_own_bit_and_off_by_default (labs.rs), the shortcut's rules
│ // (app_settings.rs), typed_text_fires_only_while_idle_and_changes_no_capture_state (linux/input.rs),
│ // typed_text_skips_the_dictation_only_labs (dictation/processor.rs),
│ // typed_text_joins_the_commands_only_while_its_lab_is_on (linux/gnome_shortcuts.rs), the fake-backed
│ // typed-text job tests and a_changed_second_copy_aborts_the_replacement (linux/typed_text.rs),
│ // a_new_clipboard_job_adopts_the_pending_restore and
│ // a_failed_dictation_paste_leaves_the_transcript_on_the_clipboard (linux/paste.rs),
│ // the_gnome_shortcut_key_tracks_typed_text (linux/app.rs); not observed with a real shortcut
│ // and target application
├── Floating meeting capsules on GNOME no labs.gnome_meeting_capsules (Linux) on a Wayland desktop without layer-shell (GNOME), the recording offer and
│ recording capsule open on XWayland (Rune xwayland_input: override-redirect, clicks in the input shape, never keyboard
│ focus), decided at each show, only while this user's Xwayland already runs; never starts it. Off, an offer opens
│ the Meetings pane (#1271), whose note names the lab (#1274)
│ // checks: floats_only_by_opt_in_*, looks_for_nothing_while_the_lab_is_off (linux/meeting_capsules.rs),
│ // gnome_meeting_capsules_is_its_own_bit_*; Rune's xwayland pointer tests; not run on a GNOME session
├── Annotate on GNOME no labs.gnome_annotate (Linux) on a Wayland desktop without layer-shell (GNOME), Annotate's recording capsule,
│ ink, and picker open on XWayland (xwayland_input: override-redirect, pointer in the input shape, never keyboard focus).
│ The ink is made with pointer regions and no keys (Rune refuses KeyPolicy::OnDemand on XWayland) and keeps its
│ regions while not drawing, since an XWayland window made click-through can't take the pointer later. Off, a
│ capture records but shows no capsule or ink. Decided at each show, only while this user's Xwayland already runs;
│ never starts it. Esc can't stop drawing there, so the capsule's pen button does, as does letting go of a
│ held Annotate key (a tap of it stops the recording)
│ // checks: gnome_annotate_is_its_own_bit_* (labs.rs), meeting capsule xwayland decision reused
│ // (linux/meeting_capsules.rs); Rune's xwayland tests; not run on a GNOME session
├── Screenshots no labs.screenshots + screenshots.hotkey (default ⌘⇧4) + screenshots.record_hotkey (unbound) + screenshots.folder (macOS)
│ the shortcut picks an area (Space: a window); the PNG goes on the clipboard, into the folder (Desktop), and into a corner thumbnail
├── Annotate 15 s replay no labs.annotate_replay + capture.replay_hotkey (macOS 27+)
│ keeps a rolling 15 s SCClipBufferingOutput screen buffer for hex capture replay and the replay shortcut;
│ macOS keeps its screen-recording dot lit the whole time it is on
├── Terminal paste no paste_with_shift (Windows) paste with Ctrl+Shift+V (#477/#478; Linux keeps it in General);
│ Java games (javaw/java, e.g. Minecraft) still get Ctrl+V (#1362)
│ // check: terminal_paste_sends_plain_control_v_to_java_games (windows/paste.rs)
└── OpenCode in WSL no labs.opencode_in_wsl (Windows) Modes rewriting, the Modes model picker, and Annotate's capture sends
use an OpenCode service running in the default WSL distribution
when no Windows registration answers; looking for it can start WSL
// checks: the_passwd_line_for_the_uid_names_its_home, both_wsl_prefixes_name_the_distribution,
// a_distribution_or_home_windows_cant_reach_is_refused, a_zero_budget_or_cancellation_skips_the_lookup,
// the_cache_follows_the_default_distribution_and_uid, one_lookup_serves_every_caller_and_a_short_wait_stops,
// a_joiner_does_not_wait_for_a_lookup_older_than_its_cap, a_timed_out_lookup_defers_the_next_one,
// the_workspace_is_created_somewhere_windows_can_write_it,
// the_automount_section_gives_the_root_and_can_be_off,
// windows_drives_become_paths_under_the_automount_root,
// a_capture_folder_follows_the_automount_read_with_the_home,
// a_wsl_service_gets_the_workspace_its_linux_server_can_use,
// a_wsl_service_maps_a_capture_folder_into_its_distribution,
// a_wsl_service_is_a_fallback_only_without_a_windows_one,
// a_failed_wsl_request_forgets_the_workspace, a_not_found_wsl_request_forgets_the_workspace,
// a_wsl_request_failure_reads_as_the_capsule_expects,
// opencode_in_wsl_is_its_own_bit_and_windows_only; not run on a real Windows PC with WSL
Settings › Labs // labs.page, a store (labs/store.rs)
├── Header -> "Labs", Search N labs (⌘F focuses it), Discover | Turned on · N
├── Group chips with counts -> All, Dictation, Output, History, Meetings, Annotate, Shortcuts, Models
│ (labs/group.rs; a group this OS has no lab in hides)
├── Discover, no chip or search -> New in Labs: the two newest labs, then every other lab
│ under its group's header; a lab added on the newest date among those shown carries New
├── Group header (key group-<id>) -> name, card count, chevron; a group with no card here hides
│ ├── Press -> folds or unfolds it, saved at once in labs.groups (settings.json, not a hex settings key)
│ ├── Never pressed -> open while it holds a lab that's on, folded otherwise
│ └── Turning off a group's last lab -> the group stays open (it is saved open first)
├── A chip, a search (name, description, group), or Turned on -> only the matching cards,
│ still under their headers; a chip or search shows every match whatever the folds,
│ under a plain heading; none -> "No labs match" / "Nothing turned on yet"
│ // checks: labs_groups_fold_and_remember_it, labs_groups_follow_each_os (tests/panes.rs);
│ // every_group_has_a_feature_and_round_trips_its_id (labs/group.rs);
│ // goldens mac-labs (light, dark), windows-labs, linux-labs, mac-labs-link
├── Card -> neutral icon tile, name with New / Dev tags on one line, up to two lines of description, a switch;
│ pressing the card itself does nothing (there is no drawer)
│ ├── The switch (key lab-<id>) -> flips the lab, saved at once
│ ├── A pane feature on -> its pane is a normal top-level sidebar item; off -> hidden entirely
│ └── Voice Filter while its driver is installed, or a managed or locked lab -> its switch is disabled
├── A lab's own settings show on its card while it's on -> Unload model when idle: Unload after (5/15/30/60 min);
│ Screenshots: its shortcut, Saves to, and the macOS-takes-this-shortcut note with Open Keyboard Settings.
│ Annotate 15 s replay's shortcut lives in Annotate's pane
│ // checks: unload_when_idle_shows_its_minutes_on_its_card_while_on; scenes mac-labs-settings, mac-labs-screenshots
├── Opened by a link (macOS) -> hex://labs opens this page; ?tab=on, ?category=<group id> and ?search=<text>
│ set the store; hex://labs/<lab> also selects that lab's group chip (unless ?category names one). It never turns a lab on. An unknown
│ or absent name -> the page opens and process.log notes it. hex://settings/<pane>
│ (general, output, history, meetings, voice-filter) opens a main pane; one Hex doesn't show -> General.
│ Links over 2048 bytes are ignored; a test build's scheme is hex-test://
├── Annotate is listed as a lab (Annotate group) wherever Hex has the Annotate pane; its switch flips capture.enabled
└── Footer -> "Unfinished features. They may change or break.", Run setup again (replays the onboarding,
below), Send feedback -> https://github.com/anomalyco/hex/issues/new
hex labs // labs.cli; edits settings.json, no running Hex
├── (list) -> every feature this build has: name, on/off, audience, description, its hex settings key
├── link <feature> -> macOS: prints hex://labs/<feature> (hex-test:// in a test build), which opens Labs on its group
├── on <feature> | off <feature> -> a running Hex saves and applies it (hex settings set); otherwise settings.json
├── off voice-filter with the driver installed -> refused: uninstall the driver (dev builds; stable has no voice-filter)
└── hex experiments … -> points at hex labs
hex settings set labs.live_text true // macOS: through the running Hex
```
Checks: `rune_ui::deep_link` tests (parser, query, every feature's link reads
back); the labs store tests in tests/panes.rs (links, card toggles, a lab's own settings on its card, the stable build's missing Dev labs,
filters, ⌘F, a lone card's width, group folds and each OS's groups) and the
`mac-labs`, `mac-labs-link`, `windows-labs`, and `linux-labs` goldens (Linux).
Scenes: `mac-labs`, `mac-labs-on`, `mac-labs-category`, `mac-labs-search`,
`mac-labs-settings`, `mac-labs-screenshots`, `mac-labs-link`, `windows-labs`, `linux-labs`. Not yet observed: the store in a running
Hex.
Settings saved before this model may carry `labs.enabled`; it is read and
ignored, and every feature keeps its own toggle. `hex status` lists the
features on (`Labs` line on macOS, `labs` array in the macOS and Linux JSON,
`labs\t…` on Windows).
Every toggle applies at once, from the window or `hex labs on|off` (issue
568, from @maharshi365): Live text is asked as each dictation starts and its
plate is always installed (prewarmed on macOS whatever the setting, so a
plate turned on after launch never flashes the last dictation's words,
#1075; elsewhere only when Live text is on at launch);
the window always attaches the playground with Rune's own ⇧⌘D off, and its
sidebar item, ⇧⌘D, the macOS View menu, and story links open it only while
the toggle is on. Live typing is read at the hold threshold (or the Toggle
press). Live chapters are read when a recording starts. Nothing
starts at launch for a feature that is off. Limit: the macOS window's fixed
size is chosen when it is created, so it becomes resizable for the
playground only after Hex restarts.
Gate a Labs feature where its work starts (the worker, thread, or capture),
not only where its UI appears: `labs::live_text()`, `labs::live_chapters()`,
`labs::playground()`, `labs::vocabulary_biasing()`,
`labs::more_call_apps()`, `app_settings::meetings_enabled()`, or
`app_settings::hex_microphone_enabled()`.
Add a new feature to `labs::Feature` (name, settings key, description, audience), give
it a row in `rune_ui/labs.rs` and a `hex settings` key, and default it off.
When a feature graduates, remove it from Labs.
Mouse shortcuts off: the recorder ignores mouse buttons, `hex settings`
refuses one, and a saved mouse-button shortcut goes back to its default when
settings load (macOS), with a one-time note in General
(`mouse_shortcut_notice`). Check:
`mouse_shortcuts_go_back_to_their_default_while_their_labs_toggle_is_off` in
[app_settings.rs](../../src/app_settings.rs).
Clicks and drags reach Hex's filtering (event-consuming) session tap only
while some shortcut is a mouse button; otherwise they go to the listen-only
tap, as chord evidence only. A filtering tap on mouse events, even one that
passes every event through, broke dragging windows between displays and
Spaces (#1215). The tap thread's 5 s health check moves them when a mouse
shortcut is bound or cleared, so for up to 5 s after that a newly bound button
still reaches the app. Check:
`mouse_events_reach_the_filtering_tap_only_while_a_mouse_shortcut_is_bound` in
[suppression/tests.rs](../../src/suppression/tests.rs) (macOS only). Not yet
observed: a real two-display Mac dragging windows with Hex running.
Unload model when idle (`unload-idle`, issue 442 from @theoneand33): while
on, its card shows "Unload after" (5, 15, 30, or 60 minutes; default 15).
`transcription/engine`'s worker unloads a loaded GGUF model once no command
has reached it for that long and nothing records (`audio::idle_sleep::held()`: a
dictation past its hold or a meeting; a macOS capture from its press via
`dictation_busy`), freeing its RAM and VRAM; between commands no request
runs. With the lab on, a launch loads no GGUF model: the first dictation,
local API request, meeting chunk, or model switch loads it, so memory stays
free even when nobody dictates. On Linux, a model Settings has just prepared
for the listener starts loaded and unloads after the idle period. Until it
loads, whether it can stream comes from the model's definition.
Apple Speech stays loaded. The unloaded model still counts as held
(`TranscriptionEngine::holds`), so dictation, meetings, and the local API send
their work to the engine as before, and the worker reloads it before the
first command that needs it: audio fed meanwhile waits in the queue, so
nothing recorded is lost. A capture's stream opens after the reload and
catches up, falling back to the whole clip if it can't finish in time; the
HUD shows its transcribing state while a released clip waits on the reload,
with no look of its own. A failed reload fails that job and is retried by the
next. Check: `unload_idle_carries_its_minutes` in [labs.rs](../../src/labs.rs);
`a_parked_engine_holds_its_selection_and_reloads_it_before_the_first_job` in
[transcription/engine.rs](../../src/transcription/engine.rs) covers a parked
start and its first job. The unload itself has no automated check.
Restore shortcut default (`restore-shortcut-default`, issue 613): while on,
General › Advanced › Paste last dictation shows a Restore default shortcut
button (`restore-paste-last`) whenever the shortcut is not its default
(Option-Shift-V on macOS, Ctrl+Alt+V elsewhere), and a cleared shortcut's
row reads "Default shortcut: …". Pressing it saves the default through the
same checks a recorded shortcut meets; if another Hex shortcut already uses
it, nothing changes and the recorder opens with "Already in use". Off, the
row is exactly as before. The gate is the row itself (the feature does no
other work). Check:
`restore_default_brings_back_paste_last_only_with_its_lab_on` in
[tests.rs](../../src/rune_ui/tests.rs).
Settings search (`settings-search`, every OS): while on, General starts with
a single-line search field. Typing keeps only the rows and cards whose title
or description matches case-insensitively; the Advanced fold's rows match
without opening it, and the fold control hides while a query is set.
Permissions and errors always stay; the listener card matches its status,
hint, and Enable/Disable text, and the desktop-shortcut card matches its
title, and either counts as a match when shown. Nothing matching shows
"No settings match" with the kit's empty state, and clearing the field
restores the pane. The gate is the pane
([general/search.rs](../../src/rune_ui/general/search.rs) reads
`labs::Feature::SettingsSearch`), so off, General is exactly as before.
Checks: `settings_search_shows_with_its_lab_and_filters_general`,
`settings_search_matches_descriptions`,
`settings_search_keeps_permissions_and_status_cards`, and
`command_f_focuses_general_search_only_with_its_lab_and_pane` in
[tests.rs](../../src/rune_ui/tests.rs) and the matching test in
[general/search.rs](../../src/rune_ui/general/search.rs). Not yet observed
in a real window; the Labs page goldens were regenerated for macOS
(`mac-labs`, `mac-labs-link`, light and dark), Windows (`windows-labs`,
light), and Linux (`linux-labs`, light).
Release notes link (`release-notes-link`, every OS): while on, the sidebar
footer shows a small Release notes link under the version and update status.
Only a release build shows it, and that exclusion is by build kind, not
version string: local and test builds (`HEX_LOCAL_BUILD=1`,
`HEX_TEST_BUILD=1`) get no link even when their version is plain. Then
`updater::notes::release_notes_url` chooses from `crate::VERSION`: a dev
version (`0.0.0-dev-N`) opens `https://anoma.ly/hex/dev#<version>`, a plain
`major.minor.patch` opens
`https://github.com/anomalyco/hex/releases/tag/v<version>`, and an odd
version shows no link. The gate is the footer row
([sidebar.rs](../../src/rune_ui/sidebar.rs) reads
`labs::Feature::ReleaseNotesLink`), so off, the footer is exactly as before
and What's new keeps its place under a staged update. Checks:
`a_dev_build_opens_the_changelog_at_itself`,
`a_stable_build_opens_its_github_release`, and
`an_odd_version_has_no_release_notes` in
[notes.rs](../../src/updater/notes.rs), and
`release_notes_link_shows_only_with_its_lab` in
[tests/panes.rs](../../src/rune_ui/tests/panes.rs). Not yet observed in a
real window.
Keep dictation on clipboard (`keep-on-clipboard`, issue 200, macOS and
Windows): while on, a pasted dictation stays on the clipboard. `paste::Paster`
reads `labs::keep_on_clipboard()` as each paste commits: it writes the
transcript without the nspasteboard.org transient markers (so clipboard
managers may record it), schedules no 500 ms restore, and drops any earlier
snapshot and pending restore (`ClipboardRestore::keep`), so a later restoring
paste never brings back an older clipboard. Into Chromium 155/156, where Hex
types the text instead of pasting, it also writes the transcript to the
clipboard after typing. On Windows, `windows::paste::WindowsPaster` reads the
same gate as each paste commits: it writes an ordinary clipboard entry (not
marked out of clipboard history or cloud sync), calls its
`ClipboardRestore::keep`, sends Ctrl+V as usual, and schedules no restore, so
the dictation stays in Windows clipboard history (Win+V). Off, pasting and
clipboard restore are exactly as before. Checks:
`a_kept_paste_leaves_nothing_to_restore` and
`a_kept_transcript_is_an_ordinary_clipboard_entry` in
[paste.rs](../../src/paste.rs) (macOS only);
`keeping_the_paste_cancels_a_pending_restore` in
[windows/paste.rs](../../src/windows/paste.rs) (Windows only);
`contributed_options_are_labs_toggles_off_by_default` in
[panes.rs](../../src/rune_ui/tests/panes.rs). Not yet observed: a real paste
on a Mac or Windows PC with the toggle on.
Copy dictation only (`copy-only`, issue 629, macOS and Windows): while on, a
finished dictation (on macOS the dictation shortcut, Dictate without
processing, or `hex dictation` without `--print`; on Windows any dictation
job) is put on the clipboard and nothing is
sent to the focused app: no ⌘V or Ctrl+V, no typed text (Chromium 155/156
included), and no 500 ms restore, so selected text is never replaced. The
paste worker (`parakeet::finish_output`) reads `labs::copy_only()` as each
dictation's output commits and hands `paste::Paster` `PasteMode::CopyOnly`,
which writes the transcript as an ordinary clipboard entry (no
nspasteboard.org transient markers), drops any earlier snapshot and pending
restore (`ClipboardRestore::keep`), and ends the continuation, so the next
dictation is not joined to it. On Windows, `windows::dictation` reads the same
gate as each job's output commits and calls
`windows::paste::WindowsPaster::copy_only`, which writes an ordinary entry,
calls its `ClipboardRestore::keep`, and sends no keystroke, so the dictation
appears in Windows clipboard history (Win+V). History and Paste last dictation
update as for a paste, and Paste last dictation still pastes (meeting pastes
on macOS too). Off, output is exactly as before. Checks:
`a_copy_only_dictation_is_left_on_the_clipboard_with_nothing_to_restore` in
[paste.rs](../../src/paste.rs) (macOS only);
`clipboard_labs_are_macos_or_windows_only` in [labs.rs](../../src/labs.rs);
`contributed_options_are_labs_toggles_off_by_default` in
[panes.rs](../../src/rune_ui/tests/panes.rs). Not yet observed: a real
dictation on a Mac or Windows PC with the toggle on.
Spoken formatting (`spoken-formatting`, issue 630, every OS): while on,
`Profiles::process_cancellable` in
[dictation/processor.rs](../../src/dictation/processor.rs) reads
`labs::spoken_formatting()` as each dictation's processing starts and runs
`dictation::spoken_formatting::apply` before the mode's corrections, OpenCode
rewriting, and transformations (on Windows and Linux, after the Global
replacements). Whole phrases, ignoring case and Spanish accents, are
replaced: "new line", "line break", "nueva línea", and "salto de línea" by
one line break, "new paragraph" and "nuevo párrafo" by two, "open quote",
"abrir comillas", and "abre comillas" by an opening `"`, and "close quote",
"cerrar comillas", and "cierra comillas" by a closing one. A whole-word
"quote" with a later "unquote" in the same dictation and words between them
becomes the same pair of marks ("He said quote hello unquote." becomes
`He said "hello".`, #1167); "quote" with no "unquote" after it, a lone
"unquote", "quotes"/"quoted"/"unquoted", and "quote unquote" said back to
back stay as they are. The commas,
periods, and spaces the model puts around a command go with it ("Hello. New
line. Next" becomes "Hello.\nNext"). Words such as "newline", "new liner",
"lineal", or "comillas" alone stay as they are. English and Spanish phrases
are recognized whatever the Language setting is (#1040); other languages
are not covered yet. Dictate without processing, meetings, and live text are
unchanged, and with the toggle off processing is exactly as before. Checks:
the tests in [dictation/spoken_formatting.rs](../../src/dictation/spoken_formatting.rs);
`spoken_formatting_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs);
`contributed_options_are_labs_toggles_off_by_default` in
[panes.rs](../../src/rune_ui/tests/panes.rs). Not yet observed: a real
dictation with the toggle on; the Labs page goldens need regenerating on
Linux with the new row.
Spoken symbols (`spoken-symbols`, issue 678, every OS): while on,
`Profiles::process_cancellable` in
[dictation/processor.rs](../../src/dictation/processor.rs) reads
`labs::spoken_symbols()` as each dictation's processing starts and runs
`dictation::spoken_symbols::apply` right after spoken formatting and before filler
words, the mode's corrections, OpenCode rewriting, and transformations.
Whole English or Spanish words, ignoring case and Spanish accents, become
symbols joined to their neighbours: "hashtag" and "hash sign" become `#` and
"at sign" and "arroba" `@`, joined to the next word ("hashtag release" →
"#release"); "underscore" and "guion bajo" `_`, "hyphen" and "guion" `-`,
and "slash" `/` join both words ("my underscore variable" → "my_variable");
"comma" and "coma" `,`, "colon" and "dos puntos" `:`, and "semicolon" and
"punto y coma" `;` join the previous word and leave one space before the
next ("done comma thanks" → "done, thanks"). The longer Spanish phrase wins
("punto y coma" is `;`, not "punto y" + `,`). The commas, periods, and
spaces the model puts around a spoken symbol go with it. Words such as
"commas", "comas", "guiones", "hashtags", "slashed", or "colonel" stay as
they are. Other languages are not covered yet (#1040), and the word list is fixed (no per-user symbol
sets yet). Dictate without processing, meetings, and live text are
unchanged, and with the toggle off processing is exactly as before. Checks:
the tests in [dictation/spoken_symbols.rs](../../src/dictation/spoken_symbols.rs);
`spoken_symbols_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs);
`contributed_options_are_labs_toggles_off_by_default` in
[panes.rs](../../src/rune_ui/tests/panes.rs). Not yet observed: a real
dictation with the toggle on; the Labs page goldens need regenerating on
Linux with the new row.
Remove filler words (`filler-words`, issue 631, every OS): while on,
`Profiles::process_cancellable` in
[dictation/processor.rs](../../src/dictation/processor.rs) reads
`labs::filler_words()` as each dictation's processing starts and runs
`dictation::filler_words::strip_if` right after spoken formatting and before
the mode's corrections, OpenCode rewriting, and transformations. It applies
only when that dictation's language is exactly English
(`filler_words::applies_to`): Auto and every other language are left
untouched, because "er" and "um" are ordinary German and Portuguese words.
The language comes from the submission, not the setting in force while the
text is processed: macOS reads the saved transcription selection when the
dictation is submitted, while Linux and Windows read the selection the
transcription engine holds at submission, falling back to the saved selection
when none is held. On Linux and Windows, a dictation finished while an
in-place model reload for a language change is still running uses the previous
language for this check. It is rule-based, with
no model and no added latency. The English fillers "um", "umm", "uh", "uhh",
"erm", "er", and "ah" are removed as whole words, lowercase or capitalised
only, so "umbrella", "ahead", "error", "Uhura", "uh-huh", and "ER" stay. The
comma or ellipsis that comes with a filler goes too, the spaces around it
close up, no space is left before punctuation, a capitalised filler that
started a sentence passes its capital to the next word ("Um, so I think"
becomes "So I think"), and line breaks stay. Dictate without processing,
meetings, and live text are unchanged, and with the toggle off processing is
exactly as before. Checks: `only_english_dictations_apply_the_filter`,
`enabled_english_dictations_strip_their_fillers`,
`every_other_language_or_a_disabled_switch_keeps_the_words`,
`fillers_leave_with_their_commas_and_spaces`,
`a_filler_that_started_a_sentence_hands_on_its_capital`,
`line_breaks_are_kept`, and `other_words_are_left_alone` in
[dictation/filler_words.rs](../../src/dictation/filler_words.rs);
`filler_words_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs);
`contributed_options_are_labs_toggles_off_by_default` in
[panes.rs](../../src/rune_ui/tests/panes.rs). Not yet observed: a real
dictation with the toggle on; the Labs page goldens need regenerating on
Linux with the new row.
Subtitle export (`subtitle-export`, issue 633, macOS like Meetings; its row
shows wherever Meetings does): while on, `hex meetings show <id> --srt` or
`--vtt` writes the meeting's transcript as SubRip or WebVTT subtitles, one cue
per transcript entry (speaker turn) labelled You or Them, timed by the entry's
offsets from the meeting's start rather than word timings, and limited by
`--from`/`--to` or `--chapter` as the other outputs are
([transcript-cli.md](../transcript-cli.md)). The gate,
`labs::subtitle_export()`, is read where the command starts: off, `--srt` and
`--vtt` fail naming `hex labs on subtitle-export` before any meeting is read,
and every other output is exactly as before. There is no export button in the
window yet. Checks:
`subtitles_render_speaker_turns_as_srt_and_vtt_cues` and
`subtitles_follow_the_range_and_need_the_labs_toggle` in
[control/transcript_cli_tests.rs](../../src/control/transcript_cli_tests.rs);
`subtitle_export_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs). Not yet observed: a real meeting exported and
loaded in a player; the Labs page goldens need regenerating on Linux with the
new row.
Second dictation shortcut (`second-dictation-shortcut`, issue 627, macOS):
for a Globe/Fn shortcut on the laptop keyboard and another key on an
external keyboard. While on, General shows a "Second dictation shortcut"
recorder under Shortcut, unbound by default and clearable
(`second_dictation_hotkey`, also `hex settings set second_dictation_hotkey
f5`). It is refused when it shares a key with another Hex shortcut, and the
others' checks count it while the toggle is on. The gate is
`AppSettings::active_second_dictation_hotkey`: only on macOS, with the toggle
on, a binding saved, and no overlap does `RuntimeHotkeys::second_dictation`
carry it, so the event tap suppresses its keys and the listener
(`recognition::Hotkeys`) runs a second shortcut machine with the dictation
shortcut's Hold/Toggle, double-tap lock, and double-tap-only settings. It
dictates and pastes with processing, as the dictation shortcut does; Paste
last and meeting paste still come only from the main machine. The shortcut
that starts a capture finishes or cancels it, and the other stands down
until its keys lift while it records. Turning the toggle off or clearing the
binding mid-capture cancels that capture. Off, nothing is matched,
suppressed, or checked for it, and Hex is unchanged. Checks:
`the_second_dictation_shortcut_needs_its_lab_and_its_own_keys` in
[app_settings.rs](../../src/app_settings.rs) and
`the_shortcut_that_starts_a_capture_owns_it` in
[recognition.rs](../../src/recognition.rs) (macOS only). Not yet observed: a
real Mac with an external keyboard, or the recorder row's rendering (macOS
builds only; no golden).
Terminal paste shortcut (`terminal-paste-shortcut`, Windows and Linux):
another dictation shortcut whose paste is always Ctrl+Shift+V, for a terminal
window that needs it, while the main dictation shortcut keeps following the
global Terminal paste setting. While on, General shows a "Terminal paste
shortcut" recorder under Shortcut, unbound by default and clearable
(`terminal_paste_hotkey`, also `hex settings set terminal_paste_hotkey
ctrl+shift+t`). It is refused when it shares a key with another Hex shortcut,
and the others' checks count it while the toggle is on. The gate is
`AppSettings::active_terminal_paste_hotkey`: only on Windows and Linux, with
the toggle on, a binding saved, and no overlap is it handed to the listener,
so X11 grabs or the shortcuts portal register it (id `terminal-paste`), and
the Windows hook matches it. Linux has no `hex` command for it, unlike
Dictate without processing's `hex dictation start|toggle --raw`, so without
X11 grabs or the portal it stays unregistered. Off, nothing is registered,
matched, or checked for it, and the saved binding stays. A capture it starts
is a normal dictation in every other way: the same Hold/Toggle and double-tap
lock, modes processing, History kind Dictation, last-dictation update, and
Escape, cancel, and short-tap discards. The shortcut that starts a capture
owns it:
the main dictation and Dictate without processing shortcuts neither finish it
nor pair a double tap with it, and its flavour survives the post-release tail
to the paste. Paste last dictation keeps the global Terminal paste setting.
On Windows, `javaw`/`java` still get plain Ctrl+V, as Terminal paste does.
Checks: `the_terminal_paste_shortcut_needs_its_lab_and_its_own_keys` in
[app_settings.rs](../../src/app_settings.rs),
`terminal_paste_shortcut_owns_the_capture_it_starts` in
[linux/input.rs](../../src/linux/input.rs), and the Windows
`a_second_dictation_shortcut_owns_the_capture_it_starts` in
[windows/input.rs](../../src/windows/input.rs) (cross-compiled only). Not yet
observed: a real terminal on either OS; the Windows tests have not run on a
Windows PC. The Labs page goldens (`windows-labs`, `linux-labs`) show the new
card.
Caps Lock dictation (`caps-lock-dictation`, macOS): while on, a physical Caps
Lock press toggles a hands-free dictation. From idle it starts a capture that
stays recording without a hold; the next Caps Lock press finishes it and hands
it to the normal transcription, processing, and paste flow. A hold capture,
a pending double tap, or another shortcut's recording is left alone. Escape
cancels the Caps Lock capture in every shortcut mode; Toggle mode's configured
cancel shortcut does not, only Escape does for a Caps Lock capture. The normal
dictation shortcut keeps working when nothing records (while a Caps Lock
capture runs it stands down, as a second shortcut does). Turning the lab off
mid-capture cancels that capture.
Caps Lock never changes typing: every press also resets the system Caps Lock
state off through `IOHIDSetModifierLockState`, so the next keys stay
lowercase. The key's light follows Hex's dictation state through the
keyboard's HID LED output element (usage page 0x08, usage 0x02). It comes on
only after the capture's microphone delivers its first audio, so a press whose
microphone is still opening (with Release microphone while idle, or a device
switch) leaves the light as it was. Once live, it is on while any capture
records, including a normal-shortcut or Annotate capture, blinking while an
accepted job transcribes or processes, and off when nothing is left or the
capture is discarded, cancelled, or failed. The listener builds each chunk's
meter once and feeds both the HUD (when one exists) and the light, so the light
never depends on a HUD; an Annotate capture feeds the light alone. The
recording light is steady by default; its Recording light option, Slow blink,
blinks at 700 ms on and off while recording, while transcribing keeps its
350 ms blink. Turning the lab off or quitting Hex clears the light and stops
forcing the lock off, so Caps Lock behaves normally again.
```ts
Labs › Caps Lock dictation on // labs.caps_lock_dictation
├── Caps Lock press, idle -> hands-free capture starts (no hold, no short-tap discard)
├── Caps Lock press, that capture running -> finishes and pastes normally
├── Hold capture / pending double tap / another shortcut recording -> ignored
├── Escape while it records -> cancels (the tap keeps Escape from the app)
├── Toggle mode's other cancel shortcut -> does not touch a Caps Lock capture
├── software Caps Lock -> off after every press; typing is unchanged
├── light -> stays off, or keeps blinking a pending job, until the microphone delivers audio
├── Recording light -> steady (default) solid recording, or slow blink at 700 ms on/off; transcribing always blinks at 350 ms
├── light -> off done/cancelled/failed
├── Labs off mid-capture -> cancels it, light off, normal Caps Lock returns
└── Hex quits -> light off, lock released
```
The gate is `labs::caps_lock_dictation()` in the listener
([recognition.rs](../../src/recognition.rs)), which starts and stops the
feature's worker each pass. Detection needs both halves of a physical press:
the raw HID tracker records Caps Lock usage 0x39 with its press timestamp
([suppression/physical_keys.rs](../../src/suppression/physical_keys.rs)), and
the event tap confirms it with an AlphaShift change edge within 300 ms
([suppression.rs](../../src/suppression.rs)). A key remapped to Control or
Escape never changes AlphaShift, so it never toggles dictation. Hex's own
lock-reset edge is marked and dropped before the press gate. A Caps Lock activation
delay configured above 300 ms would make those presses invisible; the default
has no delay. Without Input Monitoring the HID tracker is inactive, so an AlphaShift on edge is the
fallback press and off edges remain resets. Confirmed presses reach the
listener with the HID timestamp, before any IOKit work. The light model stays
on the listener and publishes its pattern through an atomic; the worker
([caps_lock_dictation/macos.rs](../../src/caps_lock_dictation/macos.rs)) owns
every IOKit call, re-enumerates keyboards on a bounded refresh, and runs the
blink timer. No IOKit work runs on the event-tap or audio threads. The pure
press gate, press decision, and light model live in
[caps_lock_dictation.rs](../../src/caps_lock_dictation.rs). The LED needs
Input Monitoring, which Hex already asks for; without it, dictation still
works and the light stays under macOS's control. Some keyboards, built-in ones
included, may not expose a Caps Lock LED output element, and macOS's own light
update after a reset can race Hex's write; neither changes dictation or the
lock reset. Checks:
`an_older_jobs_stage_event_never_interrupts_a_newer_capture`,
`a_stage_event_for_an_unknown_job_changes_nothing`,
`the_light_is_solid_recording_blinking_working_and_off_after`,
`the_light_waits_for_the_captures_first_audio`,
`a_meter_without_a_capture_turns_nothing_on`,
`ending_a_waiting_capture_clears_the_wait`,
`a_waiting_capture_keeps_earlier_jobs_blinking`,
`the_slow_blink_setting_only_changes_the_recording_light`,
`the_light_waits_for_every_accepted_job`,
`cancelling_or_failing_a_capture_turns_the_light_off`,
`a_hid_press_matches_an_edge_timestamp_from_before_the_callback`,
`an_edge_that_arrives_before_the_hid_press_still_matches`,
`a_fast_double_press_yields_two_presses`,
`a_hid_press_without_an_alpha_shift_edge_never_presses`,
`without_the_hid_tracker_an_on_edge_is_the_fallback_press`, and
`the_light_pattern_codes_round_trip` in
[caps_lock_dictation.rs](../../src/caps_lock_dictation.rs);
`meter_reports_rms_and_peak` and `a_dc_offset_never_reads_as_loudness` in
[indicator.rs](../../src/dictation/indicator.rs);
`a_meter_reaches_the_light_without_a_hud`,
`escape_cancels_a_caps_lock_capture_in_hold_mode`,
`caps_lock_does_not_start_over_an_annotate_recording`,
`the_dictation_shortcut_stands_down_while_caps_lock_records`,
`turning_the_caps_lock_lab_off_stops_its_capture`,
`caps_lock_never_starts_over_a_pending_double_tap`, and
`a_caps_lock_capture_keeps_escape_from_the_app_in_any_mode` in
[recognition.rs](../../src/recognition.rs) and
[suppression/tests.rs](../../src/suppression/tests.rs);
`caps_lock_dictation_is_its_own_bit_and_macos_only` and
`caps_lock_light_carries_its_slow_blink_choice` in
[labs.rs](../../src/labs.rs);
`contributed_options_are_labs_toggles_off_by_default` and
`caps_lock_light_shows_its_choices_on_its_card_while_on` in
[panes.rs](../../src/rune_ui/tests/panes.rs). Not yet observed: a real Mac
with the lab on — no hardware run of the Caps Lock LED, the lock reset, the
blink, Escape cancellation, or the off/quit cleanup. The `mac-labs` and
`mac-labs-link` goldens were regenerated on Linux with the new row.
Smart spacing (`smart-spacing`, issue 632, macOS): while on, a dictation
pasted right after typed text gets one leading space, so words don't merge
("alreadyin progress"). `paste::Paster` reads `labs::smart_spacing()` as each
paste commits, only when no continuation join applies (a join already spaces
contiguous dictations) and not for Copy dictation only. It asks the
frontmost app's focused element through Accessibility
(`accessibility::char_before_caret`: `AXSelectedTextRange`, then
`AXStringForRange` for the one character before the cursor, surrogate-pair
aware, each call bounded by the 250 ms messaging timeout) and adds the space
when `paste::needs_leading_space` agrees: after a letter, digit, `. , ; : ! ?
…`, or a closing bracket or typographic quote (`) ] } ” ’ »`); never after
whitespace, opening punctuation, straight quotes, or symbols such as `@ $ # /
-`, and never before text that starts with whitespace or closing punctuation.
Selected text, a cursor at the start, or an app that doesn't expose its
cursor leaves the text unchanged, and both the clipboard paste and the
Chromium 155/156 typing path use the adjusted text. Hex's own window is
never asked: its tree belongs to the main thread that updates it (#1402).
Lowercasing the first letter is not done. Off, pasting is exactly as before.
Checks:
`smart_spacing_adds_a_space_only_where_one_belongs` in
[paste.rs](../../src/paste.rs) (macOS only);
`smart_spacing_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs). Not yet observed: which apps (Chrome, Safari,
Slack, VS Code, Notes) expose the cursor, or a real paste with the toggle
on; the row renders only in macOS builds, so no golden changes.
Sided modifier chords (`sided-modifier-chords`, issue 710, macOS): while
on, the shortcut recorder (`ChordCapture` in
[rune_ui/macos_host.rs](../../src/rune_ui/macos_host.rs)) records a
modifier-only chord of two or more keys with the side each modifier was
pressed on, so Right ⌘ + Right ⌥ saves as `right-option+right-command` and
the tray shows R⌥ R⌘; only those keys press it, and the left keys don't.
The gate is the recorder: `labs::sided_modifier_chords()` is read once when
a recording starts. Matching, the conflict checks, and saved shortcuts are
unchanged (chords already store and match sides; `hex settings set` could
always save one), a chord with a non-modifier key still records its
modifiers from either side, and the side picker stays for one-modifier
shortcuts only. Off, a chord such as ⌥⌘ records from either side exactly as
before. Checks: `with_sided_chords_each_modifier_keeps_its_side` and
`without_sided_chords_two_modifiers_record_from_either_side` in
[rune_ui/macos_host.rs](../../src/rune_ui/macos_host.rs) (macOS only);
`sided_modifier_chords_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs). Not yet observed: a real recording on a Mac;
the row renders only in macOS builds, so no golden changes.
Tap or hold (`tap-or-hold`, issue 711, macOS and Linux): one dictation shortcut
works as both tap-to-toggle and push-to-talk. It acts only in Toggle mode
(`shortcut_mode: toggle`). The gate is the macOS shortcut machine
(`DictationHotkey` in [suppression/hotkey.rs](../../src/suppression/hotkey.rs)), which reads
`labs::tap_or_hold()` at each release of a Toggle press. With it on, a press
released at least `MINIMUM_HOLD_DURATION` (300 ms, the hold threshold) after
it started finishes the capture on release, as Hold does, with the usual
200 ms tail. A shorter press locks the capture as plain Toggle does, and the
next press finishes it. Chord discards and the press that finishes a lock are
unchanged. It applies to every `DictationHotkey` in Toggle mode.
Off, or in Hold mode, nothing changes.
Linux (issue 1144): the gate is the listener's shortcut options
(`shortcuts` in [linux/dictation.rs](../../src/linux/dictation.rs) sets
`HotkeyOptions::tap_or_hold` only in Toggle mode with the toggle on; a
change re-registers the shortcuts once nothing records). In
`ShortcutState` ([linux/input.rs](../../src/linux/input.rs)) a Toggle press
released at least 300 ms (`TAP_OR_HOLD_THRESHOLD`) after it went down
finishes its capture, with the usual release tail; a sooner release locks as
Toggle does. The desktop's key repeats of a held press don't move its start,
and a release the desktop drops leaves the capture recording until the next
press finishes it, as before. It applies to the dictation shortcut and
Dictate without processing, each for the capture it started; `hex dictation`
commands are unchanged. X11 counts a release after its 50 ms auto-repeat
grace. Windows doesn't have it.
Checks: `tap_or_hold_locks_a_short_tap_and_finishes_a_long_hold_on_release`
and `tap_or_hold_still_discards_a_chord_and_off_keeps_plain_toggle` in
[suppression.rs](../../src/suppression.rs) (macOS only);
`tap_or_hold_finishes_a_held_press_and_locks_a_tap`,
`without_tap_or_hold_a_held_toggle_press_locks`,
`tap_or_hold_survives_repeats_and_dropped_releases`, and
`tap_or_hold_applies_to_raw_dictation_but_not_commands` in
[linux/input.rs](../../src/linux/input.rs);
`tap_or_hold_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs). Not yet observed: a real Mac or Linux desktop
(X11 grab or Wayland portal) with the toggle on; the Linux Labs page goldens
need regenerating with the new row.
Double-tap on a lone modifier (`double-tap-modifiers`, macOS): Double-tap
shortcut mode works with any dictation shortcut that has no key: one or more
modifiers, such as Option, Globe, or ⌃⌥. The gate is the shortcut machine
(`DictationHotkey` in [suppression/hotkey.rs](../../src/suppression/hotkey.rs)),
which asks `labs::double_tap_modifiers()` as the mode is applied; with it on,
a shortcut without a key keeps `double_tap_only` instead of the mode falling
back to Hold or double-tap. The runtime gate,
`app_settings::double_tap_only()` (filled by `apply_runtime`), also accepts a
shortcut without a key while the lab is on. The state machine is the existing
one: the first complete tap arms the window silently; one tap or a hold
starts nothing; two complete taps inside 300 ms lock a hands-free capture; a
fresh press finishes it; Escape still reaches the app. For a shortcut without
a key, a press held 300 ms or longer is a hold, not a tap, so keeping the
modifier down and then tapping never locks. A key, mouse button, or a
modifier or side the binding doesn't cover is a chord and the machine goes
Dirty, as before: Option, Command, Option is a chord, and so is Left Option
between Right Option taps. The binding's own keys may go down and up one at a
time, so ⌃ then ⌥ (or one Option side then the other) never counts as a
different modifier. Modifier flag events are never suppressed, so a lone
Option or Globe press and release reach the focused app unchanged; macOS's
own "press Globe twice" system dictation shortcut may therefore also fire
while this lab is on. It applies to every `DictationHotkey` that takes the
mode (the primary shortcut, Dictate without processing, and the second
dictation shortcut). Off, the persisted normalization clears `double_tap_only`
for a shortcut without a key exactly as a fresh load does, Double-tap is
dimmed in the Shortcut mode modal, and `hex settings set double_tap_only on`
refuses it. Windows and Linux have no such path for this lab: their runtime
gates and `hex settings` validation are exactly as before, and both keep the
key requirement.
Checks: `double_tap_only_with_the_lab_starts_from_a_lone_modifier` (Option
and Fn), `double_tap_only_with_the_lab_still_discards_a_lone_modifier_chord`,
`double_tap_only_with_the_lab_does_not_take_a_held_first_press_as_a_tap`,
`double_tap_only_with_the_lab_discards_a_different_modifier_between_taps`,
`double_tap_only_with_the_lab_locks_a_keyless_control_option_chord`,
`double_tap_only_with_the_lab_locks_a_both_options_chord`,
`double_tap_only_with_the_lab_discards_the_other_option_side_between_taps`,
and `without_the_lab_double_tap_only_stays_off_for_a_lone_modifier` in
[suppression/tests.rs](../../src/suppression/tests.rs) (macOS only);
`a_binding_covers_only_its_own_modifiers_and_sides` in
[app_settings/hotkeys.rs](../../src/app_settings/hotkeys.rs);
`double_tap_only_on_a_lone_modifier_needs_the_lab` and
`turning_the_double_tap_modifiers_lab_off_falls_back_as_a_fresh_load` in
[app_settings/shortcut_repair.rs](../../src/app_settings/shortcut_repair.rs);
`double_tap_only_takes_a_lone_modifier_with_the_lab` in
[control/settings.rs](../../src/control/settings.rs);
`double_tap_modifiers_is_its_own_bit_and_macos_only` in
[labs.rs](../../src/labs.rs). Not yet observed: a real double-tap on Option
or Globe on a Mac; the `mac-labs` and `mac-labs-link` goldens change with the
new row, and `windows-labs` stays as it was.
Sort and filter models (`picker-sort-filter`, issue 645, every OS): while
on, the speech model picker's Every model view shows one row between its
header and the list: a sort (By recommendation, the default and the catalog's order; By
size, smallest model file first with unknown sizes last; By name) and a
switch, "Only models that support <saved language>" ("Only models that
detect the language automatically" when the language is Auto), which keeps
the models whose `supports_language` accepts it. Both are view state in
`rune_ui/picker.rs`, reset each time the picker opens; they never save
settings, send a request, or change the language or the active model. When
the switch hides the model being prepared, or the active one, a line outside
the results names it and its state (its preparation label or Active), with
the preparation's Cancel. The gate is the picker itself
(`sort_filter_on`); the feature does no other work. Off, the picker is
exactly as before. Speed and accuracy sorts, and filters for English-only,
multilingual, specific languages, size, streaming, and recognition hints,
are not built yet. Checks: `recommended_keeps_the_catalogs_order_and_the_others_reorder_it`,
`the_language_toggle_keeps_only_models_for_the_saved_language`,
`a_hidden_preparing_or_active_model_is_named`, and
`browsing_never_saves_or_asks_for_a_model` in
[picker.rs](../../src/rune_ui/picker.rs). Not yet observed: the row rendered
in a real window; there is no `--snap` scene for the picker with the Lab on,
and the Labs page goldens need regenerating on Linux with the new row.
Benchmark details (`benchmark-details`, issue 647, every OS): while on,
each row in the speech model picker's Every model view that has a benchmark
record (`transcription::models::benchmark`; Apple Speech has none) adds one
wrapping line under its facts: the raw figure, such as "7.57% CER", then the measured language,
the dataset and split, the source as plain text (with its source-record
revision), the conditions (utterances, batch size, timestamps, hardware), and
"Speed: upstream figure; hardware and method unknown". Anything the source
didn't record reads "Dataset unknown", "Source unrecorded", "Hardware
unknown", or "Conditions unknown". Qwen3-ASR 0.6B (7.57% CER) and SenseVoice
Small (10.12% CER) carry transcribe.cpp's legacy-published Mandarin FLEURS
test records (945 utterances, batch 8, no timestamps, source revision
7045d1c; run IDs and scoring or artifact revisions unknown); the catalog's
7.64 and 10.11 stay as the alternate legacy figures the picker shows with the
toggle off. QwenCleo-ASR 1.7B names its author's 3,699-utterance Egyptian
Arabic test. ivrit.ai Whisper large-v3-turbo carries Hex's own run of
transcribe.cpp's WER harness on the FLEURS Hebrew test (18.45% WER, 792
utterances, batch 1, no timestamps, Radeon 8060S over Vulkan, source revision
7045d1c), NB-Whisper Medium Hex's run on the FLEURS Norwegian test (6.68%
WER, 357 utterances, same conditions), and Granite Speech 5.0 Hex's run on
the FLEURS English test (4.77% WER, 647 utterances, same conditions); every other figure is English WER with dataset and source
unrecorded. A "Most accurate" badge stays only when its record is comparable
(`BenchmarkRecord::comparable`: same metric, language, and a known, equal
dataset) with every other recommended model's for the saved language, so
today it drops everywhere. The gate is the picker (`benchmark_details_on`);
the feature does no other work. Off, the picker is exactly as before.
Checks: `benchmark_details_show_raw_rates_and_mark_unknowns`,
`most_accurate_needs_comparable_figures_only_with_benchmark_details`, and
`benchmark_details_are_off_by_default` in
[picker.rs](../../src/rune_ui/picker.rs);
`only_figures_on_the_same_metric_language_and_dataset_compare` in
[models.rs](../../src/transcription/models.rs). Not yet observed: the rows
rendered with the toggle on; there is no `--snap` scene for it, and the Labs
page goldens need regenerating on Linux with the new row.
Use your own speech model (`custom-models`) graduated: adding a model file
and models found on this computer are always on now
([own-models.md](own-models.md)). `hex labs on|off custom-models` still
answers with that and exits 0 (`labs::GRADUATED`); the saved
`labs.custom_models` key is ignored.
Parakeet Ultra (`parakeet-ultra`, issue 648, every OS): a pinned catalog
entry, `parakeet_ultra`, listed and runnable only while the toggle is on
(`ModelDefinition::available` reads `labs::parakeet_ultra`).
```ts
Picker row -> "Parakeet Ultra" + Labs tag; 25 languages, offline, Token // labs.parakeet-ultra
│ timestamps; v3's "Detects language from audio" note; never recommended
├── Download -> handy-computer/parakeet-ultra-gguf@a1539be1, parakeet-ultra-Q8_0.gguf,
│ 740,363,168 bytes, SHA-256 007a5976…0a59 (430 F32, 225 Q8_0, 48 F16 tensors)
├── Details -> languages; peak memory measured on apollo (~0.7 GB GPU, ~0.2 GB
│ RAM, Radeon 8060S over Vulkan; not measured elsewhere); "Experimental: Hex
│ has run it only on Linux (Vulkan) so far."; the credit word for word ("Parakeet
│ Ultra by Moondream, based on NVIDIA Parakeet TDT 0.6B v3. GGUF conversion and
│ quantization by handy-computer. Creative Commons Attribution 4.0 International
│ (CC BY 4.0)."); the publisher's NOTICE; Source and License links
├── "Published conversion benchmarks; not measured in Hex" (folded) -> conditions
│ (FLEURS test, Q8_0, CUDA, batch 8, each language's hint, no timestamps,
│ transcribe.cpp 021aa17d; file digest, dataset revision, scorer unknown), then
│ 25 FLEURS WERs from transcribe.cpp 7045d1c's catalog/parakeet-ultra.json
├── Accuracy 98.2% / Labs › Benchmark details: LibriSpeech test-clean 1.80%
│ WER, the same published source (2,620 utterances, batch 8, CUDA)
└── Toggle off while Ultra is the dictation model -> refused (row locked,
`hex labs off`, `hex settings set`); a saved Ultra with the toggle off some
other way stays saved and the listener runs a downloaded fallback
```
Observed on apollo (Linux, Radeon 8060S over Vulkan, 2026-11-01): the file
matched its pinned size and SHA-256 (`hex model install` verified it); `hex
model transcribe` with Ultra, passed and saved, transcribed FLEURS German and
English and JFK correctly; Ultra ran a FLEURS English clip at 191x against
Parakeet v3's 211x in transcribe-cli; turning the toggle off while Ultra was
selected was refused. Not observed: Metal, Windows, the picker in a real window
(the `picker-parakeet-ultra` scene was rendered once, not as a golden, because
it lists Ultra only where the saved settings turn the Lab on).
Checks: `parakeet_ultra_is_offered_only_with_its_lab_and_a_saved_choice_survives`
in [models.rs](../../src/transcription/models.rs) and
`parakeet_ultras_published_scores_cover_its_languages_once` in
[model_details.rs](../../src/transcription/model_details.rs).
Special keys alone (`special-keys`, issue 767, Linux): for holding Caps Lock
to dictate on GNOME Wayland by remapping it to Menu (GNOME's "Caps Lock is
also a Menu" keyboard option), or using Pause or Scroll Lock.
```ts
hex settings set dictation_hotkey menu // labs.special-keys
├── Toggle on (Linux) -> saved; any shortcut may use menu, pause, scrolllock,
│ alone like a function key or with modifiers (ctrl+pause)
│ ├── X11 -> grabs keysym Menu 0xff67, Pause 0xff13, Scroll_Lock 0xff14
│ └── Wayland portal -> preferred trigger Menu, Pause, Scroll_Lock
├── Toggle off -> "menu needs Labs › Special keys alone: hex labs on special-keys"
├── Windows -> Menu, Pause, Scroll Lock always allowed, alone too; the toggle
│ instead lets Insert, Home, End, Page Up, Page Down stand alone ("home alone
│ needs Labs › Special keys alone" while off), and off puts a saved one back
├── macOS -> no toggle; a bare one still needs a modifier, as before
├── Window recorder (Linux) -> records them, alone too, while on (#1187);
│ refuses them while off ("Add a modifier")
│ Check: `recorder_takes_special_keys_alone` in `rune_ui/settings.rs`
└── Toggle turned off (row, hex labs off, hex settings), or settings load with
it off -> a Linux shortcut on one goes back to its default (Dictate without
processing unbound), so the listener never registers it
```
The gates are `AppSettings::special_keys_allowed` in `control/settings.rs`'s
`apply` and the window's `settings::validate`, and
`AppSettings::repair_special_keys` (`app_settings/shortcut_repair.rs`) where
settings load and where the toggle turns off. Off, Hex is unchanged: the
added keysym names are reached only by a saved shortcut on one of these keys.
Checks: `menu_alone_needs_its_labs_toggle` in
[control/settings.rs](../../src/control/settings.rs) and
[rune_ui/settings.rs](../../src/rune_ui/settings.rs),
`special_keys_have_portal_and_x11_names` in
[linux/input.rs](../../src/linux/input.rs), and
`special_key_shortcuts_go_back_to_their_default_while_their_labs_toggle_is_off`
in [app_settings/shortcut_repair.rs](../../src/app_settings/shortcut_repair.rs).
Not yet observed: a real GNOME Wayland session granting Menu through the
portal, or an X11 grab of it; the Labs page goldens need regenerating on Linux
with the new row.
Section key alone (`section-key`, issue 1050, Linux): for push-to-talk on
the ISO § key, left of 1 above Tab, without a modifier.
```ts
Settings › General › Shortcut, press § alone // labs.section-key
├── Toggle off -> "Add a modifier", as before; § with a modifier records as before
├── Toggle on -> saved as § (hex settings also takes `section`); Settings shows §
│ ├── X11 -> grabs the keycode that types XK_section 0xa7
│ └── Wayland portal -> preferred trigger `section`
├── hex settings set dictation_hotkey §, off -> "section needs Labs › Section key
│ alone: hex labs on section-key"
└── Toggle turned off (row, hex labs off, hex settings), or settings load with
it off -> a Linux shortcut on § alone goes back to its default (Dictate
without processing unbound), so the listener never registers it
```
While bound, Hex takes § from every app (an X11 grab or a portal shortcut
holds its key), so typing § needs another key. The window's
`settings::recorded_binding` and `control/settings.rs`'s `parse_hotkey` let a
lone § through on Linux; the gates are `AppSettings::section_key_allowed` in
the window's `settings::validate` and in `control/settings.rs`'s `apply`
(`special_key_refusal`), and `AppSettings::repair_section_key`
(`app_settings/shortcut_repair.rs`) where settings load and where the toggle
turns off. Off, Hex is unchanged: a lone § is refused everywhere, and the
added `section` keysym names are reached only by a saved § shortcut (§ with a
modifier now also resolves on X11 and the portal, where it was refused as an
unsupported key). macOS and Windows don't have it. Checks:
`section_alone_needs_its_labs_toggle` in
[control/settings.rs](../../src/control/settings.rs) and
[rune_ui/settings.rs](../../src/rune_ui/settings.rs),
`the_section_key_has_portal_and_x11_names` in
[linux/input.rs](../../src/linux/input.rs), and
`a_lone_section_key_goes_back_to_its_default_while_its_labs_toggle_is_off` in
[app_settings/shortcut_repair.rs](../../src/app_settings/shortcut_repair.rs).
Not yet observed: a real ISO keyboard on X11 or a Wayland portal granting
`section`; whether Rune reports § as text on every layout; the Labs page
goldens need regenerating on Linux with the new row.
Dictation stats (`history-stats`, issue 790, every OS): while on, History's
header shows a Secondary "Stats" button beside its retention select once
anything is retained. It opens a centered "Dictation stats" dialog (Escape, a
scrim press, or Close dismisses it, and focus returns to Stats) with dictations,
words, words per minute, how often Output changed the text, the daily streak,
and the top five apps; `hex history stats [--since] [--until] [--json]` prints
the same ([transcript-cli.md](../transcript-cli.md)). It sums every entry within
retention (`History::stats`, `history/stats.rs`), not the pane's 200-entry
search, so it ends with what retention removes; the rollup that outlives
retention, streak notifications, and per-replacement counts are not built. The
gates are `labs::history_stats()`, read when the pane reloads (off, it reads
nothing for stats, and sums again when the entries or the toggle change, or
once when the dialog closes because the stats emptied) and where
`hex history stats` starts (off, it fails naming `hex labs on
history-stats` before History is read), and the window's own setting for the
button and dialog. Closing the window, opening History again from the menu bar
or `hex window show history`, turning the switch off, emptying retained
history, or leaving History closes the dialog, and Command-1…9 pane shortcuts
wait while it is open. Off, History is exactly as before. Checks:
the tests in [history/stats.rs](../../src/history/stats.rs) (words, speed,
changes, top apps, streak across a gap, expired entries skipped past the search
cap); `history_stats_parse_sum_retained_entries_and_need_the_labs_toggle` in
[control/transcript_cli_tests.rs](../../src/control/transcript_cli_tests.rs);
`history_stats_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs); and
`history_stats_button_opens_and_closes_the_dialog` in
[rune_ui/tests.rs](../../src/rune_ui/tests.rs). `history-stats` in
[rune_ui/scenes.rs](../../src/rune_ui/scenes.rs) renders the button and dialog
in both themes. Not yet observed: the dialog in a real window, and the Labs
page goldens need regenerating on Linux with the new row.
Copy recent dictations (`recent-dictations`, issue 877, macOS): while on,
the menu-bar menu shows a Copy Recent Dictation submenu right under Paste
Last Dictation. It lists the five newest History entries within retention,
newest first, skipping printed (`hex dictation stop --print`) and empty ones
as Paste Last does, each on one line (whitespace and line breaks collapsed,
cut to 48 characters with "…"). Clicking one puts its full final text on the
clipboard as an ordinary entry; nothing is pasted. The gate is the menu's
delegate (`menuNeedsUpdate:` in
[macos_rune/status_item.rs](../../src/macos_rune/status_item.rs)): History is
read only as the menu opens and only with `labs::recent_dictations()` on;
off, with History retention Off, or with nothing to list, the item stays
hidden and the menu is exactly as before. The copy itself
(`StatusItemAction::CopyRecentDictation`) looks the entry up by ID again and
logs a warning if it has gone. Checks:
`recent_lists_the_newest_reusable_entries_within_retention` in
[history.rs](../../src/history.rs);
`recent_dictations_show_on_one_short_line` in
[macos_rune/status_item.rs](../../src/macos_rune/status_item.rs) (macOS
only); `recent_dictations_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs). Not yet observed: the submenu on a real Mac;
the row renders only in macOS builds, so no golden changes.
Skip long pauses (`skip-pauses`, issue 899, Linux and Windows): for slow
CPUs and older integrated GPUs, where a dictation is transcribed as a whole
clip (no stream, or the fallback after a failed or late stream) and every
second of silence goes through the model. While on, the engine's whole-clip
run (`TranscriptionEngine::finish` in
[transcription/engine.rs](../../src/transcription/engine.rs)) reads
`labs::skip_pauses()` as it starts and transcribes the clip as a dictation
stream hears it (`skip_long_pauses` in
[engine/streaming.rs](../../src/transcription/engine/streaming.rs), the same
`PauseCap`): each pause at the noise floor keeps its first 2.5 s and last
0.3 s, a trailing pause only its first 2.5 s, and shorter pauses pass whole.
A clip in which no frame rose above the noise floor is left whole, as the
stream does for #841. The job deadline, History's duration, and the silence
discard still use the full clip; process.log adds a `skipped long pauses
before whole-clip transcription` line with `pauses_dropped_ms`. macOS,
streams, meetings, captures, and the local API are unchanged, and off the
clip is passed through untouched. Checks:
`skipping_pauses_cuts_a_whole_clips_long_pauses_to_their_ends`,
`skipping_pauses_leaves_short_pauses_and_quiet_only_clips_whole`, and
`with_skip_pauses_off_the_whole_clip_is_untouched` in
[transcription/engine.rs](../../src/transcription/engine.rs);
`skip_pauses_is_its_own_bit_and_off_by_default` in [labs.rs](../../src/labs.rs).
Not yet observed: a real dictation with the toggle on in Hex (the reporter
measured their own branch on an i5-8259U); the Labs page goldens need
regenerating on Linux with the new row.
Stop when the call ends (`stop-when-call-ends`, issue 835, macOS like
Meetings; its row shows wherever Meetings does, in macOS builds): for an
Always record call that keeps recording after hang-up. The gate,
`labs::stop_when_call_ends()`, is read on each pass of the meeting
controller (`poll_recording` in
[meeting/watcher.rs](../../src/meeting/watcher.rs)), and only for a recording
Hex started on its own. While on, the call app counts as present while it
holds the microphone or any of its Core Audio processes has output running
(`microphone_activity::application_running_output`), since WhatsApp keeps
the microphone while muted and closes both on hang-up. Once both are off for
about 3 s, the "left the call" capsule says "Hex stops recording in 30 s
unless you keep recording."; Keep recording sends
`ControllerCommand::KeepRecording`, which drops the stop for this absence, and
the call app coming back drops it too. After 30 s (`AUTO_STOP_GRACE`,
`AutoStop` in [meeting/detection.rs](../../src/meeting/detection.rs)) the
controller stops the recording as Stop & Transcribe does and logs it. Manual,
offered, and calendar recordings never stop, and off, nothing reads the
output and the capsule and controller are exactly as before. Not built: the
leave-call button as a signal, per-app rules, and holding off while the
network is down. Checks: `stop_when_call_ends_is_its_own_bit_and_off_by_default`
in [labs.rs](../../src/labs.rs) and the auto-stop checks listed in
[meetings.md](meetings.md#record). Not yet observed: a real WhatsApp, Zoom,
or Teams call on a Mac with the toggle on; the row renders only in macOS
builds, so no golden changes.
More call apps (`more-call-apps`, every OS with Meetings; its row shows
wherever Meetings does): for calls in messaging apps and on websites call
detection did not recognise. The gate, `labs::more_call_apps()`, is read by
call detection's each pass ([meeting/watcher.rs](../../src/meeting/watcher.rs)
passes it to `candidate_from_microphone`) and by Settings › Meetings ›
Detected calls (`app_settings::known_meeting_providers`). While on, a
microphone held by Signal (`org.whispersystems.signal-desktop`), Telegram
(`ru.keepcoder.Telegram`, also `com.tdesktop.Telegram` and
`org.telegram.desktop`), WeChat (`com.tencent.xinWeChat`), LINE
(`jp.naver.line.mac`), Webex (`com.webex.meetingmanager`, also
`com.cisco.webexmeetingsapp`, and the current app's `Cisco-Systems.Spark`),
Element (`im.riot.app`), or the Phone app (`com.apple.mobilephone`) is that
app's call ("Signal call", "Webex meeting", "Phone call", …). Each Electron
app's helpers fold to its parent through
[microphone_activity.rs](../../src/microphone_activity.rs), and on Windows
and Linux the same apps' executables (`signal`, `signal-desktop`, `telegram`,
`telegram-desktop`, `wechat`, `weixin`, `line`, `webex`, `ciscocollabhost`,
`element`, `element-desktop`) map to the same keys; `ciscocollabhost` is the
Webex app's Windows host. Signal, Telegram, WeChat, LINE, Element, Messenger,
and GroupMe also hold the microphone for voice notes or clips, so they keep
it about 20 s before they count as calls, as WhatsApp does; Webex and Phone
count after 2 s. A browser on Google Voice (`voice.google.com`), Messenger
(`messenger.com`), Teams (`teams.live.com`), FaceTime
(`facetime.apple.com`), GroupMe (`web.groupme.com`), or any `webex.com`
subdomain is named after the service; these names need the browser's page,
which Hex reads on macOS ([meetings.md](meetings.md#detect-and-offer)).
Detected calls lists the seven apps, Google Voice, Messenger, and GroupMe
while the lab is on. A Teams page gets its own `teams.live.com` choice from
an offer's "…", shown as "Teams (web)", and a FaceTime page its own
`facetime.apple.com` choice ("FaceTime (web)"); neither follows the Teams or
FaceTime app's choice. A Webex page's `webex.com` choice is set the same way
and covers every subdomain, so those three have no always-listed row; Ask /
Always record / Never offer work as for the existing services. Off, offers are unchanged: those processes are not meeting apps,
the pages stay unknown pages ("Browser call") after 20 s, and Detected calls
lists exactly the services it did before. Checks:
`more_call_apps_are_unknown_until_their_lab_is_on`,
`more_call_apps_names_its_apps_and_websites_with_their_lab_on`,
`a_telegram_voice_note_is_not_offered_but_a_sustained_call_is`, and
`a_messenger_voice_clip_is_not_offered_but_a_sustained_call_is` in
[meeting/detection.rs](../../src/meeting/detection.rs);
`more_call_app_bundle_variants_and_executables_canonicalize` in
[microphone_activity.rs](../../src/microphone_activity.rs);
`more_call_apps_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs). Not yet observed: a real Signal, Telegram,
WeChat, LINE, Webex, Element, or Phone call, or any of the websites. Goldens:
`mac-labs` (light, dark), `windows-labs`, and `linux-labs` show the new row.
Fix results in Output (`output-fixes`, issue 989, every OS): for a Try
result in Settings › Output that comes out wrong. While on, the Try card
adds a row under the sentence with a Vocabulary button, which opens the same
Vocabulary sheet as General's Vocabulary row, and, once a sentence is typed,
Fix this, which copies Edit with agent's prompt ending `What I want: When I
say "<sentence>", Hex pastes "<result>". It should paste: ` for the person to
finish in their agent; it reads Copied until the sentence changes or the pane
is left. The result is what the Try card shows (corrections and built-in
steps; scripts and rewriting run only when dictating). Nothing is saved:
the agent changes the steps or vocabulary as for Edit with agent. The gate is
the Try card (`try_card` in [rune_ui/output.rs](../../src/rune_ui/output.rs)
reads `labs.output_fixes`), and both actions check it again. Off, the pane is
exactly as before. Checks:
`output_fixes_show_only_with_their_lab_and_fix_this_copies_for_the_sentence`
in [rune_ui/tests.rs](../../src/rune_ui/tests.rs) and
`fix_this_ends_edit_with_agents_prompt_with_the_sentence_and_its_result` in
[rune_ui/output.rs](../../src/rune_ui/output.rs). Not yet observed: the row
in a real window; the Labs page goldens need regenerating on Linux with the
new row (the Output goldens keep the toggle off and are unchanged).
Model in use first (`picker-active-first`, issue 1019, every OS): while on,
the speech model picker remembers the saved model when it opens, only if it
is installed (`Picker::in_use_first`, set in `picker::open`, cleared in
`close`), so the order never moves while the picker is open, even if another
model is chosen or prepared. Compare puts it in the first column and fills
the rest with the first models that speak the language, without it; a model
being prepared that the three leave out still takes the last column. Every
model moves it to the top of its group, and an import in use puts "Your
model files" above the language's group; with Labs › Sort and filter models
sorting By size or By name the list keeps that exact order, and By
recommendation leads with it. The gate is the ordering itself
(`picker::pinned` and `list_first` read the toggle; `compare::columns` and
`list::groups` take what they return); off, both views are exactly as
before. Checks: `the_model_in_use_is_fixed_while_the_picker_is_open` and
`without_model_in_use_first_nothing_is_pinned` in
[picker.rs](../../src/rune_ui/picker.rs),
`the_model_in_use_takes_the_first_column_only_when_pinned` in
[picker/compare.rs](../../src/rune_ui/picker/compare.rs), and
`the_model_in_use_leads_its_group_only_when_pinned` in
[picker/list.rs](../../src/rune_ui/picker/list.rs). Not yet observed: the
picker in a real window with the toggle on, or an import's group moving
(no automated check builds an import entry); the Labs page goldens need
regenerating on Linux with the new row.
Use model files where they are (`model-in-place`, issue 941, every OS): for
one speech model file shared by several accounts. While on, the speech model
picker's Every model header adds "Use model file where it is…" beside "Add
model file…"; the chosen GGUF is checked, hashed once, and recorded with its
path (`custom_models::add_in_place`), never copied
([own-models.md](own-models.md#use-a-model-file-where-it-is-labs)). The gate
is `model_import::in_place_on`, read when the button draws and again when the
dialog answers, before the worker starts. Off, the picker is exactly as
before. Checks:
`a_file_added_in_place_is_recorded_by_path_copied_nowhere_and_forgetting_leaves_it`
in [transcription/custom_models.rs](../../src/transcription/custom_models.rs);
`every_feature_is_off_by_default_and_round_trips` in
[labs.rs](../../src/labs.rs). Not yet observed: a real window or a second
macOS account; the Labs page goldens need regenerating on Linux with the new
row.
Downloaded models only (`picker-downloaded`, issue 1018, every OS): for
seeing which speech models take disk space and deleting unused ones. While
on, the speech model picker's All speech models view shows one row under its
header (below Sort and filter models' row when that Lab is on too): "Downloaded
models take <size>", the sum of the pinned sizes of every downloaded catalog
model and import whose file is in Hex's own models folder (files another app
downloaded, and imports added where they are, aren't counted), and a switch,
"Only downloaded models". The switch keeps only the rows the picker reads as
downloaded (catalog models, imports, and found catalog models in use) and
leaves out "On this computer"; each keeps its usual Delete (Forget for a file
used in place) with its confirmation. It is view state in
`rune_ui/picker.rs`, reset each time the picker opens; it saves nothing and
sends no request. When it hides the model being downloaded, a line outside
the results names it with its progress and Cancel. The gate is the picker
(`downloaded_on` in `shown_models`, the row, and `list::body`); off, the
picker is exactly as before. Not built: a button that shows the models folder
in the file manager, or choosing another folder for models. Checks:
`only_downloaded_models_keeps_the_installed_ones`,
`the_downloaded_total_adds_up_hexs_own_files`, and
`without_downloaded_models_only_the_picker_is_unchanged` in
[picker.rs](../../src/rune_ui/picker.rs);
`every_feature_is_off_by_default_and_round_trips` in
[labs.rs](../../src/labs.rs). Not yet observed: the row in a real window; the
Labs page goldens need regenerating on Linux with the new row.
Keep recordings (`keep-recordings`, issue 1032, every OS): for hearing a
dictation again through a different model.
```ts
Labs › Keep recordings on // labs.keep-recordings
├── Dictation saved to History -> its 16 kHz mono clip is written as a 16-bit
│ WAV, history-audio/<id>.wav beside history.json (folder 0700, file 0600)
│ ├── The gate: `Recording::keep`, read as each capture goes to the engine
│ │ (parakeet::submit on macOS, submit_capture on Windows and Linux)
│ ├── History Off, the local API's dictations -> no entry, no audio
│ └── Entries from before the toggle was on -> no audio
├── Retention, the 10,000-entry and text caps, Delete, Clear all -> the
│ entry's WAV is deleted at the next save (`recordings::sweep`)
├── Over 512 MiB of audio -> the oldest entries lose their audio, keep their text
├── History card, entry with audio -> "Saved recording" + "Transcribe again" menu
│ ├── Lists every available model installed for the language it would use
│ ├── A model that takes a language hint (not Parakeet v3/Ultra, GigaAM,
│ │ Granite, Bark) -> "<model> · Language: <saved language>" menu (Auto when it
│ │ detects, then its languages) + Transcribe; the language applies to
│ │ that run only, never to settings (#1068)
│ ├── Choose one -> "Transcribing with <model>…" on a worker: its own
│ │ transcription service, sharing the dictation engine's model when it is
│ │ the one chosen, yielding to dictation; otherwise loads a copy for the run
│ ├── Done -> "Transcribed again with <model>", the text, Copy, Replace
│ │ └── Replace -> the entry's text becomes it (processing record dropped),
│ │ with its model and chosen language; the audio stays; the old text
│ │ becomes the newest of at most 5 "Earlier versions" (#1177)
│ ├── Earlier versions -> each with its model, language, and age, Copy and
│ │ "Use this version" (swaps it back; the current text becomes a version).
│ │ Stored in the entry: they count toward the 16 MiB text cap and leave
│ │ with it (retention, Delete, Clear all); hidden while the toggle is off
│ └── Failed -> "Could not transcribe again: <why>"
└── Toggle off -> nothing new is saved and the menu hides; existing audio stays
until it expires or History is cleared
```
No playback yet. Off, History and dictation are exactly as before: no copy
of the clip is made. Checks: `a_kept_recording_is_an_owner_only_wav_that_reads_back`,
`recordings_leave_with_their_entries`,
`the_recordings_byte_cap_drops_the_oldest_audio_but_keeps_the_text`,
`a_recording_another_process_has_not_saved_yet_survives_a_sweep`,
`replacing_the_text_keeps_the_entry_and_its_recording`, and
`retranscribing_a_missing_recording_says_so` in
[history.rs](../../src/history.rs);
`transcribe_again_shows_only_with_its_lab_and_replace_updates_the_entry` and
`transcribe_again_offers_a_language_only_for_models_that_take_one` in
[tests.rs](../../src/rune_ui/tests.rs);
`keep_recordings_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs); the tests in
[history/versions.rs](../../src/history/versions.rs) (newest first, five at
most, switch back, text cap, Clear all). Not yet observed: a real dictation kept and
transcribed again with another model in a window, on any OS.
Hide menu bar icon (`hide-menu-bar-icon`, issue 1064, macOS): for people
who only use the shortcut and want the menu-bar space back. The status item
stays installed and is only hidden (`NSStatusItem` `setVisible`), so
dictation, the shortcuts, and the listener are unchanged. The gate,
`labs::hide_menu_bar_icon()`, is read when the item is installed and on each
menu-bar refresh (`status_item::update_meeting`, about twice a second), so
turning it on or off applies at once. A meeting starting, recording, or
transcribing brings the icon back, so a recording stays visible and
stoppable from the menu bar, and it hides again once the meeting ends; an
Annotate capture keeps its own capsule and doesn't bring it back. With the
Dock icon off too, a launch stays quiet, and opening Hex again from Finder
or Spotlight (the reopen Apple event) opens Settings, which has Quit Hex.
Off, the icon is exactly as before. Checks:
`a_hidden_icon_comes_back_while_a_meeting_is_under_way` in
[macos_rune/status_item.rs](../../src/macos_rune/status_item.rs) (macOS
only); `hide_menu_bar_icon_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs). Not yet observed: the icon hiding on a real
Mac, or macOS restoring an item's remembered visibility; the row renders
only in macOS builds, so no golden changes.
⌘Q closes Settings (`quit-closes-window`, issue 1473, macOS): for people who
press ⌘Q to put the Settings window away and expect dictation to keep running.
Only the app menu's Quit Hex item (⌘Q, `quitHex:` in the main menu) changes:
while the lab is on it closes the window, exactly as Close Window (⌘W) does, so
Hex hides the window, restores the Dock policy for a closed window, and keeps
listening. The gate, `labs::quit_closes_window()`, is read each time
`macos_rune::MenuTarget::quit_hex` runs, so turning it on or off applies at
once. The status item's Quit Hex (⌘Q in its own menu), AppKit's terminate (the
quit Apple event, logout, the Dock's Quit), `hex quit`, and `hex restart` still
quit and drain as before, and with the lab off ⌘Q quits exactly as it did.
Checks: `quit_closes_window_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs); the existing menu, close, and drain tests are
unchanged. The handler is compiled, clippy-linted, and covered by the macOS test
build in CI (the Check macOS run for #1480), but it is not yet observed on a
real Mac; the row renders only in macOS builds, so no golden changes.
Notch indicator (`notch-indicator`, macOS only): for MacBooks with a
notch, a recording indicator in the Dynamic Island's compact style that
reads as part of the Mac. It is not Dot scope: the notch keeps its height
and widens by `hud_placement::EAR_WIDTH` (34 pt) on each side, with fully
rounded bottom corners, and draws one SF Symbols–style glyph beside the
camera on each side in Apple's dark system colours (`ears` in
[rune_hud.wgsl](../../src/rune_hud.wgsl)):
```ts
Recording -> orange mic.fill (the colour macOS and iOS give a microphone in use)
+ five orange capsule bars that move with the voice (√ level)
Working -> the macOS 12-spoke spinner + the bars at rest with light running through them
Done -> a green checkmark pops in, held 700 ms (Dot scope's done stays 100 ms)
Failed -> red exclamationmark.circle.fill
Then -> the ears fold back into the notch; glyphs scale and unblur in and out with them
Reduce Motion -> the spinner, bars' wobble, and light hold still (Pose::clock stays 0)
```
The gate, `labs::notch_indicator()`, is read each time the HUD is placed on
the pointer's screen (`Hud::place_on_pointer_screen` in
[rune_hud/macos.rs](../../src/rune_hud/macos.rs)), so it applies from the
next dictation. `hud_placement::notch_placement` places `ears` only on a
screen whose `NSScreen` reports a notch, at either visible Settings position:
Top and Bottom both grow the island, while Hidden still hides the HUD. A flat
external display keeps honoring Top and Bottom, and with the lab off HUD
Lab's placement stands. Linux and Windows have no row,
`hex labs on notch-indicator` doesn't know it there, and `hex settings set
labs.notch_indicator` answers `unsupported` (as any `labs.` switch for
another OS now does). Checks: `ears_widen_the_notch_sideways_at_its_own_height`
and `the_notch_indicator_wins_at_top_or_bottom_but_still_needs_a_notch`
in [rune_hud/hud_placement.rs](../../src/rune_hud/hud_placement.rs);
`the_notch_indicator_holds_done_for_its_checkmark` in
[dictation/indicator.rs](../../src/dictation/indicator.rs);
`a_labs_switch_for_another_os_is_refused` in
[control/settings.rs](../../src/control/settings.rs);
`notch_indicator_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs); its frames render through the real shaders
with `HEX_HUD_EARS=1` and `rune_hud_frames`. Not yet observed: a real
dictation through the ears on a Mac with the lab on (`hex dev hud` drives
them in a debug build), and the failure glyph, which no render covers yet; the
row renders only in macOS builds, so no golden changes.
Screenshots (`screenshots`, macOS only, group Annotate): for people who
miss CleanShot's ⌘⇧4. While on, the shortcut (`screenshots.hotkey`,
default ⌘⇧4; the card's recorder changes it and refuses one another Hex
shortcut uses) opens a second copy of Annotate's capture picker
(`PickerOverlay::install_as` in
[capture_capsule/picker.rs](../../src/rune_ui/capture_capsule/picker.rs)):
```ts
⌘⇧4 -> the screen dims under a crosshair cursor, even while another app is frontmost;
│ a drag draws the area with its W × H beside the pointer, outside the area
├── Space -> window mode: a camera replaces the pointer and the window under it highlights;
│ Space again -> area
├── Click -> the whole display ("Full screen · Click to capture")
├── Escape -> closes it, nothing shot; Escape reaches no other app or Hex shortcut
└── Release -> shot at the display's own pixels (ScreenCaptureKit), Hex's overlays,
the picker, and the pointer left out
├── PNG (pHYs at the display's scale) -> "Hex Screenshot 2026-11-04 at 14.03.22.png"
│ in screenshots.folder (the Desktop when unset); a second shot that second gets " (2)"
├── clipboard -> the PNG and the file's URL, one pasteboard item
└── a card bottom right, 16 pt in, its corner concentric with the display's
(30 pt, a design constant), staying until it's closed (no timer):
an area or window shot grows in from exactly the rectangle captured, at that
size and place, and springs into its corner slot on one spring that never
overshoots its size; a whole-display shot or a recording slides in from past
the right edge on the HUD's spring; any card leaves past the right edge
(Reduce Motion: a fade either way); ✕ shows inside its top-left corner on hover
a dictation while cards show -> pastes as usual, being no shot's talk-over
a failure -> the error tone; there is no success sound (Hex has no shutter cue)
```
The cards stack in the corner as CleanShot's Quick Access Overlay does
(`screenshot_thumbnail.rs`, drawn by `screenshot_thumbnail/card.rs`):
```ts
cards
├── a new capture -> nearest the corner; the older cards rise above it, 12 pt apart, on the
│ HUD's spring (Reduce Motion: they move at once); once the stack would pass
│ the display's top, the oldest close. The stack follows the newest capture
│ to its display
├── click -> the editor; that card closes
├── drag -> the file, into any app
├── ✕ -> closes that card; the ones above it move down into its place
├── right-click -> Open in Editor, Copy, Show in Finder, Move to Trash, Close
└── keys, while the pointer is on a card (the session tap takes them; nothing gets focus)
├── ⌘C -> the file on the clipboard (a shot's picture with it); "Copied" on the card
├── ⌘S -> the file, already saved, shown in Finder
├── ⌘E -> the editor
├── ⌘W, Escape -> closes it
└── Return -> keeps it (it's saved) and closes the card
```
CleanShot's ⌘S saves the capture; every Hex capture is already saved,
so ⌘S shows it in Finder instead.
Every shot and recording the Lab saves is also listed in the Captures
pane ([captures.rs](../../src/rune_ui/captures.rs)), which sits under
History in the sidebar while the Lab is on. It is its own pane rather than
a part of History: its rows are pictures and movies with their own
actions, and History's retention menu and Clear all don't apply to them.
```ts
Captures
├── search -> every word in what was said over it, its file name, or its kind
├── rows -> newest first, the last 30 days, only files still where they were saved:
│ thumbnail · the words said over it (else the file's name) ·
│ "Screenshot · 2880 × 1800" or "Screen recording · 0:42" · its age
├── click -> the editor (a shot with its words; a recording to trim)
├── drag -> the file
├── hover -> Copy, Show in Finder, Move to Trash in the age's place
└── nothing yet -> "No captures yet." and what shows here
```
The list reads an owner-only index in Application Support
(`captures/index.json`, 0600 in a 0700 folder) with a 240 px PNG thumbnail
per entry beside it ([history/captures.rs](../../src/history/captures.rs)),
never the files themselves. A shot is remembered as it saves, a recording
once its movie is saved, and words said over a shot in the editor replace
its entry's words. Entries past 30 days or past 500 entries drop with
their thumbnails the next time one is added; each keeps at most 4 KiB of
words. Move to Trash (a card's or the pane's) forgets the entry. The
editor's Save makes a new file that isn't listed. Writes are atomic, and a
malformed index is kept aside as `index.json.corrupt`.
The last ten cards closed (by ✕, a key, the menu, opening the editor, or
the stack reaching the top) are kept in memory. The menu bar's Restore
Last Capture, shown while the Lab is on and dimmed until a card was
closed, brings back the newest of them, sliding in from the right edge
into the corner; one whose file is gone is skipped, and Move to Trash
keeps none. They don't outlast Hex.
The card's overlay is the whole display under the pointer, click-through
outside the card, so the card can start anywhere a shot was taken from.
A click on the thumbnail opens the editor
([screenshot_thumbnail/editor.rs](../../src/rune_ui/screenshot_thumbnail/editor.rs)), a panel
centred on the display under the pointer, the capsule's corners and
shadow, growing in on the HUD's spring (Reduce Motion: a fade). Its tools,
✕ and microphone are the kit's icon buttons (a picked tool filled, as a
capsule's expanded one is) and Copy, Save and Send to… are the kit's
buttons, so it reads as the rest of Hex. The shot
shows at no more than its own points. It stays until Escape or ✕:
```ts
editor
├── Pen, Arrow, Box, Text, Crop -> a drag on the shot draws in Annotate's red;
│ Text: a click, then type, Enter or Escape ends it;
│ Crop: a drag shades what's left out, a click clears it
├── ⌘Z -> the text being typed, else the last mark, else the crop
├── Copy (⌘C) -> the edited PNG on the clipboard
├── Save (⌘S) -> a new file in screenshots.folder; the first shot is never changed
├── Send to… -> a list of open OpenCode sessions (typing searches title, folder, id,
│ as Annotate's; ↑↓ Enter); the PNG goes to the session as an image,
│ with the words said over it as its text ("Screenshot" without any);
│ picked while a dictation goes, it waits for the words
├── dictation (the shortcut, or the microphone under the shot, which starts and finishes
│ one like `hex dictation toggle`)
│ -> talks over the shot: the words show under it (3 lines, then "…"),
│ each dictation's added; never pasted; ✕ beside them clears them
├── a drag on the panel's edge or the toolbar's gap -> moves it, kept on the display
└── Escape -> cancels a dictation over the shot (its words and a waiting send never
land; the panel stays), else ends the text, else closes the list,
else closes the editor
```
Talking over a shot
([screenshots/narration.rs](../../src/screenshots/narration.rs)) is the
shortcut's own dictation, on the loaded model and through the mode's
processing; only where its text lands changes. The listener asks at a
dictation's start whether the shot's editor is open, and at its finish hands
the transcript to that shot instead of pasting it, as
`hex dictation stop --print` does. The corner card never takes words: while
only it shows, a dictation pastes as usual. A short, silent, cancelled, or
failed clip lands nothing. Dictation never takes Escape, so the editor's
Escape cancels it through the listener.
The edited shot is drawn on the GPU at the shot's own pixels, the marks
as the editor draws them (an offscreen Rune view), then cropped; without
marks it's a plain crop. A note in the toolbar says Copied, Saved, or Sent
to…, or what failed. Sending writes the PNG to the temp folder and posts it
through the router's `send_image_to_session`, which Scrawl's copy of the
router doesn't have yet.
Left to do: no blur or highlight tool, colour or stroke choice, moving or
deleting a single mark, redo, or zoom; a shot larger than the GPU's
largest texture exports without its marks; Send lists sessions only, not
Annotate's rules; no Save as or drag out of the editor.
Recording the screen
([screenshots/recording.rs](../../src/screenshots/recording.rs)) needs
Annotate on (`capture.enabled`): a recording is an Annotate capture
(`CaptureCommand::Clip`) on capture-core's recorder, narrated from the
dictation timeline. Its shortcut (`screenshots.record_hotkey`) is unbound
until the drawer's Record screen row sets one (a key is required; the
trash button clears it); without Annotate the row says "Needs Annotate".
```ts
record shortcut -> the same picker, "Full screen · Click to record"; area, window (Space), or display
│ while an Annotate capture records -> nothing
├── recording -> Annotate's capsule shows it recording, as any capture; talk to narrate
├── record shortcut again (or the capsule's stop) -> stops; the capsule folds unless it failed
│ ├── the movie saves itself: "Hex Recording 2026-11-04 at 14.03.22.mp4" in
│ │ screenshots.folder (the Desktop when unset), " (2)" on a clash, as a shot's
│ │ PNG does; a clone of Annotate's copy, so instant on one volume. A failed save
│ │ plays the error tone and the card shows Annotate's copy
│ ├── no clipboard, no router: nothing is sent or copied on its own
│ └── the corner card, from the first frame, its length in a pill
│ click -> the editor; drag -> the saved movie; a dictation never lands on it
└── editor -> the saved movie's frame above a filmstrip of 12 frames; a drag on the strip
moves the nearer end of the span kept (never under 0.5 s) and shows the frame
there; the words said inside the span under it, read-only; no marks, no Copy
├── Save -> another "Hex Recording … .mp4" in screenshots.folder,
│ copied whole or cut without re-encoding (`scrawl-helper trim`)
└── Send to… -> a contact sheet of up to 4 frames in the span as the image,
the span's words and "Screen recording (m:ss): <movie>" as text,
the saved movie itself when nothing was cut
```
The recording's bundle stays Annotate's (`~/Library/Application
Support/scrawl/captures/<id>.scrawl`), and Annotate's retention may trash
its movie; the saved copy is the one the card, the editor, and a drag use.
Annotate's own captures are not saved anywhere new.
Checks: `the_record_shortcut_records_and_never_while_the_picker_shows` in
[screenshots.rs](../../src/screenshots.rs),
`a_recording_saves_beside_the_shots_and_never_over_one` in
[screenshots/recording.rs](../../src/screenshots/recording.rs),
`a_stopped_screenshot_recording_folds_the_capsule` in
[capture_capsule/feed.rs](../../src/rune_ui/capture_capsule/feed.rs), the
trim, words, sheet, and no-marks tests and the `trim` editor golden in
[screenshot_thumbnail/editor/tests.rs](../../src/rune_ui/screenshot_thumbnail/editor/tests.rs),
and the `recording` thumbnail golden. Not yet observed: a real recording
on a Mac, its card, trimming and saving a movie, and a session receiving
a sent recording. Left to do: no playback in the editor, no audio-only or
GIF export, and the recording shows no countdown.
The shortcut is taken in Hex's session tap (`screenshots::key`, called
from [suppression.rs](../../src/suppression.rs) before the listener's
own handling), never by the listener, and its press and release stay with
it. With the lab off the tap returns at once and nothing is made: no
picker window, no thumbnail, no work. Screen Recording is Annotate's: a
press without it shows Annotate's permission helper instead of the
picker.
The picker is a non-key overlay, so Hex is usually not the frontmost app
while it shows, and macOS ignores a background app's cursor. Hex builds
Rune with `macos-background-cursor`, which sets WindowServer's private
`SetsCursorInBackground` property so the picker's crosshair (and Window
mode's hidden arrow under the drawn camera) shows over any app. It is a
private API, acceptable because Hex isn't sold through the App Store; if a
macOS release drops the property, Rune skips it and the cursor shows only
while Hex is frontmost. Checks: `the_badge_stays_on_the_display` in
[capture_capsule/picker.rs](../../src/rune_ui/capture_capsule/picker.rs).
Not yet observed: the cursor over another frontmost app on a real Mac.
macOS matches its own screenshot shortcuts (Keyboard Shortcuts ›
Screenshots, ⌘⇧4 among them) in the window server before any app's event
tap, so while that system shortcut is on, Hex never sees the press. Hex
reads `com.apple.symbolichotkeys` (`screenshots::system_shortcut`) and,
when the system takes Hex's chord, the card says so with Open Keyboard
Settings, which opens that pane; turning macOS's shortcut off, or
choosing another chord, hands it to Hex.
`hex screenshot` shoots the whole display under the pointer and prints the
file's path; `hex screenshot --pick` opens the picker instead
([cli.md](../cli.md)). With the lab off it answers `disabled`; Linux and
Windows answer `unsupported`.
Checks: `the_shortcut_opens_the_picker_and_its_release_stays_with_it`,
`a_held_shortcut_opens_one_picker`,
`escape_and_space_belong_to_the_open_picker_only`,
`other_keys_and_other_chords_pass`, `recording_a_shortcut_takes_nothing`
and `a_large_shot_shrinks_for_its_thumbnail` in
[screenshots.rs](../../src/screenshots.rs); the file name, the second
file in one second, and the PNG's density in
[screenshots/save.rs](../../src/screenshots/save.rs); the system shortcut
read in [screenshots/system_shortcut.rs](../../src/screenshots/system_shortcut.rs);
`thumbnail_goldens` (rest, hover, a recording's length, and three stacked,
light and dark), a card staying until closed, the stack's slots, the
oldest closing at the top, keys reaching only the hovered card, and
Restore bringing back the card closed last but never a trashed one in
[screenshot_thumbnail/tests.rs](../../src/rune_ui/screenshot_thumbnail/tests.rs);
`a_hovered_card_takes_its_keys_and_only_then` in
[screenshots.rs](../../src/screenshots.rs);
`editor_goldens` (marks, the Send to… list, and words while a dictation
records, light and dark), the layout and the words row's height, words
landing only while transcribed, Escape dropping them and a waiting send, a
waiting send going once they land, each tool's drag, text, undo, the
list's search, and both exports
(`an_export_draws_the_marks_over_the_shot` renders on a GPU, skipping
without one) in [screenshot_thumbnail/editor/tests.rs](../../src/rune_ui/screenshot_thumbnail/editor/tests.rs),
and the mark model in [screenshot_thumbnail/editor/marks.rs](../../src/rune_ui/screenshot_thumbnail/editor/marks.rs);
`screenshots_is_its_own_bit_and_off_by_default` in [labs.rs](../../src/labs.rs);
the index's order, reopen, owner-only modes, search, window, caps, forgetting,
words, and a malformed file in [history/captures.rs](../../src/history/captures.rs);
the Captures pane as the `captures` golden (light and dark) and
`--scene captures-empty`;
its card renders as `--scene mac-labs-screenshots`; the card's entrance
and the stack's motion are `thumbnail_frames` (`HEX_SCREENSHOT_FRAMES`
writes them at 60 fps).
Not yet observed: the card keys and right-click menu on a real Mac, the
Captures pane over a real index (its thumbnails decoding, a drag out, Copy,
and Move to Trash), a
real ⌘⇧4 on a Mac (with macOS's shortcut off), a shot of each kind, the
clipboard paste, the thumbnail's drag, the editor on a real display
(its keys, Copy, Save, and a session receiving a sent shot), talking over a
shot with a real shortcut and microphone, the card growing in from a real
capture rectangle, and whether a session
tap can ever see ⌘⇧4 while macOS's shortcut is on (inferred from how
symbolic hotkeys are dispatched, not tested). The row renders only in
macOS builds, so the settings goldens don't change.
Annotate 15 s replay (`annotate-replay`, macOS 27+ only, group Annotate): keeps
a rolling 15-second display buffer through `SCClipBufferingOutput` (resolved
at run time through Objective-C, so macOS 26 and earlier neither link nor
list it) while both `labs.annotate_replay` and `capture.enabled` are on and
Screen Recording is granted. Because an active `SCStream` feeds `replayd`,
macOS shows its purple screen-recording indicator the whole time the lab is
on, which the Labs store card states plainly. `hex capture replay` (or a tap
on `capture.replay_hotkey`, unbound by default and recordable in
Settings › Annotate) exports the last 15 seconds into a normal
`.scrawl` bundle; holding `capture.replay_hotkey` (≥ 300 ms) freezes the clip
at the press and records microphone narration shifted onto the bundle clock
after it. Details, checks, and live macOS 27.0 measurements:
[capture.md](capture.md) (`capture.replay`) and
`annotate_replay_is_its_own_bit_and_off_by_default` in [labs.rs](../../src/labs.rs).
The row renders only on macOS 27+, so Linux goldens don't change.
Movable meeting capsules (`movable-meeting-capsules`, issue 1093, macOS
like Meetings; its row shows wherever Meetings does, in macOS builds): for
panel capsules that sit over another app's window controls or toolbar. The
gate, `labs::movable_meeting_capsules()`, is read each time a panel capsule
shows (`MeetingCapsules::show_panel` in
[rune_ui/meeting_capsules.rs](../../src/rune_ui/meeting_capsules.rs)). While
on, the panel (offer, reminder, left the call, Meeting transcript ready,
Recording automatically) opens in the saved
`meetings.recording_indicator_corner` and its body drags like the recording
capsule's: it follows the pointer, snaps to the corner nearest its centre
(measured with its own width) on release, and saves that corner, which the
recording capsule then uses too. A press on a button still presses it, and a
cancelled drag (Escape) goes back without saving. Off, the panel opens in
the top right and doesn't drag, exactly as before. Not built: clicks passing
through the panel outside its buttons. Checks:
`a_released_panel_snaps_by_its_own_size`,
`each_corner_places_the_panel_at_its_edges`, and
`only_a_movable_panel_drags` in
[rune_ui/meeting_capsules.rs](../../src/rune_ui/meeting_capsules.rs);
`movable_meeting_capsules_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs). Not yet observed: a drag on a real Mac; the
row renders only in macOS builds, so no golden changes.
Choose meeting summary model (`meeting-summary-model`, issues 1107 and 1160)
graduated: Meetings › Settings › After a meeting › Summaries picks Off, On
this Mac, or OpenCode, with OpenCode's Model nested under it
([meetings.md](meetings.md)). Its bit (1 << 24) stays unused.
Vocabulary in meeting notes (`meeting-notes-vocabulary`, issue 1154; every
OS with Meetings; its row shows wherever Meetings does): for names and terms
spelled right in a meeting's final title and summary, as live chapters
already do. The gate, `labs::meeting_notes_vocabulary()`, is read at each
final notes generation (`summarize_claimed` in
[meeting/notes.rs](../../src/meeting/notes.rs)), so automatic notes and
Regenerate summary both use the vocabulary as it is then. While on, the
prompt starts with live chapters' line, "Names and terms that may appear:"
and up to 30 terms (`chapters::vocabulary_line`), ahead of the calendar
event and the transcript; its length comes out of the excerpt budget like
the calendar's. Provisional titles while recording are unchanged. Off, or
with an empty vocabulary, the prompt is exactly as before. Not built: a
per-meeting context field, or adding terms to retranscription. Checks:
`vocabulary_terms_lead_the_notes_prompt_and_share_its_budget` in
[meeting/notes.rs](../../src/meeting/notes.rs);
`every_feature_is_off_by_default_and_round_trips` in
[labs.rs](../../src/labs.rs). Not yet observed: real notes written with the
toggle on; the Labs page goldens that show Meetings rows need regenerating
with the new row.
Process API transcripts (`api-processing`; every OS; its row is Output's): for
a host app that wants what a person would paste, not just the raw transcript.
While on, the authenticated local API's `POST /transcriptions` and
`POST /streams/{id}/finish` accept `process=global` (`true` and `1` are
aliases); the response keeps its existing fields and adds `processed`, the
text after exactly what a paste with no matching app or website mode gets:
global replacements, Global mode corrections, the optional OpenCode rewrite,
and Global's selected transformations
([streams.md](../streams.md#post-streamsidfinish),
[local-transcription-service.md](../specs/local-transcription-service.md)).
The context is `ContextSnapshot::default()`, so no app or website mode
applies, and the transform `source` is `dictation`. It never pastes, writes
History, updates Paste Last, or touches the clipboard, and like a paste it is
best-effort: a failed stage keeps its input and the call still succeeds.
An absent parameter leaves the response byte-for-byte as before. Any other
value, or a repeated parameter, is `400 invalid-request`. A process with no
installed processor, such as `hex service` or `--embedded`, answers `409
processing-unavailable` even while the lab is off; with a processor installed
and the lab off, `process` answers `403 processing-disabled`. These are decided
before `/transcriptions` reads the audio body and before `/finish` finishes
the stream; a refused `/finish` leaves the stream running. Processing runs one
at a time across the local API, so a request that arrives while another holds
the slot answers `429 queue-full`; the slot is released when the run ends,
fails, or is interrupted. `GET /capabilities` always includes `outputProcessing`,
true only with the lab on and a processor installed. `API_VERSION` stays `2`.
Processing stops at its next stage boundary when Hex quits: the API's shutdown
flag is passed through as the pipeline's cancellation flag. On macOS, custom
transformations are skipped until Hex finishes setup and its listener starts,
because they use the recognition loop's transformation client; this is
best-effort like every other processing stage, so the response still succeeds
with the text the stages before them produced.
The running app installs one processor built from its dictation pipeline:
macOS reads the live profiles snapshot in
[dictation/config.rs](../../src/dictation/config.rs) and the recognition
loop's transformation client; Linux and Windows read the listener's live
`ModeRuntime` and transformation client. Both are the objects settings saves
already update, so edits and the personal-commands approval gate apply
without a restart, and processing keeps its existing deadlines. The seam is
`Processing` in [local_api/processing.rs](../../src/local_api/processing.rs),
passed through `LocalApiOptions` like `control` and `dictation_control`.
`hex service` installs none. Checks: `local_api::processing` route tests cover
the 409 for a missing processor and the 403 before the body, invalid and
repeated values, the aliases, `429 queue-full` while one run holds the slot,
`processed` present with the existing fields unchanged, absent responses, and
`outputProcessing`; `api_processing_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs). Not observed: a real `/transcriptions` success
needs an installed model, so its `processed` field is covered through the
shared seam and the `/streams` finish route rather than an end-to-end
transcription; nothing ran on macOS or Windows.
Meeting finished event (`meeting-finished-event`, issue 964; every OS with
Meetings; its row shows wherever Meetings does): for a companion app that
processes a meeting once its transcript is ready, without watching the
meetings folder or polling `hex meetings list`. While on, the local API's
authenticated `GET /meetings/events` is a server-sent event stream that
sends `{"type":"meeting.finished","id":"<id>"}` once per meeting, after
its final transcript and Markdown are written and the manifest says
`complete` (`record` after Stop, or `finish_pending` for a meeting Hex quit
while recording), with a `: keep-alive` comment every 15 s
([streams.md](../streams.md#meeting-finished-events-get-meetingsevents-labs)).
Only the id is sent, never a title, path, transcript, or audio, and nothing
leaves the computer; the client reads the meeting with `hex meetings show
<id>`. One subscriber at a time (a second answers `409 subscriber-busy`), so
it holds at most one of the four HTTP workers. The gates are
`labs::meeting_finished_event()`, read where the route starts (off: `404
labs-off`), on each 250 ms pass of an open stream (off ends it), and where
`meeting::finished_events::publish` is called; with it off, or with nobody
subscribed, nothing is queued or kept. A failed final pass sends nothing. A
client that was offline catches up by subscribing, then listing from its saved
cursor and deduplicating by id (at least once;
[streams.md](../streams.md#catching-up-after-being-offline)). Not
built: the webhook with audio upload, retries, or a command run on finish
that the issue also asked for. Checks:
`a_finished_meeting_reaches_the_one_subscriber_as_its_id` and
`nothing_is_sent_or_kept_while_the_toggle_is_off` in
[meeting/finished_events.rs](../../src/meeting/finished_events.rs);
`a_finished_meeting_is_streamed_as_its_id_to_one_authenticated_subscriber`
in [local_api/meeting_events.rs](../../src/local_api/meeting_events.rs)
(unauthenticated 401, `labs-off`, one subscriber, the event, the toggle
ending the stream); `meeting_finished_event_is_its_own_bit_and_off_by_default`
in [labs.rs](../../src/labs.rs). Not yet observed: a real recorded call
sending the event, on any OS; the Labs page goldens that show Meetings rows
need regenerating with the new row.
Expire meeting audio separately (`expire-meeting-audio`, every OS with
Meetings; its row shows wherever Meetings does): meeting WAVs are most of a
meeting's disk use, and people asked to keep the text longer than the audio.
While on, Meetings › Settings shows **Keep audio** under **Keep meetings**
with Follow Keep meetings, 24 hours, 7 days, 30 days, and Forever; the choice
persists as `meetings.audio_retention` (omitted while unchosen, like
`meetings.retention`). Follow Keep meetings, or no choice, means audio follows
the whole-meeting retention, exactly as today. A chosen window at or beyond
Keep meetings has no effect: the whole meeting expires first and takes its
audio with it. Chosen, the meeting controller
runs a second pass after the whole-meeting one at launch, hourly, and soon
after either retention or the lab changes: a Complete meeting (its final
transcript published), with no `final.pending`, no recorder lock, and no notes
being written, whose age from `ended_at_ms` (else `created_at_ms`) is strictly
past the audio window moves only `system.wav` and `microphone.wav` to the
platform Trash and records `audio_removed_at_ms` in the manifest. The
transcript, rolling drafts, notes, summary, and exported Markdown stay;
Interrupted, Failed, Starting, Recording, Transcribing, and pending meetings
keep their audio for a later pass; Forever, an unchosen window, or the lab off
moves nothing. The row shows while the lab is on, and the pass reads
`app_settings::meeting_audio_retention()`, which returns the saved value only
while `labs::expire_meeting_audio()` is on. A meeting whose audio is gone still
lists, opens, searches, exports, and copies its text; `hex meeting transcribe`
and `hex meeting echo` (debug) fail saying its audio was deleted without
changing its status. Checks:
`separate_audio_expiry_covers_only_finished_meetings_older_than_it`,
`audio_expiry_moves_only_the_wavs_and_records_it`, and
`audio_expiry_leaves_unfinished_pending_locked_or_annotated_meetings` in
[tests.rs](../../src/meeting/tests.rs);
`a_separate_audio_retention_needs_its_lab_and_a_choice` in
[meetings.rs](../../src/app_settings/meetings.rs);
`expire_meeting_audio_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs); `keep_audio_shows_with_its_lab_and_saves_its_window`
in [tests/panes.rs](../../src/rune_ui/tests/panes.rs);
`every_persisted_setting_has_a_cli_key` in
[control/settings.rs](../../src/control/settings.rs). Not yet observed: a real
pass moving WAVs to a real Trash. The Labs page goldens (`mac-labs`,
`windows-labs`, `linux-labs`) show the new card.
Descriptive meeting file names (`meeting-descriptive-filenames`, every OS
with Meetings; its row shows wherever Meetings does): an exported meeting
Markdown is named `<YYYY-MM-DD HHMM> <title>.md` in the user's meeting folder.
By default that name is written once at export and kept. While on, after the
notes are applied to the file (final title and summary), after chapter
refinement changes the title, and after a user rename, Hex renames it in place
to the same date and time prefix and the new display title, sanitized exactly
as export does. The date and time prefix is kept from the file's own name
while it starts with `YYYY-MM-DD HHMM`, so a timezone change does not shift
it. It renames only the file the manifest's `export_path` names, only while it
exists, and only when the name differs; its own file never counts as a
collision (the same device and inode, so a case-only title change on macOS is
not one), so a taken name gets the first free `" (2)"` … with no copy or
overwrite. `std::fs::rename`
in the same folder is atomic, then the manifest is written as usual, so
Reveal, Delete to Trash, and retention follow the new path.
`export_sha256` stays as it was: a rename does not change the bytes, so
retention still recognizes Hex's copy and still protects one the user edited.
A missing file, an unchanged name, or a failed rename logs and keeps the old
path; notes and rename never fail because of it. If Hex stops between the file
rename and the manifest write, the manifest keeps the old path: Reveal falls
back to the recording folder and the Markdown stays in the folder untouched.
A user rename while notes are being written leaves the file name to the notes
writer, which renames it with the title it applies. Checks:
`the_file_name_follows_the_title_and_keeps_the_date_and_time`,
`a_rename_keeps_the_stamp_export_wrote`,
`only_a_leading_date_and_time_stamp_is_kept`,
`the_same_file_under_another_spelling_is_not_a_collision`,
`a_taken_name_gets_the_next_number_without_overwriting`,
`a_numbered_current_name_stays_when_the_plain_name_is_taken`,
`a_title_with_no_name_left_falls_back_to_meeting`,
`a_missing_or_unchanged_name_renames_nothing`, and
`the_lab_gate_off_leaves_the_file_alone` in
[meeting/export_name.rs](../../src/meeting/export_name.rs);
`a_rename_follows_the_title_when_descriptive_file_names_are_on` in
[tests.rs](../../src/meeting/tests.rs);
`notes_rename_the_export_only_with_descriptive_file_names` in
[meeting/notes.rs](../../src/meeting/notes.rs); and
`meeting_descriptive_filenames_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs). The Labs page goldens (`mac-labs`, `windows-labs`,
`linux-labs`) show the new card. Not yet observed: a real macOS end-to-end run
renaming an exported meeting file.
Meeting platform icons (`meeting-platform-icons`, issue 1290) graduated:
each recording in the Meetings list always shows its call service's icon, or
a neutral one ([meetings.md](meetings.md)). `hex labs on|off
meeting-platform-icons` still answers with that and exits 0
(`labs::GRADUATED`); the saved `labs.meeting_platform_icons` key is ignored.
Normal features, not Labs: dictation, Annotate (every build; its own pane
and switch), lowering audio while dictating (#210), Dot scope, chord shortcuts, QuickJS transformations, clipboard
restore (Labs › Keep dictation on clipboard skips it on macOS and Windows), the
vocabulary list itself (rewriting and search), and Linux's Terminal paste.
## Features
- Live chapters: chapter a meeting's transcript live while it records
(macOS, Apple Intelligence; see
[Live Chapters](meetings.md#live-chapters-labs)). Its own switch is
`labs.live_chapters` (off by default). The gate,
`labs::live_chapters()`, is where the work starts: the recorder's chapter worker, recording
chapters in the manifest, and the boundary pass after Stop.
- Run setup again (not a feature toggle; every build): replays Hex's one
onboarding, the first-run story every new install gets
([setup.tour](README.md)). Labs' **Run setup again** and
`hex onboarding reset` (macOS control socket, the Linux service socket,
and a named event on Windows) forget that onboarding finished
(`desktop::onboarding::reset_at`) and open it from the start without
touching settings, history, models, or permissions; ready pages pass at
once. Checks: `labs_run_setup_again_opens_the_first_run` and
`run_setup_again_opens_the_first_run_on_linux_and_windows` in
[panes.rs](../../src/rune_ui/tests/panes.rs).
- Live text: a streaming dictation shows what you have said so far while
you dictate, as one click-through line just past the recording HUD (every
OS; see [Streaming Finish](dictation.md#streaming-finish)). Off macOS the
line is placed with the HUD's own edge placement (`OverlayHandle::place`),
so with the HUD at the bottom it sits above the pill and the Windows
taskbar rather than under the pill (#797; not yet observed on Windows).
Its toggle
is `labs.live_text` (off by default), asked as each dictation starts. The
gate, `labs::live_text()`, is where the work starts: with it off, the engine gives a hotkey capture's
live stream no partial slot and never reads the model's text between
feeds, and no host adds the line's overlay. Each dictation's `finished
live stream` line in process.log counts its text changes (`partials`);
`RUST_LOG=hex=debug` adds a `live text` line per change with the audio
fed and the word counts, never the words. Checks:
`a_dictation_stream_publishes_its_text_after_each_feed_with_live_text`,
`without_live_text_a_dictation_stream_publishes_nothing`,
`each_dictation_stream_has_its_own_text`, and
`a_failed_feed_clears_the_text_and_stops_publishing` in
[transcription/engine.rs](../../src/transcription/engine.rs);
`live_text_follows_the_recording_and_never_outlives_it` in
[dictation.rs](../../src/dictation.rs); the three tests in
[dictation/live_text.rs](../../src/dictation/live_text.rs) (a recording's end clears only its
own text); `a_spot_places_the_plate_just_past_the_hud`,
`a_short_line_hugs_its_words_in_the_middle`,
`a_long_line_stays_inside_the_overlay_on_one_line`, and
`no_words_draw_nothing` in
[rune_ui/live_text.rs](../../src/rune_ui/live_text.rs), whose opt-in
`snapshots` renders the line in light and dark; and
`live_text_hangs_just_past_the_plate_wherever_it_sits` in
[rune_hud/hud_placement.rs](../../src/rune_hud/hud_placement.rs). The line has no golden
and no `--snap` scene (overlays have none), and nothing headless checks
how it appears and hides on screen.
- Failure notices: when a dictation fails, the same click-through plate that
carries Live text shows why for about 6 seconds, or until the next capture
starts. It reuses the Live text overlay's window, placement
(`rune_hud::live_text_place`), and plate styling; the HUD's own coral failure
flash and its 600 ms stay exactly as they were. The reason travels with the
HUD's failure event, so no old failure is replayed from the event log at
launch. Known microphone causes use the same actionable wording as Settings'
listener card; any other failure keeps its logged message, truncated to one
line. The gate is `labs::failure_notices()` (toggle
`labs.failure_notices`, off by default), read when each failure reaches the
HUD; with it off, no notice is drawn. Every OS shows a notice for a failed
accepted job. Windows and macOS also show one when the microphone fails to
open. On Linux, notices cover failed transcriptions only: a microphone-open
failure never reaches its HUD today. A job failure that arrives while a newer
capture records is skipped. Checks: `a_failure_notice_lasts_six_seconds`,
`a_new_capture_dismisses_a_failure_notice_at_once`,
`only_a_notices_own_deadline_dismisses_it`,
`a_failure_arriving_after_a_queued_words_end_stays_visible`, and
`a_failure_notice_takes_the_plate_from_the_live_words` in
[rune_ui/live_text.rs](../../src/rune_ui/live_text.rs), and
`failure_notices_is_its_own_bit_and_off_by_default` in
[labs.rs](../../src/labs.rs). Proof limit: the timing and Labs gate are
unit-tested; the overlay was not observed on screen on macOS or Windows.
- Live typing: on a wlroots-family Wayland session, a hotkey dictation's
provisional words are an underlined input-method preedit in the focused
text field, replaced on each update, and its final text is committed
through `zwp_input_method_v2` instead of the clipboard paste
(`labs.live-typing`; the toggle is `labs.live_typing`, off by default, Linux
only, and its card is hidden in an X11 session). It is read at the hold
threshold, or at the Toggle press, never for a Local API
dictation, `/streams`, or Voice Action; the final text still goes through
Output's processing, and History and Paste Last update as they do for a
paste. Hex creates the input method when the capture becomes intentional
(the hold threshold, or at once in Toggle) and destroys it at Finish or
Cancel, including post-release processing, so short taps and chords create
none and another input method keeps the seat while Hex is idle. A newer
capture's Begin takes over from an older job, which then pastes. A CPU
engine or a model that cannot stream shows no provisional words while
speaking; the final text still commits through the input method. Hex's own
first-run practice field on Linux is an ordinary focused field, so it
receives the preedit and commit too while Live typing is on. It falls back
to today's paste when the compositor has no
`zwp_input_method_manager_v2` (KWin and Mutter do not offer it, so KDE and
GNOME paste), another input method holds the seat (`unavailable`), the
field has no active text input, the final text is multi-line or over 4000
bytes, or the 350 ms decision passes without a commit: a caller that wins
the abandonment waits up to 250 ms for the preedit to clear and then
pastes even if the compositor never answered, while a commit the owner
already claimed is given up to 750 ms and is never pasted over. After an
abandoned Finish, Live typing starts no new captures and pastes instead
until Hex restarts; a session that had already begun still finishes and
cancels. The claim is one atomic Pending → Committing or
Pending → Abandoned change, so only one side wins. A residual Wayland race
can still let a `done` event arrive after the serial is read; that
preedit or commit is then ignored by the compositor. A commit ignored for
a stale serial has already returned “inserted”, so that dictation is lost
rather than pasted (wlroots does not enforce the serial today). The
plate stays off unless Labs › Live text itself is on: a Live typing capture
takes `dictation::live_text::TypingDemand` at that same intentional start,
before the stream opens, so the engine sees it but the plate does not, and
the plate decision is stored once when the stream opens. Checks in
[linux/live_typing.rs](../../src/linux/live_typing.rs):
`provisional_words_become_one_preedit_line`,
`a_preedit_stops_at_a_character_boundary`,
`only_one_line_text_within_the_limit_commits_through_the_input_method`,
`the_cursor_sits_after_the_preedit`,
`done_events_number_the_commit_serial_and_apply_activation`,
`the_owner_wins_the_commit_before_queueing_it`,
`a_waiting_caller_wins_abandonment_before_the_owner_claims`,
`a_started_session_cancels_when_dropped`,
`a_session_that_never_started_sends_nothing`,
`finishing_a_session_never_sends_cancel`,
`only_the_newest_preedit_waits_and_it_wakes_once`,
`a_full_control_queue_stops_new_sessions_but_not_old_ones`, and
`a_stopped_owner_still_finishes_and_cancels_a_session_that_began`;
`a_typing_demand_feeds_the_engine_without_wanting_the_plate` in
[dictation/live_text.rs](../../src/dictation/live_text.rs); and
`the_plate_follows_the_decision_made_when_the_stream_opened` in
[dictation.rs](../../src/dictation.rs). **Not verified
on a real compositor**: only unit tests and the build, plus the Linux Labs
golden's new card.
- Playground: Rune's playground in the window (every OS), `labs.playground`
(off by default, applied at once). While on, a **Playground** sidebar item,
⇧⌘D (View › Playground on macOS), or Ctrl+Shift+D swaps the window for a list of
folded groups, nested by path:
```ts
Prototypes stories that aren't the window
├── Onboarding the options and First run
├── Meetings Live notes: a canned call's chapters and notes under a
│ draggable capsule, hidable, copied whole, new, or by
│ chapter (nothing real runs; live_notes.rs)
├── HUD (macOS) each placement × look × ending, Processing, Your voice + live HUD Lab Dot scope sliders & Save
└── Capture capsule (macOS) whole flow and each state × flow, notch, family
Window every macOS-window fixture scene by pane, under a readable name
├── General Settings, Microphone missing, Shortcut/…, Updates/…
├── Output, Modes … HUD Lab, Activity, Transcription model, Shortcut explainer, Onboarding
Linux & Windows the portal and Windows fixtures
```
Every group starts folded; opening a story, from the list or a link,
unfolds the groups above it, and folds hold until Hex quits. The list
keeps only its own keys (arrows, Return, J/K, a story's trigger letters,
Tab, Esc, `/` to filter) and ⇧⌘D; every other key, ⌘-chords and digits
included, reaches the open story. Each
story starts from a fresh fixture; the real window keeps running
underneath. With it on at launch, the macOS window resizes, so the stage
beside the playground's columns has room. Off, no shortcut, menu item,
sidebar item, or link opens it.
Headless renders take `--playground [story]` while it is on, e.g.
`hex app -- --snap out.png --playground "Window/General/Settings"`. Checks: `every_scene_but_live_has_a_path_under_a_group`,
`the_playgrounds_keys_work_with_a_story_open`, and
`a_scene_opened_from_the_list_hears_command_digits` in
[playground.rs](../../src/rune_ui/playground.rs).
First run's side controls tune rise, leave, travel, stagger and keyboard
arrival; Quick motion and Gentle motion are presets. The real first run
uses the default values from
[landing.rs](../../src/rune_ui/onboarding_kit/landing.rs): zero-bounce
vertical entrances/exits, with each stagger delaying the whole entrance.
The demonstration's second send removes its input field in the same layout
change, so the card contracts once while the old field fades inside it.
Polling follows the display clock; the scripted HUD samples between 60 Hz
frames, the download HUD advances one retained simulation, and the microphone
bars follow the level continuously. A real press keeps the waiting HUD open;
completion collapses it until another press. The compositor draws a waveform
per effect slot, retaining an outgoing page's waveform through its fade. The
`the_hud_advances_between_sixty_hertz_frames` regression checks different
half-frame poses, and
`pressing_keeps_the_waiting_hud_open_and_completion_stays_gone` checks the live
HUD on a virtual clock. A headless story recording does not prove native display
pacing or a real permission grant.
On macOS a story opens from a link or the CLI:
```ts
open 'hex://story/prototypes/hud/notch?variant=pulse-fail&play=1' // hex-test:// in Hex Test.app
open 'hex://story/prototypes/capture-capsule/suggestions?variant=toast'
hex window story Prototypes/HUD/Processing [--variant 2] [--play]
├── the window opens on the story: its path, name, or slug, `/` or `-` between groups and name
├── a link from before the groups nested (`hud/processing`, `General/mac-settings`, `mac-settings`) → that story now
├── variant=<n|name> → that variant
├── play=1 → its `r` trigger runs, as pressing R does
├── playground off → only the window opens; process.log says why, the CLI answers feature-off
└── another link, or longer than 2 KiB → ignored and logged
```
An unknown story opens the list and an unknown variant the story; Rune
logs which to stderr. Checks: `reads_story_links`, `links_from_before_the_list_nested_still_open_their_story`, `ignores_other_links`
in [story_link.rs](../../src/rune_ui/story_link.rs);
`every_hud_story_and_variant_opens_from_its_link` and
`every_capsule_story_and_flow_opens_from_its_link` in
playground.rs open every HUD and capsule link headlessly. The URL
handler and the replay have no automated end-to-end check.
- Voice Filter: the Voice Filter pane (macOS and Linux), the only home of
the Hex Microphone (macOS's driver, Linux's PipeWire virtual source), its
filter modes, and Try it
([Hex Microphone](README.md#experimental-hex-microphone-and-voice-filter)).
Its toggle is `experimental.hex_microphone` (off by default). Off, the pane
is hidden and Hex neither reads the driver's status nor starts its sink
supervisor. While the driver is installed the Voice Filter runs (apps using
the Hex Microphone keep their audio), its pane shows, and its Labs row is
on and disabled: "On while the Hex Microphone driver is installed.
Uninstall the driver in Voice Filter to turn it off." Checks:
`voice_filter_shows_only_while_its_labs_toggle_is_on` and
`an_installed_driver_keeps_the_voice_filter_on` in
[panes.rs](../../src/rune_ui/tests/panes.rs);
`the_setting_or_an_installed_driver_turns_the_voice_filter_on_and_labs_never_does`
in [app_settings.rs](../../src/app_settings.rs).
- Meetings (beta): see [Meetings](meetings.md). Its toggle is
`meetings.enabled`; on, Meetings is a top-level sidebar item (debug builds
keep it available regardless).
- Import audio (macOS): Meetings offers **Import audio…** beside Start
recording. A local WAV, M4A, MP3, AIFF, or CAF file is decoded to 16 kHz
mono float WAV by the AVFoundation bridge, then transcribed with the
selected speech model as a normal meeting: its turns are labelled Speaker,
it gets the user Markdown export, and notes and summaries run afterward when
the meetings setting asks for them. Its toggle is `labs.meeting_import`
(off by default). The button, and the watcher before it spawns a worker,
both read `labs::meeting_import()`, which includes an organization's Labs
lock; with the lab off the button hides and an import request is refused
with Audio could not be imported, so no decoder or worker runs. While an
import runs the button stays visible, and another choice is refused until it
finishes. CLI/MCP query output, chapter prompts, notes input, the internal
transcript.md, and Copy Last Transcript still say You/Them for imported
meetings; only the pane and the user Markdown export say Speaker. Quitting
cancels the decode and removes its folder; a crash or a quit past the drain
leaves import.pending with no manifest, which the next launch's sweep
removes once its lock is free. Checks:
`meeting_import_is_its_own_bit_and_off_by_default`
([labs.rs](../../src/labs.rs));
`only_the_listed_audio_files_are_imported`,
`the_title_is_the_file_name_without_its_extension`,
`decodes_a_stereo_float_wav_to_mono_16_khz`, and
`decodes_a_stereo_16_bit_wav_to_mono_16_khz`
([meeting/import.rs](../../src/meeting/import.rs), macOS);
`only_abandoned_import_folders_are_removed`
([meeting/sweep.rs](../../src/meeting/sweep.rs));
`imported_meetings_keep_their_flag_and_older_manifests_read_as_recorded`
([tests.rs](../../src/meeting/tests.rs));
`an_empty_track_transcribes_to_nothing` and
`imported_meetings_label_their_one_track_speaker`
([transcript.rs](../../src/meeting/transcript.rs)); the Linux-only pane test
`an_imported_meeting_labels_its_one_track_speaker`
([rune_ui/meetings.rs](../../src/rune_ui/meetings.rs)). The decoder tests run
in Check macOS. Not verified on a real Mac: the native picker and quitting
at each mid-import moment have no automated end-to-end check.
- Vocabulary biasing: Parakeet transcription biased toward the
[vocabulary](vocabulary.md) (`transcribe_cpp::RunExtension::ParakeetVocabulary`),
the request behind issue 452 / PR 457. Off (the default),
`dictation::vocabulary::transcription_bias` returns nothing, so no run or stream takes
the list; rewriting and search still use it, and the Vocabulary sheet says
so.
- Terminal paste (Windows): paste with Ctrl+Shift+V instead of Ctrl+V for
apps that ignore a synthetic Ctrl+V (issue 477 / PR 478). Its toggle is the
shared `paste_with_shift`; Linux keeps it as a General › Advanced row.
- Terminal paste shortcut (Windows, Linux): another dictation shortcut whose
paste is always Ctrl+Shift+V, whatever Terminal paste says. Its own switch
is `labs.terminal_paste_shortcut`, and General shows its recorder while on.
- OpenCode in WSL (Windows): Modes rewriting, the Modes model picker, and
Annotate's capture sends use an OpenCode service running inside the default
WSL distribution. WSL2 forwards
loopback, so Hex dials the registered URL as usual; what it cannot see
without this lab is the registration, which lives in the distribution's
home.
```ts
Settings › Labs › OpenCode in WSL on // labs.opencode_in_wsl
├── a Windows registration answers /api/info -> it wins, exactly as before
├── none answers -> read HKCU\…\Lxss\DefaultDistribution, DistributionName and DefaultUid on every lookup
│ ├── a cached home is reused only when DistributionName and DefaultUid still match; otherwise
│ │ rebuild it from passwd: \\wsl.localhost\<distribution>\etc\passwd, else \\wsl$\<distribution>\etc\passwd
│ │ on older Windows 10 (at most 1 MiB) -> the line whose uid is DefaultUid -> its (one trailing / trimmed) home
│ ├── only the default distribution is opened; opening it can start the WSL VM too
│ ├── state dir -> <home>/.local/state/opencode; same service.json order, cap, loopback, /api/info, password
│ ├── found -> Hex's workspace is created at <home>/.local/share/hex/opencode once, and every
│ │ x-opencode-directory names the Linux path <home>/.local/share/hex/opencode
│ └── the cache is dropped when its state dir can't be read, when the default distribution or
│ uid changes, and on the next search that runs with the lab off
├── one lookup runs at a time on a shared helper thread, with its own WSL_LOOKUP_CAP (3 s) budget.
│ Its starter keeps its full budget; a joiner waits at most min(its own budget, the cap minus the
│ lookup's age) and returns "OpenCode isn't running" at once once the lookup is older than the cap.
│ Each wait checks Escape in WAIT_SLICE slices; a timeout or cancel never aborts the others
├── a lookup that ran into its cap without a service pauses new lookups for 10 s, so a hung WSL
│ doesn't make every rewrite wait out its deadline; a later try finds it once it starts
├── no registration or no home -> OpenCode isn't running, or the update notice when one answered /api/info with 404
├── Annotate's capture send asks the same lookup first (src/capture_host/routing/opencode.rs)
│ ├── a WSL service answers the router's local requests; a native Windows one leaves the router's own
│ │ registration path unchanged
│ └── the prompt's "Recorded at" line names the capture folder as the WSL server sees it:
│ X:\a\b -> /mnt/x/a/b, following [automount] root = (one trailing /, else /mnt/);
│ enabled = false, a UNC share, or a relative path leaves the Windows text. The
│ summary header keeps the Windows path
└── Labs off -> nothing reads the registry or any WSL path; Hex is exactly as before
```
The pure parts (the passwd line for a uid, a Linux home to its UNC path, the
Linux workspace string, `wsl.conf`'s `[automount]` (read once with the
home) and a drive path under its root, the cache identity, the shared lookup
and its skip window) live in
[desktop/opencode_service/wsl.rs](../../src/desktop/opencode_service/wsl.rs);
the registry and `\\wsl.localhost\`/`\\wsl$\` reads are Windows-only. Nothing
runs `wsl.exe`, and the passwd contents and password are never logged. A zero
budget is refused before any registry or UNC read. A scoped request to a WSL
service that fails (a transport error or 404) forgets the workspace, so the
next request retries `create_dir_all`.
Limits: `XDG_STATE_HOME` set inside WSL is ignored (Hex always reads
`<home>/.local/state/opencode`); a home that isn't in `/etc/passwd`, such as
one from LDAP or SSSD, isn't found; Annotate's recorded-at line maps only
Windows drive paths, so a UNC or relative capture folder keeps its Windows
text (the summary header always keeps it).
Checks: `the_passwd_line_for_the_uid_names_its_home`,
`both_wsl_prefixes_name_the_distribution`,
`a_distribution_or_home_windows_cant_reach_is_refused`,
`a_zero_budget_or_cancellation_skips_the_lookup`,
`the_cache_follows_the_default_distribution_and_uid`,
`one_lookup_serves_every_caller_and_a_short_wait_stops`,
`a_joiner_does_not_wait_for_a_lookup_older_than_its_cap`,
`a_timed_out_lookup_defers_the_next_one`,
`the_workspace_is_created_somewhere_windows_can_write_it`,
`the_automount_section_gives_the_root_and_can_be_off`,
`windows_drives_become_paths_under_the_automount_root`, and
`a_capture_folder_follows_the_automount_read_with_the_home` in
[wsl.rs](../../src/desktop/opencode_service/wsl.rs);
`a_wsl_service_gets_the_workspace_its_linux_server_can_use`,
`a_wsl_service_maps_a_capture_folder_into_its_distribution`,
`a_wsl_service_is_a_fallback_only_without_a_windows_one`,
`a_failed_wsl_request_forgets_the_workspace`, and
`a_not_found_wsl_request_forgets_the_workspace` in
[opencode_service.rs](../../src/desktop/opencode_service.rs);
`local_requests_ask_the_hosts_opencode_first`,
`a_local_request_falls_back_when_the_host_has_no_opinion`,
`a_hosts_refusal_keeps_its_http_status_and_what_opencode_said`, and
`a_sent_prompt_names_the_folder_as_the_hosts_server_sees_it` in
[crates/router/src/opencode.rs](../../crates/router/src/opencode.rs);
`a_wsl_request_failure_reads_as_the_capsule_expects` in
[src/capture_host/routing/opencode.rs](../../src/capture_host/routing/opencode.rs);
`opencode_in_wsl_is_its_own_bit_and_windows_only` in
[labs.rs](../../src/labs.rs). Not yet observed: a real Windows PC with a
running OpenCode inside WSL, including whether the UNC read starts the
distribution and whether Annotate's send reaches it. The
`windows-labs` golden shows the new card.
Checks: `labs_is_one_flat_list_of_toggles_off_by_default`,
`contributed_options_are_labs_toggles_off_by_default`,
`the_browser_labs_toggle_turns_on_and_asks_for_system_audio`,
`keyboard_model_switching_is_a_labs_toggle_wherever_layouts_are_observable`,
`voice_filter_shows_only_while_its_labs_toggle_is_on`, and
`an_installed_driver_keeps_the_voice_filter_on` in
[panes.rs](../../src/rune_ui/tests/panes.rs);
`every_feature_is_off_by_default_and_round_trips` and
`the_old_master_switch_is_read_and_ignored` in [labs.rs](../../src/labs.rs);
`a_dev_feature_in_a_stable_build_is_unlisted_refused_and_off` in [labs.rs](../../src/labs.rs) (a stand-in for a Dev feature, since none exists yet); `labs_parse_as_a_read_command` in [main.rs](../../src/main.rs);
`status_reads_for_a_person` and
`status_reports_labs_and_reads_older_replies_without_it` in
[control/cli.rs](../../src/control/cli.rs);
`every_persisted_setting_has_a_cli_key` in
[control/settings.rs](../../src/control/settings.rs). Passed on Linux on
2026-10-30; the macOS build was not checked, and the Windows build was
type-checked only.