export interface RuntimePreparationError { code: string; message: string; remedy?: string | null; lines?: string[]; retainedClaimRoots?: string[]; } export type RuntimePreparationResult = | { ok: true; prepared: Prepared } | { ok: false; error: RuntimePreparationError }; export interface RuntimePlan { prepare(): Promise>; launch(prepared: Prepared, context: LaunchContext): Promise; verify(prepared: Prepared, context: VerifyContext): Promise; }