Compiler

Parses YAML, checks it against the current schema, and produces bytecode plus a Smart Action manifest.

Pipeline

A short, deterministic path for every workflow.

  1. Parse: YAML → strongly-typed tree.
  2. Validate: confirm required fields, Smart Action versions, and references.
  3. Lower: build a minimal DAG of steps and data edges.
  4. Emit: bytecode plus a manifest table keyed by uses:.

The manifest is simply the map from uses: identifiers to the Smart Action metadata the runtime needs (entry point, input schema, trust domain). Bytecode and manifest are the only artifacts we rely on at this stage.