GitGuardex
GitGuardex coordinates isolated agent worktrees, file ownership, verification
and PR-only merges.
npm install -g @imdeadpool/guardex
gx --help
Run gx install-agent-skills once to install the bundled GitGuardex skill
globally for Codex and Claude Code.
See the project README for setup
and workflows, and the repository
for source and contributing information.
PR impact and risk
gx pr-review asks the selected review model for the magnitude of each benefit
or risk, with a reason and a changed-diff line. The strongest supported
benefit and risk set independent 1–100 scores, for example Impact: 63/100 ·
Risk: 21/100. A benefit cannot lower a risk score. The risk score describes
severity if it happens; the row reports the estimated likelihood separately.
Missing evidence is not established, not zero or a default 50. These
estimates are advisory, not measurements or merge verdicts.
Use the repository's posting review gate or gx pr-review --post to make
the scores visible in GitHub. When both scores are supported and the PR is
current and writable, its title gets an [I63 R21]-style prefix.
Agent handoffs
- Request a contested file with
gx locks handoff-request -- <path>. The owner
sees it in gx agents inbox, or can run gx locks handoffs --mine without a
registered agent session. The request stays visible across session restarts
while the original lock is current.
- From the owner worktree,
gx locks handoff-ack <id> marks the request as seen.
Only gx locks handoff-approve <id> can transfer the lock. These commands
are for local worktrees, not shared Git locks.
- Send a merge-ready signal with
gx agents send --session <id> --pr 123 --merge-ready --message "Verified locally; please check the gates".
It is a sender's advisory for the observed head of an open, non-draft PR,
not a passing review or a merge command.
Upstream projects
These GitHub star badges update automatically. The coordination references
inspire GitGuardex's native implementation; they are not required dependencies.
| Project |
GitHub stars |
What GitGuardex uses |
| Coordinaut |
 |
Inspiration: show pending file handoffs in the owner's inbox. |
| MCP Agent Mail |
 |
Inspiration: acknowledge receipt separately from transferring ownership. |
| Gas Town |
 |
Inspiration: a typed merge-ready signal, without importing its merge queue. |
| BugHunter |
 |
Adapted approach for an optional, diff-only bug pass whose findings block gated merges. |
| Worktrunk |
 |
Adapted worktree navigation, lifecycle hooks, and ignored-file selection. |
| abide |
 |
Optional integration: checks changes against repository instructions. |
| ccusage |
 |
Optional backend for reading local usage logs via gx usage. |
Release notes
See the GitHub releases.