adk_graph_validate (erlang_adk v0.9.0)

View Source

Structural analysis for compiled workflow graphs.

The workflow compiler remains responsible for validating individual fields and executable descriptors. This module looks at the graph as a whole. It deliberately separates hard errors from diagnostics which are useful to a developer but cannot be proved invalid in the presence of trusted route and action callbacks.

Summary

Types

report/0

-type report() :: map().

Functions

analyze(Data)

-spec analyze(map()) -> {ok, report()} | {error, term()}.

validate(Data)

-spec validate(map()) -> ok | {error, term()}.