Workshop Co-Pilot
Electron app that tracks a presenter's script live and grounds answers to audience questions.
Problem
Presenters cannot simultaneously read a script, monitor audio for questions, and compose grounded answers without breaking stride.
What I built
A desktop app that tracks script position by embedding mic transcripts and vector-matching with forward-biased hysteresis, detects questions from system audio via Claude, grounds answers with a three-tier RAG ladder, then auto-scrolls and emits a transition line to return to flow.
Engineering highlights
An 8-layer architecture with enforced module boundaries; a typed event bus; the repository pattern over better-sqlite3; a confidence-gated divergence state machine; Rust audio capture via macOS ScreenCaptureKit with echo cancellation; cached embeddings; retrying STT/LLM wrappers; a 4-layer test suite plus a Playwright Electron harness.