Skip to content

defaultReadVerdict

defaultReadVerdict(cwd): VerdictRead<unknown>

Defined in: src/recap.ts:93

Read the recap verdict file as a 3-way result. absent (not yet written) is distinct from unparseable (present but unrecoverable even after repair) so tick() can fail fast on the latter without waiting out the timeout. A repaired parse carries repaired: true so it is trusted only once the spawn has finished (see RecapService.tick). Exported for the read-path regression test.

string

VerdictRead<unknown>