#!/bin/bash
set -uo pipefail
cd /home/claude/repos/gbharg-agents
echo "===== is reconcile branch merged to main? ====="
git fetch origin main 2>&1 | tail -2
git log --oneline origin/main -3 2>&1
echo "----- commits on current branch not in origin/main -----"
git log --oneline origin/main..HEAD 2>&1 | head -20
echo "===== open PRs for reconcile branch ====="
gh pr list --repo gbharg/agents --head feat/ai-reconcile-probot-deploy-drift --state all --json number,state,title,baseRefName 2>&1 | head -20
echo "===== diff stat (my changes) ====="
git diff --stat 2>&1
