| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .. | ||
| commands.md | ||
| dictation.md | ||
| README.md | ||
| recovery.md | ||
| voice-action.md | ||
HEX Feature Map
What can the user do, how do they reach it, and what would prove it works? This maps existing behavior. ROADMAP.md owns future work; AGENTS.md owns implementation invariants.
Initial source baseline: September 1, 2026, 9e9da53aa9ed. Public macOS release:
2.1.13, including the later cleanup, keyboard-layout
repair, and sidebar update fix. The initial map was source-only. Listed
checks are locators unless an executed result is explicitly recorded, as in
the keyboard-layout verification.
Product Map
HEX // macOS release
├── Get ready // install, permissions, local model
├── Dictate // hold OR double-tap lock
├── Use the result // paste, Send, paste-last, History
├── Adjust behavior // shortcut, microphone, recording preferences
├── Process text // context-selected Modes
├── Opt in // Voice Action and Commands: separately off
├── Recover // prove the next attempt works
└── Maintain the app // menu bar, login, updates, quit
Dictation, Voice Commands, Voice Action, and Recovery have detailed maps. The other capabilities stay here until they need their own verification recipe.
Get Ready
Launch Hex // setup
-> Grant Microphone / Input Monitoring / Accessibility
-> Choose language and local model
-> Ready for ordinary dictation // no Bun, OpenCode, or Commands required
Settings > Local transcription
-> Prepare candidate
├── Success -> Save selection
└── Failure -> Preserve previous selection and show error
Permissions revoked later
-> Settings shows the missing access and repair action
Apple silicon, macOS 15+. Choices come from the compiled model/language catalog; Apple Speech is currently excluded from the desktop picker.
Checks start in onboarding.rs, transcription.rs, and transcription_models.rs. Setup/picker previews prove rendering, not clean-account permission grants or model preparation.
Known gap: is_installed checks size, not checksum. Not every native-load
path requires verification. Picker Active means selected/installed, not live
worker readiness; a later worker-load failure does not roll back saved selection.
Dictate
Saved shortcut // dictation; Option by default
├── Hold -> Speak -> Release
├── Tap, tap -> Speak hands-free -> Press again // Double-tap to lock enabled
└── Escape
├── Capture active -> Cancel that capture
└── Otherwise -> Cancel newest cancellable job
Settings > Double-tap only // optional for key bindings
-> Disable single-hold activation
-> Keep the double-tap hands-free path
The detailed map covers timing, successive captures, output
commitment, named checks, and native-proof gaps. Optional
spoken entry and controls belong to Commands.
The macOS CLI entry is hex listen, with an optional authoritative --device.
Do not start it beside an existing listener.
Use The Result
Completed output // output
├── Paste -> Current focus, in submission order
├── Spoken Send -> Paste, then Enter // requires Commands and voice capture
├── Paste Last Dictation // menu or Option-Shift-V / saved binding
│ └── Last completed dictation, not Voice Action
└── History
├── Inspect / search / copy / delete
├── Retention -> Seven days by default, always hard-capped
├── Off -> Stop new entries; preserve existing entries
└── Clear all -> Explicit deletion
Checks in paste.rs, parakeet.rs, and history.rs cover output and retention boundaries. They do not prove that an arbitrary target consumed its clipboard contents. Send is not an atomic target-app transaction.
Easy to misread: History Off does not stop diagnostic logging. Diagnostic logs are separate and currently unbounded on disk. See the privacy guide.
Adjust Behavior
Settings // settings
├── Dictation shortcut -> Capture a replacement binding
├── Microphone -> Automatic or saved device
├── Microphone mode
│ ├── Keep ready (fast) -> Open while idle; pre-roll available
│ └── Release when idle -> Open on press; no pre-roll; startup delay
│ └── Commands enabled? -> Confirm turning Commands off
├── While dictating -> Mute / Pause media / Do nothing
│ └── Intentional capture only, not ordinary shortcut chords
└── Sound volume -> Immediate feedback setting; zero suppresses tones
Successful settings saves persist and project changes at safe runtime boundaries. Persistence, conflict, and ownership checks live in app_settings.rs, recording_environment.rs, and audio.rs. Settings previews do not prove physical device switching or native mute support; muting is best-effort, not universal.
Easy to misread: an open microphone is not an active recording. Sleeping Commands still needs open input; it is not Release when idle.
Process Text With Modes
Modes // modes
├── Select a row -> Edit that mode // does NOT manually activate it
└── Foreground context -> Select processing
├── Matching Brave website
├── Otherwise matching application
└── Otherwise Global
Selected mode // replaces Global, does not layer over it
-> Corrections
-> OpenCode transformation // optional provider-backed rewrite
-> Transformations // ordered text chain
-> Paste or Send
Stage fails -> Preserve its input // failed chain discards partial results
Built-in text transformations run natively. Custom transformations require the managed Bun workspace, not Commands enabled. OpenCode rewriting sends documented context to the configured provider; speech transcription stays local.
Selection and stage checks start in dictation_processor.rs, text_replacements.rs, and personal_commands.rs. They do not prove live provider availability or real application/Brave context changes.
Application activations compare the picker's bundle name with the foreground
application's localized name. When Finder shows all filename extensions, the
picker name arrives as Ghostty.app; context.rs strips
that suffix on both sides and app_settings.rs
rewrites already persisted activations on load, checked by
application_matching_ignores_finder_bundle_extensions and
loading_strips_finder_bundle_extensions_from_mode_applications.
Released-version defect: through 2.1.13, a mode saved with that Finder
preference enabled never activates and every dictation falls back to Global.
Workaround until the fix ships: quit HEX, remove the .app suffix from
dictation_processing.modes[].applications in settings.json, relaunch.
Use Voice Action
Voice Action maps the separate opt-in, hold-only shortcut, optional selection, local transcript-to-OpenCode-to-paste path, and cancellation boundary. It owns the mode-bypass/last-result rules, checks, and cold modifier-order gap.
Speak Commands
Voice Commands maps the command opt-in and separate Moonshine model, awake/sleep state, contextual catalog, personal config, and spoken dictation controls. It owns the checks and host/startup gaps; actual capture and output remain in Dictation.
Recover And Maintain
Cancellation / interruption / failure // recovery
-> Scoped stop, fallback, or error
-> Retry or fresh gesture
-> Next capture succeeds // this is the proof, not a cleared error
Menu bar and Settings // maintenance
├── Settings / Paste Last -> Reachable with Dock icon hidden
├── Launch at Login -> macOS owns registration state
├── Check for Updates -> Signed packaged-app Sparkle lifecycle
└── Quit -> Orderly shutdown
Launch Hex // maintain.startup
├── Setup incomplete / permissions or model missing -> Open setup or Settings
├── Show Dock icon on -> Open Settings
└── Show Dock icon off + usable menu-bar item -> No startup window
├── Dictation starts independently of the Settings window
└── Menu-bar Settings / Finder or Spotlight reopen -> Open or focus the window
Menu-bar installation fails -> Show Dock icon and open the window // recovery access
The existing Show Dock icon preference controls quiet startup; there is no additional launch-window setting. This applies to normal and login launches, does not change login registration, and does not hide an already open window when the preference changes. Explicit previews always open their requested pane.
Checks in meeting_watcher.rs:
dockless_startup_stays_quiet_only_when_setup_and_menu_bar_are_ready and
dock_visible_startup_always_opens_the_app cover the startup decision. The
existing on_reopen and status-item OpenSettings paths bypass that decision.
These checks do not establish signed-app login behavior or native Finder/Spotlight
reopening; those still need an installed-app smoke test. This addresses the
menu-bar-only case in #64, not an
independent window preference for users keeping the Dock icon visible.
Executed September 3, 2026: 441 Rust tests passed (nine opt-in tests ignored), along with all twelve keyboard-layout child scenarios, formatting, and Clippy. The release Settings preview built and launched, but window screenshot capture failed; no visual or installed-app startup verification is claimed.
Update available // maintain.updates
├── Sidebar Update -> Sparkle update dialog
└── Menu bar > Check for Updates -> Same dialog
Remind Me Later -> Dismiss this offer -> Manual update -> Reopen the offer
The sidebar uses window-local deferred action dispatch in
app_window.rs. The executed
sidebar_update_click_dispatches_only_outside_preview regression clicks the
production control in an active in-memory GPUI window: zero actions before the
fix, one afterward, and no action in a preview. It does not start Sparkle.
Fixed in 2.1.13: older releases through 2.1.12 used app-global dispatch from inside the sidebar click, losing the action while the active window was borrowed. The click regression passed in debug and optimized release builds. The menu-bar path was exercised on the installed local 2.1.11 build and opened the native Software Update window; no installation was performed. That path remains the workaround for older versions, including after Remind Me Later. A repaired installed-sidebar click remains unverified.
Release 3675206, build 20113, was signed, notarized, stapled, and accepted by
Gatekeeper. DMG and ZIP payloads matched across 207 entries. Public DMG, ZIP, and
latest-DMG downloads matched their prepared SHA-256 checksums; the public feed
led with 20113, and its ZIP signature verified against the app's public key.
Recovery separates supported recovery from known defects. login_item.rs, status_item.rs, sparkle.rs, the identity test, and app validation are maintenance evidence starting points. Preview badges do not prove installed-app login registration or a signed update from an older supported build.
Other Platforms And Consumers
Linux beta // not macOS feature parity
├── hex app / hex dictate -> Alt-Space capture -> Transcribe -> Paste
├── X11 -> Tray when usable; no recording HUD
├── Wayland -> evdev + compositor protocols; keys observed, not suppressed
├── Escape -> Cancel active capture, not newest accepted job
├── Microphone failure -> Listener exits, not macOS automatic recovery
└── Paste -> Retain transcript clipboard, not restore previous contents
No Linux Commands, Voice Action, Modes processing, retained History, or meetings.
hex listen instead prints Moonshine transcripts. Wayland needs explicit broad
input-device access; physical reconnect, click-through, and trayless shutdown
still need native evidence. Its smoke
inherits higher-priority HEX_APPLICATION_SUPPORT_DIR, weakening isolation.
See the Linux guide, linux_app.rs, linux_wayland_input.rs, and Linux CI for existing checks. The direct installer/updater and installer tests do not establish a published, supported-host-validated signed release. Nix owns its package updates; HEX updates only managed direct installs.
Both Linux CI triggers include tests/**, and the
Nix source fileset includes those sources. The
keyboard_layout harness skips on Linux; packaging it does not provide macOS
layout evidence.
TypeScript SDK + macOS local service
├── Caller records audio -> Explicit helper -> Raw transcription
├── Running desktop capture API -> Separate microphone ownership protocol
└── Distribution
├── SDK 0.3.0 -> Published
└── Turnkey signed helper -> Unfinished
The SDK guide, service contract, and SDK tests distinguish those paths. Helper-only service mode is not a physical hotkey/microphone test. Embedded/packaged service smokes still expect API 1 while service/SDK require API 2. Low-level blocking-peek and FIN/half-close limitations in local_api.rs must not be generalized to every SDK cancellation path.
Developer And Prototype Surfaces
macOS debug runtime // not release navigation
├── Meetings -> Explicit recording, separate artifacts, recoverable drafts
│ └── Detection may offer recording, never start it automatically
└── Activity / HUD Lab / hex dev -> Observation and developer controls
Desktop previews -> Rendered fixtures // not proof capture/download/update happened
iOS prototype -> Record/transcribe/copy and keyboard handoff
Unmerged Windows / deferred features -> Not part of this map
Sources: meeting.rs, meeting_watcher.rs, developer_control.rs, capture-preview.sh, iOS guide. iOS physical-device proof and temporary-WAV failure cleanup remain gaps; best-effort deletion is not guaranteed deletion.
Grow The Map
One feature file
├── Sub-features -> Small action/outcome diagrams with stable IDs
├── Entry points -> Every user route and its prerequisites
├── Existing checks -> Source/test links and what they do not prove
└── Gotchas -> Exceptions, known defects, missing native proof
This is the map-only stage of the verification workflow, not a working driver. Keep checks beside the behavior and tests with the implementation. Split new files only when useful; link shared failure behavior to Recovery.
Future evidence should name the behavior ID, entry point, revision/binary, platform, prerequisites, outcome, and artifact location. Report skipped paths. Never publish tokens, personal transcripts, or unredacted diagnostics as proof. This map does not authorize operating a live installation.