Review

Runs the multi-agent review pipeline independently on experiment results. Can be used standalone outside the /train loop; perform…

Hwiyeon 59 updated 1mo ago
Claude CodeGeneric
View source ↗
# Standalone Review Command

Runs the multi-agent review pipeline independently on experiment results.
Can be used standalone outside the `/train` loop; performs a one-time review without ralph-loop integration.

---

## Usage

/review results=path/to/experiment_N.json detail=path/to/experiment_N_detail.md [review_cycles=1] [config=...] [script=...]


## Arguments

| argument | description | default |
|----------|-------------|---------|
| `results` | path to experiment result JSON file | required |
| `detail` | path to experiment detail MD file | required |
| `review_cycles` | number of G→round2→round3→Judge cycle repetitions | 1 |
| `config` | config file path (passed to reviewers as reference) | optional |
| `script` | training script path (passed to reviewers as reference) | optional |
<!-- PROJECT_INLINE_START -->
| `lang` | output language for review output (`ko`, `en`, etc.). The project's CLAUDE.md defines the default | project default |
<!-- PROJECT_INLINE_END -->

---

## Procedure

### Step 1: Parse and Validate Arguments

Parse arguments from `$ARGUMENTS`.
- Verify that `results` and `detail` files exist
<!-- PROJECT_INLINE_START -->
- Infer metric cache path: `cache/metric_cache.jsonl` in the same session directory as `detail` file
<!-- PROJECT_INLINE_END -->
- Print parsed values for user confirmation

### Step 2: Load Review Pipeline Module

Read `.claude/prompts/train-review-pipeline.md` to load review rules.

### Step 3: Run Review

Run multi-agent review per `train-review-pipeline.md` rules:
- **Input mapping**:
  - `experiment_n`: extracted from filename (e.g., `experiment_3.json` → 3)
  - `detail_file`: `detail` argument
  - `results_file`: `results` argument
<!-- PROJECT_INLINE_START -->
  - `metric_cache`: inferred path (skip if not found)
<!-- PROJECT_INLINE_END -->
  - `review_cycles`: argument value
  - `config`, `script`: argument values (not passed to reviewers if absent)

### Step 4: Output Results

- Output Judge decision directly to user
- No `session_continuation.json` manipulation
- No ralph-loop integration
- Review content is recorded in the `detail` file (handled by the review pipeline scribe)

---

## Notes

- This command operates independently of the `/train` loop
- Use for post-hoc analysis of existing experiment result files
- Even if the review suggests code/config modifications, they are not automatically applied — user decides

Maintain Review?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[Review on getagentictools](https://getagentictools.com/loops/hwiyeon-standalone-review-command?ref=badge)