From cd6a614ed7441fbd4af2f7cac87b47305fc44e2d Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Wed, 29 Jul 2026 11:24:13 -0400 Subject: [PATCH] Make stdin_source validation message handler-neutral CommandHandler also serves type="tool" nodes, so the runtime message now says "Node '...'" to match the stdin_source_valid lint wording. Co-Authored-By: Claude Fable 5 --- lib/components/fabro-workflow/src/handler/command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/fabro-workflow/src/handler/command.rs b/lib/components/fabro-workflow/src/handler/command.rs index 05604d3e6..f2ec52697 100644 --- a/lib/components/fabro-workflow/src/handler/command.rs +++ b/lib/components/fabro-workflow/src/handler/command.rs @@ -233,7 +233,7 @@ fn validated_stdin_source(node: &Node) -> Result, String> { match node.context_key_attr("stdin_source") { ContextKeyAttr::Absent => Ok(None), ContextKeyAttr::Invalid => Err(format!( - "Command node '{}' requires 'stdin_source' to be a non-empty string", + "Node '{}' requires 'stdin_source' to be a non-empty string", node.id )), ContextKeyAttr::Present(source) => Ok(Some(source)),