Skip to main content

Module work_graph

Module work_graph 

Source
Expand description

Bounded Work Graph for multi-agent orchestration.

The graph model lives in the lean-ctx-workgraph crate and is re-exported here unchanged, so engine paths such as crate::core::work_graph stay stable. Persistence lives in core::work_graph_store.

Structs§

BoundedWorkGraph
Bounded, acyclic work graph with enforced fan-out and budget constraints.
ChainBudget
Tracks the total budget across an entire delegation chain.
ChildExecutionReceipt
FusedResults
MeasuredExecutionSpend
Canonically verified provider spend that exceeded its authorization.
ResultClaim
ResultConflict
TeamValueReport
WorkAttribution
WorkNode
WorkNodeBudget

Enums§

ChildOutcome
NodeStatus
StopReason
UsageSource
Provenance of a receipt’s consumption figures. Receipts from earlier releases carry connector-measured usage; host-run nodes report their own, which stays bounded by the node budget either way.
WorkGraphError

Constants§

MAX_DELIVERY_ATTEMPTS
Upper bound of persisted delivery attempts within one fence. New starts use attempt 1; stores written by earlier releases may still carry attempt 2.
WORK_GRAPH_SCHEMA_VERSION

Functions§

path_claims_overlap