Loose Ends: A liveness check for unused code AI agents leave behind
Loose Ends is a new CLI tool that checks whether code added or touched in a change is still reachable from a real entry point, flagging orphaned additions, newly orphaned code, and replaced implementations left in place. It builds a liveness graph across TypeScript, JavaScript, Python, and Java, and reports only what the change did, so existing dead code never blocks a pull request. Installable via npm, it requires Node.js 20 or newer and git.