fix: feat: auto-pull factory code on every agent spawn (#85)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
openhands 2026-03-17 19:35:29 +00:00
parent 64b53aaad5
commit 1b29baebc3
2 changed files with 4 additions and 0 deletions

View file

@ -17,6 +17,8 @@ set -euo pipefail
# Load shared environment
source "$(dirname "$0")/../lib/env.sh"
# Auto-pull factory code to pick up merged fixes before any logic runs
git -C "$FACTORY_ROOT" pull --ff-only origin main 2>/dev/null || true
PR_NUMBER="${1:?Usage: review-pr.sh <pr-number> [--force]}"
FORCE="${2:-}"