Pipeline.Executor (pipeline v0.0.1)

View Source

Main pipeline execution engine.

Orchestrates the execution of workflow steps, manages state, and coordinates between Brain (Gemini) and Muscle (Claude) operations.

Summary

Functions

Execute a complete workflow.

Execute a single step for testing.

Types

execution_result()

@type execution_result() :: {:ok, map()} | {:error, String.t()}

workflow()

@type workflow() :: map()

Functions

execute(workflow, opts \\ [])

@spec execute(
  workflow(),
  keyword()
) :: execution_result()

Execute a complete workflow.

Takes a workflow configuration and executes all steps in sequence, managing state and checkpoints along the way.

execute_step(step, context)

@spec execute_step(map(), map()) :: {:ok, map()} | {:error, String.t()}

Execute a single step for testing.