← back to Animals

.claude-codex-yolo-2026-05-11-1853.sh

45 lines

#!/usr/bin/env bash
# One-shot launcher for the 4-round claude-codex apply-mode debate on the
# YOLO loop's recent output.
#
# Window scoped: last ~6 hours (2026-05-11 12:53 -> 18:53 PT).
# Reality: every yolo run in this window logged "no edits; skip" with the
# sole exception of 3846ae8 (yolo: Adoption events on /shows page, 11:07 PT)
# which is just barely outside the window. The only since-commit strictly
# in window is 588c368 (manual ecosystem.config.cjs fix).
# Falling back to the cumulative yolo-produced surface (same file list as
# the 2026-05-11-0928 run) plus the recent commits' touched files.
#
# start.sh forks the loop via nohup + disown, so this returns immediately.
# Artifacts: ~/.claude/skills/claude-codex/runs/animals-yolo-2026-05-11-1853/
# Live log:  ~/Library/Logs/claude-codex-debate.log
set -u

NAME="animals-yolo-2026-05-11-1853"
ROOT="$HOME/Projects/animals"

FILES=(
  "$ROOT/src/lib/stripe.js"
  "$ROOT/src/lib/lost_pet_alert.js"
  "$ROOT/src/lib/weekly_newsletter.js"
  "$ROOT/src/scripts/run_weekly_newsletter.js"
  "$ROOT/src/scripts/seed_ca_shelter_adoption_events.js"
  "$ROOT/src/server/sitemap.js"
  "$ROOT/src/server/community.js"
  "$ROOT/src/server/community_render.js"
  "$ROOT/src/server/index.js"
  "$ROOT/src/server/render.js"
  "$ROOT/agents/animal-agent/server.js"
  "$ROOT/migrations/016_weekly_newsletter.sql"
  "$ROOT/migrations/017_lost_pet_alerts.sql"
  "$ROOT/ecosystem.config.cjs"
  "$ROOT/.claude-codex-yolo-2026-05-11-0928.sh"
)

exec bash "$HOME/.claude/skills/claude-codex/scripts/start.sh" \
  --name "$NAME" \
  --rounds 4 \
  --apply \
  --scout --lean --vote --escalate \
  --files "${FILES[@]}"