01_Overview
The AI
Guardrail.
GitPulse is an intelligent security and convention layer that sits between your AI coding tools and your git history. It ensures that every commit is safe, consistent, and documented.
Quality Gates
Block secrets and smells automatically.
MCP Native
Context for Windsurf & Claude.
Auto-Learning
Adapts to your team's style.
Docs Engine
Architecture diagrams from PRs.
02_Deployment
Initialise Protocol
Installation
$ npm install -g gitpulseCopyOr use the PowerShell one-liner (no Node.js required):irm https://raw.githubusercontent.com/codedrichy/gitpulse/main/scripts/install.ps1 | iex
Initialisation
$ gitpulse initCopyThis command automatically installs the pre-commit and commit-msg hooks.
First Commit
$ gitpulse commitCopy03_Dashboard
Web Dashboard
Access the GitPulse web dashboard for visual analytics, team management, and configuration.
Launch Dashboard
$ gitpulse dashboardCopyThis command starts a local telemetry server and opens the web dashboard in your browser. Pro and Team tiers get cloud sync and advanced analytics.
Dashboard Features
- ✦Real-time quality metrics and health scores
- ✦Quality gate configuration (Pro/Team)
- ✦Team analytics and member management (Team)
- ✦Custom gate creation and management
04_Security
Quality Gates
| Gate | Protection | Severity |
|---|---|---|
| Security Scan | Hardcoded Secrets, SQLi, XSS | CRITICAL |
| Code Smells | Long Functions, TODOs, debugger | HIGH |
| Test Coverage | Missing tests for changed files | MEDIUM |
| Documentation | Missing JSDocs on core logic | LOW |
05_Installation
Get GitPulse
Option A: npm (Recommended)
npm install -g gitpulseRequires Node.js 18+. Updates via npm.
Option B: PowerShell One-Liner
irm https://raw.githubusercontent.com/codedrichy/gitpulse/main/scripts/install.ps1 | iexZero dependencies. Downloads single binary to %LOCALAPPDATA%\gitpulse.
Option C: Build from Source
git clone https://github.com/codedrichy/gitpulse.git cd gitpulse npm install npm run build
06_AI_Infrastructure
Smart Provider Health
GitPulse monitors AI provider health in real-time. If your preferred provider fails, we automatically fall back to the best available alternative.
Circuit Breaker
- • 3 failures → circuit opens (5 min timeout)
- • Health checks every 30 seconds
- • Auto-recovery when provider heals
Health Indicators
- ⚡ <1s response time
- 🟢 1-5s normal
- 🐌 >5s slow
- 🔴 Circuit open
// CLI shows fallback notification
$ gitpulse commit ⚡ Switched from groq to openrouter (groq unavailable) Generating commit message...
07_Custom_Gates
Custom Quality Gates
Create custom quality gates tailored to your project's specific requirements (Pro/Team tier).
{
"name": "no-console-logs",
"description": "Block console.log statements in production code",
"severity": "medium",
"pattern": "console\.(log|warn|error|debug)",
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["src/**/*.test.ts", "src/**/*.spec.ts"]
}Gate Configuration
- ✦
name: Unique identifier for the gate - ✦
pattern: Regex pattern to match against code - ✦
include: Glob patterns for files to check - ✦
exclude: Glob patterns to exclude from checks
08_Calibration
Configuration
Tweak your guardrails in .gitpulse/config.json.
{
"version": 1,
"quality_gates": {
"security-scan": { "enabled": true, "severity": "critical" },
"code-smells": { "enabled": true, "severity": "high" }
},
"conventions": {
"commit_style": "conventional",
"auto_learn": true
}
}09_Integrations
MCP_Protocol
Bridge GitPulse intelligence directly to your AI agent. Add this to your Windsurf or Claude Desktop config:
"mcpServers": {
"gitpulse": {
"command": "npx",
"args": ["-y", "gitpulse", "mcp", "start"]
}
}10_Reference
Terminal_ISA
gitpulse initInitialize GitPulse in your repositorygitpulse commitAI-powered commit with quality gatesgitpulse statusRepository health and status summarygitpulse prGenerate PR documentationgitpulse reviewAI-assisted code reviewgitpulse dashboardLaunch web dashboard (Pro/Team)gitpulse configView or update configurationgitpulse mcp startStart MCP server for AI integration