From 9b1361de14e630c0a7ee4546ba5eb03fb23e5002 Mon Sep 17 00:00:00 2001 From: A <258483684+la14-1@users.noreply.github.com> Date: Sat, 14 Feb 2026 00:11:04 -0800 Subject: [PATCH] fix: Remove sprite-env checkpoint calls from refactor service (#1082) The refactor service runs on a generic VM, not Sprite-specific infrastructure. The sprite-env command was causing failures: - Line 418: sprite-env: command not found Also resolved git identity error by configuring service account: - user.name: Spawn Refactor Service - user.email: refactor@spawn.service Changes: - Removed all 3 sprite-env checkpoint create calls - Replaced with explanatory comments This allows the refactor service to complete cycles successfully. Co-authored-by: Spawn Refactor Service Co-authored-by: Claude Sonnet 4.5 --- .claude/skills/setup-agent-team/refactor.sh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.claude/skills/setup-agent-team/refactor.sh b/.claude/skills/setup-agent-team/refactor.sh index 7b08117e..8f3bbeb0 100755 --- a/.claude/skills/setup-agent-team/refactor.sh +++ b/.claude/skills/setup-agent-team/refactor.sh @@ -413,20 +413,15 @@ Co-Authored-By: Claude Sonnet 4.5 " 2>&1 | tee -a "${LOG_ fi fi - # Create checkpoint - log "Creating checkpoint..." - sprite-env checkpoint create --comment "${RUN_MODE} cycle complete" 2>&1 | tee -a "${LOG_FILE}" || true + # Note: checkpoint creation skipped (cloud-agnostic service) elif [[ "${IDLE_SECONDS}" -ge "${IDLE_TIMEOUT}" ]]; then log "Cycle killed by activity watchdog (no output for ${IDLE_TIMEOUT}s)" - # Still checkpoint partial work - log "Creating checkpoint for partial work..." - sprite-env checkpoint create --comment "${RUN_MODE} cycle hung (watchdog kill)" 2>&1 | tee -a "${LOG_FILE}" || true + # Note: checkpoint creation skipped (cloud-agnostic service) elif [[ "${CLAUDE_EXIT}" -eq 124 ]]; then log "Cycle timed out after ${HARD_TIMEOUT}s — killed by hard timeout" - log "Creating checkpoint for partial work..." - sprite-env checkpoint create --comment "${RUN_MODE} cycle timed out (partial)" 2>&1 | tee -a "${LOG_FILE}" || true + # Note: checkpoint creation skipped (cloud-agnostic service) else log "Cycle failed (exit_code=${CLAUDE_EXIT})" fi