Core Rules
- Do not hard-delete by default.
- Classify first, review second, quarantine third.
- Always include reversible restore hints.
Actions
keep: retain in active tree.
quarantine: move to tasks/quarantine/repo-audit/<timestamp>/....
delete-later: candidate for deletion after review window and ownership sign-off.
Manifest Contract
Cleanup manifests use:
tools/config/cleanup-manifest.schema.json
Required per-entry fields:
path
reason
confidence
action
restore_hint
review_owner
Usage
Classify only (default):
node tools/scripts/cleanup-quarantine-manager.js --output-dir tasks/reports/repo-ops
Apply quarantine moves:
node tools/scripts/cleanup-quarantine-manager.js --output-dir tasks/reports/repo-ops --apply
Last modified on March 12, 2026