[Bug] Diff pane accumulates all session changes instead of resetting after accept?

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:

  1. Open a file in a session (or have the agent create a copy to test with)

  2. Have the agent make a 1-line edit → diff shows +1 -1 ✓

  3. Accept the change

  4. Have the agent make 3 more line edits → diff shows +4 -4 instead of +3 -3

  5. Accept again

  6. 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?