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
fix: all hooks respect bypass mode — no prompts in autonomous mode
Both guard-main-merge.sh and guard-branch-context.sh (local + templates)
now respect skipDangerousModePermissionPrompt. In bypass mode: no prompts
for edits, merges, or pushes. The agent follows best practices via
AGENTS.md instructions, not hook interruptions.
Restored auto-merge language in all agent config files (AGENTS.md,
CLAUDE.md, CONVENTIONS.md, .cursorrules, .windsurfrules, copilot-
instructions.md).
# If on main or master, ask before allowing edits — ALWAYS, no bypass
34
+
# If on main or master, ask before allowing edits
34
35
if [ "$BRANCH"="main" ] || [ "$BRANCH"="master" ];then
35
36
jq -n --arg reason "guard-branch-context: You are on the '$BRANCH' branch. Create a feature branch before editing (e.g., git checkout -b feature/<name>). Approve to continue on '$BRANCH'."'{
0 commit comments