Skip to main content

Module state_graph

Module state_graph 

Source
Expand description

Event-sourced reactive state graph for auditable agent workflows.

The append-only GraphEventRecord stream is the source of truth. The in-memory StateGraph is only a projection and can always be rebuilt with GraphRuntime::strict_replay.

Structs§

BehaviorContext
BehaviorError
EventFilter
ExternalEvent
FileGraphEventStore
FnBehavior
GraphDiff
GraphEventRecord
GraphObject
GraphPatch
GraphRelation
GraphRuntime
MemoryGraphEventStore
RuntimeLimits
StateGraph

Enums§

ExternalProjectionOutcome
GraphEvent
GraphSaveOutcome
PatchOperation
ReplayError
RuntimeError

Constants§

GRAPH_EVENT_SCHEMA_VERSION
Current record schema. Version 2 uses incremental structural state hashes; strict replay remains compatible with version 1 records.

Traits§

Behavior
GraphEventStore

Functions§

graph_event_head

Type Aliases§

ObjectId
RelationId