You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Default the Claude model for review, adversarial-review, and rescue/task to opus (resolved to the 1M-context variant claude-opus-4-7[1m]) with xhigh effort. The sonnet alias resolves to claude-sonnet-4-6[1m] and defaults to high effort; haiku stays on claude-haiku-4-5 with effort unset. --model and --effort remain user-overridable; xhigh is now a first-class effort level and max is reserved for users who explicitly opt in.
Isolate review and adversarial-review from the user repo with a three-layer design instead of the previous Bash-pattern allowlist (which the Claude CLI does not strictly enforce — once Bash is in the allowlist with any sub-pattern, the entire Bash tool opens up). Reviews now run inside an ephemeral git worktree checked out at the branch tip (or the original repo for working-tree scope, so staged/unstaged/untracked changes remain visible), use a bundled read-only git MCP server (mcp-git subcommand) exposing diff/log/show/blame/status/grep/ls_files as structured tools with strict ref/path validation, and tighten the allowlist to Read, Glob, Grep, WebSearch, WebFetch, and mcp__gitReview__* only (no Bash entry).
Leave network unrestricted in the read-only sandbox preset so WebFetch/WebSearch and the Claude CLI's own API path keep working; safety comes from removing Bash from the allowlist rather than from blocking network. File writes outside the OS temp dir stay blocked.
Expose --effort on review and adversarial-review and document the new defaults in SKILL.md, README.md, and the internal cli-runtime reference.
Sweep stranded review-worktrees/, sandbox/, and mcp/ runtime files older than six hours at the start of every review to reclaim resources after kill -9 or crashed runs.