spawn/.claude
A 00cb355ce0
fix: Only grep new log content for result event, not old cycles (#357)
The log file is cumulative — result events from previous cycles persist.
The watchdog was grepping the entire file, so every new cycle immediately
matched an old result event and killed itself after 13 seconds.

Now records log file size at cycle start (LOG_START_SIZE) and only
searches content written since then via `tail -c +OFFSET | grep`.

Applied to both refactor.sh and discovery.sh.

Co-authored-by: A <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-10 22:35:17 -08:00
..
skills/setup-trigger-service fix: Only grep new log content for result event, not old cycles (#357) 2026-02-10 22:35:17 -08:00
settings.json fix: Correct PostToolUse hook structure in settings.json 2026-02-08 18:46:49 +00:00