[object Object]

← back to Crazy News Channel

Cartoon batch: set PATH for launchd so node/claude resolve; fail loudly if missing

30215fca422b07d261b5a8992c72d57e4999bf54 · 2026-09-24 09:54:17 -0700 · Steve Abrams

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DqUe1Hvqsnrkxpe4R6jrk1

Files touched

Diff

commit 30215fca422b07d261b5a8992c72d57e4999bf54
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Thu Sep 24 09:54:17 2026 -0700

    Cartoon batch: set PATH for launchd so node/claude resolve; fail loudly if missing
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01DqUe1Hvqsnrkxpe4R6jrk1
---
 scripts/build-cartoon-batch.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/build-cartoon-batch.sh b/scripts/build-cartoon-batch.sh
index a9cb825..85e9ae6 100644
--- a/scripts/build-cartoon-batch.sh
+++ b/scripts/build-cartoon-batch.sh
@@ -28,6 +28,9 @@
 #
 # Usage once approved: bash scripts/build-cartoon-batch.sh [--count=6] [--dry-run]
 set -uo pipefail
+# launchd runs with PATH=/usr/bin:/bin:/usr/sbin:/sbin — node and claude live elsewhere.
+export PATH="/opt/homebrew/bin:$HOME/.npm-global/bin:$HOME/.local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
+command -v node >/dev/null && command -v claude >/dev/null || { echo "$(/bin/date -u +%FT%TZ) FAIL missing node/claude on PATH" >>"$(dirname "$0")/../yolo/cartoon-batch-log.jsonl"; exit 127; }
 DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
 cd "$DIR"
 COUNT=6

← 7518fc5 Fix Cody's 4 verified findings: XSS in cartoon gallery, file  ·  back to Crazy News Channel  ·  Cartoon batch: verify output file + manifest entry (not just 5aff77e →