AITrace.SingleNodeProofTrace (AITrace v0.2.0)

Copy Markdown View Source

Minimal fixture format for single-node BEAM development proof traces.

This is a development and StackLab proof handoff format. It is intentionally not an authoritative audit, compliance, or production deployment proof.

Summary

Functions

fixture(attrs \\ %{})

@spec fixture(map() | keyword()) :: map()

required_spans()

@spec required_spans() :: [String.t()]

scenario_fixture(scenario_id, attrs \\ %{})

@spec scenario_fixture(String.t(), map() | keyword()) :: map()

schema_version()

@spec schema_version() :: String.t()

validate(fixture)

@spec validate(map()) :: :ok | {:error, [term()]}