perf(server): merged-PR threads no longer re-read git state every minute

branchPullRequest confirms every merged or closed answer against fresh git
reads, bypassing the 5-minute git-state cache. The settlement and PR-sync
sweeps call it once a minute, so a thread whose branch PR is merged or closed
but that stays unsettled started about 10 git processes a minute for as long
as it existed.

Both sweeps now take the remembered answer (confirmTerminal: false) and
confirm only before they act: settlement rereads git state only when the
answer would settle a thread, and PR sync already rereads it before saving a
link. Other callers keep the default confirm.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
91038c0093Batuhan1999 committed on 10/23/2026, 11:55:55 AMparent16aaf5b

Checks

20 successful · 8 skipped · 1 neutral
All checks passed
6 files changedLine totals unavailable