Skip to content

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.

string

Source label, used for the output file name.

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.

GthConfig

The resolved config.

"pr" | "review"

review or pr; selects the command config and the agent’s mode prompt.

AgentResolvers

Optional agent resolvers (tools/middleware).

ReviewContext

Extra review context (binds GitHub-only tools to the PR under review).

Promise<void>