Merge pull request 'fix: fix: lib/env.sh crashes with USER unbound variable in agent container (#229)' (#230) from fix/issue-229 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

This commit is contained in:
dev-qwen 2026-04-05 16:03:57 +00:00
commit 562c6ad0bf

View file

@ -71,6 +71,9 @@ PROJECT_REPO_ROOT=/home/agent/repos/${pname}
log "Agent container starting"
# Set USER for scripts that source lib/env.sh (e.g., OPS_REPO_ROOT default)
export USER=agent
# Verify Claude CLI is available (expected via volume mount from host).
if ! command -v claude &>/dev/null; then
log "FATAL: claude CLI not found in PATH."