Write source first
Save approved media ID, exact source revision and, where appropriate, a digest. Keep output names outside the source path.
Check a collision case
In a mock job, return a result with the same display filename as the source. Download to the result archive without changing the stored original.
Open both items afterward
Verify distinct roles and expected shared cue points.
Pass condition
A completed result cannot erase the approved original or replacement reference.