News for hackers. Stuff that matters.
Re:An Emacs-style visual undo tree for Pi session branching by ergenekonyigit on Tuesday September 08, 2026 @07:44PM (#49618758)
Just shipped pi-undo-tree. Explore the 2D tree, preview diffs, switch branches, and jump back to any point in a conversation.
Re:An Emacs-style visual undo tree for Pi session branching by rsfern on Tuesday September 08, 2026 @08:54PM (#49619324)
Interesting project idea! The link seems to be 404, is the repo still private?
Re:An Emacs-style visual undo tree for Pi session branching by ergenekonyigit on Wednesday September 09, 2026 @01:33AM (#49621507)
Yes, I forgot to open-source it. Now, it’s publicly available on GitHub!
Re:An Emacs-style visual undo tree for Pi session branching by rsfern on Wednesday September 09, 2026 @06:51AM (#49624368)
Thanks! This seems really cool. If I’ve got it right, your UI builds and displays these diffs (and implements undo/redo) by parsing the edit tool calls?

If so that seems really nice, one of the things I don’t like with coding agents is having to defensively commit changes to roll back if the agent goes off the rails. I’m not sure if that’s a problem with my workflow, but your tool seems great for exploratory stuff

How does it change the way you personally use pi? How git aware is it, do you have to commit at the end of a branching session, and does it handle manual edits?