id: rb-waveform-crop feature: 3-waveform-crop branch: feat/3-waveform-crop stage: tasks status: T1-T8 done; T9 (phone) open, carried into review.md section B created: 2026-09-10

Tasks — Waveform and crop

All on feat/3-waveform-crop. Pure code with tests first, phase-2 touch points second, components last. Each task ends in a commit referencing [rb-waveform-crop] with npm test and npm run lint green.

The branch carries more than these eight commits: two refactors landed during implementation (peaks drawn in the effect, range helpers extracted), a hit-test fix, a README line, and three commits from the code-review round. Scope a review from git log main..feat/3-waveform-crop, not from this list.

T1 — Selection logic

T2 — Peaks

T3 — Slice and minimum length

T4 — Windowed playback

T5 — State

T6 — WaveformCanvas

T7 — WaveformBlock and screen

T8 — Desktop smoke (laptop Chrome, uploads, agent-verified)

Run by Claude through Playwright with synthetic pointer events. Everything here is mouse/upload only; nothing below is evidence about touch.

T9 — Phone pass (maintainer, Android Chrome) — open

Carried into review.md section B; the feature is not done until these pass.

Handoff

Then: code review (maintainer triggers), fixes on the branch, review.md, merge.