/** * Autopilot Pre-flight Readiness Check * * Validates that ticket readiness scores meet configured thresholds * before an autopilot run begins. Supports three modes: * - 'off': skip the check entirely * - 'warn': always proceed, but emit warnings * - 'block': abort run if average score is below threshold */ import type { ReadinessThresholds, PreflightMode } from './types.js'; import { type TicketReadinessData, type ReadinessAggregation } from './aggregation.js'; /** * Result of a pre-flight readiness check. */ export interface PreflightResult { /** The mode that was applied */ mode: PreflightMode; /** Whether execution should proceed */ passed: boolean; /** Aggregated readiness statistics */ aggregation: ReadinessAggregation; /** Actionable warnings (may be non-empty even when passed) */ warnings: string[]; /** Human-readable summary line */ summary: string; } /** * Run pre-flight readiness check on specification tickets. * Returns result indicating whether execution should proceed. */ export declare function runPreflightCheck(tickets: TicketReadinessData[], thresholds: ReadinessThresholds): PreflightResult; /** * Format pre-flight result for terminal output. */ export declare function formatPreflightReport(result: PreflightResult): string; //# sourceMappingURL=preflight.d.ts.map