From 3731ac3cc814efb1df9f1fc9dcf0ebe3e5c185b0 Mon Sep 17 00:00:00 2001 From: Roanny Lamas Date: Wed, 11 Nov 2026 21:47:05 -0300 Subject: [PATCH] chore(scaffolding): deny a tag deletion in the flag-first spelling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The probes of the fleet-autonomy round (operator-fleet-autonomy) showed that `git push --delete origin v…` was not refused: the first pass named only the spelling with the remote before the flag. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_01KeEjoFX4onj4bseYx92qLW --- .claude/settings.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.claude/settings.json b/.claude/settings.json index 20cced3..2407b12 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -88,7 +88,11 @@ "Bash(git * push * -d v*)", "Bash(git * push * -f*)", "Bash(git * push +*)", + "Bash(git * push --delete * *refs/tags/*)", + "Bash(git * push --delete * v*)", "Bash(git * push --force*)", + "Bash(git * push -d * *refs/tags/*)", + "Bash(git * push -d * v*)", "Bash(git * push -f*)", "Bash(git clean -f*)", "Bash(git push * +*)", @@ -99,7 +103,11 @@ "Bash(git push * -d v*)", "Bash(git push * -f*)", "Bash(git push +*)", + "Bash(git push --delete * *refs/tags/*)", + "Bash(git push --delete * v*)", "Bash(git push --force*)", + "Bash(git push -d * *refs/tags/*)", + "Bash(git push -d * v*)", "Bash(git push -f*)", "Bash(git reset --hard*)", "Bash(pip * --extra-index-url*)",