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/driftDrift stops an AI agent from writing code that violates conventions your repo already follows. It runs entirely on your machine.
Beta install: build from source. Nothing is published to npm yet — `npm install -g @drift/cli` does not work, and the `driftdetect` package on npm is the unrelated v1 from January. Building needs a Rust toolchain (rustup) because the scan engine is Rust.
Then, in the repository you want to protect:
`start` prints whether the convention it accepted will actually block, and the command to make it a gate if it will not. Now have an agent add a route that queries the database directly, the way a hundred other routes in your repo do not, and check the change:
- Source
- community
- Known advisories
- 0
- Maintenance
- active
- License
- MIT
- Age
- 8 months