/** * Protocol Rule Definitions for CLEO * * Defines validation rules for all 9 RCASD-IVTR+C protocols. * Moved to core for proper layering (formerly in dispatch). * * @task T2918 * @task T5707 * @epic T2908 */ /** * RFC 2119 requirement levels */ export type RequirementLevel = 'MUST' | 'SHOULD' | 'MAY'; /** * Violation severity */ export type ViolationSeverity = 'error' | 'warning'; /** * Protocol rule definition */ export interface ProtocolRule { /** Rule identifier (e.g., RSCH-001) */ id: string; /** RFC 2119 level */ level: RequirementLevel; /** Rule description */ message: string; /** Suggested fix command */ fix: string; /** Validation function */ validate: (manifestEntry: Record, additionalData?: Record) => Promise | boolean; } /** * Protocol violation result */ export interface ProtocolViolation { requirement: string; severity: ViolationSeverity; message: string; fix: string; } /** * Protocol validation result */ export interface ProtocolValidationResult { valid: boolean; violations: ProtocolViolation[]; score: number; } /** * Protocol rule registry */ export declare const PROTOCOL_RULES: Record; //# sourceMappingURL=protocol-rules.d.ts.map