review
review(
source,_preamble,diff,config,command?,resolvers?,reviewContext?):Promise<void>
Defined in: _worktrees/docs-release/gaunt-sloth/packages/review/src/modules/reviewModule.ts:51
Run a review of diff and print the verdict.
Parameters
Section titled “Parameters”source
Section titled “source”string
Source label, used for the output file name.
_preamble
Section titled “_preamble”string
Ignored (GS2-79); see the body comment. Retained positionally so existing
callers need no change, exactly as runSingleShot retains its own.
string
The content under review.
config
Section titled “config”The resolved config.
command?
Section titled “command?”"pr" | "review"
review or pr; selects the command config and the agent’s mode prompt.
resolvers?
Section titled “resolvers?”Optional agent resolvers (tools/middleware).
reviewContext?
Section titled “reviewContext?”Extra review context (binds GitHub-only tools to the PR under review).
Returns
Section titled “Returns”Promise<void>