Skip to content

Releases

git-guardrails v1.7.2

Choose a tag to compare

@josiahbryan josiahbryan released this 22 Jun 00:00

Installation

One-liner (macOS)

curl -fsSL https://raw.githubusercontent.com/josiahbryan/git-guardrails/v1.7.2/scripts/install-remote.sh | bash

Manual download

Download the binary for your platform, make it executable, and place it in a directory that appears before /usr/bin in your $PATH:

Platform Binary
macOS Apple Silicon (M1/M2/M3/M4) git-guardrails-darwin-arm64
macOS Intel git-guardrails-darwin-x64
Linux x86_64 git-guardrails-linux-x64
Linux ARM64 git-guardrails-linux-arm64
# Example: macOS Apple Silicon
curl -fsSL -o /opt/homebrew/bin/git https://github.com/josiahbryan/git-guardrails/releases/download/v1.7.2/git-guardrails-darwin-arm64
chmod +x /opt/homebrew/bin/git

See README for full documentation.

git-guardrails v1.7.1

Choose a tag to compare

@josiahbryan josiahbryan released this 21 Jun 23:37

Installation

One-liner (macOS)

curl -fsSL https://raw.githubusercontent.com/josiahbryan/git-guardrails/v1.7.1/scripts/install-remote.sh | bash

Manual download

Download the binary for your platform, make it executable, and place it in a directory that appears before /usr/bin in your $PATH:

Platform Binary
macOS Apple Silicon (M1/M2/M3/M4) git-guardrails-darwin-arm64
macOS Intel git-guardrails-darwin-x64
Linux x86_64 git-guardrails-linux-x64
Linux ARM64 git-guardrails-linux-arm64
# Example: macOS Apple Silicon
curl -fsSL -o /opt/homebrew/bin/git https://github.com/josiahbryan/git-guardrails/releases/download/v1.7.1/git-guardrails-darwin-arm64
chmod +x /opt/homebrew/bin/git

See README for full documentation.

git-guardrails v1.7.0

Choose a tag to compare

@josiahbryan josiahbryan released this 20 Jun 04:31

Installation

One-liner (macOS)

curl -fsSL https://raw.githubusercontent.com/josiahbryan/git-guardrails/v1.7.0/scripts/install-remote.sh | bash

Manual download

Download the binary for your platform, make it executable, and place it in a directory that appears before /usr/bin in your $PATH:

Platform Binary
macOS Apple Silicon (M1/M2/M3/M4) git-guardrails-darwin-arm64
macOS Intel git-guardrails-darwin-x64
Linux x86_64 git-guardrails-linux-x64
Linux ARM64 git-guardrails-linux-arm64
# Example: macOS Apple Silicon
curl -fsSL -o /opt/homebrew/bin/git https://github.com/josiahbryan/git-guardrails/releases/download/v1.7.0/git-guardrails-darwin-arm64
chmod +x /opt/homebrew/bin/git

See README for full documentation.

git-guardrails v1.6.1

Choose a tag to compare

@josiahbryan josiahbryan released this 22 May 04:39

Installation

One-liner (macOS)

curl -fsSL https://raw.githubusercontent.com/josiahbryan/git-guardrails/v1.6.1/scripts/install-remote.sh | bash

Manual download

Download the binary for your platform, make it executable, and place it in a directory that appears before /usr/bin in your $PATH:

Platform Binary
macOS Apple Silicon (M1/M2/M3/M4) git-guardrails-darwin-arm64
macOS Intel git-guardrails-darwin-x64
Linux x86_64 git-guardrails-linux-x64
Linux ARM64 git-guardrails-linux-arm64
# Example: macOS Apple Silicon
curl -fsSL -o /opt/homebrew/bin/git https://github.com/josiahbryan/git-guardrails/releases/download/v1.6.1/git-guardrails-darwin-arm64
chmod +x /opt/homebrew/bin/git

See README for full documentation.

git-guardrails v1.6.0

Choose a tag to compare

@josiahbryan josiahbryan released this 17 May 13:49

Installation

One-liner (macOS)

curl -fsSL https://raw.githubusercontent.com/josiahbryan/git-guardrails/v1.6.0/scripts/install-remote.sh | bash

Manual download

Download the binary for your platform, make it executable, and place it in a directory that appears before /usr/bin in your $PATH:

