guardian_quarantine
Isolate suspicious files into a quarantine directory, remove originals, and reverse isolation by restoring files with their SHA256 hash. All actions logged.
Instructions
Isolate, release, or list quarantined files. DESTRUCTIVE for isolate/release: isolate copies the file into ~/.guardian/quarantine/, then removes the original; release reverses. All actions logged to quarantine_manifest.jsonl.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | list | |
| file_path | No | Absolute path to the file (required for isolate). | |
| file_hash | No | SHA256 hash of the quarantined file (required for release). |