Undo Effects
PLUGINPuts back files an agent deleted or overwrote: before write_file, patch and destructive terminal commands.
by Moodtuner997 · v0.1.2
What it does
Puts back files an agent deleted or overwrote: before write_file, patch and destructive terminal commands (rm, mv, cp, redirects, tee, sed -i, find -delete) it saves the affected files to a local store and lets the tool run unchanged; /undo-effects lists the effects and restores them, refusing to overwrite later edits unless forced and keeping a safety copy so a restore can be undone. Disclosure — no network; reads the contents of the files and directories a covered tool call is about to change; writes unencrypted copies of them under ULPI_HOME/plugin-data/undo-effects/ (files named like credentials, anything inside.ssh,.aws,.gnupg,.docker,.kube,.azure and.gcloud, files above 50 MB, node_modules,.venv and.git are skipped and reported); the same folder also keeps the paths and the first 100 characters of each terminal command, with secrets masked on a best-effort basis; runs no shell command and no background process; never blocks, rewrites or approves a tool call, and runs the tool even if a snapshot fails; covers the local terminal backend only; no telemetry.
Review notes
What an owner reads and accepts before the install is approved.
- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve