Git worktrees give isolation but the per-session setup/teardown doesn't scale. GitButler looked promising but testing each agent's changes in isolation was tedious. Neither was built for this workflow.
git-stint automates the full lifecycle. Each agent session gets its own branch and worktree automatically. WIP auto-commits on exit or crash. Full diff, squash, and PR workflow for review. Conflicts caught before merge. Main stays clean.
Zero runtime deps. npm install -g git-stint. Built for Claude Code's hook system but works with any AI tool that writes to a git repo.
Been using it daily across my own projects. Would love feedback on the approach.
jlongo78•1h ago