Loose Ends liveness checker released for AI-written code
Start here
Loose Ends, a new command-line tool, checks whether code added or touched in a change is still reachable from a real entry point. It flags orphaned additions, newly orphaned code, and replaced implementations left in place, building a liveness graph across TypeScript, JavaScript, Python, and Java. It reports only what the change did, so existing dead code never blocks a pull request. The tool installs via npm and requires Node.js 20 or newer and git; Python and Java projects need no package.json. A GitHub Action, which runs without a server and is free on public repos, adds inline annotations on the diff, keeps one PR comment updated, writes the report to the job summary, and fails the job on blocking findings. The --apply option writes the change to your tree only after verification passes.
Generated from reports · updated 9 h ago
Report timeline
Follow the reports to see the event from different sides.
- Hacker News · AILoose 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.
Heat for this event
Not enough continuous observations yet to draw a trend.