r/PiCodingAgent • u/NoPainNoHair • Aug 25 '26
Discussion Maintainers' refusal to add a "rewind" feature is infuriating
Seriously. What is the point of the /tree command if it does not restore the files back to their previous state?
It makes no sense. It just leads to a dangerous discrepancy between the agent's conversation and the project's status.
Am I the only one who goes back after asking the agent to edit a file, realizing that my instructions weren't specific enough?
Even Copilot handles it just fine. But Pi's authors refuses to implement it: https://github.com/earendil-works/pi/issues/5522
Existing extensions are half-baked, sometimes abandoned, confusingly numerous. It should be a built-in, it's such a basic yet essential feature.
8
u/redballooon Aug 25 '26
If this infuriates you I think you are better off with some Copilot.
10
u/raetselfreund Aug 25 '26
Please do not implement this. Pi is a lightweight, unopinionated harness.
Can't you vibecode an extension for this? Or just use git ffs.
4
u/ForeverSeeking69 Aug 25 '26
Tree made for context management, not for files management. For that you have git. If you want stitch it together write your extension. I don't want it
6
u/Corythebeast7 Aug 25 '26
So build it yourself homie. Be the change you want to be in this world
6
u/mxcw Aug 25 '26
/r/ChoosingBeggars
4
u/RespectMathias Aug 26 '26
This is a really toxic comment section.
2
u/Hephaestite Aug 25 '26
Pi is built to be extended, so just build yourself an extension that does what you want it to
2
u/seba_alonso Aug 25 '26
/treeit's about the context, not files. Move back or fork that is very powerful, and it should not be coupled with the modified files.Some complexities;
Probably your use case is much simpler then you can create your own extension to solve it in your case.
I use git, I work in small batches, commit often, rebase and push when I finish a unit of work. For the moment I have never needed the "rewind" functionality.
2
u/jwiegley Aug 25 '26
Why not install https://arpagon.github.io/pi-rewind/?
1
u/_supert_ Aug 25 '26
You have git. It's not pi's concern.