backend: implement GitHub review-thread resolution
Split from #2543. PR merge is implemented. The remaining work is to replace POST /api/v1/prs/{id}/resolve-comments with a real GitHub review-thread resolution flow, including provider errors and local state updates only after remote success.
Assigned to @codebanditssss
implementation pr: #5461 adds real scm review-thread resolution, provider confirmation, sqlite number lookup, and post-success local state updates. checks are running.
pr #5461 is green across the remote ci matrix and has been reviewed. it is mergeable but still blocked on required maintainer approval; i did not approve my own pr.