بنقرة واحدة
reviewer-max-tries
Set the maximum number of times the stop hook will block before letting the agent through
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Set the maximum number of times the stop hook will block before letting the agent through
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Disable the code review stop hook entirely by short-circuiting stop_hook.enabled_when in .reviewer/settings.local.json.
Enable the code review stop hook in .reviewer/settings.local.json. Optionally takes a shell expression for when to enforce (defaults to restoring the prior expression, or always).
Configure autofix to only fix MAJOR and CRITICAL issues (unattended mode)
Review the conversation transcript for behavioral issues (misleading behavior, disobeyed instructions, instructions worth saving).
Assess whether the approach taken on a branch is the right way to solve the problem.
Make the stop hook non-blocking (remind once, then let the agent through)
| name | reviewer-max-tries |
| description | Set the maximum number of times the stop hook will block before letting the agent through |
| allowed-tools | Bash(jq *) |
| args | N |
The user should provide a number N as an argument. If they didn't, ask them for it.
Run this command (replacing $N with the user's value):
jq -n --argjson existing "$(cat .reviewer/settings.local.json 2>/dev/null || echo '{}')" --argjson n $N '$existing * {"stop_hook": {"max_consecutive_blocks": $n}}' > .reviewer/settings.local.json.tmp && mv .reviewer/settings.local.json.tmp .reviewer/settings.local.json
Then confirm that the stop hook max consecutive blocks has been set to the requested value.