package com.correx.core.transitions.conditions

import com.correx.core.transitions.evaluation.EvaluationContext
import com.correx.core.transitions.graph.TransitionCondition

/** True while the session's project still has tasks ready to claim — the execution loop's gate. */
object TasksReady : TransitionCondition {
    override fun evaluate(context: EvaluationContext) = context.readyTaskCount > 0
}
