from aiforge.core.registry import get_operator

def execute(steps: list, data: any) -> any:
    """Execute a list of pipeline steps on the provided data."""
    context = data
    for name, params in steps:
        operator = get_operator(name)
        # Ensure we pass through kwargs properly
        context = operator.run(context, **params)
    return context
