summaryrefslogtreecommitdiff
path: root/internal/executor/claude.go
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-02-24 02:01:08 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-02-24 02:01:08 +0000
commit0377c06310cf92cfa477917f35f5e0755c09f063 (patch)
tree574b3aa91da12dadeb41098fa71bba7f833384e3 /internal/executor/claude.go
parent2bf317d27d1dc29f8a38508afcf6afc8d19e2d9a (diff)
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 <noreply@anthropic.com>
Diffstat (limited to 'internal/executor/claude.go')
-rw-r--r--internal/executor/claude.go1
1 files changed, 1 insertions, 0 deletions
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 != "" {