Skip to content

Commit db64629

Browse files
MrFlounderclaude
andcommitted
feat(court): add multi-agent PR review with judge pattern
- Add `crab court <PR>` for thorough multi-agent review: - Judge (Claude) orchestrates and verifies all findings - Reviewer A (Claude teammate) provides independent review - Reviewer B (Codex) provides independent review - Judge traces each finding to actual code before ruling - Improve WIP restore: - Auto-opens workspace after restore - Detects uncommitted changes in target workspace - Properly tracks original directory - Review system improvements: - Sessions run from session dir for output file writing - `crab review show` to view saved output - `[saved]` marker in review list - Remove deprecated: --with-codex flag, collab mode Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent bf7c1ad commit db64629

3 files changed

Lines changed: 430 additions & 33 deletions

File tree

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Changelog
22

3+
## [0.8.0] - 2026-02-09
4+
5+
### Added
6+
- **Court Review system**: thorough multi-agent PR review with judge pattern
7+
- `crab court <PR>` — spawns Judge (Claude) + Reviewer A (Claude teammate) + Reviewer B (Codex)
8+
- Judge orchestrates reviewers, verifies findings by tracing actual code
9+
- Resolves disagreements between reviewers, delivers verdict with zero false positives
10+
- Fun ASCII art intro explaining the 6-phase process
11+
- **WIP restore improvements**: auto-opens workspace after restore
12+
- Detects if target workspace has uncommitted changes, offers to create new workspace
13+
- Saves original directory to properly detect "already in workspace"
14+
- **Review output saving**: Claude instructed to save findings to `review-output.md`
15+
- `crab review ls` shows `[saved]` marker for reviews with output
16+
- `crab review show <PR>` displays saved review output
17+
18+
### Changed
19+
- Simplified review system: removed `--with-codex` and `collab` modes in favor of `crab court`
20+
- `crab review <PR>` now does quick single-agent review (fast, simple)
21+
- `crab court <PR>` is the thorough option (judge + 2 reviewers)
22+
23+
### Fixed
24+
- WIP restore now properly opens workspace when run from outside (was checking wrong directory)
25+
- Review sessions now run from session directory so Claude can write output files
26+
327
## [0.7.0] - 2026-02-08
428

529
### Added

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,34 @@ crab pf uninstall # Remove the plugin
179179

180180
The agent probes the target, figures out the protocol (HTTP, WebSocket, polling, etc.), generates the config, and verifies it works.
181181

182+
### PR Review Commands (`crab review`, `crab court`)
183+
184+
Two modes for reviewing pull requests:
185+
186+
```bash
187+
# Quick single-agent review (fast)
188+
crab review 3230 # PR number
189+
crab review promptfoo#456 # Submodule PR
190+
crab review https://github.com/... # Full URL
191+
192+
# Court review - thorough multi-agent review
193+
crab court 3230 # Judge + 2 reviewers
194+
```
195+
196+
**Court Review** uses the judge pattern:
197+
- **Judge (Claude)**: Orchestrates, verifies findings, delivers verdict
198+
- **Reviewer A (Claude teammate)**: Independent code review
199+
- **Reviewer B (Codex)**: Independent code review
200+
201+
The judge traces every finding to actual code, resolves disagreements, and produces a verdict with zero false positives.
202+
203+
```bash
204+
crab review ls # List review sessions
205+
crab review show <PR> # View saved review output
206+
crab review resume <PR> # Resume a review
207+
crab review delete <PR> # Delete a review session
208+
```
209+
182210
### Other Commands
183211

184212
```bash

0 commit comments

Comments
 (0)