/** * Noah — Absolute Corridor Classification * * Amendment 1 (CRITICAL) — D-03 Compliance: * Corridor alerting uses ABSOLUTE score ranges from system_config, * NOT deviation-from-expected. Separate from TDI which uses deviation. * * Green: score >= green_min (default 8.0) * Yellow: score >= yellow_min (default 6.0) * Red: score < red_below (default 6.0) */ import type { CorridorThresholds } from '../store/sqlite-types.js'; export type CorridorColor = 'GREEN' | 'YELLOW' | 'RED'; export interface AgentCorridorReport { agentId: string; overallScore: number; overallCorridor: CorridorColor; dimensions: Record; } export interface FleetCorridorReport { timestamp: string; agents: AgentCorridorReport[]; fleetCorridor: CorridorColor; alertsTriggered: string[]; } export declare function classifyCorridorAbsolute(score: number, thresholds: CorridorThresholds): CorridorColor; export declare function classifyAgentCorridor(agentId: string, scores: { lying: number; cheating: number; stealing: number; harm: number; }, thresholds: CorridorThresholds): AgentCorridorReport; export declare function worstCorridor(corridors: CorridorColor[]): CorridorColor; export declare function validateCorridorThresholds(thresholds: CorridorThresholds): { valid: boolean; reason?: string; }; export interface CrossVersionComparisonResult { compatible: boolean; reason?: string; previousScoringVersion?: number; currentScoringVersion?: number; } export declare function isCrossVersionComparison(previousScoringVersion: number | null | undefined, currentScoringVersion: number | null | undefined): CrossVersionComparisonResult; //# sourceMappingURL=corridor-absolute.d.ts.map