Files
meeting-assistant/openspec/changes/recover-microphone-disconnect/tasks.md
T
codex b9547ae4c4
PR and Push Build/Test / build-and-test (push) Successful in 12m29s
fix: recover from microphone disconnects
2026-08-03 15:57:30 +02:00

1.2 KiB

1. Microphone recovery behavior

  • 1.1 Add a failing behavior test proving active microphone capture moves to a newly resolved capture source after the current source fails.
  • 1.2 Refactor the microphone device-provider boundary so recovery orchestration is platform-independent and individual NAudio capture lifetimes remain Windows-specific.
  • 1.3 Implement bounded-delay microphone recovery that re-resolves devices after creation failures, capture failures, and unexpected capture completion until recording cancellation.
  • 1.4 Add coverage proving capture recovers when no microphone is initially available and a later resolution succeeds.
  • 1.5 Add a failing selection test and fall back to an active endpoint when the selected and Windows-default endpoints are unavailable.

2. Verification

  • 2.1 Refactor the touched capture path for DRYness, SOLID boundaries, and KISS while preserving behavior.
  • 2.2 Run the focused microphone-selection and audio-source behavior tests plus the Windows application build.
  • 2.3 Run the full solution test suite and openspec validate recover-microphone-disconnect --strict.
  • 2.4 Verify the local health and recording-status surfaces without interrupting an active meeting run.