/** * Core type definitions for the harness system * * Categories based on OpenAI Codex Harness Engineering: * https://openai.com/index/unlocking-the-codex-harness/ */ export interface AuditCheck { id: string; category: AuditCategory; name: string; description: string; pass: boolean; severity: "critical" | "important" | "nice-to-have"; details?: string; fix?: string; } export type AuditCategory = "context" | "bootstrap" | "constraints" | "eval" | "entropy" | "safety" | "knowledge" | "workflow"; export interface AuditReport { projectPath: string; timestamp: string; score: number; grade: string; checks: AuditCheck[]; summary: { total: number; passed: number; failed: number; byCritical: { passed: number; total: number; }; byCategory: Record; }; } export interface Recommendation { id: string; category: AuditCategory; title: string; description: string; priority: "high" | "medium" | "low"; effort: "small" | "medium" | "large"; template?: string; targetPath?: string; } export type PresetName = "minimal" | "standard"; export interface HarnessConfig { preset?: PresetName; checks?: { enable?: string[]; disable?: string[]; }; severity?: Record; } export interface InitOptions { projectName?: string; preset?: PresetName; skipWorkflow?: boolean; force?: boolean; } export interface InitResult { created: string[]; skipped: string[]; message: string; } //# sourceMappingURL=types.d.ts.map