Append successful offline recovery with a duplicate-warning marker and retain failed replay sources. Offer newly available microphones through confirmation notifications. Add project discovery metadata and blocking association approval, plus nonblocking workflow requests that start a separate settings-agent conversation. Include regression tests, OpenSpec changes, and verified local Release startup.
2.4 KiB
1. Discovery and prompt lifetime
- 1.1 Add behavior tests and a monitor that offers newly available endpoints once per capture session without blocking capture.
- 1.2 Test and handle rejection, expiration, disappearance, and ended-session responses safely.
2. Capture switching and native UI
- 2.1 Test and implement accepted microphone switches within the existing capture stream, retaining disconnect recovery.
- 2.2 Add native Windows Yes/No notifications and register the monitor and prompt service.
- 2.3 Cover cancellation during confirmation lookup and switching or ending the meeting during capture creation; reject stale confirmation and dispose abandoned capture resources.
3. Verification and documentation
- 3.1 Document discovery, prompt validity, and active switching.
- 3.2 Review the implementation, run focused and full solution tests, build Windows, and validate this change strictly.
- 3.3 Verify through the safest available operational surface and record any native hardware/UI verification limits.
Verification: all 11 focused microphone tests and all 534 solution tests pass. The solution build includes the Windows target and succeeds with the four existing NAudio obsolete-API warnings. Strict OpenSpec validation passes. Independent review identified confirmation-cancellation and capture-ownership races; regression tests reproduced them before the fixes, and the follow-up review confirmed both are resolved.
The capture behavior tests exercise the public audio stream and shared selection with controlled devices and prompts: acceptance replaces samples in the same stream, while decline, expiry, removal, and ended sessions prevent a switch. The running application's recording-status endpoint was checked read-only and reported idle. A physical microphone connection and native toast activation were not tested: no controllable hardware hotplug was available in this session, and the running service was not updated or restarted. Native hardware/UI verification remains a follow-up before operational acceptance or archival.
Authorized local start (2026-09-25): the current Release build was subsequently published and started using the documented restart helper after another idle check. Health, idle status, tray creation, and model warm-up are successful. The complete solution now has 552 passing tests. Physical microphone hotplug and toast activation remain unverified.