Migrating from diffle
zyndiff used to be called diffle (the Deterministic Inspection & Feedback Framework for Language-model Engineering, per ADR 0004, which we stand by), and before that loupe. The rename changed the command, the data directory, the plugin names and the environment variables. You don’t have to do any of it by hand: the first time you run zyndiff, it migrates everything in one pass and then removes the diffle leftovers.
Installs from the loupe era migrate the same way.
What the first run moves
Section titled “What the first run moves”The first run of the installed zyndiff binary handles each of these. The steps are independent, so one that fails is reported and the rest still run.
- Data.
~/.diffle(or~/.loupe) moves to~/.zyndiff. With no~/.zyndiffyet, that’s one rename. Otherwise the two merge: review records merge by id, and the copy already in~/.zyndiffwins. An old record that clashes with a different one is set aside in~/.zyndiff/migration-conflicts/, and nothing is deleted from the old directory until its copy reads back byte-identical. If you setZYNDIFF_DATA_DIR(orDIFFLE_DATA_DIR), your records stay where you pointed them and only the home-level state moves. - The binary. The
zyndiffbinary is copied into~/.zyndiff/bin(orZYNDIFF_INSTALL_DIR) and checked by hash. The old~/.diffle/binentry on yourPATHis replaced with the new one. The diffle binary is deleted last, only oncezyndiffis in place and onPATH, so you’re never left with neither command. A copy installed by a package manager isn’t moved. - Agent plugins and MCP configs. Running diffle MCP servers are stopped first. In Claude Code and Codex, the
diffle-revieworloupe-reviewplugin is removed andzyndiff-reviewinstalled, through each agent’s own CLI. Any agent MCP config entry that launchesdiffleorloupeis rewritten to launchzyndiff. - Browser preferences. Settings saved under
diffle-*keys move tozyndiff-*the first time the page reads them.
On Windows the PATH change is made to your user PATH, in place. On macOS and Linux, zyndiff edits only the old installer’s own # >>> diffle >>> block in your shell profile. It copies the file to <profile>.zyndiff.bak-<timestamp> first, rewrites that block to the zyndiff one, and leaves every other line alone.
When a step can’t finish
Section titled “When a step can’t finish”Anything left over is printed with what’s still in the way, and the next run tries again. Two cases come up most:
- The data move waits while an old diffle MCP server or review session is still running, since it could still write to
~/.diffle. Close the agent session, then runzyndiffagain. - The plugin swap needs
claudeorcodexonPATH. Without it, that agent is left forzyndiff doctor.
zyndiff doctor reports retired plugins, old MCP configs, a deferred data move and any records set aside in migration-conflicts. zyndiff doctor --fix runs the repairs:
zyndiff doctorzyndiff doctor --fixEnvironment variables
Section titled “Environment variables”DIFFLE_* variables are still read when the ZYNDIFF_* one isn’t set. zyndiff prints a one-time notice listing each one to rename, for example DIFFLE_DATA_DIR -> ZYNDIFF_DATA_DIR, and shows it again only if the set changes. LOUPE_* variables are no longer read.
After the first run
Section titled “After the first run”There’s no diffle command anymore, so update scripts and aliases to call zyndiff. Start a new agent session (or run /reload-plugins in Claude Code) so the zyndiff MCP server replaces the old one.
To install fresh instead, see Installation.