id: rb-audio-input feature: 2-audio-input stage: tasks status: T1-T8 done, T9 pending created: 2026-09-10

Tasks — Audio input

Ordered. Each task ends in a commit referencing [rb-audio-input], with npm test and npm run lint green. Pure code first, browser code second, UI last, so every step is testable as it lands.

T1 — Types and error messages

T2 — Pure resampling

T3 — Pure decode

T4 — File loading (browser)

T5 — Recording (browser)

T6 — Playback (browser)

T7 — State hook

T8 — Screen

T9 — Manual verification on the phone

Handoff to review

The review stage writes review.md with a numbered checklist from the PRD acceptance criteria and the T9 findings. No fixes in that stage.

Test files to have on the phone before T9