mirror of
https://github.com/davidkaya/aryx.git
synced 2026-07-23 21:18:40 +02:00
The WorkflowValidator rejected loop edges with an 'always' condition, but maxIterations already guarantees termination at runtime (enforced by WorkflowConditionEvaluator). This made built-in templates like Collaborative Group Chat fail validation immediately. Relax the check so 'always' conditions are accepted when maxIterations provides the termination guarantee. The condition error now only fires when neither a non-default condition nor a maxIterations cap is present. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>