export interface ContinuationPromptContext {
  taskId: string;
  originalTask: string;
  attemptNumber: number;
  maxAttempts: number;
  failures: FailureDetail[];
  previousOutput?: string;
  filesChanged: string[];
}

export interface FailureDetail {
  type: "test-failure" | "build-error" | "lint-error" | "coverage" | "incomplete-work";
  message: string;
  details?: string;
  location?: string; // file:line
  suggestion?: string;
}

export interface ContinuationPrompt {
  systemPrompt: string;
  userPrompt: string;
  constraints: string[];
  priority: "critical" | "high" | "normal";
}
