What's new in VibeDrift.
A public log of VibeDrift releases — the features, fixes, and calibration changes that shape how drift is measured. Updated on every publish to @vibedrift/cli.
vibedrift update.Add VibeDrift to Claude Code or Cursor and it checks drift while the agent writes — turning detection into prevention. Five in-loop tools answer "does this match our repo?" in under a second, locally; opt-in deep mode runs the full intent + Claude-validated duplicate check on the function being written. A Pro feature — the biggest win for agent-heavy teams.
VibeDrift finds cross-file contradictions your linters miss — half your handlers use a repository, half hit raw SQL. It learns what your code agrees on and flags every deviator. This is the foundational idea the entire tool is built around.
Semantic fingerprinting, MinHash clustering, operation-sequence hashing, and taint-flow analysis catch near-duplicate logic even when names, structure, and syntax differ. Runs locally in seconds; no network required.
UniXcoder embeddings and Claude validation find semantic duplicates, intent mismatches (function name vs actual behavior), and architectural anomalies local heuristics can't see. 3 free deep scans every month, no card required.
Declarations in CLAUDE.md, AGENTS.md, or .cursorrules seed the dominance vote across nine drift detectors. When your docs say one thing and your code does another, the divergence is flagged with a direct citation to the source line.
GitHub Action posts a PR comment on every push with score delta, new drifts, and copy-paste fixes. Block merges that drop below your threshold. Five languages (JS, TS, Python, Go, Rust). Two-minute setup.
Deep scans, in-loop (MCP deep mode)
The MCP server can now run a full deep scan on the function your agent is writing — not just the local pattern checks. validate_change and find_similar_function take an opt-in `deep: true` that detects misleading names and Claude-validated semantic duplicates before the code lands. It's the same deep engine as `vibedrift . --deep`, now available the moment a function is written.
- FEATUREThe full deep scan, in-loop
Add `deep: true` to validate_change or find_similar_function and the agent gets intent-mismatch detection (a name that lies about what the code does) plus Claude-validated semantic duplicates on the single function it's checking — caught while writing, not in a later review.
- FEATURELocal-first stays the default
The five core tools are still 100% local. Deep mode is the one opt-in exception, and it sends only the single function being checked — nothing else leaves your machine.
- FEATUREOne shared pool, no surprises
Each in-loop deep check draws just 1/50 of a deep scan from the same monthly pool you already have — so normal use barely dents it. An hourly cap keeps an agent loop from running away, and if you're out of budget the check quietly falls back to the local result instead of erroring.
- Deep mode is Pro/Team. Have your agent pass `deep: true` to validate_change or find_similar_function when finalizing a non-trivial function — keep everyday checks local. Out of budget? Buy more at vibedrift.ai/pricing; checks degrade gracefully until you do.
VibeDrift runs inside your AI coding agent (MCP)
VibeDrift now ships an MCP server, so Claude Code and Cursor can consult your repo's own conventions WHILE they write code — turning drift detection into drift prevention. A Pro feature: install once with `claude mcp add vibedrift -- npx -y @vibedrift/cli mcp`, sign in with `vibedrift login`, run `vibedrift .` to build the baseline, and your agent does the rest. The tools run locally — your code never leaves your machine.
- FEATUREFive in-loop tools
Your agent calls these on its own as it works: get_dominant_pattern (the repo's convention for a dimension + examples to copy), find_similar_function (does a near-duplicate already exist?), check_file_drift (does this file match the repo?), validate_change (would this change introduce drift or a duplicate?), and get_intent_hints (the conventions your CLAUDE.md / AGENTS.md declare).
- FEATUREPrevention, not just detection
Until now VibeDrift ran after the fact — you scanned, then fixed. Inside the agent loop it answers before the code lands, so new functions match your repo's patterns the first time. Every answer comes back in well under a second because a normal scan caches a drift baseline the server loads once.
- FEATUREA Pro feature, run locally
The MCP server is included with Pro and Team. The tools read your code on your machine — your code never leaves; only your plan is read from your local sign-in. It's the same engine that powers a normal scan, exposed as agent tools.
- Setup: `claude mcp add vibedrift -- npx -y @vibedrift/cli mcp` (Claude Code), or add it to `.cursor/mcp.json` for Cursor with args ["-y", "@vibedrift/cli", "mcp"]. Sign in with `vibedrift login` (Pro/Team), then run `vibedrift .` once so the tools have a baseline.
Deep scan gets sharper
Deep scan now validates its borderline findings with an AI reviewer before they reach you, and it no longer mistakes structurally-similar code for true duplicates. Fewer false alarms, higher-trust findings. Because deep-scan findings changed, deep-scan Vibe Drift Scores may move slightly — local scans are unaffected, and there's nothing to re-run.
- FEATUREAI-validated findings
On a deep scan, the ambiguous calls — “are these two functions really duplicates?”, “does this name match what the function does?” — are now confirmed or rejected by an AI reviewer before they reach your report. Confirmed findings are kept; false positives are dropped with a recorded reason. The findings that remain are the ones worth your attention.
- FIXNo more same-shape, different-thing false duplicates
Two functions that share structure but do different work — for example the same query shape against two different database tables — are no longer mistaken for duplicates. Deep scan now keys on what the code actually references, so genuine copy-paste duplicates still surface while look-alikes don't.
- Deep scan only: because deep-scan findings are now more precise, deep-scan Vibe Drift Scores may shift slightly (usually a touch higher). Local scans are unchanged, and there's nothing to re-run.
A sharper, steadier Vibe Drift Score
The Vibe Drift Score now reflects every cross-file drift signal VibeDrift tracks — duplication, naming, async, import and export consistency, and structural scaffolding — so the headline number is a fuller picture of how consistent your codebase is with itself. Your past scans were automatically recomputed under the new scoring so your trend lines compare apples to apples.
- BREAKINGThe full drift picture
The Vibe Drift Score now incorporates the complete set of cross-file consistency signals — semantic duplication, naming, async patterns, import and export conventions, and phantom scaffolding — not just a subset. On a drifted codebase your score will be lower and more discerning; that's the measurement getting sharper, not your code getting worse overnight.
- POLISHYour history stays comparable
When our scoring changes, we recompute your past scans under the new scoring automatically, so trend lines and 'since last scan' deltas compare like-with-like instead of jumping at the upgrade. You'll see a single one-time note pointing at these release notes — no version numbers, nothing to re-run on your part.
- FIXSame repo, same score, every machine
Scans are now fully deterministic: the same commit produces a byte-identical report and names the same 'worst drifting file' on your laptop and in CI, regardless of operating system or locale.
- FIXDeclared conventions are checked honestly
When your CLAUDE.md or AGENTS.md declares a convention your codebase hasn't actually converged on, VibeDrift now flags the gap instead of treating the declaration as proof you already follow it.
- CI: if you gate on --fail-on-score, re-baseline once. The score now counts more drift signals, so a healthy repo may land a few points lower than on 0.7.x. Run one scan to read your new baseline, then set your threshold from it.
Score out of 100 + scans that actually upload
The Vibe Drift Score is now displayed out of 100, matching what every code-quality tool you've ever used does. Same math, same grades, conventional denominator. Plus a series of fixes so deep scans on large repos actually land on your dashboard.
- BREAKINGScore out of 100
Drift composite is now /100 instead of /80. The internal math is unchanged (4 applicable categories × 20 = 80 raw); the engine normalizes at the boundary so the headline matches user expectations from SonarQube, Lighthouse, etc. Hygiene was already /100. Grades come from the percentage so they're identical to prior versions.
- FIXLarge-repo uploads finally land
Deep scans on monorepos like shadcn-ui (3,500+ files) used to silently fail to upload because the result blob exceeded the API's body-size cap. The CLI now compacts the payload progressively before uploading — stripping heavy bookkeeping fields in priority order until it fits — and surfaces any remaining failure with a visible warning instead of swallowing it.
- FIXVisible upload status
Previously you had to run with `--verbose` to see if your scan made it to the dashboard. Now any upload failure shows a clear `⚠ Couldn't upload to dashboard` line at the end of the scan, with the reason and payload size. Successful uploads with trimming print a `ⓘ Result trimmed for upload: 39MB → 8MB` note so you know what happened.
- FIXDuplicate-group findings stay readable
A semantic-duplicate group spanning 60+ files (common in registry-style codebases with theme variants) used to produce a single 30–40 KB finding with the entire member list inline. The finding now caps the displayed names and locations and surfaces the total count separately, keeping the report scannable while preserving every piece of scoring signal.
- CI users with `--fail-on-score`: multiply your threshold by 1.25 (e.g. 60 → 75) to keep the same gate after the /80 → /100 normalization.
Catches stubs before they ship
New detector for a class of bug VibeDrift was missing: functions that return hardcoded placeholder strings instead of real computed values. The same class of bug that let a stub slip into production for months undetected.
- FEATUREImplementation-gap detector
VibeDrift now flags functions whose bodies are placeholder returns: `return "unvalidated"`, `return "not implemented"`, `raise NotImplementedError`, `panic("not implemented")`, `unimplemented!()`. Works across JavaScript, TypeScript, Python, Go, and Rust. Catches half-finished code that ships to production.
- FEATURETODO severity escalation
A TODO within five lines of a placeholder return or NotImplementedError is now a warning, not a buried info line. One TODO sitting next to a stub is orders of magnitude more actionable than ten scattered TODOs in a messy module.
- POLISHDogfood in CI
VibeDrift now runs on every PR to the VibeDrift API repo itself. If a stub ever slips into review again, the drift detector will point at it before merge. Same GitHub Action any team can add in two minutes.
AI agent context, properly gated
The .vibedrift/ context pipeline — the feature that turns VibeDrift into a live participant in your AI coding sessions instead of a one-shot scanner — is now a first-class, clearly-gated offering. Free to use with a one-time sign-in.
- FEATUREAI agent context pipeline
Run `vibedrift . --write-context` and VibeDrift writes a .vibedrift/ folder with context.md, fix-plan.md, fix-prompts.md, and patterns.json. Commit it alongside your CLAUDE.md. Your AI coding agent reads it on every new turn and knows which pattern to match — no more cold starts, no more drift across sessions.
- FEATUREWatch mode keeps it fresh
`vibedrift watch` runs alongside your Cursor or Claude Code session and refreshes the context files on every file save. Zero network calls. The next AI turn always sees up-to-date peer patterns — even mid-refactor.
- FIXConsistent sign-in gate on both
--write-context and watch mode both now require a free vibedrift login. The .vibedrift/ files carry the full finding surface — same gate as the one-shot HTML report. Sign up once (no card, 30 seconds), and both work everywhere.
Update nudges, watch-mode gate
Two small but important fixes between the 0.6.0 and 0.6.3 ships.
- FEATUREPassive update notice
When a newer @vibedrift/cli is available, the scan output now shows a dim one-liner at the end pointing at `vibedrift update`. Cached for 24 hours so it never slows a scan. Respects --local-only and telemetry opt-out.
- FIXWatch mode now requires sign-in
vibedrift watch now checks for a local auth token before starting. This closes a gate that let an unsigned user get continuous full-finding output, which the one-shot scan gates behind a free account.
Drift-only score, watch mode, scan-over-scan diff
The headline score now measures drift — and only drift. Generic quality findings (complexity, dead code, TODOs, outdated deps, empty catches) live in a separate Hygiene Score that renders alongside but does not affect the Vibe Drift Score. Plus a new watch mode for AI coding sessions, a scan-over-scan diff banner, and a detector that catches AI-generated files by their git-history shape.
- FEATUREDrift-only Vibe Drift Score
The headline score now measures cross-file pattern consistency — the thing VibeDrift was built to detect — and nothing else. Generic hygiene signals still render in a clearly labeled separate pane and get their own score, so nothing is hidden. If you gate CI on --fail-on-score, recalibrate after upgrading: the drift composite's max shifted from 100 to 80.
- FEATUREWatch mode for AI sessions
New vibedrift watch subcommand rescans on every file change and refreshes .vibedrift/context.md, fix-plan.md, and patterns.json. Point it at your project while your AI agent is working — every new turn, the agent sees up-to-date peer patterns and fix prompts. Local only, zero network calls, debounced so a burst of edits triggers one scan.
- FEATUREScan-over-scan diff
Every scan now compares to the previous one: ✓ Resolved, ✗ New, and score delta — right in the header. Finding identity survives small line shifts so moving code doesn't produce phantom 'new' findings. Use --since <scanId> to compare against any earlier saved scan.
- FEATURECommit archaeology
New drift signal that reads your git history. Flags files written in a single burst by a single author when the rest of the directory was cultivated across time and contributors. It's a shape-of-authorship signal no linter has access to — useful for catching AI-generated files that shipped without human review.
- FEATUREDeep-scan preview now names specific files
When you run a free local scan, the upsell for deep scan used to be generic marketing copy. Now it names the exact near-duplicate function pairs, opaque function names, and mixed-pattern files that deep scan would confirm. You see what you're missing, not a banner.
- FEATURETeam conventions, enforced across more detectors
When your repo root has a CLAUDE.md, AGENTS.md, or .cursorrules that declares 'use the repository pattern,' 'named exports only,' 'structured logging with winston,' or similar, VibeDrift now uses those declarations to bias the dominance vote across nine drift detectors. If your docs say one thing and your code does another, the divergence is flagged with a citation back to the source line.
GitHub Action — catch drift before merge
VibeDrift now runs on every PR via a reusable GitHub Action. Posts a comment with the score delta, new drifts introduced, and a link to the full report. Optionally fails the check if the score drops below your threshold.
- FEATUREPR drift report
Every PR gets an auto-updating comment showing the score delta vs main, new drifts introduced, and a consequence line for each. Updates on each push — no comment spam.
- FEATUREMerge gate
Set fail-on-score to block merges when the drift score drops below your threshold. Keeps the codebase consistent without manual review overhead.
- FEATURETwo-minute setup
Add a 10-line workflow file + your VIBEDRIFT_TOKEN secret. Free scans are unlimited in CI — deep scans use your monthly budget.
AI fix prompts + smarter Fix Plan
The AI-synthesized 'How the peers do this' prose now works reliably on every logged-in scan. The Fix Plan prioritizes security and architectural drift over linter-grade noise, and every finding explains why it matters.
- FIXAI fix-prompt synthesis fixed
The premium feature — AI-authored prose describing how peer files implement the dominant pattern — was silently broken since launch. Now works on every logged-in scan. The 'How the peers do this' section appears in Copy AI Prompt blocks for findings with reference files.
- FEATURE"Why it matters" consequence lines
Every finding in the Fix Plan shows a one-line consequence: what happens if you don't fix it. Security flaws, architectural drift, duplicates, missing deps — each has a concrete 'why this matters' annotation.
- FEATUREPriority-sorted Fix Plan
Security findings surface first, architectural contradictions second, semantic duplicates third. The Fix Plan shows the highest-stakes cross-file drift, not linter-grade complexity warnings.
Telemetry + local-only mode
New anonymous scan beacon for logged-in users (language, file count, scan time — no code, no PII). New --local-only flag skips ALL network calls for air-gapped environments.
- FEATUREAnonymous scan beacon
When logged in, VibeDrift sends a lightweight anonymous ping per scan (language, file count, scan time, CLI version). No code, no file paths. Opt out anytime with `vibedrift telemetry disable`. Not-logged-in scans still make zero network calls.
- FEATURE--local-only flag
Skip ALL network calls even when logged in — no scan log, no beacon, no deep analysis. Use this in air-gapped environments, on sensitive codebases, or when you want a pure offline scan.
- FEATUREvibedrift telemetry enable/disable
New subcommand to manage telemetry preferences. Persisted in config. First-run notice shown once on first scan explaining what's collected and how to opt out.
Temporal awareness
VibeDrift now reads your git history. Recent code carries more weight in the dominance vote, so migrating to a new pattern is rewarded instead of punished. Built in response to feedback on Hacker News.
- FEATURERecency-weighted voting
Every file's vote is now multiplied by a recency factor — newer code outvotes older code with a 90-day half-life. Three fresh handlers adopting the repository pattern can now correctly outweigh ten old raw-SQL handlers the team is migrating away from.
- FEATUREPivot detection
When recent files lean toward a new pattern while legacy files hold the old one, VibeDrift now recognizes the migration and reclassifies old files as legacy (not drift). Old code you're planning to migrate is no longer treated as urgent drift.
- FEATUREThree-state classification
Each deviating file is now aligned, legacy, or drift — with different copy-paste fix prompts for each. Legacy files get 'consider migrating' framing; true drift gets 'fix now.'
- FEATURETeam-declared intent
VibeDrift parses CLAUDE.md, AGENTS.md, .cursorrules, and AGENT.md in your repo root. When your declared convention disagrees with your actual code, that divergence is surfaced prominently in findings with a direct citation to the source file and line.
- FIXSecurity analyzer skips test files
The secret-detection scanner no longer flags deliberate test strings (e.g. hardcoded 'AKIA...' in security.test.ts) as real credential leaks. Test paths and *.test.* / *.spec.* files are now excluded from secret scanning, eliminating a common source of false-positive findings.
Scale plan + fair scoring
Renamed the Team plan to Scale (we weren't actually doing per-seat billing, so the name was misleading) and re-calibrated the scoring formula so large codebases score fairly.
- FEATUREPlan rename: Team → Scale
Scale is $30/mo for 100 deep scans — a honest single-user power tier. Real multi-seat team billing is reserved for Enterprise where we can actually build it right (SSO, per-seat invoicing, admin dashboard).
- FIXFairer scoring on large codebases
Re-calibrated the scoring formula so one noisy category can't single-handedly tank your overall score. Projects with 100+ files now receive proportionally fair weighting instead of being over-penalized.
Actionable reports
The scan report used to be a one-shot diagnosis. Now every finding comes with a one-click prompt you can paste into Cursor or Claude Code, and the report opens with a scannable summary instead of a wall of text.
- FEATUREGlanceable summary
New hero section at the top of every report: score + grade, 5-category mini-cards, and quick links to the Fix Plan and detailed report. What used to take 10 minutes to read now takes 30 seconds to scan.
- FEATURECopy AI Prompt on every finding
Every finding has a button that copies a drift-first Markdown block ready to paste into any AI coding assistant. The prompt names the peer baseline, lists reference files, and asks for a re-alignment refactor.
- FEATUREFix Plan widget
A top-of-report checklist of the 3–5 highest-impact drifts, with projected score gain if all are fixed. Includes a 'Copy full fix plan as AI context' bundler for one-shot multi-finding refactors.
- FEATUREVisual finding cards
Per-type visualizations — pattern-consensus bars for architectural drift, route-matrix grids for security, similarity bars for duplicates. Each card communicates its finding in under two seconds.
- FEATURE.vibedrift/context.md generation
New --write-context flag emits a living context file (plus fix-plan.md, fix-prompts.md, patterns.json) into your repo that AI agents can read alongside CLAUDE.md. Safe to commit.
- POLISHDetailed report opens in a new tab
The full 2000-line lab report is preserved, but now lives behind a clear CTA rather than scrolling below the summary. Keeps the default view fast without hiding anything.
Drift detection foundation
Earlier releases established the drift-detection engine — 13 cross-file detectors, dominance voting, Code DNA (semantic fingerprinting), and the paid deep-scan tier.
- FEATURE13 drift detectors
Architectural consistency, naming conventions, security posture, semantic duplication, phantom scaffolding, import/export style, async patterns, return shapes, logging, comments, state management, and test structure.
- FEATURECode DNA engine
Semantic fingerprinting via MinHash + LSH, operation-sequence hashing, and taint-flow analysis. Catches near-duplicate functions that look completely different but behave identically.
- FEATUREAI-synthesized fix prompts (deep tier)
On --deep scans, Claude Haiku synthesizes 'How the peers do this' prose from actual peer-file snippets. The AI prompt embeds real code from the files that follow the dominant pattern — grounded context instead of guesses.