Run structured Codex/Claude autoreview closeout: choose the target, collect schema-validated findings, and rerun tests plus review until clean.
80
100%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Run the bundled structured review helper as a closeout check. This is code review, not Guardian auto_review approval routing.
Use when:
codex review, nested reviewers, or reviewer panels from inside the review. The helper builds one bundle, calls one selected engine, validates one structured result, and stops.For upstream provenance and uinaf tailoring notes, use references/upstream.md.
Resolve the helper from this skill directory before choosing a target, and keep your shell cwd in the git repo being reviewed:
SKILL_DIR="<directory containing this SKILL.md>"
AUTOREVIEW="$SKILL_DIR/scripts/autoreview"
"$AUTOREVIEW" --helpDo not look for or create scripts/autoreview in the target repo. The target
repo only supplies the git diff; the executable helper is bundled with this
skill.
Dirty local work:
"$AUTOREVIEW" --mode localUse this only when the patch is actually unstaged/staged/untracked. For committed, pushed, or PR work, point the helper at the commit or branch diff instead.
Branch/PR work:
"$AUTOREVIEW" --mode branch --base origin/mainOptional review context is first-class:
"$AUTOREVIEW" --mode branch --base origin/main --prompt-file /tmp/review-notes.md --dataset /tmp/evidence.jsonIf an open PR exists, use its actual base:
base=$(gh pr view --json baseRefName --jq .baseRefName)
"$AUTOREVIEW" --mode branch --base "origin/$base"Committed single change:
"$AUTOREVIEW" --mode commit --commit HEADUse commit review for already-landed or already-pushed work on main. For a
small stack, review each commit explicitly or review the branch before merging.
Format first if formatting can change line locations. Then it is OK to run tests and review in parallel:
"$AUTOREVIEW" --parallel-tests "<focused test command>"If tests or review lead to code edits, rerun the affected tests and structured review once more.
Bundled helper: scripts/autoreview
Use --help for flags. Codex is the default engine, and Claude is supported.
The helper validates structured output,
prints autoreview clean: no accepted/actionable findings reported when clean,
and exits nonzero when accepted/actionable findings are present.
Smoke harness: scripts/test-review-harness
Include: