Condukt.Workflows.HCLCompiler (Condukt v1.4.0)

Copy Markdown View Source

Normalizes HCL workflow files to canonical workflow documents.

HCL is the human-authored workflow format. It keeps the DAG visible by requiring every task.<id> reference inside a step to also appear in that step's needs list. The normalized document is still the same shape used by the executor, validator, and visual tooling.

Summary

Functions

Reads, parses, and normalizes an HCL workflow file.

Normalizes HCL source into a workflow document. path is used only for diagnostics.

Functions

compile(path)

Reads, parses, and normalizes an HCL workflow file.

compile_string(source, path \\ "<hcl>")

Normalizes HCL source into a workflow document. path is used only for diagnostics.