Live sync removes files outside packaging/files.json (dry run first) #16
Loading…
Reference in a new issue
No description provided.
Delete branch "oss-oo/live-sync-prune"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Owner request (Claudiu, 2026-10-28): the family port of cinnamon-z-usage #27. The live sync removes files in the applet folder that
packaging/files.jsondoes not name, always after a dry run..claude/skills/cinnamon-claude-usage-live-sync/scripts/prune_unmanaged.py(the same tool as z-usage, reviewed there in three rounds): dry run with a one-shot plan (15 minutes, each entry bound to inode, size and mtime);--applyremoves only planned entries that are still unmanaged and unchanged. Only inside a realapplets/<uuid>folder; never follows a symlink (removal via directory handles withO_NOFOLLOW).scripts/audit_deployment.py: manifest files byte-identical, no symlink,EXTRA(fails) andCACHE(tolerated) entries.tests/test_live_sync_tools.py: the 27 tests of the z-usage tool, run bymake check.install.shandscripts/package.pyare unchanged: the payload andinstall.zipstay as released (no release needed).🤖 Generated with Claude Code