NewsCrawler.org

SafeRM: recoverable file deletes and moves for AI agents

SafeRM is a tool for safer file deletes and moves. It has a CLI[1] for AI agents[2] and a desktop app for the user. The saferm delete command moves an item to a dedicated trash and records why it was deleted and by whom. The saferm move command safely removes files at the destination before overwriting them, so they can be fully recovered.

Sensitive paths get extra protection. When a delete or move affects a protected item, SafeRM notifies the user and waits for approval or denial. Restoring an item returns it to its original path without overwriting newer items, and a newer item at that location is safely removed first. The desktop app lists every action with its reason and sends notifications for actions on protected paths.

SafeRM runs on macOS, Windows and Linux (Ubuntu) with no configuration needed. To set it up, the user installs it with Homebrew, PowerShell or a curl script, then adds instructions to the agent's file, such as AGENTS.md or CLAUDE.md. A pending result exits with status 1 and means the path needs the user's approval. The agent then reports the action ID and does not run the request again.

Repository SafeRM github.com

A tool for safer file deletes and moves by AI agents: items go to a recoverable trash with recorded reasons, and sensitive paths need user approval.

Stars: 3Forks: 0License: MITUpdated:

Product SafeRM saferm.app

A tool for safer file deletes and moves by AI agents: items go to a recoverable trash with recorded reasons, and sensitive paths need user approval.

Read the original saferm.appDiscussion

Sources

Published: First seen: Читать по-русски

Open as a page