벤치마크 & 엔지니어링으로 돌아가기
· Granis Team
Why Whisper Spelled Our Company Name 15 Ways—And How AI Agents Fix It Automatically
Over 2 years and 24,363+ real Mac dictations, my replacement table grew to 31 rules. A full 15 of them existed for a single reason: stopping speech models from mangling the name of our company, Granis, central intelligence for organizations.
Depending on cadence and background noise, Whisper and local transducers turned
"Granis" into "Grand S", "Grannis", "Granice", "Granite", "granus", and "grandness". Every developer who dictates into an AI editor hits the same wall with repo names, internal acronyms, and infrastructure tools ("SCO Report" for SEOReport, "hollow chain" for Holochain, "for joe" for Forgejo).Prompt hints alone cannot fix domain terms across local and cloud engines
Stuffing terms into Whisper's
initial_prompt helps on some runs, yet every engine hits a ceiling. Whisper limits its prompt prefix to 224 tokens and echoes prompt sentences back during pauses; transducer architectures like Parakeet TDT 0.6B v3 and Phonon-2 accept no keyword prompt at all; and in our cloud benchmark runs, an Azure-style phrase list even dropped microsoft/mai-transcribe-2 from 4/4 to 3/4 on medical Spanish.| Misheard Transcript | Canonical Replacement | Error Type |
|---|---|---|
| Grand S / Grannis | Granis | Brand name |
| SCO Report | SEOReport | Acronym + PascalCase |
| hollow chain | Holochain | Compound proper noun |
| happy auth | hApp Auth | Mixed-case framework |
| for joe | Forgejo | Tooling proper noun |
| type script / post gres | TypeScript / PostgreSQL | Split technical term |
Across our 31-rule migration test suite, 15 variants traced back to
"Granis" alone, while the remaining 16 rules fixed developer stacks (TypeScript, PostgreSQL, WhisperKit, Hetzner, Cloudflare, SwiftPM) and project codenames. Maintaining that list manually in a preference window meant copying the mistake after every irritated backspace.Turning Claude Code, Cursor, Codex, and Antigravity into dictionary maintainers
The real shift happened when we noticed that AI coding agents already infer what you meant from repository context. If I dictate "Check the Grand S deployment logs" inside a workspace, Claude Code or Cursor reads
Grand S, understands Granis, and runs the task anyway.Diagram source
flowchart TD
A[Dictate: Check
Grand S logs] --> B[Agent runs
dw propose]
B --> C{macOS Toast:
Approve?}
C -->|Yes| D[dictionary.json
reloads < 50ms]
D e1@--> E[Next take
pastes Granis]
e1@{ animation: slow }Instead of leaving that silent correction inside a single chat thread, DictateWizard v2.0 ships an open plain-text control plane:
~/.config/dictate-wizard/dictionary.json, a bundled dictate-wizard CLI (dw), a 0600 local Unix socket (ipc.sock), and an installable SKILL.md for Claude Code, Codex, Cursor, and Antigravity.bash
dw replacements propose \--match "Grand S" \--replace "Granis" \--reason "Phonetic mishearing of product name Granis" \--source "agent:claude-code"dw vocab add "Granis"
When an agent executes that command, a native macOS notification slides in with
[Approve] and [Dismiss]. Clicking Approve writes ~/.config/dictate-wizard/dictionary.json atomically (temp + fsync + rename), and DictionaryStore hot-reloads the running app in under 50 ms via DispatchSource with zero restart. On your next repo, asking an agent to bootstrap vocabulary scans README.md, AGENTS.md, and package.json to seed 10–30 project proper nouns in 1 shot.Security rules keep agent proposals separate from system hygiene
Giving external AI agents write access to a text-replacement pipeline demands strict guardrails before anything touches the clipboard. Every CLI or IPC proposal in DictateWizard passes
RuleSanitizer, InputContextGuard, and an app-owned HallucinationFilter:RuleSanitizervalidation: Agent-proposed matches must span2–80characters (replacements1–120characters), blocking control characters, newlines, Unicode BiDi overrides (U+202A–U+202E,U+2066–U+2069), Unicode Tag smuggling (U+E0000–U+E007F), shell metacharacters (;,&&,||,|, backticks,$(), and common stopwords or CLI verbs (the,and,rm,sudo,git,ssh).InputContextGuardboundaries: Whenever macOS reportsIsSecureEventInputEnabled(), DictateWizard skips replacements and skips synthetic⌘Vauto-paste completely, plus offers an optional skip-replacements rule insideTerminal,iTerm2,Ghostty,Warp,Kitty, andWezTerm.- Immutable
HallucinationFilter: Prompt-echo stripping ("Here is a clear, well-punctuated sentence.","Thank you for watching.") runs deterministically inside Swift before any user rule—agents never modify hallucination filtering. - Untrusted transcript wrapper:
dw history last --jsonwraps dictated text inside{"kind": "untrusted_transcript", "text": "..."}so agents treat spoken words as data rather than instructions.
Free local agent control—no paywalls, plain-text dotfiles
Compare that architecture against closed cloud tools in our voice-coding setup guide or Superwhisper comparison: DictateWizard never paywalls replacements,
dw CLI automation, or SKILL.md. Everything runs locally for $0 on Apple Silicon (0.28s stop-to-paste), and dotfiles sync cleanly over git.DictateWizard is built by Granis—central intelligence for your life and business. Developers install DictateWizard, wire
dw into their coding agents, and experience the same local-first engineering craft we rely on daily across Granis.Chart data
| count | |
|---|---|
| Granis Variants | 15 |
| Other Tech Rules | 16 |
| Total v1 Rules | 31 |
| Non-Speech Traps Passed | 10 |
Whether you install the skill across every coding harness with
dw skill install --target all or manage dictionary.json by hand, your vocabulary stays plain text on your Mac forever.Published by DictateWizard · Built by Granis AI Ltd.