File Integrity Verification
As a user, I want to have each copied file automatically verified after transfer, So that I can trust that my backup is not silently corrupted.
Given a file has just been copied to the staging directory,
When both the source and staged copies are compared,
Then if they are identical the file is marked as successfully transferred.
Given the comparison reveals a mismatch after a copy,
When the corruption is detected,
Then the file copy is automatically retried until integrity is confirmed.