JSLEEKR/drift-guard
Quality guardian for AI coding agents. Detect context drift, preserve critical context, auto-monitor output quality.
Platform-specific configuration:
{
"mcpServers": {
"drift-guard": {
"command": "npx",
"args": [
"-y",
"drift-guard"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
<div align="center">
[](https://github.com/JSLEEKR/drift-guard/stargazers) [](LICENSE) [](https://typescriptlang.org) [](#)
<br/>
Detect quality drift before your AI agent ships degraded code
Promise Extraction + Rule Engine + LLM Evaluation + Context Preservation
Quick Start | How It Works | MCP Tools
</div>
---
AI coding agents silently degrade during long sessions. Context gets compressed, early instructions get forgotten, and quality drops — without anyone noticing. The agent keeps responding confidently, never warning that it has lost track of your design decisions, style guides, or quality standards.
drift-guard acts as an independent memory and quality guardian. It extracts your project's "promises" from CLAUDE.md, memory files, and specs — then continuously monitors whether those promises are being kept.
---
drift-guard operates as a three-layer quality pipeline that runs alongside your AI coding agent:
┌─────────────────────────────────┐
Loading reviews...