mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 06:53:14 +00:00
Part of the domain-reorg adoption (build plan step C2): fork content,
upstream layout. Nine 1:1 module moves (reviewer_diff/eval_store/
findings/groups/publish/reconcile/trace_context + review_style_
collector/guidance) into agent/review/, with internal relative
imports re-wired to the new package depth. agent/review/__init__.py
mirrors upstream's thin re-export shim (one of the 21 verified "A"
structural adds).
Rewrote the 38 grep hits across importer files (agent/{analyzer,
ci_autofix,reviewer,webapp}.py, agent/dashboard/*, agent/middleware/
settle_review_check.py, agent/tools/*, agent/utils/github_feedback.py,
agent/webhooks/github.py, evals/reviewer/*, and the reviewer test
suite) to point at agent.review.*; 4 of the 38 hits were name
collisions (list_reviewer_findings, reviewer_outcomes,
_reviewer_thread_id, reviewer_thread_id — not the moved modules) and
were left untouched. tests/test_github_checks.py's module-alias
import (`from agent import reviewer_publish`) follows upstream's own
`from agent.review import publish as reviewer_publish` pattern so
downstream `reviewer_publish.*` call sites needed no changes.
agent/reviewer.py and agent/webapp.py stay in place per the hard
rule (fork content, import-only rewire) and are not part of this
package.
Gates: ruff check + ruff format --check, pytest --co -q (1637
collected), full unit suite (1637 passed), and the reviewer/findings
suite in isolation (pytest -k "review or finding", 421 passed).
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| add_finding.py | ||
| confluence_comment.py | ||
| confluence_create_page.py | ||
| confluence_get_page.py | ||
| confluence_search.py | ||
| confluence_update_page.py | ||
| enter_plan_mode.py | ||
| fetch_url.py | ||
| http_request.py | ||
| jira_comment.py | ||
| jira_create_issue.py | ||
| jira_get_issue.py | ||
| jira_get_issue_comments.py | ||
| jira_list_projects.py | ||
| jira_update_issue.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 | ||
| list_review_findings.py | ||
| open_pull_request.py | ||
| publish_review.py | ||
| read_finding_outcomes.py | ||
| read_repo_file.py | ||
| reply_to_finding_thread.py | ||
| report_platform_issue.py | ||
| request_pr_review.py | ||
| resolve_finding_thread.py | ||
| save_plan.py | ||
| save_review_style.py | ||
| schedule_thread_wakeup.py | ||
| search_repo_code.py | ||
| slack_add_reaction.py | ||
| slack_read_thread_messages.py | ||
| slack_start_new_thread.py | ||
| slack_thread_reply.py | ||
| update_finding.py | ||
| web_search.py | ||