Skip to content

reviewPrompt

reviewPrompt(diffBase, taskPrompt, priorFindings?, authorNotes?, issueBody?): string

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

Self-contained instructions for the critic agent. NOT UI chrome — never i18n’d. diffBase is the RESOLVED base commit (a SHA captured by computePatchId from the same fresh fetch it fingerprints), NOT a branch name — so the review diffs the identical base the rebase-skip fingerprint used, and git diff ${diffBase}...HEAD is exactly the branch’s own changes (no already-merged main commits folded in).

string

string

string[] = []

string[] = []

string | null

string