mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 16:13:15 +00:00
The host-side prep (clone + git diff in the sandbox) was producing empty diffs for some PRs. The agent then silently published a "no issues found" review (e.g. langchainplus#24069, #24458). Fix is to rip out the prep entirely and instruct the agent to fetch the diff itself with \`gh pr diff <num> --repo <owner>/<repo>\` (or the compare API on re-review). \`add_finding\` line-range validation is skipped when no \`diff_line_set\` is provided in config — we trust the agent's anchors. We can revisit a host-side diff path once we understand why the prep was failing; this hotfix unblocks reviews on private PRs in the meantime. |
||
|---|---|---|
| .. | ||
| integrations | ||
| middleware | ||
| tools | ||
| utils | ||
| encryption.py | ||
| prompt.py | ||
| reviewer.py | ||
| reviewer_diff.py | ||
| reviewer_findings.py | ||
| reviewer_publish.py | ||
| server.py | ||
| webapp.py | ||