from __future__ import annotations from control_plane.projects.models import Task class TaskVerifier: def verify(self, task: Task, evidence: list[dict[str, object]]) -> bool: return bool(task.acceptance_criteria) and bool(evidence)