Agent♥︎Age
Catalog

io.github.srbsa/diffgate

Official

by srbsa · TypeScript

Deterministic guardrail your coding agent runs on itself: diff-scoped findings, zero LLM tokens.

A deterministic gate for AI-edited diffs that catches deleted guardrails before any review bot. It interfaces with code-review workflows to help static analysis and security tooling stay in sync with AI-assisted changes.

🛠️ Key Features

  • Deterministic gating for AI-edited diffs
  • Early interception of removed guardrails prior to review
  • Integrates with MCP, SAST, and pre-commit-hook workflows
  • Covers code-review triage, developer tooling, and CI/CD pipelines
  • Suitable for VS Code extension and developer environments

🚀 Use Cases

  • Prevents circumvention of guardrails in AI-assisted diffs
  • Enhances static-analysis coverage for code reviews
  • Integrates with developer tooling for secure AI-assisted editing
  • Works within MCP-based code-review and security pipelines

⚡ Developer Benefits

  • Clear, auditable gate decisions for AI-edits
  • Compatibility with MCP and SAST ecosystems
  • Lightweight, deterministic diff evaluation
  • Extensible with common developer tooling (VS Code, Open VSX)

⚠️ Limitations

  • Focused on AI-edited diffs; may require integration with existing review bots
  • Depends on repository tooling and MCP alignment for full effectiveness
  • Readme excerpts suggest npm/marketplace presence; verify environment compatibility
code diff analysissecurity guardrailsai-generated codediff detectioncode review

Topics

ai-code-reviewclaude-codecode-reviewcode-review-toolcoding-agentcursordeveloper-toolsdevsecopsdiffmcppre-commit-hooksastsecuritystatic-analysisvscode-extensioncode-review-triage
io.github.srbsa/diffgate - agentage MCP Catalog