/** * Noah — Ethical Flight Plan Types * * Defines the flight plan, waypoints, corridor bounds, and triggers. * MVP spec Section 3.4. */ import { LifecyclePhase } from './lifecycle.js'; export interface CorridorBounds { /** Absolute deviation <= this = GREEN (on course) */ greenThreshold: number; /** Absolute deviation <= this = YELLOW (approaching boundary), > = RED */ yellowThreshold: number; } export interface DimensionExpectation { min: number; target: number; max: number; } export interface ExpectedScores { lying: DimensionExpectation; cheating: DimensionExpectation; stealing: DimensionExpectation; harm: DimensionExpectation; } export type WaypointEventType = 'FIRST_CONVERSION' | 'FIRST_VETO' | 'FIRST_ADVERSARIAL' | 'FIRST_LIEUTENANT' | 'ECONOMIC_SUSTAINABILITY' | 'ALLIANCE_THRESHOLD'; export type WaypointTrigger = { type: 'CALENDAR'; dayNumber: number; } | { type: 'CYCLE'; assessmentCycle: number; } | { type: 'EVENT'; eventType: WaypointEventType; } | { type: 'PHASE_ENTRY'; phase: LifecyclePhase; }; export interface EthicalWaypoint { id: string; sequenceNumber: number; trigger: WaypointTrigger; expectedScores: ExpectedScores; corridor: CorridorBounds; assessmentType: 'FULL_120' | 'ABBREVIATED' | 'DIMENSION_SPECIFIC'; description: string; } export interface EthicalFlightPlan { id: string; agentId: string; version: number; createdBy: string; createdAt: Date; status: 'ACTIVE' | 'SUPERSEDED' | 'DRAFT'; corridorDefaults: CorridorBounds; waypoints: EthicalWaypoint[]; cryptographicHash: string; } //# sourceMappingURL=flight-plan.d.ts.map