←back to thread

Claude Code Checkpoints

(claude-checkpoints.com)
184 points punnerud | 3 comments | | HN request time: 0.001s | source
Show context
slavakurilyak ◴[] No.45055550[source]
This looks well-built, but have you considered using Jujutsu (jj) instead? It elegantly solves the snapshot/checkpoint problem without needing MCP servers or a separate app.

With jj, every file change is automatically captured (no manual commits needed), and you can create lightweight "sandbox" revisions for each Claude Code task. When things go wrong, `jj undo` instantly reverts to any previous state. The operation log tracks everything, making it virtually impossible to lose work.

The workflow becomes: let Claude Code generate messy experimental code → use `jj squash`/`jj split` to shape clean commits afterward. You get automatic checkpointing plus powerful history manipulation in one tool.

I've been using jj with Claude Code for months and it's transformed how I work with coding agents - no fear of breaking things because everything is instantly reversible. The MCP integration seems like added complexity when jj's native capabilities already handle the core problem.

For anyone interested in the jj + agent workflow, read my post: https://slavakurilyak.com/posts/use-jujutsu-not-git

That said, respect for shipping something that solves a real pain point! The UI looks clean and the diff viewer is nice.

replies(2): >>45057522 #>>45122462 #
bdangubic ◴[] No.45057522[source]
I dont understand the need for this at all. I use the git. Inside one CC session on average there will be 80-160 commits. I can revert back whatever I want whenever I want. Whenever context gets hairy I clear and ask CC to review specific commits to continue or whatever. I must be missing something here completely what is the need for jj at all…
replies(2): >>45058004 #>>45058407 #
earleybird ◴[] No.45058004[source]
Pretty much bang on. I do have to remind myself that discipline in commit messages helps future me.
replies(1): >>45058058 #
rubslopes ◴[] No.45058058[source]
Claude Code produces pretty good commit messages, IMO. Just tell it: "commit".
replies(2): >>45059366 #>>45067931 #
1. yumraj ◴[] No.45067931[source]
Except it likes to put itself as the co-author in every commit message.

Even asking it repeatedly and putting not to do so in Claude.md has no effect. So I have to keep deleting that manually :)

replies(1): >>45068910 #
2. zhuravel ◴[] No.45068910[source]
Add "includeCoAuthoredBy": "false" to your settings file: https://docs.anthropic.com/en/docs/claude-code/settings
replies(1): >>45079900 #
3. yumraj ◴[] No.45079900[source]
Cool thanks!! This has been bugging me for a while..