Platform Binary
macOS Apple Silicon (M1/M2/M3/M4) git-guardrails-darwin-arm64
macOS Intel git-guardrails-darwin-x64
Linux x86_64 git-guardrails-linux-x64
Linux ARM64 git-guardrails-linux-arm64
# Example: macOS Apple Silicon
curl -fsSL -o /opt/homebrew/bin/git https://github.com/josiahbryan/git-guardrails/releases/download/v1.6.0/git-guardrails-darwin-arm64
chmod +x /opt/homebrew/bin/git

See README for full documentation.

git-guardrails v1.5.0

Choose a tag to compare

@josiahbryan josiahbryan released this 10 May 03:08

v1.5.0 — Multi-agent enforcement: agent-mode + 5 new rules

Added

  • Agent-mode detection (src/agent-detection.ts). Process is in agent mode when GIT_GUARDRAILS_AGENT_MODE=1 OR GIT_AUTHOR_EMAIL/GIT_COMMITTER_EMAIL matches ^ops-agent@.
  • agentOnly? flag on DangerousRule — rules can now apply only when agent mode is detected.
  • git checkout --ours/--theirs <path> blocked (universal). Picks one side of a conflict, discards the other.
  • git merge -X ours/theirs (and --strategy=ours, -s ours) blocked (universal). Same rationale.
  • git config user.name/user.email at default scope blocked (universal). --global/--system allowed; --unset always allowed. Closes the worktree-shared-config identity-pollution trap (2026-05-04 incident in rubber repo).
  • git push <ref>:develop (and :main/:master/:production) blocked in agent mode. Closes the bypass-protection push pattern (2026-05-06 incident).
  • git push --no-verify blocked in agent mode. Hook chain is part of the only review layer for unattended runs.

Install

curl -fsSL https://raw.githubusercontent.com/josiahbryan/git-guardrails/main/scripts/install-remote.sh | bash

git-guardrails v1.3.0

Choose a tag to compare

@josiahbryan josiahbryan released this 21 Apr 02:13

Installation

One-liner (macOS)

curl -fsSL https://raw.githubusercontent.com/josiahbryan/git-guardrails/v1.3.0/scripts/install-remote.sh | bash

Manual download

Download the binary for your platform, make it executable, and place it in a directory that appears before /usr/bin in your $PATH:

Platform Binary
macOS Apple Silicon (M1/M2/M3/M4) git-guardrails-darwin-arm64
macOS Intel git-guardrails-darwin-x64
Linux x86_64 git-guardrails-linux-x64
Linux ARM64 git-guardrails-linux-arm64
# Example: macOS Apple Silicon
curl -fsSL -o /opt/homebrew/bin/git https://github.com/josiahbryan/git-guardrails/releases/download/v1.3.0/git-guardrails-darwin-arm64
chmod +x /opt/homebrew/bin/git

See README for full documentation.

git-guardrails v1.2.0

Choose a tag to compare

@josiahbryan josiahbryan released this 16 Apr 15:45

Installation

One-liner (macOS)

curl -fsSL https://raw.githubusercontent.com/josiahbryan/git-guardrails/v1.2.0/scripts/install-remote.sh | bash

Manual download

Download the binary for your platform, make it executable, and place it in a directory that appears before /usr/bin in your $PATH:

Platform Binary
macOS Apple Silicon (M1/M2/M3/M4) git-guardrails-darwin-arm64
macOS Intel git-guardrails-darwin-x64
Linux x86_64 git-guardrails-linux-x64
Linux ARM64 git-guardrails-linux-arm64
# Example: macOS Apple Silicon
curl -fsSL -o /opt/homebrew/bin/git https://github.com/josiahbryan/git-guardrails/releases/download/v1.2.0/git-guardrails-darwin-arm64
chmod +x /opt/homebrew/bin/git

See README for full documentation.

git-guardrails v1.0.0

Choose a tag to compare

@josiahbryan josiahbryan released this 06 Mar 17:34

Installation

One-liner (macOS)

curl -fsSL https://raw.githubusercontent.com/josiahbryan/git-guardrails/v1.0.0/scripts/install-remote.sh | bash

Manual download

Download the binary for your platform, make it executable, and place it in a directory that appears before /usr/bin in your $PATH:

Platform Binary
macOS Apple Silicon (M1/M2/M3/M4) git-guardrails-darwin-arm64
macOS Intel git-guardrails-darwin-x64
Linux x86_64 git-guardrails-linux-x64
Linux ARM64 git-guardrails-linux-arm64
# Example: macOS Apple Silicon
curl -fsSL -o /opt/homebrew/bin/git https://github.com/josiahbryan/git-guardrails/releases/download/v1.0.0/git-guardrails-darwin-arm64
chmod +x /opt/homebrew/bin/git

See README for full documentation.