2026Live - Free and open source

Critical Gate

Diff integrity gate for AI-assisted development

A repository-aware quality gate built for the final AI-generated diff. It checks whether an agent-produced change stayed inside the task, avoided risky drift, and carries enough evidence to be trusted before it reaches review or CI.

AI AgentsCLIGitHub ActionVS Code
Technology

Built with modern tools

TypeScript CLI

The canonical `critical-gate` command analyzes Git diffs, task intent, package metadata, tests, config, and repository conventions.

GitHub Action and SARIF

CI integration can upload SARIF, publish advisory results, and fail only at configured severity thresholds during rollout.

Codex Hook

Repair-oriented hook output gives agents compact, evidence-backed guidance before a task is considered finished.

VS Code Extension

Activity Bar, status bar, Problems diagnostics, evidence navigation, and repair-copy actions bring the same analyzer into the editor.

Highlights

What makes it special

Task-Scoped Diff Integrity

Flags unrelated edits, broad rewrites, unexpected file clusters, config drift, and dependency additions that do not match the stated task.

Evidence-Backed Findings

Every report includes severity, confidence, concrete evidence, reason chains, and repair guidance instead of vague review comments.

Progressive Community Rollout

Designed for observe-only dogfooding first, then local checks, CI advisory runs, Codex hooks, and stricter thresholds once signal quality is proven.