fix: Check for task environment requirements