Skip to content

parseRundownVerdict

parseRundownVerdict(raw): RundownVerdict | null

Defined in: src/rundown-core.ts:393

Parse + validate + clamp the raw .shepherd-rundown.json the spawn wrote. Fail-closed: returns null when the top level is unparseable or not an object. Otherwise coerces every field to bounds (arrays sliced to caps, labels/strings clamped, malformed items dropped, missing fields defaulted). Mirrors parseRecapVerdict’s tolerance.

string

RundownVerdict | null