#!/bin/bash
exec > /tmp/botfix/createpr_out.txt 2>&1
cd /home/claude/repos/gbharg-agents
gh pr create \
  --repo gbharg/agents \
  --base main \
  --head feat/ai-reviewer-repo-context-fix \
  --title "fix(pr-review): derive repo context from PR webhook, not the bot's own cwd" \
  --body-file /tmp/botfix/pr_body.txt 2>&1
echo "PR_EXIT=$?"
echo "DONE_EXIT_OK"
