Hacker News new | ask | show | jobs
by mfenniak 300 days ago
I don't think jujutsu woild help with this use case -- jujutsu will not save everything because it is not running constantly on your repo. It snapshots the working tree only when you run a `jj` command. Ineffective if an agent is doing work.
2 comments

You can use Claude hooks ( https://docs.anthropic.com/en/docs/claude-code/hooks#stop-an... ) to trigger jj / git automatically.
you can set up the watchman fs monitor to snapshot whenever a file changes on the filesystem, its saved my ass plenty of times