export interface Runbook { id: string; name: string; description: string; triggerType: 'manual' | 'alert' | 'scheduled'; promptTemplate: string; allowedTools: string[]; maxRiskLevel: number; autoApprove: boolean; enabled: boolean; createdAt: string; updatedAt: string; } export interface RunbookExecution { id: string; runbookId: string; status: 'running' | 'completed' | 'failed'; triggeredBy: string; startedAt: string; endedAt?: string; durationMs?: number; }