fmt: cleaned up graph implementation

This commit is contained in:
2026-05-21 11:27:29 -06:00
parent 81c037515e
commit 597f823bdf
20 changed files with 95 additions and 243 deletions
-6
View File
@@ -1,12 +1,6 @@
use serde_json::Value;
use std::collections::HashMap;
/// Published form of one branch's writes for the super-step merge phase.
/// Callers assemble these into a deterministically-ordered `Vec` keyed by
/// `(node_id, invocation_index)` before passing to
/// `StateManager::apply_branch_writes`. `invocation_index` is 0 for normal
/// branches and the input-list position for map sub-branches — so multiple
/// invocations of the same `branch:` node by a `map` are still totally ordered.
#[derive(Debug, Clone)]
pub struct BranchWrites {
pub node_id: String,