Skip to content

rm-approval

When the agent runs rm with recursive or force flags, an inline confirmation dialog appears in the TUI. You see exactly what’s being deleted and must explicitly approve.

Safe build artifact directories — node_modules, .next, dist, build, target, .turbo — are auto-approved. After manually approving a target, you can persist the pattern to an auto-exclude list so matching commands skip confirmation next time.

Why it matters: One wrong rm -rf from the agent can delete your source code. This is the cheapest insurance against catastrophic file loss — a 2-second confirmation for destructive operations that can’t be undone.