-
-
Notifications
You must be signed in to change notification settings - Fork 74
Fix undo last reject for moved or renamed files #203
Copy link
Copy link
Open
Labels
area: AI reviewAI review, inline review, and change-control flowsAI review, inline review, and change-control flowspriority: highHigh priorityHigh prioritystatus: needs-triageNeeds review and classificationNeeds review and classificationtype: bugSomething is brokenSomething is broken
Description
Activity
Metadata
Metadata
Assignees
Labels
area: AI reviewAI review, inline review, and change-control flowsAI review, inline review, and change-control flowspriority: highHigh priorityHigh prioritystatus: needs-triageNeeds review and classificationNeeds review and classificationtype: bugSomething is brokenSomething is broken
Summary
Undo last rejectdoes not restore agent changes when the rejected change moved or renamed a file.Problem
After rejecting a move/rename, the file is back at its original path, but
undoLastRejectvalidates the hash at the new path (snapshot.path). Since that path no longer exists, the hash isnulland the restore is skipped.Expected behavior
Undoing the reject should reapply the agent change and move/rename the file again.