# M1 — shell Exit criterion (BUILD-SPEC §10): hotkey opens/closes panel; a sound plays on open. ## Plan 1. Workspace skeleton per §3 (`apps/`, `crates/`, `resources/`, `skills/`, `docs/`). 2. `core::resources` — slot manifest loader (variants, gain, category, bed), path-escape guard, missing-file report; never panics. 3. Placeholder generator — original media for every §8 slot so the app runs without real media. 4. `voice::bus::AudioBus` — category gains, bed mutual exclusion; rodio backend on its own thread. 5. Desktop shell — accessory app (no Dock), tray, notch panel (status level, all Spaces, excluded from capture, shown without taking focus), `slot://` protocol for UI media. 6. Hotkey — poll `CGEventSourceFlagsState` for ctrl+option (no permission needed). 7. Permissions wizard — Mic, Screen Recording, Accessibility, Speech, Files: detect, request, deep-link to System Settings. ## Decisions (simplest option that preserves behaviour) | Decision | Why | Follow-up | |---|---|---| | Hotkey by polling modifier state at 50 Hz | Works before any permission; no event tap | TODO(M4): swallow chord / detect extra keys via event tap once Accessibility is granted | | Panel is an `NSWindow` shown with `orderFrontRegardless` | Doesn't steal focus when it appears | TODO(M3): non-activating `NSPanel` so clicks inside also keep focus | | Escape via `CGEventSourceKeyState` + in-panel keydown | No event tap needed | Verify whether it needs Input Monitoring on a clean Mac | | Files & Folders checked only on click | Checking triggers the TCC prompt itself | — | | Waveform is animated, not live | Mic arrives in M2 | TODO(M2): drive from mic RMS | | `--show-panel` flag | Smoke test without input | — |