Applies GraphPatch modifications atomically to a CompiledExecutionGraph. Checks guardrail thresholds before approving expansions in guardrailed mode.
Apply a patch to a graph, returning a new graph (immutable). Patches are applied atomically — all changes happen together.
Determine whether an expansion should be auto-approved based on autonomy mode and resource thresholds.
Identify which specific threshold was exceeded. Returns null if no threshold is exceeded.
Applies GraphPatch modifications atomically to a CompiledExecutionGraph. Checks guardrail thresholds before approving expansions in guardrailed mode.