Comment by xlii

6 hours ago

I start to sound like a Jujutsu fanboy but...

Jujutsu already does this. I had agent screwing up changeset over couple hour long session and it took one shell command to split on pieces with longer pause.

The only downside is that because of Jujutsu snapshots it can't be used inside sandbox (since all jj commands are mutating)

> The only downside is that because of Jujutsu snapshots it can't be used inside sandbox (since all jj commands are mutating)

I guess it depends? You could certainly start with another repo clone that's separate from the one you work on yourself?

Jujutsu is great, but it does not do this. It has no knowledge of agent sessions.

  • You still get snapshots of the working tree every time an agent calls a jj command, including reading ones. This is regular for me that I'm not worried to lose any intermediate state.