export interface WorkspaceTaskTarget {
	id: string;
	title: string;
	done: boolean;
	planPath?: string;
	summaryPath?: string;
}

export type RiskLevel = "low" | "medium" | "high";

export interface WorkspaceSliceTarget {
	id: string;
	title: string;
	done: boolean;
	planPath?: string;
	summaryPath?: string;
	uatPath?: string;
	tasksDir?: string;
	branch?: string;
	risk?: RiskLevel;
	depends?: string[];
	demo?: string;
	tasks: WorkspaceTaskTarget[];
}

export interface WorkspaceMilestoneTarget {
	id: string;
	title: string;
	roadmapPath?: string;
	/** Authoritative milestone lifecycle status from the SF state registry. */
	status?: "complete" | "active" | "pending" | "parked";
	/** Milestone validation verdict, when validation has been performed. */
	validationVerdict?: "pass" | "needs-attention" | "needs-remediation";
	slices: WorkspaceSliceTarget[];
}
