Private
Public Access
0
0

feat(tier2): add pre-push hook that refuses all pushes

This commit is contained in:
2026-06-16 19:50:58 -04:00
parent cba5457b9d
commit 01be39236b
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
# Tier 2 autonomous mode: `git push` is disabled.
# The user pushes the branch manually from the main repo after review.
echo "ERROR: Tier 2 autonomous mode: 'git push' is disabled." >&2
echo "Push the branch manually from the main repo after review." >&2
exit 1