Skip to content

Cloud sync that never loses your files: how QuantDrive's safety rails work

Conflict copies instead of overwrites, a mass-deletion guard, trash-only deletes, local history and 10,000 randomised tests per build.

By the QuantDrive team Safety 6 min read

A sync app has one job it must never fail: don't lose the user's work. Here's every rule QuantDrive follows to keep that promise, and how we test it.

The short version
  • QuantDrive never silently picks a winner when a file changed in two places. You get both.
  • Large, unexpected deletes pause the account until you confirm.
  • Deletes go to the provider's trash, and every version you save is kept locally for a week.
  • Every transfer is checked with the provider's own hash, and every write says which version it's based on.
  • A randomised test suite checks ten thousand scenarios on every build: no content lost, both sides agree, no loops.

The one rule

QuantDrive's design brief opens with a sentence the whole project is built on: a sync bug that deletes or corrupts a user's files is the one failure this product cannot survive. When the engine is unsure, it stops and keeps both copies. Everything below follows from that.

1. Conflicts: keep both, always

Most sync problems start the same way: a file changes on your laptop while it also changes in the cloud, perhaps from a colleague or another device. A naive sync tool uses timestamps to decide who wins, and the loser's work disappears.

QuantDrive uses a three-way merge. It remembers the last version both sides agreed on, and compares your Mac's version and the cloud's version against it. If only one side changed, that change wins cleanly. If both changed the content, QuantDrive keeps both: one stays under the original name, and the other is saved next to it as a clearly named conflicted copy, with the device and the time in its name.

How a three-way merge keeps both versions The last version both sides agreed on sits at the top. Below it, the version on this Mac and the version in the cloud both changed. Because both changed, QuantDrive keeps the cloud version under the original name and saves this Mac's version next to it as a conflicted copy. Last agreed version Report.docx · Monday Edited on this Mac Tuesday, on the train Edited in the cloud Tuesday, by a colleague Both changed, so you get both files Report.docx + Report (conflicted copy from MacBook 2026-11-24 09.12).docx
QuantDrive compares each side with the last version both agreed on. If only one side changed, that change wins cleanly. If both did, nothing is thrown away.

The Conflicts centre lists every conflict with both versions side by side. You choose:

  • Keep both: leave the two files as they are.
  • Keep the cloud version: your Mac's copy goes to the provider's trash, so it's still recoverable.
  • Keep this Mac's: it replaces the original; the cloud's version stays in the provider's version history.

Whichever you choose, nothing becomes unrecoverable. That's tested for each option.

2. The mass-deletion guard

Some of the worst sync stories involve whole folders vanishing: a drive unmounts, a script misfires, a cloud reorganises, and the sync app faithfully deletes everything everywhere.

QuantDrive watches every batch of deletes, in both directions. If one batch would remove more than 100 items or more than 10% of an account, it pauses that account and shows a banner in the menu bar: how many files, from where, and that nothing has been deleted yet. Small batches of fewer than 10 items never trigger it, so deleting two files out of ten doesn't nag you.

  • If the deletes came from your Mac: Delete sends them, Keep brings the files back.
  • If they came from the cloud: Delete removes them here, Keep stays paused so you can restore them on the web.

All three thresholds are adjustable in Settings › Sync.

3. Deletes go to the trash

When you delete a file in Finder, QuantDrive queues the delete for a couple of seconds, checks the cloud for newer changes, and then moves the item to the provider's trash, never straight to permanent deletion. If someone edits a file in the cloud while its delete is queued, the delete is cancelled and the file comes back.

QuantDrive never empties a trash. Plans made by Ask or by AI apps can never delete permanently either.

4. Local history

Before QuantDrive uploads a version you saved, it clones it into the account's local history. On APFS a clone shares storage with the original until one changes, so this safety net costs almost nothing. By default it keeps 7 days and up to 1 GB, both adjustable. Versions that came from the cloud are recoverable from the provider's own trash and version history instead.

5. Every transfer verified

A file isn't considered synced because a request returned "OK". QuantDrive compares the provider's own fingerprint after every upload and download:

ProviderFingerprint
DropboxDropbox content hash
Google DriveMD5
OneDrive and SharePointquickXorHash
BoxSHA-1

6. Every write is conditional

Each change QuantDrive sends carries the revision or tag it's based on. If the cloud moved on in the meantime, the provider refuses the change, and the engine treats that as a conflict, never as a reason to force it through. New files are created in a way that fails rather than replaces if the name is already taken.

7. Names, packages and junk files

  • Names are Unicode-normalised so the same name typed on different systems matches. Characters or names a provider forbids are mapped reversibly. Duplicate names (Google Drive allows them) get stable unique local names.
  • Moves and renames are tracked by each item's permanent ID, not its path, so renaming a folder never looks like "delete everything, upload everything".
  • Packages like .key or .pages sync as folders.
  • Ignore rules skip .DS_Store, Office lock files, temporary save files and node_modules by default. You can edit the "never sync" list like a .gitignore.

8. Tested against chaos

QuantDrive's sync engine was built and tested against a fake cloud provider before it ever touched a real one. The fake one misbehaves on purpose: failed requests, lost responses, rate limits, expired tokens, duplicate names, case collisions.

On top of unit and scenario tests, a property-based test suite generates ten thousand random sequences of edits, moves, renames and deletes on both sides, runs them, and checks three properties every time:

  1. No content is lost. Every version a user wrote exists in the cloud, in a conflicted copy, in the provider's trash or in local history.
  2. Both sides converge once changes stop.
  3. Nothing loops forever.

Any failure can be replayed exactly from its random seed. Every change to merge, conflict, delete or name logic needs a new scenario test and a full ten-thousand-scenario run before it ships.

9. Errors that tell you what happened

When something does need you, QuantDrive says what happened, what it did to keep your data safe, and the one thing you can do. An account whose sign-in expired shows Needs you with a Sign in again button that keeps the account and its files, and refuses to reconnect a different account to the same folder by mistake.

Frequently asked questions

What is a conflicted copy?

When the same file was changed on your Mac and in the cloud since they last agreed, QuantDrive keeps both. One version keeps the original name; the other is saved next to it with a name like 'Report (conflicted copy from MacBook 2026-11-20 14.02).pdf' and listed in the Conflicts centre.

When does the mass-deletion guard trigger?

When one batch of deletes would remove more than 100 items or more than 10% of an account, and never for fewer than 10 items. All three numbers can be changed in Settings › Sync.

Where do deleted files go?

To your provider's trash or recycle bin, where you can restore them. QuantDrive never empties a trash.

How long does local history keep versions?

By default 7 days and up to 1 GB, both adjustable in Settings. Versions are stored as APFS clones, so they take very little extra space.

All your clouds. One calm Finder.

Dropbox, Google Drive, OneDrive, SharePoint and Box in one light Mac app. The private beta is open.