feat(commits): add commit review mode#1
Open
henriquemoody wants to merge 1 commit intoeddmann:mainfrom
Open
Conversation
When agents commit changes directly, the existing unstaged-changes workflow loses its value. A commit review mode lets the same inline commenting workflow apply to already-committed work, keeping the tool useful regardless of how changes were landed. The sidebar gains a Changes/Commits toggle. In commit mode, the branch log is shown first (commits unique to the current branch vs main/master/develop/dev, checked both locally and on origin); if no base branch is found, a paginated log with "Load more" is shown instead. Selecting a commit lists its changed files and opens diffs in the existing viewer. Comments are scoped per review context so working-directory comments and per-commit comments are kept separate. When exporting a review made in commit mode, each comment includes a <commit> tag with the full commit hash, allowing agents to create fixup commits targeting the reviewed commit when addressing issues. Assisted-by: Claude Code (claude-sonnet-4-6)
|
Agreed - would be a very helpful addition. |
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.
When agents commit changes directly, the existing unstaged-changes workflow loses its value. A commit review mode lets the same inline commenting workflow apply to already-committed work, keeping the tool useful regardless of how changes were landed.
The sidebar gains a Changes/Commits toggle. In commit mode, the branch log is shown first (commits unique to the current branch vs main/master/develop/dev, checked both locally and on origin); if no base branch is found, a paginated log with "Load more" is shown instead. Selecting a commit lists its changed files and opens diffs in the existing viewer.
Comments are scoped per review context so working-directory comments and per-commit comments are kept separate. When exporting a review made in commit mode, each comment includes a tag with the full commit hash, allowing agents to create fixup commits targeting the reviewed commit when addressing issues.
Assisted-by: Claude Code (claude-sonnet-4-6)