mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 17:23:15 +00:00
The gh-cli migration removed agent/middleware/open_pr.py and agent/tools/commit_and_open_pr.py — the only callers of add_user_coauthor_trailer / add_pr_collaboration_note. Since then the agent has been driving commits and PRs entirely via gh, with no attribution back to the Slack/Linear/GitHub user who triggered the run. Resolve the triggering user's identity in get_agent (reusing the existing authorship helpers) and inject a Collaborative Attribution section into the system prompt with the exact trailer and PR-body note to use. The section is only rendered when an identity is resolvable, so runs without a known triggering user are unchanged. |
||
|---|---|---|
| .. | ||
| test_auth_sources.py | ||
| test_daytona_integration.py | ||
| test_ensure_no_empty_msg.py | ||
| test_github_comment_prompts.py | ||
| test_github_issue_webhook.py | ||
| test_http_security.py | ||
| test_langsmith_sandbox_config.py | ||
| test_multimodal.py | ||
| test_notify_step_limit_middleware.py | ||
| test_proxy_auth.py | ||
| test_recent_comments.py | ||
| test_refresh_slack_status_middleware.py | ||
| test_repo_extraction.py | ||
| test_reviewer.py | ||
| test_reviewer_diff.py | ||
| test_reviewer_findings.py | ||
| test_reviewer_publish.py | ||
| test_reviewer_tools.py | ||
| test_reviewer_watch.py | ||
| test_sandbox_paths.py | ||
| test_sanitize_tool_inputs.py | ||
| test_slack_assistants_status.py | ||
| test_slack_context.py | ||