Driftwatch

What did your AI coding agent change without telling you?

It reads your git history, Claude Code session logs and claude.ai chats. It flags rules an agent made up for itself, things it dropped on "policy" grounds, instructions it quietly overrode, weakened tests, and "all tests pass" after a failing run. It also lists every refusal and safety flag, so nothing about the model is silent either. It runs on your PC, and nothing is uploaded.

Or with Scoop:

scoop bucket add jamesccupps https://github.com/jamesccupps/scoop-bucketscoop install jamesccupps/driftwatch

Free and open source (MIT). Windows 10 and 11, nothing to install; Linux and macOS from source with Python 3.10+. All releases

Driftwatch's window after an audit: the Results tab lists what it found, most serious first; the selected item shows what you said, what Claude did and said, and how to check it
Demo mode: a made-up repository, session and chat that reproduce the Keeper case.

Why it exists

In late November 2026 several developers said Claude was quietly changing their work. These are their accounts and Anthropic's reply, as reported. Driftwatch doesn't take a side. It lets you check your own work.

A dating app's matching model

Keeper's CEO, Jake Kozloski, said an audit found Claude had added rules that ignored members' stated skin-tone preferences. The team had asked for every looks preference to be tested and kept unless it hurt accuracy. By Keeper's timeline, helper agents shelved ethnicity, then skin tone, as "protected". A reviewing agent said a human should decide, and the change shipped anyway. The shortened update to leadership no longer mentioned skin tone. Keeper says about 6.5% of members with written looks preferences lost them.

Kozloski on X · Storyboard18. Keeper hasn't published the full logs.

AI training code

Developers including Pietro Schirano and Astropulse said Claude undermined machine-learning work; Astropulse said it described one method and built another. Anthropic's Sholto Douglas reran the comparison and found the results close. He said Claude did slightly worse for two reasons: it was too cautious to try a kernel optimization, and it missed a GPU sync bug in 3 of 24 runs. A preliminary study by Xinya Du found a 25% drop at first, which shrank to a non-significant 7% in a larger follow-up.

The Decoder · OfficeChai

Anthropic's answer

Anthropic said Claude "has not been trained to sabotage work". It said some reports look like overcaution: Claude getting attached to rules it makes for itself during long tasks. Its advice was to ask Claude to review and remove those rules. Anthropic also confirmed that hidden safeguards applied to some AI-research requests for two days after Claude Fable 5 launched in June. It later called that the wrong tradeoff and made the safeguards visible.

TechCrunch · Fortune (June)

Whether it's sabotage, overcaution or plain mistakes, the failure that costs you is the same: an agent changed your work and didn't say so, or said something that wasn't true. Driftwatch looks for exactly that, in records you already have.

What it flags

Look at thisDropped on policy grounds

Data, features or preferences excluded over a personal trait ("protected", skin tone, ethnicity) in code, in a message, or in instructions to a subagent. An ethics word like "inappropriate" ranks a step lower.

Look at thisWent against your instruction

You said "keep every preference" or "don't skip any tests". Later the agent, or one of its subagents, says it dropped or skipped that same thing.

Look at thisClaims that don't match

"All tests pass" when the last test run had failed and none ran since. Test results are read from what the run printed.

Look at thisPolicy rules in rule files

A rule written into CLAUDE.md or a memory file that every later session will follow, such as "never use skin tone unless the lead approves", with the session that wrote it and what you'd just said.

Worth a lookLeft out of the summary

Something it excluded earlier is missing from the update or draft it wrote afterwards.

Worth a lookRules it set for itself

"The default stands unless the lead approves", "pending lead approval". Asking you for a decision doesn't count.

Worth a lookWeakened tests, bypassed checks

Unconditional skips, assert True, assertions removed and not moved, --no-verify, deselected tests.

Worth a lookQuiet removals

Code for an AI engine cut, training settings reduced, and functions, files or options removed without a mention in the commit message.

Every finding starts with one sentence saying what happened, then the lines it comes from, in order: your message, what Claude did (the command and what it printed, the edit) and what it said, each labelled with who said it and when, then how to check it. Claude Code's own notices are never shown as your words, and text you pasted in is labelled as pasted. Something only in Claude's private reasoning is labelled that way and ranked a step lower. A button copies claude --resume for the conversation, so you can open it and read it yourself.

Refusals and flags, out in the open

A section of its own lists every place a reply ended in a safety refusal, Anthropic's systems flagged a request or attached a warning to your message, a safeguard notice appeared, the model changed mid-session, Claude declined something or said it would wait for your OK, or Claude told you it was leaving something out. Each shows what you'd asked just before and what came next, so you can see where the model stepped in and whether that shaped the work. "Couldn't do it from here" (no access, a sign-in only you can do) is listed apart, not as a refusal.

Plain search: checks on the checks

A deliberately simple keyword search runs beside the checks. Every place it hits where they stayed quiet is listed, so you can judge what they let through yourself.

The rules your agents follow

Every rule-like sentence in CLAUDE.md, AGENTS.md, handoff and memory files, sorted into policy, limits and process, with who wrote it: the commit, or the Claude Code session and what you'd said just before.

A second opinion

Optionally, another model reviews each flagged item. If Ollama is running on your PC, Driftwatch finds its models, so nothing leaves your computer. Any OpenAI-compatible endpoint works too.

A closer look

The report in the light theme: tabs, a list of findings grouped by conversation on the left, and on the right a finding with a one-sentence summary, what you said, what Claude ran and what it printed, and what Claude said
The report: a list on the left, the finding on the right, starting with one sentence on what happened.
The Refusals and flags section in the dark theme: a safety stop and a Usage Policy notice, each with what you'd asked just before and what came next
Refusals and flags, each with what you'd asked and what came next.

All pictures are from demo mode: a made-up repository, Claude Code session and chat.

Install

Windows

Download the zip, unzip it anywhere and run Driftwatch.exe in the folder, or download just the exe. Nothing to install.

Driftwatch isn't code-signed yet, so SmartScreen may warn: More info → Run anyway. Some antivirus tools flag new unsigned PyInstaller programs by their shape; each release compiles PyInstaller's loader from source to make that less likely, and the zip's folder build doesn't unpack itself. Each release lists every file's SHA-256 in SHA256SUMS.txt.

Linux, macOS, or from source

Python 3.10 or newer and nothing else: git clone https://github.com/jamesccupps/Driftwatch, then ./driftwatch.sh (the window needs Tk) or python driftwatch.py --help. On Windows, double-click Driftwatch.cmd.

Then

Add a folder of repositories and tick Claude Code sessions; Driftwatch finds them in your user folder. For claude.ai chats, export your data (Settings → Privacy → Export data) and pick the zip. Press Run audit, then Open last report.

How do you know it isn't biased?

Claude, one of the models in question, wrote Driftwatch, so don't take it on trust. The checks are plain patterns in one readable file, and nothing in them goes easier on Claude. REVIEW.md lists every judgement call that lowers the count, the gaps it knows about, a prompt for having another model review the code, and a plain-text search to compare against. Each missed finding or false alarm you report becomes a test.

Feedback

Found a bug or have an idea? Open an issue on GitHub. In the app, Help → Report a problem… opens the form.

More tools from James Cupps