using ClaudeDo.Data.Models; namespace ClaudeDo.Worker.Prime; public static class PrimeScheduleValidation { /// Returns an error message, or null when the schedule is safe to persist. public static string? Validate(PrimeScheduleDto dto) { if (dto.Kind == PrimeActionKind.Custom && string.IsNullOrWhiteSpace(dto.PromptOverride)) return "A custom Prime schedule needs a prompt."; return null; } }