From 16110bec8b6ece5837560fb626ab30d8cdec0e81 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Wed, 3 Jun 2026 23:04:40 +0000 Subject: fix: embed execution log in checker instructions and add noopChannel to tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- internal/executor/summary.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/executor/summary.go') 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. -- cgit v1.2.3