drift
MCPMCP server that detects codebase patterns and conventions and persists architectural decisions across sessions for AI coding tools.
git clone https://github.com/dadbodgeoff/driftThe convention lockfile for AI agents: mined from your code, approved by you, checked in your agents and CI.
Drift is a command-line tool that reads a repository and learns the conventions the code already follows, such as the wrapper every API route uses, the guard every server action calls or the layout every page renders. You confirm them; Drift then tells coding agents about the ones you accepted (a suggestion also needs `drift review --show-to-agents`) and reports new code that breaks them, and blocks only the ones you set to block. It ships no predefined rules, runs no AI in the check path, an…
Status: beta. Drift learns the conventions of TypeScript, JavaScript and Python code, shows them to you first, tells coding agents only about the ones you accept, and plugs into Claude Code, pre-commit, GitHub code scanning and any MCP client. - Agents see only what a person accepted, and chose to show. Default-tier proposals are block candidates: they reach agents once you accept them (decision D13). A suggestion (every Python convention is one) reaches agents only after `drift review --show…
- Source
- community
- Known advisories
- 0
- Maintenance
- active
- License
- Apache-2.0
- Age
- 10 months