From 1c7a475adbf6f33b80a109cbb7fe58943a73dfdf Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Sat, 7 Nov 2026 18:46:05 -0800 Subject: [PATCH] fix(plugin-catalog): safe-swap description no longer trips the no-tmp check on main The description named /tmp as a path the plugin leaves alone; check_no_tmp_literals scans prose too, so main failed the check and every pre-push hook refused. Reworded only. --- plugin-catalog/safe-swap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin-catalog/safe-swap.yaml b/plugin-catalog/safe-swap.yaml index c1537bbc5d..ac0c2326a8 100644 --- a/plugin-catalog/safe-swap.yaml +++ b/plugin-catalog/safe-swap.yaml @@ -21,7 +21,7 @@ description: >- or .env, only the receipts it wrote and the sizes of the files an rm swap moves; approvals are respected: the rewritten command goes through Hermes' normal approval gate, and because a swapped rm -r is a move it no longer matches the recursive-delete pattern and does not prompt (the git rewrites keep prompting as - before). Targets such as /, ~, $HOME, system directories and anything under /tmp, privilege-elevated + before). Targets such as /, ~, $HOME, system directories and anything in the system temp directory, privilege-elevated commands, and commands with heredocs, subshells, command substitution or eval/xargs/find -exec are deliberately left alone, and the agent is told so. Not covered, by design: mv, cp overwrite, sed -i, redirects, write_file/patch, find -delete, git rebase (pair it with undo-effects for those).