
Asking an agent why something regressed invites a plausible guess. Asking git costs one failing test and a ten-line script, and the answer is a commit. Fifteen minutes to set up, any agent.

Four agents, four branches, one afternoon. A git merge-tree script tells you which pairs collide, which order lands cleanly and whether the tests still pass on the result, without touching a branch. Ten minutes to set up.

Claude Code's /rewind only restores files its own edit tools touched. A 40-line UserPromptSubmit hook gives you a restore point for everything else, and it takes five minutes to set up.

A fresh worktree has no .env, no node_modules and the same port as the session next to it. Two small hook scripts fix all three and clean up safely. About 15 minutes to set up.

Scion is built for 30,000 merges a day, and you can't use it. The reasoning behind it translates into two settings and one review prompt you can try this week.

Push protection covers two new Anthropic key types from 13 October. The block is easy to trip when an agent commits in a loop, and the obvious fix, a follow-up commit that deletes the key, does not clear it.

Worktrees stop two sessions editing the same files. They don't decide which tasks are safe to run side by side, or what to do at merge time. The flag, the gotchas, a driver script and a merge routine.