Skip to content

Add cleanup audit manifests - #100

Open
LeonidasZhak wants to merge 1 commit into
blackboxo:masterfrom
LeonidasZhak:codex/macos-cleanup-manifest
Open

Add cleanup audit manifests#100
LeonidasZhak wants to merge 1 commit into
blackboxo:masterfrom
LeonidasZhak:codex/macos-cleanup-manifest

Conversation

@LeonidasZhak

Copy link
Copy Markdown

Summary

  • add a structured cleanup manifest writer for each cleanup run
  • record processed, skipped, and failed cleanup paths with action, type, size, and error details
  • connect manual and automatic cleanup flows to save manifests under the app working directory
  • document the user-visible audit record in the README

Safety model

This does not broaden the cleanup scope or change the existing age/category/whitelist rules. It only records the outcome after each selected path is processed. Protected extensions are still skipped, and failures remain non-fatal but are now visible in the manifest.

Tests

  • python3 -m py_compile main.py utils/cleanupManifest.py utils/multiDeleteThread.py utils/selectVersion.py
  • python3 -m unittest discover -s tests
  • git diff --check

@LeonidasZhak
LeonidasZhak force-pushed the codex/macos-cleanup-manifest branch from ac41ca8 to 7827921 Compare July 16, 2026 15:50
@LeonidasZhak

Copy link
Copy Markdown
Author

Rebased this PR onto the current master and kept the newer macOS startup/crash-handling changes intact. The only manual conflict was the cleanup-manifest output directory; the existing top-level application constants remain the single source of truth. Validation: py_compile passed, all 5 unit tests passed, and git diff --check passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant