diff --git a/.agents/skills/autoreview/SKILL.md b/.agents/skills/autoreview/SKILL.md index 43b61ac3cc9f..e610fc4bd647 100644 --- a/.agents/skills/autoreview/SKILL.md +++ b/.agents/skills/autoreview/SKILL.md @@ -112,7 +112,7 @@ The helper: - falls back only when Codex is unavailable or exits nonzero, not when Codex reports findings - writes only to stdout unless `--output` or `AUTOREVIEW_OUTPUT` is set - supports `--dry-run`, `--parallel-tests`, and commit refs -- runs nested review with `--dangerously-bypass-approvals-and-sandbox` by default +- runs nested review with `--dangerously-bypass-approvals-and-sandbox --sandbox danger-full-access` by default - keeps accepting `--full-access`; use `--no-yolo` or `AUTOREVIEW_YOLO=0` to opt out - still accepts legacy `CODEX_REVIEW_*` env vars when the matching `AUTOREVIEW_*` var is unset - prints `autoreview clean: no accepted/actionable findings reported` when the selected review command exits 0 diff --git a/.agents/skills/autoreview/scripts/autoreview b/.agents/skills/autoreview/scripts/autoreview index c1e5ce603dfc..d822ef7a3d83 100755 --- a/.agents/skills/autoreview/scripts/autoreview +++ b/.agents/skills/autoreview/scripts/autoreview @@ -119,7 +119,7 @@ done case "$yolo" in 0|false|False|FALSE|no|No|NO|off|Off|OFF) ;; - *) codex_args+=(--dangerously-bypass-approvals-and-sandbox) ;; + *) codex_args+=(--dangerously-bypass-approvals-and-sandbox --sandbox danger-full-access) ;; esac case "$mode" in