























@@ -19,9 +19,9 @@ Use when:
1919- Read dependency docs/source/types when the finding depends on external behavior.
2020- Reject unrealistic edge cases, speculative risks, broad rewrites, and fixes that over-complicate the codebase.
2121- Prefer small fixes at the right ownership boundary; no refactor unless it clearly improves the bug class.
22-- Keep going until Codex review returns no accepted/actionable findings.
23-- If a review-triggered fix changes code, rerun focused tests and rerun Codex review.
24-- Never switch or override the review model. If the review hits model capacity, retry the same command a few times with the same model. The helper runs nested review in yolo/full-access mode by default; use `--no-yolo` only when intentionally testing sandbox behavior.
22+- Keep going until the selected review path returns no accepted/actionable findings.
23+- If a review-triggered fix changes code, rerun focused tests and rerun the review helper.
24+- Default to Codex review. If Codex is unavailable or exits with an error, the helper may fall back to `claude -p`; `pi -p` and `opencode run` are explicit reviewer/fallback options. The helper runs nested Codex review in yolo/full-access mode by default; use `--no-yolo` only when intentionally testing sandbox behavior.
2525- Stop as soon as the review command/helper exits 0 with no accepted/actionable findings. Do not run an extra direct `codex review` just to get a nicer "clean" line, a second opinion, or clearer closeout wording.
2626- Treat the helper's successful exit plus absence of actionable findings as the clean review result, even if the underlying Codex CLI output is terse.
2727- If rejecting a finding as intentional/not worth fixing, add a brief inline code comment only when it explains a real invariant or ownership decision that future reviewers should know.
@@ -66,7 +66,7 @@ codex review --commit HEAD
6666or with the helper:
67676868```bash
69-/Users/steipete/Projects/agent-scripts/skills/codex-review/scripts/codex-review --mode commit --commit HEAD
69+.agents/skills/codex-review/scripts/codex-review --mode commit --commit HEAD
7070```
71717272Use commit review for already-landed or already-pushed work on `main`. Reviewing
@@ -79,7 +79,7 @@ with `--base`.
7979Format first if formatting can change line locations. Then it is OK to run tests and review in parallel:
80808181```bash
82-scripts/codex-review --parallel-tests "<focused test command>"
82+.agents/skills/codex-review/scripts/codex-review --parallel-tests "<focused test command>"
8383```
84848585Tradeoff: tests may force code changes that stale the review. If tests or review lead to code edits, rerun the affected tests and rerun review until no accepted/actionable findings remain. Once that rerun exits cleanly, stop; do not spend another long review cycle on redundant confirmation.
@@ -98,13 +98,7 @@ Run inline only for tiny changes or when subagents are unavailable.
9898Bundled helper:
9999100100```bash
101-~/.codex/skills/codex-review/scripts/codex-review --help
102-```
103-104-If installed from `agent-scripts`, path is:
105-106-```bash
107-/Users/steipete/Projects/agent-scripts/skills/codex-review/scripts/codex-review --help
101+.agents/skills/codex-review/scripts/codex-review --help
108102```
109103110104The helper:
@@ -113,6 +107,9 @@ The helper:
113107- otherwise uses `origin/main` for non-main branches
114108- use `--mode commit --commit <ref>` for already-committed work, especially clean `main` after landing
115109- should be left in `--mode auto` or forced to `--mode branch` for PR/branch work; do not force `--mode local` after committing
110+- supports `--reviewer codex|claude|pi|opencode|auto`; `auto` runs Codex first
111+- supports `--fallback-reviewer claude|pi|opencode|none`; default is `claude`
112+- falls back only when Codex is unavailable or exits nonzero, not when Codex reports findings
116113- writes only to stdout unless `--output` or `CODEX_REVIEW_OUTPUT` is set
117114- supports `--dry-run`, `--parallel-tests`, and commit refs
118115- runs nested review with `--dangerously-bypass-approvals-and-sandbox` by default
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。