Skip to content

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).

RawVerdict | null

string | null

string[]

string

string

object

body: string

decision: ReviewDecision

findings: string[]

patchId: string

summary: string