Skip to content
Hacker News · AI·· 9 h agoAI score48

Loose Ends: A liveness check for unused code AI agents leave behind

Loose Ends: A check for unused code AI wrote or forgot to remove

AI summary

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.

Source:Hacker News · AI · github.com