summaryrefslogtreecommitdiff
path: root/internal/executor/summary.go
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-06-03 23:04:40 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-06-03 23:04:40 +0000
commit16110bec8b6ece5837560fb626ab30d8cdec0e81 (patch)
treec8df376415e4b01107f2a7fd1036bd320de6651f /internal/executor/summary.go
parent68cf1e24dd2ca2612b72babc4b35280cd3512f92 (diff)
fix: embed execution log in checker instructions and add noopChannel to tests
The checker task previously had no context about what the agent did — it tried to reach the API (potentially unavailable), search /home for artifacts, and clone the repo, all of which fail for LocalRunner tasks. Now spawnCheckerTask reads the tail of the execution's stdout.log and embeds it directly in the checker's instructions so the checker can verify output without needing Docker, API access, or repo cloning. Also fixes container_test: adds noopChannel to satisfy the AgentChannel parameter added by the OSS Runner interface. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/executor/summary.go')
-rw-r--r--internal/executor/summary.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/executor/summary.go b/internal/executor/summary.go
index bcf5cfd..e5a1772 100644
--- a/internal/executor/summary.go
+++ b/internal/executor/summary.go
@@ -12,6 +12,7 @@ import (
"github.com/thepeterstone/claudomator/internal/llm"
)
+
// synthesizeSummaryMaxBytes caps how much of the stdout log we send to the
// LLM. Larger values cost more tokens with diminishing returns for a 2-4
// sentence summary.