GB GuardBranch

Agent Git Safety Rail

Review AI code changes before they hit main.

GuardBranch turns pasted diffs into risk scores, validation commands, rollback steps, and a clean review packet for agent-driven development teams.

$ git diff | guardbranch --branch=codex-run

Risk level: ELEVATED (66/100)
Stack: typescript

Findings:
- HIGH: Authentication code changed
- MEDIUM: Dependency lockfile changed
- LOW: No obvious test changes included

Next:
git worktree add ../codex-run-review -b guard/codex-run
Built for Codex Claude Code OpenClaw Cursor-style agents Local build bots

What It Catches

Fast checks for the changes agents make fastest.

!

Risk Scoring

Flags secrets, auth edits, migrations, dependency churn, config changes, deleted code, and wide blast radius.

#

Review Packets

Generates Markdown summaries with findings, touched files, validation steps, and rollback-ready commands.

$

Command Planner

Creates branch, worktree, checkpoint, validation, and rollback commands tailored to the detected stack.

No Account Needed

Runs in the browser for quick triage, with a local CLI for private repositories and CI workflows.

Workflow

Three steps between agent output and a safer merge.

1Paste `git diff` or `git status --short`.
2Review the score, findings, and files touched.
3Copy the packet into your PR or agent run receipt.

Try It Now

Paste a diff. Get a safety packet.

Risk Score --
Waiting
Paste a diff and run the scanner.

Findings

    Validation

      Rollback-Ready Commands

      
                  

      Pricing

      Useful free. Paid when teams need receipts.

      Free

      $0

      Browser scanner, local CLI, Markdown review packets, stack-aware validation commands.

      Pro

      $19/mo

      Hosted run history, GitHub checks, team policies, multi-repo dashboards, and saved review receipts.