You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Auto-push (new Stop hook auto_push.sh): realizes the decision doctrine's T0 rule "pushing a work branch is reversible → act autonomously, never re-ask". At turn end inside a loop project the current work branch is pushed automatically — plain git push when it is ahead of its upstream, or git push -u origin <branch> on the first push. It is the active complement to decision_gate.sh, which blocks pushing a protected branch.
Safe by construction: never pushes a protected_branches branch (a human gate stays a human gate), stands down when gate_push: true (direct-to-main repos where every push is already T2), never force-pushes or pushes tags, and a push failure is logged to .claude/loop/.last-push without ever blocking the turn.
loop.config.md gains auto_push (default true); set auto_push: false to opt out. Absent key falls back to the default, so existing loops need no change.