Stable accessor helpers for stepwise runtime maps.
Provides deterministic inspection and mutation of runtime state without depending on internal map structure. Orchestrators should prefer these helpers over direct map access.
Meta
The :meta field is an open map for orchestration metadata
(session IDs, DAG coordinates, tags, etc.). It survives
checkpoint/restore cycles and is passed read-only to capabilities.
runtime = Runtime.put_meta(runtime, :session_id, "sess-123")
Runtime.get_meta(runtime, :session_id)
#=> "sess-123"
Summary
Functions
Returns the :artifacts map from the runtime.
Returns the :context map from the runtime.
Returns the :current_state.
Returns the :execution_id.
Gets a single key from :meta, with optional default.
Shallow-merges a map into :context.
Shallow-merges a map into :meta.
Returns the full :meta map from the runtime.
Puts a single key into :artifacts (normalized via Artifacts.merge/2).
Puts a single key into :context.
Puts a single key into :meta.
Returns the :tenant_id.
Functions
Returns the :artifacts map from the runtime.
Returns the :context map from the runtime.
Returns the :current_state.
Returns the :execution_id.
Gets a single key from :meta, with optional default.
Shallow-merges a map into :context.
Shallow-merges a map into :meta.
Returns the full :meta map from the runtime.
Puts a single key into :artifacts (normalized via Artifacts.merge/2).
Puts a single key into :context.
Puts a single key into :meta.
Returns the :tenant_id.