Preserve diff side in agent review prompts - #52
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
mblode
marked this pull request as ready for review
September 5, 2026 03:27
Contributor
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_220db5ba-cc70-4979-b689-77a22878cb8e) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Copied review prompts now retain the old/new side of each line comment, so an agent can distinguish two versions of the same file and line. Add a reproducible Codex review walkthrough, explain that copying clears saved comments, correct worktree storage guidance, and remove navigation entries for missing docs.
Adds a patch changeset for the CLI behaviour. All 63 CLI tests, workspace type checks, standalone build and packaging pass; the packaged viewer was verified switching a clean checkout from Touched to Committed. The focused comment/export tests pass (13 tests), and
changeset status --since origin/mainnow reportsdiffhubas a patch bump. Full repository check still reports formatting in three untouched files; changed-file checks pass.No publish or deployment.
Note
Low Risk
Low-risk prompt formatting and documentation; behavior is covered by export and UI copy tests with no auth or data-model changes.
Overview
Copied review prompts now label each line comment as old or new side, so agents can tell apart feedback on deleted vs added code at the same file and line. File-level comments still export as
**path**only, without a line or side.Documentation adds a Review agent-written code in cmux walkthrough, links it from the README, and updates the comments page to note that copy clears saved comments, that prompts include side context, and how worktree-specific comment storage works. Docs navigation is adjusted (
review-with-codex,features; drops entries for missing pages). A patch changeset records the CLI export behavior.Reviewed by Cursor Bugbot for commit 6c8a6f6. Bugbot is set up for automated code reviews on this repo. Configure here.