Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(builder_tools): replace local observer with re-export from tinyflows

Steven Enamakel2dbc45fcd8b1
diff --git a/src/openhuman/flows/builder_tools.rs b/src/openhuman/flows/builder_tools.rs
index 063bd733d8..4cecadbb32 100644
--- a/src/openhuman/flows/builder_tools.rs
+++ b/src/openhuman/flows/builder_tools.rs
@@ -3452,16 +3452,13 @@ fn tool_call_error_message(output: &Value, node_id: &str) -> Option<String> {
})
}
-/// A [`tinyflows::observability::RunObserver`] that captures every finished
-/// node's [`ExecutionStep`](tinyflows::observability::ExecutionStep) — in
-/// particular its `diagnostics` (null-resolved `=`-expressions the engine
-/// traced during that node's config resolution) — so [`DryRunWorkflowTool`]
-/// can inspect them once the sandbox run settles. See the struct's "Null-
-/// resolution check" doc for why this exists.
-/// `pub(crate)` (not private) so [`crate::openhuman::flows::ops::validate_required_arg_resolvability`]
-/// (issue B18 — escalating a null-resolved REQUIRED outbound arg to a hard
-/// authoring-time reject) can run the identical sandbox-capture shape without
-/// duplicating this struct.
+/// The engine's own step-capturing observer, re-exported under the name
+/// [`DryRunWorkflowTool`]'s call sites already use.
+///
+/// It is upstream because what it captures is the engine's:
+/// `ExecutionStep::diagnostics` holds the `=`-expressions that resolved to null
+/// while a node's config was being assembled, which is the only place a graph's
+/// real wiring failure is visible. This host used to declare an identical copy.
pub(crate) use tinyflows::observability::CapturingObserver;
// ─────────────────────────────────────────────────────────────────────────────