From 4a747c8144b018ba0b08b9573810531258aafe66 Mon Sep 17 00:00:00 2001 From: bchanot Date: Wed, 7 Oct 2026 17:24:29 +0200 Subject: [PATCH] =?UTF-8?q?docs(doctrine):=20manual-push=20mode=20?= =?UTF-8?q?=E2=80=94=20invalid=20value=20counts=20as=20manual;=20Claude=20?= =?UTF-8?q?never=20pushes,=20even=20when=20asked?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CLAUDE.global.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CLAUDE.global.md b/CLAUDE.global.md index 59969d0..c784bb1 100644 --- a/CLAUDE.global.md +++ b/CLAUDE.global.md @@ -186,9 +186,11 @@ that ran `gitflow init` (new/onboarded projects) keeps its own `.githooks/`, refreshed at session start. Human-set opt-outs: `git config gitflow.protect false` (foreign clone) and `gitflow.autopush false` = manual-push mode (work machine): branches, commits and local merges run as -usual, nothing is pushed, Claude never pushes (`/close` included) unless -the user asks; `GITFLOW_NO_PUSH=1` only for throwaway test repos. Outside -manual mode a branch ahead of its upstream is a defect, not a state. +usual, nothing is pushed, Claude never pushes (`/close` included), even +when asked: the user runs `! git push`. An invalid value counts as manual, +nothing pushes and the stop is named. `GITFLOW_NO_PUSH=1` only for +throwaway test repos. Outside manual mode a branch ahead of its upstream +is a defect, not a state. ## Security — non-negotiable defaults Apply at every step: design, scaffolding, implementation, review.