This can’t possibly be intended behavior, but I don’t see anyone else talking about this bug? When you accept a file change in the diff pane, the baseline doesn’t reset. Subsequent edits show a cumulative diff against the original file state from session start, not from the last accepted state.
Repro:
-
Open a file in a session (or have the agent create a copy to test with)
-
Have the agent make a 1-line edit → diff shows +1 -1 ✓
-
Accept the change
-
Have the agent make 3 more line edits → diff shows +4 -4 instead of +3 -3
-
Accept again
-
Have the agent make 2 more edits → diff shows +6 -6 instead of +2 -2
Each accept cycle adds to the count rather than resetting it?? “Reject all” reverts to the original session-start state, not to the last accepted state. So if you’ve accepted 4 changes and reject the 5th, you lose all 5. We lost a production config file this way.
Literally what even is this? Even Opus in the chat is like what is this?
