← back to Animals

.claude-codex-yolo-2026-05-12-0413.sh

46 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 22:13 -> 2026-05-12 04:13 PT).
# Reality: yolo state.json shows runs advanced 51 -> 64 in window, but no
# source-tree commits landed since aea9589 (2026-05-11 18:55) — every loop
# in window logged "no edits; skip". The only working-tree delta is
# agents/animal-yolo/state.json (run counter bump) and out-of-scope
# raw_html/*.json scrape dumps.
# Falling back to the cumulative yolo-produced surface (same file list as
# the 2026-05-11-1853 run) so the debate has something substantive to chew.
#
# start.sh forks the loop via nohup + disown, so this returns immediately.
# Artifacts: ~/.claude/skills/claude-codex/runs/animals-yolo-2026-05-12-0413/
# Live log:  ~/Library/Logs/claude-codex-debate.log
set -u

NAME="animals-yolo-2026-05-12-0413"
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-1853.sh"
)

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