mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 10:23:14 +00:00
* feat(open-swe): cap reviewer suggestions at 4 lines Long suggestion blocks read as the reviewer rewriting the code rather than flagging an issue, which clutters PR comments. Steer the reviewer toward description-only findings for non-trivial fixes, and enforce the cap in `add_finding` / `update_finding` so suggestions over 4 lines are dropped (the finding itself still publishes). * fix(open-swe): don't clobber prior suggestion on over-cap update `update_finding` was setting `suggestion=None` whenever clip_suggestion dropped the input, which silently wiped any existing suggestion on the finding. Distinguish the three cases: empty string clears, valid value sets, over-cap value is rejected without touching the stored field. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| add_finding.py | ||
| fetch_url.py | ||
| http_request.py | ||
| linear_comment.py | ||
| linear_create_issue.py | ||
| linear_delete_issue.py | ||
| linear_get_issue.py | ||
| linear_get_issue_comments.py | ||
| linear_list_teams.py | ||
| linear_update_issue.py | ||
| list_findings.py | ||
| publish_review.py | ||
| request_pr_review.py | ||
| slack_read_thread_messages.py | ||
| slack_thread_reply.py | ||
| update_finding.py | ||
| web_search.py | ||