Skip to content

feat(preallow)!: rename the judge to auto review - #44

Merged
liby merged 1 commit into
mainfrom
feature/preallow-auto-review
Dec 1, 2026
Merged

liby merged 1 commit into
mainfrom
feature/preallow-auto-review

Conversation

@liby

@liby liby commented Dec 1, 2026

Copy link
Copy Markdown
Member

preallow's judge is now called auto review, the name Pi's sandbox took for the same policy, so the two plugins describe it the same way. The docs, the /config titles (Review model, Review effort), the marketplace description, and the code use the new name; the setting keys stay model, effort, escalation_model, and escalation_effort, so saved settings carry over.

Log readers see one change: a call auto review was asked about is logged as reviewed where it was judged, which the 0.0.16 changelog entry states. The evaluation outside the repository needs the new export names, review and reviewPrompt from hooks/review.ts, and reviewCall from hooks/stages.ts.

The policy text and the prompt document are unchanged: REVIEW_SYSTEM is JUDGE_SYSTEM renamed, and both hash the same as on main. The engine's tool.judge event, its ToolJudgeResult type, and the tests' toolJudge helper that raises it keep the engine's name.

"Judge" read oddly both in what users see and in the code, and Pi's
sandbox, whose policy is adapted from this one, has already renamed its
judge to auto review. Using one name keeps the two from drifting apart.

The docs, the `/config` titles (Review model, Review effort), the
marketplace description, and the code now say auto review, with the
reviewer for the model that decides and a review for one stage's run.
`hooks/judge.ts` becomes `hooks/review.ts`, and its `judge`,
`judgePrompt`, `judgeCase`, and `judgeCall` become `review`,
`reviewPrompt`, `reviewCase`, and `reviewCall`, so the evaluation
outside the repository that imports them needs the new names.

The settings keys, the engine's `tool.judge` event and its types, and
the policy text are unchanged: `REVIEW_SYSTEM` is `JUDGE_SYSTEM`
renamed, and the policy and prompt documents hash the same as before.

BREAKING CHANGE: a call auto review was asked about is logged with the
event `reviewed` instead of `judged`, so log queries that filter on the
event need the new value.
@liby
liby force-pushed the feature/preallow-auto-review branch from 67a6dd1 to 49d2539 Compare December 1, 2026 06:55
@liby
liby merged commit 49d2539 into main Dec 1, 2026
4 checks passed
@liby
liby deleted the feature/preallow-auto-review branch December 1, 2026 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant