← back to Animals

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

44 lines

#!/usr/bin/env bash
# 4-round claude-codex apply-mode debate on YOLO loop output.
#
# Window scoped: last ~6 hours (2026-05-12 07:15 -> 13:15 PT).
# Reality: every yolo run in window logged "no edits; skip" — no source
# tree commits since e54de52 (2026-05-12 04:14 PT, ~9h ago). Only working
# tree delta is agents/animal-yolo/state.json (run counter bump).
# Falling back to the cumulative yolo-produced surface (same file set as
# the prior codex-debate-on-self runs) so the debate has substantive
# material to argue about.
#
# start.sh forks the loop via nohup + disown, so this returns immediately.
# Artifacts: ~/.claude/skills/claude-codex/runs/animals-yolo-2026-05-12-1315/
# Live log:  ~/Library/Logs/claude-codex-debate.log
set -u

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

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