buildVerdictCore
buildVerdictCore(
raw,baseSha,files,patchId,logLabel):object
Defined in: src/critic-core.ts:435
The normalize + scopeBackstop + summary-fallback portion of building a verdict, shared by
the session critic and the standalone PR critic. PURE: takes the raw verdict, the resolved
base/file set, this run’s patch-id, and a log label; returns the resolved fields each caller
assembles into its own full verdict. patchId is ” for an error verdict (a transient
failure to retry — a content-identical rebase must re-review rather than inherit it).
Parameters
Section titled “Parameters”RawVerdict | null
baseSha
Section titled “baseSha”string | null
string[]
patchId
Section titled “patchId”string
logLabel
Section titled “logLabel”string
Returns
Section titled “Returns”object
body:
string
decision
Section titled “decision”decision:
ReviewDecision
findings
Section titled “findings”findings:
string[]
patchId
Section titled “patchId”patchId:
string
summary
Section titled “summary”summary:
string