Repository navigation
feat(preallow)!: rename the judge to auto review - #44
Merged
Merged
Conversation
"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
force-pushed
the
feature/preallow-auto-review
branch
from
December 1, 2026 06:55
67a6dd1 to
49d2539
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
/configtitles (Review model, Review effort), the marketplace description, and the code use the new name; the setting keys staymodel,effort,escalation_model, andescalation_effort, so saved settings carry over.Log readers see one change: a call auto review was asked about is logged as
reviewedwhere it wasjudged, which the 0.0.16 changelog entry states. The evaluation outside the repository needs the new export names,reviewandreviewPromptfromhooks/review.ts, andreviewCallfromhooks/stages.ts.The policy text and the prompt document are unchanged:
REVIEW_SYSTEMisJUDGE_SYSTEMrenamed, and both hash the same as onmain. The engine'stool.judgeevent, itsToolJudgeResulttype, and the tests'toolJudgehelper that raises it keep the engine's name.