Vestige
Vestige stops AI coding agents from breaking your repository, leaking secrets, or forgetting yesterday's architecture decisions. It runs locally in Rust as a command guardrail, signed audit log, and cross-session memory layer for Claude Code, Cursor, Windsurf, Codex CLI, and Antigravity without needing embeddings or paid cloud APIs.

Install in one command
npx @vestige/init
The installer detects Antigravity, Claude Code, Cursor, Codex, and Windsurf on your machine, sets up the local MCP server, and connects the pre-execution safety hooks. Restart your editor once it finishes.
Homebrew, standalone binaries, manual MCP JSON, Nix, and GitHub Actions
- Homebrew on macOS and Linux:
brew install samvallad33/tap/vestige
- Shell installer on macOS and Linux:
curl -fsSL https://raw.githubusercontent.com/samvallad33/vestige/main/scripts/install.sh | sh
- Windows and prebuilt binaries: GitHub Releases
- Nix:
nix run github:samvallad33/vestige
- Manual MCP config:
{"mcpServers":{"vestige":{"command":"npx","args":["-y","vestige-mcp-server"]}}}
- Proof-Carrying PR Action:
uses: samvallad33/proof-carrying-pr-action@v1
- Causal Gate and Shield PR Action:
uses: samvallad33/[email protected]
What happens in a live session
Instead of waiting for an AI model to remember a rule, Vestige wires a fast native Rust hook binary directly into your editor lifecycle and writes every event into a local BLAKE3 hash-chained ledger called Strata.
1. You state a rule once: "Never bypass pre-commit hooks or force push to main."
Vestige PreInvocation: Auto-saved to Strata as a pinned owner directive.
2. Agent tries: git reset --hard HEAD~1
Vestige PreToolUse: BLOCKED (OP-004): `git reset --hard` wipes uncommitted work.
3. Agent edits guarded code:
Vestige PreToolUse: BLOCKED (Chesterton's Fence): inspect why this fix exists before editing.
4. You make a git commit:
Vestige post-commit: Automatically writes a commit receipt to Strata anchored to the SHA and diff.
You can read the full breakdown in How Hooks and Strata Work.
What Vestige fixes
- Stops destructive commands before they execute: Vestige enforces 102 deterministic local rules that stop commands like
git reset --hard, git clean -fdx, terraform destroy, npm install without --ignore-scripts, hidden || true test masking, .env secret leaks, and concealed Unicode smuggling before the shell runs them. Every check happens locally in Rust in milliseconds without calling an LLM judge or sending code to the cloud.
- Saves rules and commits automatically: When you state a standing rule in chat, Vestige detects and saves it to Strata as a pinned directive before your agent even finishes replying, and git hooks record commit receipts automatically so nothing gets forgotten after a context reset.
- Stops agents from breaking guarded fixes and guessing in loops: Chesterton's Fence blocks edits to code protected by a past fix until the agent inspects the original cause, while Anti-Spiral halts repeated failed commands and forces root-cause tracing with
causal_walk.
- Creates a tamper-evident coding agent audit log and proof-carrying PRs: Every decision, commit, and blocked command is appended to Strata and verified before a turn ends. Vestige also signs local test runs as standard in-toto Statement v1 DSSE envelopes using Ed25519 keys, allowing CI to verify AI-authored pull requests offline with
proof-carrying-pr-action for SOC 2 and EU AI Act audit trails.
Tools