Skip to content

prReviewPrompt

prReviewPrompt(diffBase, prTitle, prBody): string

Defined in: src/critic-core.ts:90

Session-LESS variant of reviewPrompt for the standalone repo-level PR critic. A third-party PR has no Shepherd task, so the job is NOT “does it satisfy a task” — it’s: review the diff for bugs, security issues, and clear quality problems, using the PR’s stated intent (title + body) only as CONTEXT for what the change is trying to do. Shares the EXACT scope rules and verdict-output contract with reviewPrompt (via scopeAndOutputTail) so the two never diverge. NOT UI chrome — never i18n’d.

string

string

string

string