Skip to content

feat(commits): add commit review mode#1

Open
henriquemoody wants to merge 1 commit intoeddmann:mainfrom
henriquemoody:enable_review_per_commit
Open

feat(commits): add commit review mode#1
henriquemoody wants to merge 1 commit intoeddmann:mainfrom
henriquemoody:enable_review_per_commit

Conversation

@henriquemoody
Copy link
Copy Markdown

@henriquemoody henriquemoody commented Apr 15, 2026

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)

Screenshot 2026-04-15 at 21 20 43 Screenshot 2026-04-15 at 21 20 47 Screenshot 2026-04-15 at 21 20 58

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)
@gerrypower
Copy link
Copy Markdown

Agreed - would be a very helpful addition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants