Make a copy the agent cannot touch before it starts, and count your files when it stops. On a Mac, a copy of a 1,000-file folder took 0.08 seconds, and it brought every file back in about the same time.

In early November, William Baude, a law professor at the University of Chicago, asked Claude to update the page numbers in an old set of lecture notes. When he came back from lunch, the agent had left him a note, quoted by Tom's Hardware: "I deleted your Fall 2026 FINAL syllabus .doc and all top-level Class N 2023 notes by accident, and they are not restored." The files came back from Dropbox. The article does not say which step deleted them, and the fix does not depend on it: a job that touches many files needs an undo that exists before the job starts.

What a copy costs

I timed three ways to make a folder of 1,000 files of 100 KB undoable, roughly a year of notes, on a Mac with APFS: three runs of each, medians below. Each time I deleted every file and restored the folder from the copy. All three brought back 1,000 of 1,000 files in every run.

Time to make a copy and to restore a 1,000-file folder on a Mac: APFS clone 0.08 s and 0.09 s, git commit 1.77 s and 0.13 s, zip archive 0.26 s and 0.40 s

Way Make the copy Restore the folder Extra disk
cp -c -R notes notes.snap (APFS clone) 0.08 s 0.09 s shares data blocks with the originals
git add -A && git commit 1.77 s 0.13 s 107 MB in .git
zip -r -0 notes.zip notes 0.26 s 0.40 s 103 MB

The clone is the cheapest because it copies no data: the manual for clonefile says "The cloned file dst shares its data blocks with the src file". It only works on APFS and within one volume; elsewhere cp -c falls back to a full copy. Git costs more the first time and keeps a history for every later job. None of them helps if the agent can delete the copy too, so keep it outside the folder you hand over.

Count before and after

Baude's agent reported the loss itself. Do not count on that:

cp -c -R notes notes.snap # before the agent starts find notes -type f | wc -l # count before # ... the agent works ... find notes -type f | wc -l # count after diff -rq notes.snap notes # every file that changed or is gone 

A job that should only edit text must not change the number of files. If the count drops, diff -rq names the missing files, and the copy puts them back.

Sources and method. The measurement was run on 19 November 2026 on macOS 27.2 with APFS, git 2.56.1 and Zip 3.0, with 1,000 files of 100 KB of random bytes, three runs per way. The Tom's Hardware article (Stephen Warwick, 6 November 2026) and the cp and clonefile manuals were read on 19 November 2026. This article describes them as of that date.

I work on Mnemoverse; everything above comes from public sources and my own measurements.