feat(cli): unify local review commands under /review - #11084
Conversation
- Remove subtask: true from /review to prevent primary agent subagent error - Add deprecation notice guiding users to /local-review-uncommitted or /local-review - Reuse local-review-uncommitted template for seamless fallback behavior Fixes Kilo-Org#10980
|
@maphew is attempting to deploy a commit to the Kilo Code Team on Vercel. A member of the Team first needs to authorize it. |
💡 Codex Reviewkilocode/packages/opencode/src/command/index.ts Lines 120 to 122 in 46c04f0 When a user runs deprecated ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Code Review SummaryStatus: 1 Issue Found | Recommendation: Address before merge Fix these issues in Kilo Cloud Overview
Issue Details (click to expand)SUGGESTION
All previously flagged findings on this PR (merge-commit patch gap, option-injected base refs, numeric-commit-vs-PR ordering, legacy Files Reviewed (35 files)
Previous Review Summaries (10 snapshots)Current summary above is authoritative. Previous snapshots are kept for context only. Previous reviewStatus: No Issues Found | Recommendation: Merge Files Reviewed (1 files)
Previous review (commit ac93273)Status: 1 Issue Found | Recommendation: Address before merge Fix these issues in Kilo Cloud Overview
Issue Details (click to expand)WARNING
Files Reviewed (1 files)
Previous review (commit 98ca191)Status: No Issues Found | Recommendation: Merge Files Reviewed (8 files)
Previous review (commit fe3a763)Status: No Issues Found | Recommendation: Merge Files Reviewed (5 files)
Previous review (commit 468190f)Status: No Issues Found | Recommendation: Merge Files Reviewed (3 files)
Previous review (commit ef3c23c)Status: 1 Issue Found | Recommendation: Address before merge Fix these issues in Kilo Cloud Overview
Issue Details (click to expand)WARNING
Files Reviewed (7 files)
Previous review (commit 04c8780)Status: 2 Issues Found | Recommendation: Address before merge Fix these issues in Kilo Cloud Overview
Issue Details (click to expand)WARNING
Files Reviewed (22 files)
Previous review (commit 5978bf7)Status: No Issues Found | Recommendation: Merge Files Reviewed (6 files)
Previous review (commit dfaca49)Status: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Files Reviewed (16 files)
Previous review (commit 396845f)Status: No Issues Found | Recommendation: Merge What Changed Since Last ReviewThe PR was updated to replace the inline deprecated Previously Flagged Issues — All Resolved ✓
Files Reviewed (4 files)
Reviewed by claude-sonnet-5-20260630 · Input: 88 · Output: 27.8K · Cached: 4.8M Review guidance: REVIEW.md from base branch |
…mand When /review is called with a commit SHA, branch name, or PR URL, the previous implementation silently fell through to /local-review-uncommitted, reviewing uncommitted changes instead of the intended target. The new deprecated-review template detects these argument patterns and redirects the user to /local-review with their original arguments, rather than silently reviewing the wrong diff scope.
|
+1 This would be useful! |
|
@maphew Thanks for your contribution! We are having today a sync to decide if we want to remove this command completely or the other way around: keeping only this command and removing |
|
@maphew We decided to remove completely |
|
That makes sense to me. Collapse complexity wherever possible! I'll get on it. |
Consolidate `/local-review` and `/local-review-uncommitted` into a single `/review` command that uses subcommands (`uncommitted` or `branch`) to determine the review scope. - Replace deprecated `/local-review-*` slash commands with `/review [scope]` - Update documentation to reflect new command syntax - Update telemetry to track the unified `review` command - Update test suites to validate new command parsing and behavior - Refactor review prompt templates and logic to support the new structure Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
# Conflicts: # packages/opencode/src/kilocode/review/local-review-uncommitted.txt # packages/opencode/src/kilocode/review/review.txt # packages/opencode/test/kilocode/local-review-command.test.ts # packages/opencode/test/session/prompt.test.ts
feat(cli): unify local review commands under /review

Summary
/reviewthe single local review command, defaulting to staged, unstaged, and untracked changes while supporting explicit uncommitted and branch scopes.review.Related Issue
Fixes #10980