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).
Parameters
Section titled “Parameters”diffBase
Section titled “diffBase”string
taskPrompt
Section titled “taskPrompt”string
priorFindings?
Section titled “priorFindings?”string[] = []
authorNotes?
Section titled “authorNotes?”string[] = []
issueBody?
Section titled “issueBody?”string | null
Returns
Section titled “Returns”string