Findings No. 29
setValueCurveAtTime curves may not overlap, not even at their ends
Web Audio rejects a value curve that touches any other automation in its interval, endpoints included. Budget each curve at most half the span, and set param.value instead of a setValueAtTime that lands on a curve boundary.
Web Audio's setValueCurveAtTime schedules a whole sampled curve over an interval, and the spec makes that interval exclusive territory: no other automation event may fall inside it, and the exclusion includes the curve's own endpoints. Two curves that merely touch, the first ending exactly where the second begins, throw an error. So does an innocuous setValueAtTime that lands on a curve's start time.
In Stem Shovel's clip fades, the symptom was fades that worked alone and threw together. The fix is budget plus substitution: the fade-in and fade-out curves each claim at most half the clip's span less a hair, nothing else is scheduled inside either curve's interval, and the initial "start from zero" write uses a plain param.value assignment instead of the usual setValueAtTime(0, at), because the assignment carries no automation event to collide with the curve that follows.
The general rule: treat every value curve as owning a closed interval, and plan automation like a calendar with no double-booking, endpoints included.
Receipt: Stem Shovel (scheduleFades in studio.svelte.ts; FINDINGS.md, Web Audio).