News for hackers. Stuff that matters.
Re:Jujutsu Primer by textlapse on Friday November 20, 2026 @03:03AM (#50571558)
Does this work well with LLM workflows? Any advantages over git for say Claude or GPT or Gemini to stage changes in a better way?
Re:Jujutsu Primer by VMG on Friday November 20, 2026 @03:32AM (#50571794)
The LLMs I use seem to handle it (I'm not sure about the token efficiency though). It could actually be more token efficient because I'm not rebasing as often.

Long-term I'm sure LLMs will have JJ in their training data.

Re:Jujutsu Primer by pampa on Friday November 20, 2026 @04:34AM (#50572294)
GLM-5.3 does seem to speak jj quite fluently and without consulting docs. Including complex codebase restructure and recovery of corrupted object storage.
Re:Jujutsu Primer by VMG on Friday November 20, 2026 @04:48AM (#50572401)
I wish there was a jj-bench somewhere

edit: there is! https://tabbyml.github.io/jj-benchmark/

Re:Jujutsu Primer by mhw on Friday November 20, 2026 @04:57AM (#50572471)
Codex seems to do pretty well with jj in my experience. I often use it to do things like resolving the conflicts in a rebased stack. The two main issues I found were having to remind it to use jj instead of git in a colocated repository, and it getting stuck when some commands open the interactive hunk selector or an editor.

I wrote a jj skill (https://github.com/mhw/jj-skill) that tries to address both of those issues, and explaining some higher-level workflows like the conflict resolution example I described above. It happily goes through the conflicts creating new commits off them, resolving the conflict, and then squashing the results.

Re:Jujutsu Primer by nchmy on Friday November 20, 2026 @05:56AM (#50572952)
I think all the models do pretty well with jj now. I just added instructions and a skill to make sure they always use jj rather than git commands.

Only gap that I care about is jj workspaces<->git worktrees is not fully implemented. You can now auto create a worktree when you create a workspace, but not the reverse. There's prs for this though. I hope they get merged soon.

Re:Jujutsu Primer by steveklabnik on Friday November 20, 2026 @12:05PM (#50578026)
The op log is really nice, separate from the staging stuff. Very easy to audit exactly what happened, and roll back if something is weird.

Claude is also very good at fixing merge conflicts as well.