<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claudomator.git/internal/api/changestats.go, branch fix/dockersandbox-gitpush-host-security</title>
<subtitle>claudomator — task automation server
</subtitle>
<id>https://git.terst.org/claudomator.git/atom?h=fix%2Fdockersandbox-gitpush-host-security</id>
<link rel='self' href='https://git.terst.org/claudomator.git/atom?h=fix%2Fdockersandbox-gitpush-host-security'/>
<link rel='alternate' type='text/html' href='https://git.terst.org/claudomator.git/'/>
<updated>2026-04-11T18:10:32+00:00</updated>
<entry>
<title>cleanup: remove dead code (QuestionRegistry, changestats wrappers, scanner.Err)</title>
<updated>2026-04-11T18:10:32+00:00</updated>
<author>
<name>Claudomator Agent</name>
<email>agent@claudomator</email>
</author>
<published>2026-04-11T18:10:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.terst.org/claudomator.git/commit/?id=e94573bb84874eda7d233cafc36f3a21688c0568'/>
<id>urn:sha1:e94573bb84874eda7d233cafc36f3a21688c0568</id>
<content type='text'>
Fix 1: Remove QuestionRegistry and related types (QuestionHandler, PendingQuestion)
from question.go -- nothing reads Pool.Questions or uses the registry. Remove
NewQuestionRegistry() call from NewPool and the Questions field from Pool.
Remove the now-superfluous registry tests; keep stream/parse helpers which are
still used by the claude runner.

Fix 2: Check scanner.Err() after the parseStream loop so I/O errors from the
scanner are not silently swallowed when streamErr is still nil.

Fix 3: Delete internal/api/changestats.go -- the parseChangestatFromFile and
parseChangestatFromOutput wrappers were only needed to support processResult(),
which no longer calls them; they are unreachable dead code.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>feat(Phase4): add file changes for changestats executor wiring</title>
<updated>2026-03-14T18:11:44+00:00</updated>
<author>
<name>Claude Sonnet 4.6</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-03-14T18:11:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.terst.org/claudomator.git/commit/?id=43440200facf9f7c51ba4f4638e69e7d651dd50d'/>
<id>urn:sha1:43440200facf9f7c51ba4f4638e69e7d651dd50d</id>
<content type='text'>
Files changed: CLAUDE.md, internal/api/changestats.go,
internal/executor/executor.go, internal/executor/executor_test.go,
internal/task/changestats.go (new)

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;</content>
</entry>
<entry>
<title>feat: expose changestats in API responses</title>
<updated>2026-03-14T17:07:29+00:00</updated>
<author>
<name>Claudomator Agent</name>
<email>agent@claudomator</email>
</author>
<published>2026-03-14T17:07:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.terst.org/claudomator.git/commit/?id=34320376767ca9131183216a01cf106ca6405500'/>
<id>urn:sha1:34320376767ca9131183216a01cf106ca6405500</id>
<content type='text'>
- Add parseChangestatFromOutput/File helpers in internal/api/changestats.go
  to parse git diff --stat summary lines from execution stdout logs
- Wire parser in processResult: after each execution completes, scan the
  stdout log for git diff stats and persist via UpdateExecutionChangestats
- Tests: TestGetTask_IncludesChangestats (verifies processResult wiring),
  TestListExecutions_IncludesChangestats (verifies storage round-trip)

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
