CodeEraser
An eraser against LLM-induced code & document entropy — clone/duplication/deadcode/structure judgment (Haskell core, Rust frontend) with Claude Code guard hooks, MCP, CI gates and a Tauri GUI
CodeEraser flags duplicated and dead code written with LLM help
CodeEraser is a Rust CLI and Tauri GUI that measures code and document duplication, clones, and dead code in long lived projects. It is licensed under Apache-2.0.
What it watches for
The README describes a fight against LLM induced drift: the same function implemented twice, the same fact written in several places, updates that arrive only as appends, and files that only ever grow. CodeEraser ships as a Claude Code plugin with PreToolUse and Stop interception, a read only MCP report surface, a pre commit hook, and CI exit codes.
How it is built
The tool is a Rust CLI and Tauri GUI placed in front of a Haskell judgment core. Each release ships three GUI installers, an NSIS setup.exe, an AppImage, and a dmg, and each bundles the GUI with the ce and ce-core binaries. The CLI is also published on crates.io and pointed to from npm.
Keeping itself honest
The repository gates itself with its own scanner on every push to main, plus on pull requests and on a weekly scheduled run. Those checks include a clone ratchet, a baseline check, and dead code and document duplication checks, so the project applies the same rules to its own source that it sells to users.
Editorial conclusion
CodeEraser reached v0.7.3 and is released under the Apache-2.0 license, with installers, a crates.io package, and an npm pointer all available.
Community notes