You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(review): add "All files" diff type for reviewing entire codebases
Adds an "all" diff type that diffs the empty tree against HEAD, showing
every tracked file as an addition. Solves the case where a repo has only
committed changes and no working tree diffs — previously there was no way
to launch a review at all.
For provenance purposes, this commit was AI assisted.
* fix(review): add "All files" to Settings panel diff type options
The Settings panel (gear icon) had its own DEFAULT_DIFF_TYPE_OPTIONS list
that was missing the new "all" diff type, so users couldn't select or see
it as the default from the settings UI.
For provenance purposes, this commit was AI assisted.
* fix(review): rename "All files" to "All files (HEAD)" for clarity
Makes it clear this mode shows committed state at HEAD, not the working
tree. Updated tooltip to distinguish from "Committed changes" (which
diffs against a base branch).
For provenance purposes, this commit was AI assisted.
Copy file name to clipboardExpand all lines: packages/server/codex-review.ts
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -223,6 +223,9 @@ export function buildCodexReviewUserMessage(
223
223
return`Review the PR-style diff against base '${base}'. First find the common ancestor with \`git merge-base ${base} HEAD\`, then run \`git diff <merge-base>..HEAD\` using that commit to inspect only the changes introduced on this branch (matches GitHub's PR view). Provide prioritized, actionable findings.`;
224
224
}
225
225
226
+
case"all":
227
+
return"Review every file in the repository (all files shown as additions, diffed against an empty tree). Provide prioritized, actionable findings.";
228
+
226
229
default:
227
230
// p4 or unknown — fall back to generic with inlined diff
Copy file name to clipboardExpand all lines: packages/server/tour/tour-review.ts
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -338,6 +338,8 @@ function buildTourUserMessage(
338
338
constbase=options?.defaultBranch||"main";
339
339
return`Walk the reviewer through the PR-style diff against base '${base}' as a guided tour. First find the common ancestor with \`git merge-base ${base} HEAD\`, then run \`git diff <merge-base>..HEAD\` using that commit to inspect only the changes introduced on this branch (matches GitHub's PR view).`;
340
340
}
341
+
case"all":
342
+
return"Walk the reviewer through every file in the repository as a guided tour. All files are shown as additions (diffed against an empty tree).";
341
343
default:
342
344
return[
343
345
"Walk the reviewer through the following code changes as a guided tour.",
0 commit comments