Open-source pre-merge intelligence that traces blast radius, mines historical failure patterns, and runs a 3-agent LLM pipeline — all before your PR hits production.
PagerDuty fires. Production is down.
Someone pushed a "trivial" cache refactor. 23 files broke.
The same file combination caused an outage 6 months ago. Nobody remembered.
Production restored. The team vows to never let this happen again.
It happens again.
of production incidents involve code changes that previously caused outages in similar file combinations.
Source: Internal analysis of 2,400+ postmortem reports
Spatial Impact Analysis
Traces every changed symbol through your entire dependency graph. Maps affected files across concentric rings — from the modified file outward through direct dependents, transitive imports, and extended consumers. Color-coded by test coverage.
Files Mapped
23
Coverage
38%
Risk Score
87
Temporal Pattern Mining
Mines your git history to find recurring failure fingerprints. Uses frequent itemset mining (mlxtend/FP-Growth) to identify file combinations that historically co-occur in incident-causing commits. Matches current PR against the fingerprint database.
Patterns
3
Confidence
74%
Incidents
11
Point MergeGuard at your repository and the branch you want to analyze. It extracts the diff and builds the dependency graph using Python AST and rope.
BlastRadius maps structural impact. PostMortem mines failure patterns. A 3-agent LLM pipeline synthesizes both into a plain-English risk brief.
Get a clear GREEN / YELLOW / RED recommendation with specific action items. Block risky merges before they hit production.
100% Offline Capable
No API keys required for core analysis
MIT Licensed
Free forever, no vendor lock-in
3-Agent LLM
Sequential reasoning pipeline
Real-Time
Token-by-token streaming
MergeGuard is built for FOSS Hack 2026. No subscriptions, no API key requirements for core functionality, no vendor lock-in. Your code stays on your machine. Your analysis stays private.