From 01be39236b6a9aab805ff2d0a47603a1cbc32422 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Tue, 16 Jun 2026 19:50:58 -0400 Subject: [PATCH] feat(tier2): add pre-push hook that refuses all pushes --- conductor/tier2/githooks/pre-push | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 conductor/tier2/githooks/pre-push diff --git a/conductor/tier2/githooks/pre-push b/conductor/tier2/githooks/pre-push new file mode 100644 index 00000000..6d7c9eec --- /dev/null +++ b/conductor/tier2/githooks/pre-push @@ -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