From a019082dfcfb381dddc01140441965fbcc38ee74 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Sun, 8 Mar 2026 10:01:36 -0400 Subject: [PATCH] Print only first line of goal in `arc run start` output Co-Authored-By: Claude Opus 4.6 --- crates/arc-workflows/src/cli/run.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/arc-workflows/src/cli/run.rs b/crates/arc-workflows/src/cli/run.rs index 337d870f8..1bf5dc913 100644 --- a/crates/arc-workflows/src/cli/run.rs +++ b/crates/arc-workflows/src/cli/run.rs @@ -274,7 +274,8 @@ pub async fn run_command( let goal = graph.goal(); if !goal.is_empty() { - eprintln!("{} {goal}\n", styles.bold.apply_to("Goal:")); + let first_line = goal.lines().next().unwrap_or(&goal); + eprintln!("{} {first_line}\n", styles.bold.apply_to("Goal:")); } print_diagnostics(&diagnostics, styles);