I tested OpenYR’s headless export with a tick-1 save and asked for ticks 0 and 1. The command returned an error, but it had already opened the audio outputs. That was enough to overwrite an existing WAV before any frame could be exported.
I moved the check ahead of output setup. The exporter loads the saved session, validates the requested absolute ticks against it, then prepares the destination. My regression checks that rejected ticks leave existing exports byte-for-byte intact and leave an absent destination absent. A request that starts at the saved tick still succeeds. Headless export fix and regression