Voice: whisperKitFallback feature flag is test-quality dead code #39

Open
opened 2026-05-12 19:07:26 +00:00 by KofTwentyTwo · 0 comments
KofTwentyTwo commented 2026-05-12 19:07:26 +00:00 (Migrated from github.com)

Summary

STTConfig.whisperKitFallback: Bool exists and default-config.json sets it false. Even if a user flips it, the hard-coded factory at AppDelegate.swift:1272 ignores it. The flag appears in PerTurnSnapshot because the config-to-snapshot pipeline is generic, but no production consumer exists.

Evidence

  • File: packages/Config/Sources/Config/STTConfig.swift
  • File: App/AppDelegate.swift:1272 (hard-coded factory)

Recommended fix

Closed naturally by #29 (P0-2) — fix the hard-coded factory to read from config.

Source

  • Audit: .planning/audit-2026-05-12/voice-audit.md (2026-05-12) — finding P2-3

Cross-references

  • Closed by: #29 (P0-2)
## Summary `STTConfig.whisperKitFallback: Bool` exists and `default-config.json` sets it `false`. Even if a user flips it, the hard-coded factory at `AppDelegate.swift:1272` ignores it. The flag appears in `PerTurnSnapshot` because the config-to-snapshot pipeline is generic, but no production consumer exists. ## Evidence - File: `packages/Config/Sources/Config/STTConfig.swift` - File: `App/AppDelegate.swift:1272` (hard-coded factory) ## Recommended fix Closed naturally by #29 (P0-2) — fix the hard-coded factory to read from config. ## Source - Audit: `.planning/audit-2026-05-12/voice-audit.md` (2026-05-12) — finding P2-3 ## Cross-references - Closed by: #29 (P0-2)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KofTwentyTwo/Jarvis#39