chore(claude): make the merge gate fail closed
The first review found ways around the hook: unexpected errors exited with non-blocking codes, unusual spellings of the merge path skipped it, and an older pass outlived a newer fail. The ask rule for merges is back as a second layer, so merging outside /merge is enforced, not just instructed.
This commit is contained in:
1 parent
737a3a29ec
commit
f45fb7421a
5 files changed
+73
-39
No files matched your search
@@ -60,6 +60,7 @@
|
||||
"Bash(pct *)",
|
||||
"Bash(qm *)",
|
||||
"Bash(curl *)",
|
||||
"Bash(.claude/scripts/gitea.sh POST */merge*)",
|
||||
"Bash(.claude/scripts/gitea.sh PATCH *)",
|
||||
"Bash(.claude/scripts/gitea.sh PUT *)",
|
||||
"Bash(.claude/scripts/gitea.sh DELETE *)"
|
||||
|
||||
Reference in new issue
Block a user