Structs§
- InMemory
Graph Provider GraphConfigSourcebacked by an in-memorygraph_id -> GraphConfigmap. Graphs are operator-global for the MVP: lookup is keyed purely bygraph_id; thetenantargument is accepted (to satisfy the trait contract) but not used for keying. ReusesConfigError::AgentNotFoundas the crate’s canonical “not found” variant.- Layered
Graph Provider - Tries the primary
GraphConfigSource, falling back to the secondary when the primary reports the graph missing or has an infrastructure failure. AMisconfigurederror is propagated, never masked by the fallback — matchinggreentic_aw_runtime::LayeredConfigProvider’s semantics exactly. - Runtime
Graph Node Handler - Production
GraphNodeHandlerwrapping the durable graph executor.
Traits§
- Graph
Config Source - Resolves a
GraphConfigfor a(tenant, graph_id)pair. - Graph
Node Handler - Bridges a
DwAgentGraphflow node into the graph executor.
Functions§
- build_
graph_ node_ handler - Build the production
DwAgentGraphhandler if the environment is configured. Mirrorssuper::super::agent_node::build_agent_node_handler: it returnsNone(soDwAgentGraphflow dispatch errors clearly) under any of these graceful-degradation conditions: - graph_
config_ from_ sidecar - Parse an
agent-graph.jsonsidecar (raw bytes from a.gtpack) into a validatedGraphConfig.