fix: use full path to claude CLI for non-interactive SSH

This commit is contained in:
Viktor Barzin 2026-04-14 17:44:50 +00:00
parent 7674cf8c5c
commit b1b408ff0e
2 changed files with 2 additions and 1 deletions

View file

@ -53,7 +53,7 @@ echo "SSH key fetched"
# 6. SSH to DevVM and run Claude Code headless
TODOS=$(cat /tmp/todos.json)
ssh -i /tmp/devvm-key -o StrictHostKeyChecking=no wizard@10.0.10.10 \
"cd ~/code/infra && git pull && claude -p \
"cd ~/code/infra && git pull && ~/.local/bin/claude -p \
--agent postmortem-todo-resolver \
--dangerously-skip-permissions \
--max-budget-usd 5 \