Files
Cursor Agent f3d8594d49 fix: use remote tracking ref for PR range context
When generating PR content, resolve the base branch to its remote
tracking ref (e.g. origin/main) instead of using the potentially
stale local ref. This aligns the PR range calculation with the
status/divergence path which already uses resolveBaseBranchForNoUpstream
to prefer the remote tracking ref.

Falls back to the local ref when the remote-qualified ref is
unavailable (e.g. remote branch not yet pushed).
2026-06-20 06:48:15 +00:00
..
2026-06-19 23:25:11 -07:00
2026-06-19 23:25:11 -07:00