secure-dir.ps1 Prepare used to delete every root file (and whole scripts/app/launcher/uninstall
dirs) when upgrading. It now removes only the named files of earlier distributions (plus the
uninstall logs, which run elevated) and empty dirs; any other file stays and is only re-owned
by Administrators with inherited permissions.
Windows 11 VM: 21b4278 install + root sample.wav, models\keep.wav, scripts\note.txt ->
upgrade -> SHA256 unchanged for all three (also after silent uninstall).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>