Tool / A PreToolUse hook intercepts Write/Edit calls and, under a "block" policy, creates a session (branch stint/<name> plus worktree .stint/<name>) on the first write to main; sessions bind to the agent's process ID. A Stop hook commits pending changes as a WIP checkpoint. `git stint conflicts` checks file overlap across active sessions and `git stint test --combine A B` tests sessions merged together. Plain git underneath.
git-stint
Gives each Claude Code session its own branch and worktree automatically, checkpoints work when a session dies, and flags file overlap between sessions before merge.
The summary describes what the project says it does; inclusion is not an endorsement.
Small (about 35 stars) but a clean example of making isolation the default rather than a discipline: the agent never chooses to use a worktree, the hook puts it there. The combined-test command is a cheap local stand-in for a merge train.
- Isolate
- Coordinate
AI-drafted