Files
rea/scripts/lib/verifier-command-output.d.mts
T
morluto 2250e67bc2 fix(verifiers): consolidate native client command lifetimes
Migrate the remaining native verifier commands to shared ownership with explicit stdin contracts, command-before-fixture cleanup, and failure receipts. Preserve observed catalog counts and unknowns, retained artifacts, native assertions, and selected launch inputs.

Remove the obsolete raw exec export and share output persistence across native verifiers. Exercise actual entrypoints with authored failed preflights and acknowledged descendants, plus filesystem failures and opaque error preservation.
2026-10-24 19:40:50 +08:00

8 lines
354 B
TypeScript

import type { VerifierCommandOutput } from "./verifier-command-owner.mjs";
/** Retain available command output without losing command or filesystem failures. */
export function saveVerifierCommandOutput(
operation: () => Promise<VerifierCommandOutput>,
paths: { readonly stdout: string; readonly stderr: string },
): Promise<VerifierCommandOutput>;