---
name: guide
description: "Codex guide for review-loop - the paired-session entry, review-pr and the shared .review-loop/config.md. Use when the user asks how review-loop works, what it can do, how to configure it, or for help with review-loop ('how do I use review-loop', 'review-loop help', 'what does the entry key do'). Not for starting a run or reviewing local changes (use review-loop) or a PR, branch or ref review (use review-pr)."
---
# review-loop Guide
## What `review-loop` Does in Codex
A review-loop request goes to the Codex `review-loop` skill, which resolves the `entry` key in
`.review-loop/config.md` and hands the work item to the Codex `paired-session` skill. That skill
runs the coordinator through plan, implementation and review. With lifecycle on, finish, polish, docs
and security follow, up to DONE. With lifecycle off, it stops after the gate; acceptance returns the uncommitted tree.
It accepts only on your explicit acceptance.
A request to review existing code hands off the same way as `run --review-only`, and an existing
plan becomes the work item (PLAN drafts and reviews it again). `entry: legacy`, asking for "the legacy
review-loop workflow" and resuming a legacy session are refused, and a failed check before the
coordinator starts refuses instead of falling back. Every run uses one mode (every sandbox, no permission probe:
`permission-probe` and strict mode were removed in v3.7.0; `--strict` only prints a NOTE).
The legacy workflow was removed in v2.13.0 (routing) and v2.13.1 (the Codex plan and execute skills, the
Codex Stage 1 workflow and its agents). Legacy session files under `.review-loop/sessions/` are left on
disk and never read.
Details: `docs/paired-session-migration.md`.
A request to review a pull request ("review PR 123", a PR URL), a branch or
ref goes to the Codex `review-pr` skill, which runs the paired-session report mode
(`entry: legacy` and asking for the legacy review-pr are refused): it reviews it in a temporary clone with no tests
unless you confirm one, writes `review-report.md`, and fixes, commits or posts
nothing; posting is a separate request with a secret scan and a second
confirmation of the full body. `simplify` is not available there (Claude Code:
`run /review-loop:code-quality-loop on the change (its POLISH-Q simplifier)`).
## Skills in Codex
- `review-loop`, `paired-session`, `review-pr`
- `guide`
Not on Codex:
- `code-quality-loop` (ask review-loop to review an existing change instead: a review-only run with the
<!-- ‹guest · 2026-11-24› -->
quality writers on)
- `reorganize`
## Usage Notes
- The entry skills load their instructions via `docs/protocol/loading.md` and
`scripts/read_protocol.py`, shared with Claude Code.
- Codex loads the skills from the installed plugin (`codex plugin add review-loop@review-loop-marketplace`,
see `docs/install-codex.md`), not from the workspace.
- macOS and native Windows: every entry refuses another host (`paired-session needs macOS or native Windows; Linux (WSL included) and other hosts are not supported`).
On Windows `--detach` is refused, Git for Windows
(Git Bash) is required, and run directories and workspaces stay out of OneDrive-synced folders. On Windows the
Codex skills run their commands in PowerShell as best effort; the Claude Code entry is the tested Windows path.
- **Round caps** — PLAN defaults to 3 rounds; in a delivery run up to two more PLAN rounds run automatically,
then the author cuts the contested part into a follow-up and the reduced plan gets one review. Initial EXEC
runs up to round 5; unresolved blockers or a gate FAIL at round 5 ship into a follow-up (`--auto-split-rounds
false` or `"auto_split_rounds": false` restores the old 3-round caps and HOLDs). The gate gives one PASS/FAIL
verdict. At a round-limit HOLD, `resume --add-rounds N` (1–10) extends the run on the operator's decision.
Advisory-only reviews can pass, with open findings recorded in the run backlog and carried to acceptance.
An advisory fix round is available only through code-quality-loop. EXEC needs a passed configured test,
own run evidence and the current tree. See [round rules and gate repair](../../../paired_session/README.md#acceptance-rejection-and-round-limits)
and the [delivery scenario matrix](../../../docs/protocol/scenario-matrix.md).
See [the advisory rules](../../../paired_session/README.md#minor-only-review-revisions) for open ledger rows.
- Keep the shared review-loop config in `.review-loop/config.md`; roles and models come from the
paired-session operator profile; gemini (Antigravity CLI `agy`) is an optional third vendor for any role on
macOS (README.md, Configuration). Which config keys apply (round limits, `docs_file`, `skip_quality_polish`,
`review_focus`, `review_style`, `quality_focus`, `handsfree`, and `auto_commit` on a review-only run) is listed in
`docs/protocol/paired-session-entry.md` (Profile and settings).
- On a continuing `resume`, use `--author-model`, `--reviewer-model`, `--gate-model` or the corresponding
`--*-effort` flags. Omitted flags keep their saved values. Vendors and model policy stay fixed.
A persistent model change starts a new session for that role. Effort changes keep the session.
A moved install can continue with matching frozen inputs and the same custom gate prompt path.
See [resume settings and relocation](../../../paired_session/README.md#changing-role-settings-or-moving-an-install).
- Under quota pressure, keep the fresh shadow and use the one-way `resume --skip-quality-polish true` to skip new
specialist passes and any POLISH-Q quality writer batch still awaiting scheduling. Existing blockers still need
the author fix and one or two recheck calls per owner, or eligible withdrawal at the POLISH-Q fix HOLD.
See the [resume details](../../../paired_session/README.md#skipping-quality-polish-on-resume).
- A review of existing code is a review-only run. With lifecycle on, `accept` normally makes one local commit (never a push);
`auto_commit: false` in `.review-loop/config.md` keeps the accepted change uncommitted. Lifecycle off stops after the gate; acceptance returns the uncommitted tree.
<!-- ‹guest · 2026-11-24› -->
## Troubleshooting
- **The skills are missing right after an install.** A fresh Codex session is what loads the plugin's skills.
Start a fresh Codex session after installation (`docs/install-codex.md`).
- **A slash command does nothing (`Unrecognized command`).** Slash commands such as `/review-loop:paired-session`
are Claude Code only; Codex matches skills by their description, in natural language only. Ask in plain words,
for example "run review-loop on this branch", "review PR 123" or "use paired-session for this task".
- **`--detach` is refused on Windows.** A headless session is not supported there. Drop the flag and use an
interactive session.
- **An entry refuses with `paired-session needs macOS or native Windows`.** Linux (WSL included) is not supported.
Run from macOS or native Windows.
این نسخه با نشانهگذاری اختصاصی حساب شما نمایش داده میشود. برای نصب سریع، به تب نصب و راهاندازی بروید.