Agents and checks · 20 of 20

Verify the output, not the report. Especially before a delete

Hit in our code
Check it
rsync -rcni SRC/ DEST/ | grep -v "^\.d" | head     # anything printed is a differencemd5 -q SRC/file DEST/file
Free, no call

Get every Fix AI Slop Code episode

The code it wrote, the code it should have written and a check, for every episode

Free, straight to your inbox. No call, no pitch

What is going on

Exit codes, summaries, and "9 files matched" are reports. The file on the drive with the right checksum is the output. Tools that summarize will summarize wrong in exactly the cases that matter, and the cases that matter are the destructive ones.

Where it bit

A background shell wrote to the archive drive, exited 0, and had written nothing, because background bash cannot write to mounted volumes on that machine. An earlier pass claimed nine exports matched by checksum; a later pass found two were not on the drive at all, and all fourteen were re-hashed before anything was deleted.

The practice

Archive, verify in directory mode with itemized output, checksum the files themselves, then delete. Never in the reverse order and never on a summary. Measure with the tool that reads the object (md5, ffprobe, a real request), not the tool that reads the log.

Free, no call

Get this check as a script you can run tonight

Free, straight to your inbox. No call, no pitch

What to do with this

If this check came back with more than you expected, that is worth a conversation

Book a free 30-minute call