From 0377c06310cf92cfa477917f35f5e0755c09f063 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Tue, 24 Feb 2026 02:01:08 +0000 Subject: Add --verbose flag to Claude subprocess invocation Ensures richer stream-json output for cost parsing and debugging. Adds a test to verify --verbose is always present in built args. Co-Authored-By: Claude Sonnet 4.6 --- internal/executor/claude.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/executor/claude.go') diff --git a/internal/executor/claude.go b/internal/executor/claude.go index fc54995..8901d35 100644 --- a/internal/executor/claude.go +++ b/internal/executor/claude.go @@ -99,6 +99,7 @@ func (r *ClaudeRunner) buildArgs(t *task.Task) []string { args := []string{ "-p", t.Claude.Instructions, "--output-format", "stream-json", + "--verbose", } if t.Claude.Model != "" { -- cgit v1.2.3