diff --git a/.agents/skills/autoreview/SKILL.md b/.agents/skills/autoreview/SKILL.md index dbd914812f6..3c0e2805103 100644 --- a/.agents/skills/autoreview/SKILL.md +++ b/.agents/skills/autoreview/SKILL.md @@ -112,7 +112,7 @@ The helper: - chooses dirty `--uncommitted` first - otherwise uses current PR base if `gh pr view` works - otherwise uses `origin/main` for non-main branches -- auto-runs `PNPM_CONFIG_OFFLINE=true pnpm run check` in parallel when a repo has `package.json`, `pnpm-lock.yaml`, `node_modules`, and a `check` script; disable with `AUTOREVIEW_AUTO_TESTS=0` +- auto-runs `PNPM_CONFIG_PM_ON_FAIL=ignore PNPM_CONFIG_VERIFY_DEPS_BEFORE_RUN=false PNPM_CONFIG_OFFLINE=true pnpm run check` in parallel when a repo has `package.json`, `pnpm-lock.yaml`, `node_modules`, and a `check` script; disable with `AUTOREVIEW_AUTO_TESTS=0` - use `--mode commit --commit ` for already-committed work, especially clean `main` after landing - should be left in `--mode auto` or forced to `--mode branch` for PR/branch work; do not force `--mode local` after committing - supports `--reviewer codex|claude|pi|opencode|droid|copilot|auto`; `auto` means Codex first diff --git a/.agents/skills/autoreview/scripts/autoreview b/.agents/skills/autoreview/scripts/autoreview index bf3e8f97c62..d5153dcaffd 100755 --- a/.agents/skills/autoreview/scripts/autoreview +++ b/.agents/skills/autoreview/scripts/autoreview @@ -24,7 +24,7 @@ Options: --no-yolo Run nested Codex review with normal sandbox/approval prompts. --output FILE Also save output to file. --parallel-tests CMD Run review and test command concurrently. - Default: PNPM_CONFIG_OFFLINE=true pnpm run check when available. + Default: PNPM_CONFIG_PM_ON_FAIL=ignore PNPM_CONFIG_VERIFY_DEPS_BEFORE_RUN=false PNPM_CONFIG_OFFLINE=true pnpm run check when available. --dry-run Print selected commands, do not run. -h, --help Show help. @@ -236,7 +236,7 @@ if [[ -z "$parallel_tests" && "$openclaw_maintainer_validation" != 1 ]] && if [[ -f "$repo_root/package.json" && -f "$repo_root/pnpm-lock.yaml" && -d "$repo_root/node_modules" ]] && command -v pnpm >/dev/null 2>&1 && has_package_check_script; then - parallel_tests="cd $quoted_repo_root && PNPM_CONFIG_OFFLINE=true pnpm run check" + parallel_tests="cd $quoted_repo_root && PNPM_CONFIG_PM_ON_FAIL=ignore PNPM_CONFIG_VERIFY_DEPS_BEFORE_RUN=false PNPM_CONFIG_OFFLINE=true pnpm run check" parallel_tests_auto=true fi fi