You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5d4071f
Browse filesBrowse the repository at this point in the historyBrowse files
the duplicates measurement skipped the commonest roots, and survived into a cloud scan
Two more from adversarial verification of the shipped duplicates work.
THE FREE-SPACE CHECK REFUSED THE COMMONEST SCANS. /api/system measures the
home folder's volume, so the question the gate is asking is "is the scanned
tree on that volume?" — but it tested only `root.startsWith(home)`, which
answers a narrower one. A scan of /, /Users or C:\ is on the home volume and
failed it, so every one of those got the unmeasurable branch no matter what
the trash actually did. Containment either way now.
THE MEASURED LINE SURVIVED INTO A CLOUD SCAN. The duplicates view is disabled
for cloud scans and its mount() returns early after writing "Not available for
cloud scans" — without reaching updateDupToolbar, and without unmount() having
run, because switchView only unmounts when the view actually changes. So a
cloud scan finishing while the user sat on the Duplicates tab left the
previous local scan's "Moved 3 copies to the Trash" standing underneath a
panel saying the feature is unavailable. The outcome belongs to the scan that
produced it and is cleared there.
Checked and deliberately NOT changed: on Windows SendToRecycleBin is
best-effort, and a file too large for the Recycle Bin is deleted outright with
the confirmation suppressed — so "the Trash is still holding them" would be
false, and would tell someone a destroyed file is recoverable. The 1 MB gate
already sorts this correctly: a file big enough to be refused by the Recycle
Bin frees at least a megabyte when it is destroyed, so that case takes the
measured branch and never claims recoverability. Left as it is, with the
reasoning recorded rather than assumed.
Two mutants, two caught.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments