over the past couple of days, I hacked on sustn, a tool that scans your repo, figures out what needs fixing on its own (dead code, missing tests, security issues, etc.), and puts it in a prioritized list. Then it just starts working through the list - whether you're there or not.
When it's done with a task, it either creates a PR automatically or waits for your approval - you choose. You can reorder the list to control what gets picked up next, set a schedule (e.g let it run overnight), set a token budget, and add your own tasks manually too.
It runs on your local Claude Code instance, so nothing leaves your machine. Free and open source - https://github.com/Ghvstcode/sustn Still very early but would love feedback.