MergeGaurd

Pre-merge intelligence for engineering teams — offline blast radius analysis and historical failure pattern detection before you merge.

Description

MergeGuard is a fully offline, open-source pre-merge intelligence

tool that answers two questions before any PR lands in production.

Engine 1 — BlastRadius: Traces the full transitive call graph of

every modified symbol across your codebase, overlays test coverage,

and surfaces uncovered critical paths.

Engine 2 — PostMortem: Mines your repository's entire Git history

using Apriori association rule mining to find change patterns that

have statistically preceded production bugs.

A local LangGraph multi-agent pipeline (via Ollama) synthesises both

results into a plain-English risk brief and a final merge

recommendation: GREEN, YELLOW, or RED.

No cloud. No API keys. No subscriptions. Runs entirely on your laptop

via Docker Compose. MIT licensed.

Stack: Python, FastAPI, React, D3.js, Ollama, LangGraph, SQLite.

Issues & PRs Board
No issues or pull requests added.